/* =============================================
   REFORMAS TERUEL — FULL REDESIGN CSS
   ============================================= */

/* ---------- VARIABLES ---------- */
:root {
    --bg: #FFFFFF;
    --bg-alt: #F7F7F5;
    --bg-dark: #111111;
    --text: #1A1A1A;
    --text-muted: #6B6B6B;
    --text-light: #999999;
    --accent: #C8965A;
    --accent-hover: #B07D42;
    --border: #E8E8E8;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --font: 'Inter', -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; border: none; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-alt); }

/* ---------- TYPOGRAPHY ---------- */
.section-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 12px; text-align: center; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; text-align: center; margin-bottom: 16px; line-height: 1.2; }
.section-title em { font-style: italic; color: var(--accent); }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 60px; font-size: 1.05rem; }
.text-gradient { background: linear-gradient(135deg, var(--accent), #E8C99B); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ---------- NAVBAR ---------- */
.navbar { position: sticky; top: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 1000; padding: 22px 0; border-bottom: 1px solid transparent; transition: var(--transition); }
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); padding: 14px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }

.logo-text { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--text); letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); position: relative; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent) !important; }
.nav-links a:not(.btn-nav-cta):not(.btn-nav-phone):not(.nav-email)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:not(.btn-nav-cta):not(.btn-nav-phone):not(.nav-email):hover::after,
.nav-links a.active::after { width: 100%; }
.btn-nav-cta { background: var(--accent) !important; color: #fff !important; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600 !important; font-size: 0.9rem !important; }
.btn-nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(200,150,90,0.3); }
.btn-nav-phone { border: 1px solid var(--accent) !important; color: var(--accent) !important; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600 !important; display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem !important; }
.btn-nav-phone:hover { background: var(--accent) !important; color: #fff !important; }
.nav-email { color: var(--accent) !important; font-size: 1.1rem !important; padding: 8px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.nav-email:hover { background: rgba(200,150,90,0.1); }
.menu-btn { display: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

@media(max-width: 992px) {
    .nav-container { position: relative; justify-content: space-between; }

    .navbar .logo-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.45rem; white-space: nowrap; margin: 0; }
    .footer-col .logo-text { position: relative; transform: none; left: auto; top: auto; display: block; margin-top: 10px; }
    .menu-btn { display: block; position: relative; z-index: 1001; }
    .nav-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 100px 40px 40px; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 999; }
    .nav-menu.active { transform: translateX(0); }
    .nav-links { flex-direction: column; gap: 24px; align-items: center; }
    .nav-links a { font-size: 1.2rem; }
    .nav-links a::after { display: none !important; }
    .btn-nav-cta { padding: 14px 40px !important; font-size: 1rem !important; }
    .btn-nav-phone { padding: 12px 28px !important; font-size: 1rem !important; }
}

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; padding: 60px 24px; }
.hero-text { color: #fff; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); padding: 8px 20px; border-radius: 30px; font-size: 0.82rem; font-weight: 500; margin-bottom: 28px; color: var(--accent); }
.hero-text h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.15; margin-bottom: 20px; font-weight: 500; }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 36px; max-width: 520px; }
.hero-stats { display: flex; gap: 36px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); }
.hero-stat strong::after { content: attr(data-suffix); }
.hero-stat span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* Hero Form */
.hero-form-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-lg); }
.form-header { text-align: center; margin-bottom: 20px; }
.form-header h3 { font-family: var(--font); font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.form-header p { font-size: 0.85rem; color: var(--text-muted); }

/* Form Groups con Labels y Asterisco */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.required { color: #E53935; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Select con flecha custom */
.select-wrapper { position: relative; }
.select-wrapper select { padding-right: 40px !important; }
.select-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.8rem; pointer-events: none; }

.hero-form-card input:not([type="checkbox"]), .hero-form-card select, .hero-form-card textarea { width: 100%; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text); transition: var(--transition); }
.hero-form-card select { appearance: none; cursor: pointer; }
.hero-form-card input:not([type="checkbox"]):focus, .hero-form-card select:focus, .hero-form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,150,90,0.15); }
.hero-form-card button { width: 100%; padding: 14px; background: var(--accent); color: #fff; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-form-card button:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,150,90,0.3); }

/* Legal Checkbox */
.legal-check { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.legal-check input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; min-height: 18px; accent-color: var(--accent); cursor: pointer; margin: 0; padding: 0; flex-shrink: 0; border: 1px solid var(--border); transition: none; box-shadow: none; }
.legal-check input[type="checkbox"]:focus { outline: none; box-shadow: none; }
.legal-check label { font-size: 0.8rem; color: var(--text-muted); cursor: pointer; line-height: 1.4; user-select: none; }
.legal-check a { color: var(--accent); text-decoration: underline; font-weight: 600; }

@media(max-width: 992px) {
    .hero { min-height: auto; padding: 40px 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 40px 16px; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-text h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
    .hero-stats { justify-content: center; gap: 28px; }
    .hero-form-card { max-width: 480px; margin: 0 auto; }
    .badge-pill { margin: 0 auto 20px; }
}

@media(max-width: 480px) {
    .hero-grid { padding: 30px 8px; }
    .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
    .hero-stat strong { font-size: 1.4rem; }
    .hero-form-card { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .form-header h3 { font-size: 1.2rem; }
}

/* ---------- TRUST BAR ---------- */
.trust-bar { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item i { font-size: 1.5rem; color: var(--accent); flex-shrink: 0; width: 36px; text-align: center; }
.trust-item strong { display: block; font-size: 0.9rem; }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }

@media(max-width: 992px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) {
    .trust-bar { padding: 28px 0; }
    .trust-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- SERVICES SHOWCASE ---------- */
.services-showcase { margin-top: 20px; }
.service-big { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; border: 1px solid var(--border); }
.service-big-img { overflow: hidden; }
.service-big-img img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; transition: transform 0.6s; }
.service-big:hover .service-big-img img { transform: scale(1.03); }
.service-big-content { padding: 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.service-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; width: fit-content; }
.service-big-content h3 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 16px; }
.service-big-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.service-features { margin-bottom: 28px; }
.service-features li { padding: 6px 0; color: var(--text); font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.service-features i { color: var(--accent); font-size: 0.8rem; }
.btn-primary { display: inline-block; background: var(--text); color: #fff; padding: 14px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; transition: var(--transition); text-align: center; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

@media(max-width: 992px) {
    .service-big { grid-template-columns: 1fr; }
    .service-big-img img { min-height: 260px; }
    .service-big-content { padding: 32px 24px; }
    .service-big-content h3 { font-size: 1.6rem; }
}

/* Services grid 3 */
.services-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.service-card-img { height: 220px; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 24px 20px; }
.service-card-body h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 12px; }
.service-card-body ul { margin-bottom: 18px; }
.service-card-body li { padding: 4px 0; color: var(--text-muted); font-size: 0.86rem; }
.service-card-body li::before { content: "—"; margin-right: 8px; color: var(--accent); }
.link-more { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.link-more:hover { gap: 10px; }

@media(max-width: 768px) {
    .services-grid-3 { grid-template-columns: 1fr; }
    .service-card-img { height: 200px; }
}

/* Extra services */
.extra-services { background: var(--bg-alt); border-radius: var(--radius); padding: 36px; border: 1px solid var(--border); }
.extra-services h3 { font-family: var(--font-display); font-size: 1.3rem; text-align: center; margin-bottom: 24px; }
.extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.extra-item { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 50px; background: var(--bg); border-radius: var(--radius-sm); border: 1px solid var(--border); transition: var(--transition); }
.extra-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.extra-item i { color: var(--accent); font-size: 1rem; }
.extra-item span { font-size: 0.84rem; font-weight: 500; }

@media(max-width: 768px) { .extra-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) {
    .extra-services { padding: 24px 16px; }
    .extra-grid { grid-template-columns: 1fr; }
}

/* ---------- BEFORE / AFTER ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ba-card { border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: var(--transition); }
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-img { position: relative; overflow: hidden; height: 280px; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ba-card:hover .ba-img img { transform: scale(1.04); }
.ba-label { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 4px; }
.ba-label-after { background: var(--accent); }
.ba-info { padding: 20px 24px; }
.ba-info h4 { color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.ba-info p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

@media(max-width: 768px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-images { grid-template-columns: 1fr; }
    .ba-img { height: 200px; }
}

/* ---------- PROCESS TIMELINE ---------- */
.process-timeline { max-width: 700px; margin: 50px auto 0; position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.process-step { display: flex; gap: 28px; margin-bottom: 40px; position: relative; }
.process-step:last-child { margin-bottom: 0; }
.step-icon { width: 70px; height: 70px; background: var(--bg-alt); border: 2px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; transition: var(--transition); }
.step-icon span { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--accent); }
.process-step:hover .step-icon { background: var(--accent); border-color: var(--accent); }
.process-step:hover .step-icon span { color: #fff; }
.step-content h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; margin-top: 8px; }
.step-content p { color: var(--text-muted); font-size: 0.93rem; }

@media(max-width: 600px) {
    .process-step { gap: 18px; }
    .step-icon { width: 56px; height: 56px; }
    .step-icon span { font-size: 1.1rem; }
    .process-timeline::before { left: 28px; }
    .step-content h4 { font-size: 1.1rem; margin-top: 4px; }
    .step-content p { font-size: 0.88rem; }
}

/* ---------- TEAM SECTION ---------- */
.section-team { background: var(--bg-alt); }
.team-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.team-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.team-img img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.team-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.02rem; }
.team-numbers { display: flex; gap: 36px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.team-numbers strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.team-numbers span { font-size: 0.82rem; color: var(--text-muted); }

@media(max-width: 992px) {
    .team-flex { grid-template-columns: 1fr; gap: 40px; }
    .team-img img { min-height: 300px; }
}
@media(max-width: 480px) {
    .team-numbers { gap: 20px; flex-wrap: wrap; }
    .team-numbers strong { font-size: 1.6rem; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.testimonial { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; transition: var(--transition); }
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.testimonial .stars { color: var(--accent); font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial p { color: var(--text-muted); font-size: 0.93rem; font-style: italic; margin-bottom: 22px; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.76rem; color: var(--text-light); }

@media(max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-container { max-width: 760px; margin: 50px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: var(--accent); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--bg); cursor: pointer; font-size: 0.93rem; font-weight: 600; color: var(--text); text-align: left; transition: var(--transition); }
.faq-question:hover { color: var(--accent); }
.faq-question i { color: var(--accent); font-size: 0.85rem; transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info-items { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; }
.contact-info-item i { width: 46px; height: 46px; background: rgba(200,150,90,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.contact-info-item strong { display: block; color: #fff; font-size: 0.93rem; }
.contact-info-item span { color: rgba(255,255,255,0.6); font-size: 0.86rem; }

.contact-form-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; }
.contact-form-card input:not([type="checkbox"]), .contact-form-card select, .contact-form-card textarea { width: 100%; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text); transition: var(--transition); }
.contact-form-card select { appearance: none; cursor: pointer; }
.contact-form-card input:not([type="checkbox"]):focus, .contact-form-card select:focus, .contact-form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,150,90,0.15); }
.contact-form-card textarea { resize: vertical; }
.contact-form-card button { width: 100%; padding: 14px; background: var(--accent); color: #fff; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; }
.contact-form-card button:hover { background: var(--accent-hover); transform: translateY(-2px); }
.contact-form-card .form-group label { color: var(--text); }

@media(max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media(max-width: 480px) {
    .contact-form-card { padding: 24px 18px; }
}

/* ---------- FOOTER ---------- */
footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
.footer-col .logo { display: inline-flex; align-items: center; margin-bottom: 14px; color: #fff; }
.footer-col .logo-text { font-size: 1.5rem; color: #fff; }
.footer-col p { font-size: 0.88rem; margin-bottom: 18px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-col ul a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: var(--transition); font-size: 0.9rem; }
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---------- WHATSAPP CHAT WIDGET ---------- */
.wa-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }

.wa-fab { width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all 0.3s ease; animation: whatsappPulse 2s infinite; position: relative; }
.wa-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); animation: none; }
.wa-fab-icon-close { display: none; font-size: 1.4rem; }
.wa-widget.open .wa-fab-icon-open { display: none; }
.wa-widget.open .wa-fab-icon-close { display: block; }
.wa-widget.open .wa-fab { background: #128C7E; animation: none; }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); } }

.wa-chat { position: absolute; bottom: 76px; right: 0; width: 370px; max-height: 480px; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 50px rgba(0,0,0,0.18); opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transform-origin: bottom right; transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.wa-widget.open .wa-chat { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.wa-chat-header { background: #075E54; color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.wa-header-info { display: flex; align-items: center; gap: 12px; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0; }
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-header-info strong { display: block; font-size: 0.92rem; font-weight: 600; }
.wa-header-info span { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.wa-close { background: none; border: none; color: rgba(255,255,255,0.7); font-size: 1.1rem; cursor: pointer; padding: 4px; transition: color 0.2s; }
.wa-close:hover { color: #fff; }

.wa-chat-body { position: relative; padding: 20px 16px; min-height: 140px; background: #E5DDD5; }
.wa-bg-pattern { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ccc6b8' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.6; }
.wa-messages { position: relative; z-index: 1; }
.wa-message { background: #fff; border-radius: 0 8px 8px 8px; padding: 10px 14px; max-width: 85%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); position: relative; animation: waMessageIn 0.4s ease-out; }
.wa-message::before { content: ''; position: absolute; top: 0; left: -8px; width: 0; height: 0; border-top: 0 solid transparent; border-bottom: 10px solid transparent; border-right: 8px solid #fff; }
.wa-message p { font-size: 0.86rem; color: #303030; line-height: 1.5; margin-bottom: 4px; }
.wa-message p:last-of-type { margin-bottom: 0; }
.wa-time { display: block; text-align: right; font-size: 0.68rem; color: #999; margin-top: 4px; }
@keyframes waMessageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.wa-chat-footer { background: #F0F0F0; padding: 10px 12px; }
.wa-input-area { display: flex; align-items: center; gap: 8px; }
.wa-input-area input { flex: 1; padding: 10px 16px; border: none; border-radius: 24px; background: #fff; font-size: 0.86rem; color: #333; outline: none; }
.wa-input-area input::placeholder { color: #999; }
.wa-send { width: 40px; height: 40px; border-radius: 50%; background: #25D366; color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: background 0.2s; flex-shrink: 0; }
.wa-send:hover { background: #128C7E; }



/* ---------- COOKIE BANNER ---------- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-dark); color: rgba(255,255,255,0.85); padding: 16px 24px; z-index: 10000; transform: translateY(100%); transition: transform 0.5s ease; border-top: 1px solid rgba(200,150,90,0.3); }
.cookie-banner.visible { transform: translateY(0); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cookie-content p { font-size: 0.83rem; flex: 1; margin: 0; line-height: 1.5; }
.cookie-content a { color: var(--accent); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.cookie-btn-accept { background: var(--accent); color: #fff; border: none; padding: 10px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.83rem; cursor: pointer; transition: var(--transition); }
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-more { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.cookie-btn-more:hover { color: var(--accent); }

@media(max-width: 600px) {
    .cookie-content { flex-direction: column; text-align: center; gap: 12px; }
    .cookie-buttons { justify-content: center; }
}

/* ---------- FLOATING PHONE BUTTON ---------- */
.phone-float { display: flex; position: fixed; bottom: 24px; left: 24px; width: 60px; height: 60px; background: var(--accent); color: #fff; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 20px rgba(200,150,90,0.4); z-index: 9999; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.phone-float:hover { transform: scale(1.05); }
.phone-float:active { transform: scale(0.95); box-shadow: 0 2px 10px rgba(200,150,90,0.4); }

@media(max-width: 600px) {
    
    .wa-widget { bottom: 24px; right: 24px; }
    .wa-fab { width: 60px; height: 60px; font-size: 2rem; }
    .wa-chat { width: calc(100vw - 32px); right: -16px; bottom: 76px; max-height: 70vh; }
    .cookie-banner { border-radius: 12px 12px 0 0; }
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent), #E8C99B); z-index: 10001; transition: width 0.1s linear; width: 0%; }

/* ---------- BACK TO TOP ---------- */
.back-to-top { position: fixed; bottom: 96px; right: 30px; width: 42px; height: 42px; background: var(--text); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; z-index: 9998; opacity: 0; pointer-events: none; transition: var(--transition); cursor: pointer; border: none; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

@media(max-width: 480px) {
    .back-to-top { bottom: 84px; right: 18px; width: 38px; height: 38px; }
    .section { padding: 60px 0; }
    .section-subtitle { font-size: 0.92rem; margin-bottom: 40px; }
}
