/* =========================================================
   Dr. Elnur Hasanov — Pediatric Cardiac Surgery
   Design language: Refined Medical / Editorial
   ========================================================= */

/* ---------- 1. CSS RESET & BASE ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

/* ---------- 2. DESIGN TOKENS ---------- */
:root {
    /* Palette — clinical trust with warmth */
    --ink: #0a2540;           /* Глубокий медицинский синий */
    --ink-soft: #1a3a5c;
    --ink-muted: #5a7290;
    --accent: #c8553d;        /* Тёплый коралл (биение сердца) */
    --accent-dark: #a8432e;
    --gold: #b08d57;          /* Акцент академичности */
    --cream: #f8f5ef;         /* Тёплый кремовый */
    --cream-deep: #ede6d5;
    --paper: #fbfaf7;
    --paper-pure: #ffffff;
    --line: rgba(10, 37, 64, 0.12);
    --line-soft: rgba(10, 37, 64, 0.06);
    --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
    --shadow-md: 0 10px 40px rgba(10, 37, 64, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 37, 64, 0.12);

    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 9rem;

    /* Layout */
    --container: 1240px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.4s;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    font-feature-settings: 'ss01', 'ss02', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

/* ---------- 3. TYPOGRAPHY SYSTEM ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}

em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

p { max-width: 65ch; }

/* Section atoms */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: var(--space-md);
}
.section-kicker::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}
.section-kicker--light { color: var(--cream-deep); }
.section-kicker--light::before { background: var(--cream-deep); }

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    font-weight: 400;
    max-width: 22ch;
    margin-bottom: var(--space-md);
}
.section-title--light { color: var(--paper); }

.section-sub {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 55ch;
}

.section-header {
    margin-bottom: var(--space-xl);
    max-width: 900px;
}
.section-header--centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-header--centered .section-title { margin-left: auto; margin-right: auto; }
.section-header--centered .section-kicker::before { display: none; }
.section-header--centered .section-kicker { padding-left: 0; }

/* ---------- 4. TOP BAR ---------- */
.top-bar {
    background: var(--ink);
    color: var(--cream);
    font-size: 0.85rem;
    padding: 0.6rem 0;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.top-bar__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.top-bar__phone:hover { color: var(--accent); }

.lang-switcher {
    display: flex;
    gap: 0.1rem;
    font-family: var(--font-body);
}
.lang-switcher__item {
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    opacity: 0.55;
    border-radius: 2px;
    transition: opacity var(--dur) var(--ease);
}
.lang-switcher__item:hover { opacity: 1; }
.lang-switcher__item--active {
    opacity: 1;
    background: rgba(255,255,255,0.1);
}

/* ---------- 5. HEADER ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--dur) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.brand__tag {
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.94rem;
    font-weight: 500;
}
.nav a {
    position: relative;
    color: var(--ink-soft);
    padding: 0.4rem 0;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--dur) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.nav__cta {
    background: var(--ink);
    color: var(--paper) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 999px;
    transition: background var(--dur) var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--accent); color: var(--paper) !important; }

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 1rem 1.5rem 2rem;
    gap: 0.5rem;
}
.mobile-nav[data-open="true"] { display: flex; }
.mobile-nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink);
    font-size: 1.05rem;
}

/* ---------- 6. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
    white-space: nowrap;
}
.btn--primary {
    background: var(--ink);
    color: var(--paper);
}
.btn--primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.btn--full { width: 100%; }

/* ---------- 7. HERO ---------- */
.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 20%, rgba(200, 85, 61, 0.06), transparent 50%),
        linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 0.5px 0.5px, rgba(10, 37, 64, 0.08) 0.5px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.hero__content { animation: fadeUp 0.9s var(--ease) both; }

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}
.hero__kicker-line {
    width: 36px;
    height: 1px;
    background: var(--ink-muted);
}

.hero__title {
    font-size: clamp(2.25rem, 6vw, 4.75rem);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}

