/* ============================================================
   TONI VERCHER FISIOTERAPIA — Main Stylesheet
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    --teal:        #1a8a76;
    --teal-dark:   #136658;
    --teal-light:  #22b09a;
    --teal-faint:  #e8f5f2;
    --dark:        #18202c;
    --dark-2:      #252f3e;
    --text:        #3a4555;
    --muted:       #6b7a8f;
    --border:      #dde5e2;
    --bg:          #f7faf9;
    --white:       #ffffff;
    --shadow-sm:   0 2px 12px rgba(0,0,0,.06);
    --shadow-md:   0 6px 28px rgba(0,0,0,.10);
    --shadow-lg:   0 16px 48px rgba(0,0,0,.14);
    --radius:      14px;
    --radius-sm:   8px;
    --ease:        all .3s cubic-bezier(.25,.46,.45,.94);
    --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
a:not([href]) { cursor: pointer; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---- Typography helpers ---- */
.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,.6); }
.accent { color: var(--teal); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 14px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 30px; border-radius: 50px;
    font-size: .97rem; font-weight: 700;
    border: 2px solid transparent;
    transition: var(--ease);
    cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(26,138,118,.38); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); border-color: var(--white); transform: translateY(-3px); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); padding: 12px 26px; }
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 22px 0;
    transition: var(--ease);
}
.navbar.scrolled {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-brand { display: flex; align-items: center; }
.nav-logo-circle {
    width: 95px; height: 95px; border-radius: 50%; margin-left: -16px;
    overflow: hidden; flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.2);
    transition: var(--ease);
}
.nav-logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.navbar.scrolled .nav-logo-circle { border-color: var(--border); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.88); transition: color .25s; }
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:not(.btn-nav):hover { color: var(--teal-light); }
.navbar.scrolled .nav-links a:not(.btn-nav):hover { color: var(--teal); }

.btn-nav {
    background: var(--teal); color: var(--white) !important;
    padding: 10px 22px; border-radius: 50px;
}
.btn-nav:hover { background: var(--teal-dark); transform: translateY(-2px); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--ease); }
.navbar.scrolled .nav-toggle span { background: var(--dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, #0b1d1a 0%, #133d35 45%, #1a8a76 100%);
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: url('../assets/hero-bg.jpg') center/cover no-repeat;
    opacity: .12;
    mix-blend-mode: luminosity;
}
.hero-content {
    position: relative; z-index: 1;
    text-align: center; color: var(--white);
    max-width: 760px; padding: 0 24px;
    animation: fadeUp .9s cubic-bezier(.22,1,.36,1) both;
}

.hero-eyebrow {
    display: block;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.55); margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 900; line-height: 1.08;
    letter-spacing: -.02em; margin-bottom: 20px;
}
.hero h1 span { color: var(--teal-light); }
.hero-sub {
    font-size: clamp(.95rem, 2vw, 1.18rem);
    color: rgba(255,255,255,.78);
    margin-bottom: 28px; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-stars {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    padding: 9px 20px; border-radius: 50px; margin-bottom: 36px;
}
.stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px; }
.stars-label { font-size: .85rem; color: rgba(255,255,255,.8); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.45); font-size: 1.1rem;
    animation: bounce 2.4s ease-in-out infinite;
}

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar { background: var(--teal); padding: 15px 0; }
.info-bar .container { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.92); font-size: .875rem; font-weight: 500; padding: 5px 28px; }
.info-item i { opacity: .75; }
.info-item a { color: inherit; transition: opacity .2s; }
.info-item a:hover { opacity: .75; }
.info-divider { width: 1px; height: 24px; background: rgba(255,255,255,.25); flex-shrink: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 110px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-images { position: relative; height: 520px; }
.img-primary {
    position: absolute; top: 0; left: 0; width: 73%; height: 82%;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--teal-faint), var(--border));
}
.img-primary img, .img-float img { width: 100%; height: 100%; object-fit: cover; }
.img-float {
    position: absolute; bottom: 0; right: 0; width: 52%; height: 52%;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    background: linear-gradient(135deg, var(--dark-2), var(--dark));
}
.img-badge {
    position: absolute; top: 50%; left: 68%; transform: translate(-50%, -50%);
    background: var(--white); border-radius: var(--radius-sm);
    padding: 14px 18px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 12px;
    white-space: nowrap;
}
.img-badge i { font-size: 1.6rem; color: var(--teal); }
.img-badge strong { display: block; font-size: .78rem; color: var(--muted); }
.img-badge span { font-size: 1rem; font-weight: 800; color: var(--dark); }

.about-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 22px; }
.about-text p { color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.about-text p strong { color: var(--text); }

.about-stats { display: flex; gap: 32px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 30px 0; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2rem; font-weight: 900; color: var(--teal); line-height: 1; }
.stat-item span { font-size: .75rem; color: var(--muted); margin-top: 6px; }

.about-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--teal-faint); color: var(--teal-dark);
    padding: 8px 16px; border-radius: 50px;
    font-size: .8rem; font-weight: 600;
    border: 1px solid rgba(26,138,118,.18);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 110px 0; background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
    background: var(--white); padding: 32px 28px;
    border-radius: var(--radius); border: 1px solid var(--border);
    transition: var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal); }

