﻿/* ============================================================
   Arogya Kavach Solution — site stylesheet
   Single file, no framework. Palette: sea-ink / peacock /
   marigold. Display face: Zilla Slab. Body: system stack.
   ============================================================ */

:root {
    --ink: #0F2E47;
    --ink-2: #0A2135;
    --brand: #14568C;
    --brand-2: #0E4470;
    --marigold: #E89B2D;
    --marigold-deep: #C97F16;
    --marigold-soft: #FBEED8;
    --paper: #F4F8FA;
    --slate: #4A5B6B;
    --line: #DCE6EC;
    --white: #ffffff;
    --radius: 14px;
    --arch: 220px 220px 16px 16px;
    --shadow: 0 12px 32px -14px rgba(15, 46, 71, .22);
    --font-display: "Zilla Slab", Georgia, "Times New Roman", serif;
    --font-body: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--slate);
    background: var(--white);
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 .5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--marigold-soft); color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--marigold);
    outline-offset: 2px;
    border-radius: 4px;
}

.wrap {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.btn-solid { background: var(--brand); color: var(--white); }
.btn-solid:hover { background: var(--brand-2); color: var(--white); }

.btn-gold { background: var(--marigold); color: var(--ink-2); }
.btn-gold:hover { background: #F3AE4B; color: var(--ink-2); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--paper); color: var(--ink); }

/* ---------- Sections ---------- */

.section { padding-block: 76px; }
.section.tint { background: var(--paper); }
.section.dark { background: var(--ink); }

.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.centered { margin-inline: auto; text-align: center; }

.sec-title {
    font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.3rem);
    margin-bottom: .35em;
}

.sec-title::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    margin-top: 14px;
    border-radius: 2px;
    background: var(--marigold);
}

.section-head.centered .sec-title::after { margin-inline: auto; }

.section-head p { color: var(--slate); font-size: 1.04rem; }

.icon { width: 1em; height: 1em; flex: none; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Top bar ---------- */

.topbar {
    background: var(--ink-2);
    color: #B9CBD8;
    font-size: .82rem;
}

.topbar-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 38px;
    padding-block: 4px;
}

.topbar p { margin: 0; display: flex; align-items: center; gap: 7px; }

.topbar-right { display: flex; gap: 22px; }

.topbar a { color: #B9CBD8; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--white); }

.topbar .icon { color: var(--marigold); }

/* ---------- Header / nav ---------- */

.site-head {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.head-in {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { max-height: 56px; width: auto; }

.nav ul { display: flex; align-items: center; gap: 4px; }

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 600;
    font-size: .95rem;
}

.nav a:hover { color: var(--brand); background: var(--paper); }

.nav .has-sub { position: relative; }

.nav .sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
}

.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: block; }

.nav .sub a { display: block; padding: 9px 12px; font-weight: 500; }

.head-cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */

.hero {
    position: relative;
    min-height: clamp(480px, 68vh, 660px);
    background: var(--ink);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
}

.hero-slide.is-on { opacity: 1; visibility: visible; z-index: 1; }

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 33, 53, .92) 0%, rgba(10, 33, 53, .72) 42%, rgba(10, 33, 53, .18) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-block: 70px 90px;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.2rem + 3.2vw, 3.4rem);
    line-height: 1.12;
    color: var(--white);
    max-width: 15ch;
    margin: 0 0 .4em;
}

.hero-sub {
    color: #C9D8E3;
    font-size: 1.08rem;
    max-width: 52ch;
    margin-bottom: 1.6em;
}

.hero-slide.is-on .hero-title,
.hero-slide.is-on .hero-sub,
.hero-slide.is-on .btn { animation: rise .7s ease both; }
.hero-slide.is-on .hero-sub { animation-delay: .15s; }
.hero-slide.is-on .btn { animation-delay: .3s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.hero-dots {
    position: absolute;
    left: 0; right: 0; bottom: 26px;
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dots button {
    width: 26px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background-color .25s;
}

.hero-dots button.is-on { background: var(--marigold); }

/* ---------- Trust strip ---------- */

.trust {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.trust-in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-block: 22px;
}

.trust-item { display: flex; align-items: center; gap: 13px; }

.trust-item .icon {
    width: 40px; height: 40px;
    padding: 9px;
    color: var(--brand);
    background: var(--paper);
    border-radius: 12px;
}

.trust-item strong { display: block; color: var(--ink); font-size: .98rem; }
.trust-item span { font-size: .85rem; }

/* ---------- Service cards ---------- */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.svc-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s, box-shadow .2s;
}

.svc-card:hover { border-color: var(--marigold); box-shadow: var(--shadow); }

.svc-icon {
    flex: none;
    width: 72px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--marigold-soft);
    border-radius: 36px 36px 8px 8px;
}