.hero__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 58ch;
    margin-bottom: 2.5rem;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2.5rem;
    list-style: none;
    padding: 1.75rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hero__stats li {
    display: flex;
    flex-direction: column;
}
.hero__stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.hero__stat-num sup {
    font-size: 0.55em;
    color: var(--accent);
    font-weight: 500;
    top: -0.55em;
}
.hero__stat-lbl {
    font-size: 0.85rem;
    color: var(--ink-muted);
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

.hero__cta {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Portrait */
.hero__portrait {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 460px;
    width: 100%;
    justify-self: end;
    animation: fadeUp 1.1s var(--ease) 0.2s both;
}
.hero__portrait-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero__portrait-frame::before {
    content: '';
    position: absolute;
    inset: -1rem;
    border: 1px solid var(--line);
    z-index: -1;
    transform: translate(-1rem, 1rem);
}
.hero__portrait-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream-deep), var(--cream));
}
.hero__portrait-placeholder svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__portrait-badge {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: rgba(10, 37, 64, 0.94);
    backdrop-filter: blur(8px);
    color: var(--cream);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1.3;
}
.hero__portrait-badge svg {
    color: var(--accent);
    flex-shrink: 0;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ink-muted);
    animation: bobble 2.5s ease-in-out infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
@keyframes bobble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- 8. TRUST STRIP ---------- */
.trust-strip {
    background: var(--ink);
    color: var(--cream);
    padding: clamp(2rem, 4vw, 3rem) 0;
}
.trust-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
}
.trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
.trust-strip__num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--paper);
}
.trust-strip__num sup {
    font-size: 0.5em;
    color: var(--accent);
    top: -0.7em;
}
.trust-strip__lbl {
    font-size: 0.85rem;
    color: rgba(248, 245, 239, 0.7);
    line-height: 1.4;
    letter-spacing: 0.02em;
}
.trust-strip__divider {
    width: 1px;
    height: 48px;
    background: rgba(248, 245, 239, 0.2);
}

/* ---------- 9. ABOUT ---------- */
.about {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--paper-pure);
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.about__visual {
    position: sticky;
    top: 100px;
}
.about__photo {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about__photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--cream-deep);
}
.about__photo-placeholder svg { width: 100%; height: 100%; }
.about__photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(to top, rgba(10,37,64,0.85), transparent);
    color: var(--paper);
    font-size: 0.82rem;
    font-style: italic;
    font-family: var(--font-display);
}

.about__prose p {
    font-size: 1.075rem;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 1.25rem;
}
.about__prose p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    float: left;
    line-height: 0.85;
    margin: 0.4rem 0.6rem 0 -0.2rem;
    color: var(--accent);
}

.about__credentials {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 1.25rem;
}
.about__credentials > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem;
    align-items: baseline;
}
.about__credentials dt {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-muted);
}
.about__credentials dd {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 400;
}

/* ---------- 10. EXPERTISE ---------- */
.expertise {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--cream);
    position: relative;
}
.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
}
.expertise__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0;
    margin-top: var(--space-lg);
    border-top: 1px solid var(--line);
}
.expertise__item {
    position: relative;
    padding: 2.5rem 2rem 2.5rem 0;
    padding-right: 2rem;
    border-bottom: 1px solid var(--line);
    transition: background var(--dur) var(--ease);
}
.expertise__item:not(:nth-child(2n)) {
    border-right: 1px solid var(--line);
    padding-right: 2.5rem;
}
.expertise__item:hover { background: rgba(255,255,255,0.5); }
.expertise__num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.85rem;
}
.expertise__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.85rem;
    letter-spacing: -0.015em;
}
.expertise__item p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--ink-soft);
}