.svc-icon {
    width: 54px; height: 54px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.svc-icon i { font-size: 1.3rem; color: var(--white); }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.service-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.technology { padding: 110px 0; background: var(--white); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.tech-text h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; color: var(--dark); line-height: 1.15; margin-bottom: 18px; }
.tech-text > p { color: var(--muted); line-height: 1.75; margin-bottom: 36px; }

.tech-items { display: flex; flex-direction: column; gap: 26px; }
.tech-item { display: flex; gap: 18px; }
.tech-item-icon {
    width: 46px; height: 46px; border-radius: var(--radius-sm);
    background: var(--teal-faint); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-top: 2px;
}
.tech-item-icon i { font-size: 1.1rem; color: var(--teal); }
.tech-item-text strong { display: block; font-size: .97rem; color: var(--dark); margin-bottom: 5px; }
.tech-item-text p { font-size: .875rem; color: var(--muted); line-height: 1.65; }

.tech-images { position: relative; height: 500px; }
.tech-img-main {
    position: absolute; top: 0; right: 0; width: 75%; height: 80%;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--dark-2), var(--dark));
}
.tech-img-float {
    position: absolute; bottom: 0; left: 0; width: 52%; height: 50%;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    background: linear-gradient(135deg, var(--teal-faint), var(--border));
}
.tech-img-main img, .tech-img-float img { width: 100%; height: 100%; object-fit: cover; }
.tech-img-main.no-img, .tech-img-float.no-img { display: flex; align-items: center; justify-content: center; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: 110px 0; background: var(--bg); }