.svc-icon img { max-width: 44px; max-height: 44px; }

.svc-body { flex: 1; min-width: 0; }

.svc-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 4px;
}

.svc-card:hover .svc-name { color: var(--brand); }

.svc-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--brand);
}

/* ---------- About split ---------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 56px;
    align-items: center;
}

.about-media { position: relative; }

.about-media > img {
    width: 100%;
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    border-radius: var(--arch);
    border-bottom: 5px solid var(--marigold);
}

.about-badge {
    position: absolute;
    left: -14px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 12px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-badge img {
    width: 48px; height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.about-badge .name { display: block; font-weight: 700; color: var(--ink); font-size: .95rem; }
.about-badge .role { font-size: .82rem; color: var(--brand); }

.about-copy .lead { color: var(--brand); font-weight: 600; font-size: 1.05rem; }

/* ---------- Testimonials ---------- */

.quote-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(420px, 85vw);
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
}

.quote-row::-webkit-scrollbar { height: 6px; }
.quote-row::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

.quote-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.quote-card blockquote { margin: 0 0 20px; font-size: .98rem; }

.quote-who { display: flex; align-items: center; gap: 13px; margin-top: auto; }

.quote-who img {
    width: 52px; height: 52px;
    object-fit: cover;
    border-radius: 999px 999px 8px 8px;
}

.quote-who strong { display: block; color: var(--ink); font-size: .95rem; }
.quote-who span { font-size: .84rem; color: var(--brand); }

/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 26px;
}

.team-card { text-align: center; }

.team-card img {
    width: 100%;
    aspect-ratio: 4 / 4.4;
    object-fit: cover;
    border-radius: 999px 999px 14px 14px;
    background: var(--paper);
    margin-bottom: 14px;
}

.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-card p { font-size: .88rem; color: var(--brand); }

/* ---------- News cards ---------- */

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.news-card:hover { border-color: var(--marigold); box-shadow: var(--shadow); }

.news-card .news-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .news-media img { width: 100%; height: 100%; object-fit: cover; }

.news-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--marigold-deep);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-body h3 { font-size: 1.14rem; line-height: 1.35; margin-bottom: 14px; }
.news-body h3 a { color: var(--ink); }
.news-body h3 a:hover { color: var(--brand); }

.news-body .svc-more { margin-top: auto; }

.news-foot { text-align: center; margin-top: 40px; }

/* ---------- Call-back panel / forms ---------- */

.callback {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.callback-info {
    background: var(--ink);
    color: #C9D8E3;
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.callback-info h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.callback-info h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--marigold); }

.callback-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

.callback-phone .icon { width: 42px; height: 42px; padding: 10px; background: var(--marigold); color: var(--ink-2); border-radius: 12px; }

.callback-info .note { margin-top: 8px; font-size: .85rem; }

.callback-form { background: var(--white); padding: 46px 44px; }

.field { margin-bottom: 16px; }

.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }

.field input,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .2s;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--white);
}

.field textarea { resize: vertical; min-height: 104px; }

.form-note { margin-top: 12px; font-size: .9rem; font-weight: 600; display: none; }
.form-note.ok { display: block; color: #1E7A4E; }
.form-note.err { display: block; color: #B3372B; }

/* ---------- Inner page hero ---------- */

.page-hero {
    position: relative;
    background: var(--ink);
    color: #C9D8E3;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -190px;
    width: 460px;
    height: 560px;
    border-radius: 230px 230px 30px 30px;
    background: rgba(255, 255, 255, .045);
    transform: rotate(18deg);
}

.page-hero::after {
    content: "";
    position: absolute;
    right: 90px;
    top: -230px;
    width: 300px;
    height: 430px;
    border-radius: 150px 150px 24px 24px;
    background: rgba(232, 155, 45, .12);
    transform: rotate(18deg);
}

.page-hero .wrap { position: relative; z-index: 1; padding-block: 64px; }

.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.7rem);
    margin-bottom: .3em;
    max-width: 22ch;
}

.page-hero p { max-width: 62ch; margin-bottom: 0; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    font-size: .85rem;
}