/* ---------- 11. SERVICES ---------- */
.services {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--paper-pure);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.service-card {
    padding: 2.25rem;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--line);
    box-shadow: var(--shadow-md);
}
.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.service-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* ---------- 12. SCIENCE ---------- */
.science {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background:
        linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.science::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 85, 61, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.science__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.science__text .section-title {
    color: var(--paper);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
.science__text p {
    color: rgba(248, 245, 239, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 52ch;
}
.science__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}
.science__tags span {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--cream);
    border: 1px solid rgba(248, 245, 239, 0.25);
    border-radius: 999px;
    text-transform: uppercase;
}
.science__list {
    list-style: none;
    display: grid;
    gap: 1px;
    background: rgba(248, 245, 239, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.science__list li {
    padding: 1.5rem 1.75rem;
    background: var(--ink);
    transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
    cursor: default;
    position: relative;
}
.science__list li:hover { background: var(--ink-soft); padding-left: 2.25rem; }
.science__list h3 {
    color: var(--paper);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    letter-spacing: -0.005em;
}
.science__list p {
    font-size: 0.92rem;
    color: rgba(248, 245, 239, 0.65);
    margin: 0;
    max-width: none;
}

/* ---------- 13. TESTIMONIALS ---------- */
.testimonials {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--cream);
    position: relative;
}
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: var(--space-lg);
}
.testimonial {
    position: relative;
    padding: 2.25rem;
    background: var(--paper-pure);
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial__quote {
    color: var(--cream-deep);
    margin-bottom: 1rem;
}
.testimonial blockquote p {
    font-family: var(--font-display);
    font-size: 1.12rem;
    line-height: 1.55;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.testimonial figcaption {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.testimonial figcaption strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}
.testimonial figcaption span {
    font-size: 0.85rem;
    color: var(--ink-muted);
}
.testimonials__note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--ink-muted);
    font-style: italic;
}

/* ---------- 14. CONTACT ---------- */
.contact {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background: var(--ink);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 85, 61, 0.15), transparent 70%);
    pointer-events: none;
}
.contact__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.contact__lede {
    color: rgba(248, 245, 239, 0.8);
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 48ch;
}
.contact__channels {
    list-style: none;
    display: grid;
    gap: 1.25rem;
}
.contact__channels li {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(248, 245, 239, 0.15);
}
.contact__channel-lbl {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(248, 245, 239, 0.6);
}
.contact__channels a,
.contact__channels span {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--paper);
    font-weight: 400;
}
.contact__channels a:hover { color: var(--accent); }

/* Form */
.form {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: grid;
    gap: 1.25rem;
}
.form__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.form__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: 0.02em;
}
.form input,
.form textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-pure);
    color: var(--ink);
    transition: border-color var(--dur) var(--ease);
    width: 100%;
}
.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form textarea { resize: vertical; min-height: 100px; }

.form__checkbox {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--ink-muted);
    line-height: 1.5;
    cursor: pointer;
}
.form__checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}
.form__checkbox a { color: var(--accent); text-decoration: underline; }

.form__note {
    font-size: 0.82rem;
    color: var(--ink-muted);
    text-align: center;
    font-style: italic;
}

/* ---------- 15. FLOATING WHATSAPP ---------- */
.fab-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 40;
    transition: transform var(--dur) var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.6;
    z-index: -1;
    animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 16. FOOTER ---------- */
.footer {
    background: var(--paper-pure);
    color: var(--ink-soft);
    padding: var(--space-2xl) 0 var(--space-md);
    border-top: 1px solid var(--line);
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: var(--space-xl);
}
.brand--footer { margin-bottom: 1rem; }
.footer__desc {
    font-size: 0.92rem;
    color: var(--ink-muted);
    line-height: 1.6;
    max-width: 35ch;
}
.footer__col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.footer__col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer__col ul a,
.footer__col ul li {
    font-size: 0.92rem;
    color: var(--ink-muted);
}
.footer__col ul a:hover { color: var(--accent); }

.footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.84rem;
    color: var(--ink-muted);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 960px) {
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .hero__grid,
    .about__grid,
    .science__grid,
    .contact__grid {
        grid-template-columns: 1fr;
    }
    .hero__portrait {
        justify-self: center;
        max-width: 380px;
    }
    .about__visual { position: static; max-width: 400px; }
    .expertise__list { grid-template-columns: 1fr; }
    .expertise__item:not(:nth-child(2n)) {
        border-right: 0;
        padding-right: 0;
    }
    .expertise__item { padding: 2rem 0; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .contact__channels li { grid-template-columns: 1fr; gap: 0.25rem; }
    .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .top-bar__phone span,
    .top-bar__phone { font-size: 0.78rem; }
    .hero__stats { gap: 1.25rem; }
    .about__credentials > div { grid-template-columns: 1fr; gap: 0.25rem; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .trust-strip__divider { display: none; }
    .trust-strip__inner { gap: 1.5rem; }
}

/* ---------- 18. PRINT ---------- */
@media print {
    .top-bar, .header, .fab-whatsapp, .hero__scroll, .form, .menu-toggle { display: none !important; }
    body { color: black; background: white; }
    .hero, .about, .expertise, .services, .science, .testimonials, .contact { background: white !important; color: black !important; padding: 1rem 0 !important; }
}

/* ---------- 19. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