.google-score { display: flex; justify-content: center; margin-top: 24px; }
.google-score-inner {
    display: flex; align-items: center; gap: 18px;
    background: var(--white); padding: 20px 32px;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.score-num { font-size: 2.6rem; font-weight: 900; color: var(--dark); line-height: 1; }
.score-stars { color: #fbbf24; font-size: .9rem; margin: 5px 0 2px; }
.score-count { font-size: .8rem; color: var(--muted); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.review-card {
    background: var(--white); padding: 28px;
    border-radius: var(--radius); border: 1px solid var(--border);
    box-shadow: var(--shadow-sm); transition: var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--white); font-weight: 800; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reviewer { flex: 1; min-width: 0; }
.reviewer strong { display: block; font-size: .88rem; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reviewer span { font-size: .78rem; color: var(--muted); }
.rev-stars { color: #fbbf24; font-size: .85rem; flex-shrink: 0; }
.review-card p { font-size: .875rem; color: var(--muted); line-height: 1.7; font-style: italic; }

.reviews-footer { text-align: center; }
.reviews-footer .btn-outline-dark { display: inline-flex; align-items: center; gap: 10px; }

/* ============================================================
   APPOINTMENT
   ============================================================ */
.appointment {
    padding: 110px 0;
    background: linear-gradient(140deg, #0b2220 0%, #154840 50%, #1a8a76 100%);
    position: relative; overflow: hidden;
}
.appointment::before {
    content: ''; position: absolute; top: -30%; right: -8%;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
}
.appt-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }

.appt-info h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 18px; }
.appt-info h2 span { color: var(--teal-light); }
.appt-info > p { color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.72; margin-bottom: 40px; }

.contact-ways { display: flex; flex-direction: column; gap: 14px; }
.cway {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    color: var(--white); transition: var(--ease);
}
.cway:hover { background: rgba(255,255,255,.15); transform: translateX(5px); }
.cway-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cway-icon i { font-size: 1.1rem; color: var(--white); }
.cway-icon.whatsapp { background: #25d366; }
.cway strong { display: block; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 2px; }
.cway span { font-size: .95rem; font-weight: 600; }

/* Form */
.form-card {
    background: var(--white); border-radius: 20px;
    padding: 40px; box-shadow: 0 24px 64px rgba(0,0,0,.22);
}
.form-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.form-card h3 i { color: var(--teal); }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.field label span { color: var(--teal); }

.field input, .field select, .field textarea {
    width: 100%; padding: 12px 15px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: .94rem; color: var(--text);
    background: var(--white); transition: border-color .2s, box-shadow .2s;
    outline: none; appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #b0b8c4; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26,138,118,.12);
}
.field textarea { resize: vertical; min-height: 108px; }

.check-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.check-label input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.txt-link { color: var(--teal); text-decoration: underline; }

/* ============================================================
   MAP
   ============================================================ */
.map-wrap { height: 420px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--white); padding: 88px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.5fr; gap: 48px; margin-bottom: 64px; }

.footer-logo { height: 72px; width: auto; margin-bottom: 18px; }
.brand-col p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.72; margin-bottom: 20px; }
.footer-rating { display: flex; align-items: center; gap: 8px; }
.footer-rating .stars { color: #fbbf24; font-size: .9rem; }
.footer-rating span { font-size: .82rem; color: rgba(255,255,255,.5); }

.footer-col h4 { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: .875rem; color: rgba(255,255,255,.55); }
.footer-col ul li a { transition: color .2s; }
.footer-col ul li a:hover { color: var(--teal-light); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.fc-item { display: flex; align-items: flex-start; gap: 12px; }
.fc-item i { color: var(--teal-light); font-size: .85rem; margin-top: 3px; flex-shrink: 0; }
.fc-item span, .fc-item a { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.55; }
.fc-item a:hover { color: var(--teal-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 110px 0; background: var(--white); }
.faq-grid { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }

.faq-item { border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s; }
.faq-item.open { border-color: var(--teal); }

.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; background: var(--white); border: none; cursor: pointer; text-align: left;
    font-size: .97rem; font-weight: 600; color: var(--dark); transition: background .2s;
}
.faq-q:hover { background: var(--bg); }
.faq-item.open .faq-q { background: var(--teal-faint); color: var(--teal-dark); }
.faq-q i { font-size: .8rem; color: var(--teal); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.open .faq-q i { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .3s ease; padding: 0 24px; }
.faq-item.open .faq-a { max-height: 300px; padding: 16px 24px 20px; }
.faq-a p { font-size: .92rem; color: var(--muted); line-height: 1.7; margin: 0; }
.faq-a a { color: var(--teal); font-weight: 600; }

/* Active nav link */
.nav-links a.active:not(.btn-nav) { color: var(--teal-light) !important; }
.navbar.scrolled .nav-links a.active:not(.btn-nav) { color: var(--teal) !important; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
    position: fixed; bottom: 28px; right: 28px;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 6px 22px rgba(37,211,102,.45);
    z-index: 800; transition: var(--ease);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.wa-tooltip {
    position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
    background: var(--dark); color: var(--white);
    font-size: .78rem; font-weight: 600;
    padding: 6px 12px; border-radius: 6px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .25s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); backdrop-filter: blur(5px);
    z-index: 1000; align-items: center; justify-content: center;
}
.modal.open { display: flex; }
.modal-box {
    background: var(--white); padding: 52px 40px; border-radius: 20px;
    text-align: center; max-width: 400px; width: 90%;
    animation: popIn .35s cubic-bezier(.34,1.56,.64,1) both;
}
.modal-icon { font-size: 4rem; color: var(--teal); margin-bottom: 18px; }
.modal-box h3 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.modal-box p { color: var(--muted); font-size: .95rem; line-height: 1.65; margin-bottom: 28px; }
.modal-box p a { color: var(--teal); font-weight: 600; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-9px); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(.88); }
    to   { opacity: 1; transform: scale(1); }
}

.fade-in {
    opacity: 0; transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid, .tech-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-images, .tech-images { height: 380px; }
    .appt-grid { grid-template-columns: 1fr; gap: 56px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 76%; max-width: 300px; height: 100vh;
        background: var(--dark); flex-direction: column; align-items: flex-start;
        padding: 88px 32px 32px; gap: 20px;
        transition: right .35s cubic-bezier(.25,.46,.45,.94);
        box-shadow: -4px 0 24px rgba(0,0,0,.25);
    }
    .nav-links.open { right: 0; }
    .nav-links a { color: var(--white) !important; font-size: 1.05rem; }

    .info-bar .container { flex-direction: column; gap: 10px; align-items: flex-start; padding: 8px 28px; }
    .info-divider { display: none; }

    .about-grid { text-align: center; }
    .about-stats { justify-content: center; }
    .about-pills { justify-content: center; }
    .about-images { height: 300px; }
    .img-badge { display: none; }

    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .field-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }

    .tech-images { height: 300px; }
}

@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
    .about-images { height: 240px; }
    .appt-grid { gap: 40px; }
}

@media (max-width: 480px) {
    /* Sections */
    .about, .services, .tech, .reviews, .faq, .appt, .map { padding: 72px 0; }
    .section-label { font-size: .7rem; }
    .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

    /* Hero */
    .hero { min-height: 100svh; padding: 100px 0 80px; }
    .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .hero-sub { font-size: .92rem; }
    .hero-stars { padding: 7px 14px; }
    .stars { font-size: .9rem; }

    /* Navbar */
    .nav-logo-circle { width: 72px; height: 72px; }
    .container { padding: 0 18px; }

    /* Info bar */
    .info-item { font-size: .8rem; padding: 4px 16px; }

    /* About stats */
    .about-stats { gap: 20px; }
    .stat-num { font-size: 2rem; }

    /* Services */
    .service-card { padding: 24px 20px; }

    /* Reviews */
    .review-card { padding: 24px 20px; }

    /* FAQ */
    .faq-q { padding: 16px 18px; font-size: .9rem; }
    .faq-a p { font-size: .875rem; }

    /* Contact ways */
    .cway { padding: 14px 16px; }

    /* Footer */
    .footer { padding: 56px 0 32px; }
    .footer-col h4 { font-size: .9rem; }
}