.crumbs a { color: var(--marigold); }
.crumbs a:hover { color: #F3AE4B; }
.crumbs li:not(:first-child)::before { content: "/"; margin-right: 6px; color: #5A7185; }
.crumbs [aria-current] { color: #C9D8E3; }

/* ---------- Prose (CMS content) ---------- */

.prose {
    max-width: 820px;
    font-size: 1.02rem;
}

.prose img { border-radius: var(--radius); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; list-style: revert; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

/* ---------- Detail layout with sidebar ---------- */

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
    align-items: start;
}

.side-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.side-card h3 { font-size: 1.1rem; margin-bottom: 14px; }

.side-nav li + li { border-top: 1px solid var(--line); }

.side-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 4px;
    color: var(--ink);
    font-weight: 500;
    font-size: .94rem;
}

.side-nav a:hover { color: var(--brand); padding-left: 8px; transition: padding .2s, color .2s; }

.help-card {
    background: var(--ink);
    color: #C9D8E3;
    border: 0;
}

.help-card h3 { color: var(--white); }
.help-card a { color: var(--white); font-weight: 600; }
.help-card a:hover { color: var(--marigold); }
.help-card .btn { margin-top: 16px; }
.help-card p { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: .93rem; }
.help-card .icon { color: var(--marigold); }

/* ---------- Gallery ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: var(--paper);
}

/* ---------- Contact page ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
    border-radius: var(--radius);
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
}

.contact-item + .contact-item { border-top: 1px solid var(--line); }

.contact-item .icon {
    width: 46px; height: 46px;
    flex: none;
    padding: 12px;
    color: var(--ink-2);
    background: var(--marigold-soft);
    border-radius: 23px 23px 6px 6px;
}

.contact-item h3 { font-size: 1.08rem; margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: .96rem; }

/* ---------- Footer ---------- */

.site-foot {
    background: var(--ink-2);
    color: #A7BBC9;
    font-size: .93rem;
}

.foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 44px;
    padding-block: 56px 40px;
}

.foot-brand img { max-height: 54px; width: auto; margin-bottom: 18px; }

.foot-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.foot-col h4::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 9px; background: var(--marigold); border-radius: 2px; }

.foot-col li { margin-bottom: 9px; }
.foot-col a { color: #A7BBC9; }
.foot-col a:hover { color: var(--white); }

.foot-contact li { display: flex; gap: 10px; margin-bottom: 12px; }
.foot-contact .icon { color: var(--marigold); margin-top: 4px; }

.foot-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .85rem;
}

.foot-social { display: flex; gap: 10px; }

.foot-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    color: #A7BBC9;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    transition: color .2s, border-color .2s, background-color .2s;
}

.foot-social a:hover { color: var(--ink-2); background: var(--marigold); border-color: var(--marigold); }

/* ---------- Scroll-top ---------- */

.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 70;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--white);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s, transform .25s, visibility .25s;
}

.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-2); }

/* ---------- Tabs (about page) ---------- */

.tabs-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.tabs-bar button {
    padding: 10px 22px;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}

.tabs-bar button[aria-selected="true"] {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}

.tab-pane[hidden] { display: none; }

.tab-pane .about-grid { align-items: center; }

.tab-pane .about-media > img { aspect-ratio: 4 / 3; border-radius: var(--radius); border-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .section { padding-block: 54px; }

    .nav-toggle { display: flex; }
    .head-cta { display: none; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-open .nav { display: block; }

    .nav ul { display: block; padding: 12px 20px 18px; }
    .nav a { display: flex; width: 100%; padding: 12px 8px; }

    .nav .sub {
        position: static;
        display: block;
        border: 0;
        box-shadow: none;
        padding: 0 0 4px 18px;
        min-width: 0;
    }

    .about-grid, .callback, .contact-grid { grid-template-columns: 1fr; }
    .about-grid { gap: 36px; }
    .about-media > img { aspect-ratio: 4 / 3.4; }
    .about-badge { left: 12px; }

    .detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .detail-side { order: 2; }

    .trust-in { grid-template-columns: 1fr; gap: 12px; }

    .callback-info, .callback-form { padding: 34px 26px; }
}

@media (max-width: 640px) {
    .topbar-in { justify-content: center; }
    .topbar-loc { display: none; }
    .hero-content { padding-block: 56px 80px; }
    .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 42px 30px; }
    .foot-bottom { justify-content: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */

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