@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazirmatn-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazirmatn-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Vazirmatn";
    src: url("../fonts/vazirmatn-800.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #0F2A4A;
    --navy-deep: #0A1C33;
    --navy-mid: #1B3A5E;
    --yellow: #C9A24A;
    --yellow-deep: #A9852F;
    --paper: #f7f8fa;
    --mist: #eef2f6;
    --ink: #182230;
    --muted: #5d6775;
    --line: #d7dee6;
    --white: #fff;
    --font: "Vazirmatn", Tahoma, sans-serif;
    --header: 92px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 10px 30px rgba(11, 23, 38, 0.08);
    --shadow-card: 0 14px 34px rgba(11, 23, 38, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    line-height: 1.85;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font-family: inherit; }

.t-strong { font-weight: 800; color: inherit; }
.t-soft { font-weight: 300; color: inherit; opacity: 0.92; }
.section--navy .t-soft,
.hero .t-soft,
.cta-band .t-soft { opacity: 0.82; }

.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--yellow);
}
.eyebrow--dark { color: var(--yellow-deep); }

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.topbar {
    background: var(--navy-deep);
    color: #d7deea;
    font-size: 0.85rem;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.topbar a { color: #eef3f8; }
.topbar__phones, .topbar__social { display: flex; gap: 16px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}
.site-header.is-compact {
    box-shadow: 0 10px 30px rgba(11, 23, 38, 0.08);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.brand img {
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    background: var(--navy-deep);
    padding: 2px;
}
.brand strong { display: block; color: var(--navy); font-size: 0.95rem; line-height: 1.4; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav > a,
.has-sub > a {
    padding: 8px 14px;
    font-weight: 500;
    color: var(--navy);
    border-radius: var(--radius-sm);
}
.main-nav > a.is-active,
.has-sub > a.is-active {
    background: var(--yellow);
    color: var(--navy-deep);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 rgba(11, 23, 38, 0.08);
}
.has-sub { position: relative; }
.subnav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
    z-index: 20;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.subnav a {
    display: block;
    padding: 8px 12px;
    color: var(--navy);
    border-radius: var(--radius-sm);
}
.subnav a:hover { background: var(--paper); }
.header-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    padding: 10px 16px;
    min-width: 160px;
    text-align: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.header-cta span { display: block; font-size: 0.75rem; opacity: 0.8; font-weight: 400; }
.header-cta strong { font-weight: 800; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--navy);
    padding: 10px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--yellow);
    margin: 5px 0;
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: calc(100svh - 132px);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
}
.hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}
@media (prefers-reduced-motion: no-preference) {
    .hero__media {
        animation: heroZoom 18s ease-out infinite alternate;
    }
}
.cover-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(11, 23, 38, 0.92) 0%, rgba(11, 23, 38, 0.55) 42%, rgba(11, 23, 38, 0.2) 100%);
}
.hero__shade::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(42vw, 420px);
    height: 14%;
    background: var(--yellow);
    clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 72px 0 88px;
}
.hero__brand {
    margin: 0 0 10px;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.08;
    color: var(--yellow);
}
.hero__title {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    line-height: 1.55;
    font-weight: 400;
}
.hero__lead {
    margin: 0 0 28px;
    max-width: 38em;
    font-size: 1.05rem;
    color: #e7eef6;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.hero__trust li {
    padding: 8px 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    font-size: 0.92rem;
    border-radius: var(--radius-lg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn--yellow { background: var(--yellow); color: var(--navy-deep); }
.btn--yellow:hover { background: var(--yellow-deep); }
.btn--ghost { background: rgba(255,255,255,0.08); color: var(--white); outline: 1px solid rgba(255,255,255,0.75); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,0.14); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-mid); }

.section { padding: clamp(56px, 8vw, 88px) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--mist { background: var(--mist); }
.section--intro { background: var(--paper); }
.section--ceo { background: linear-gradient(180deg, #f7f8fa 0%, #eef2f6 100%); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2,
.split__text h2,
.page-hero h1,
.ceo-panel h2,
.content-seo h2 {
    margin: 0 0 12px;
    color: inherit;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.45;
    font-weight: 400;
}
.section--navy .section-head p { color: #d5deea; }
.section-head p, .split__text p, .lead-text { color: var(--muted); }
.lead-text { font-size: 1.05rem; max-width: 40em; }
.section-more { margin-top: 28px; }

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
.media-frame { margin: 0; position: relative; }
.media-frame::after {
    content: "";
    position: absolute;
    inset: auto auto -14px -14px;
    width: 46%;
    height: 46%;
    border: 3px solid var(--yellow);
    z-index: 0;
}
.media-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: min(460px, 58vw);
    object-fit: cover;
}
.text-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 2px solid var(--yellow);
}
.check-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 8px;
}
.check-list li {
    padding-right: 14px;
    border-right: 3px solid var(--yellow);
    color: var(--ink);
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.steps-row li {
    background: var(--white);
    padding: 22px 18px;
    border-top: 3px solid var(--yellow);
    min-height: 170px;
}
.steps-row__num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yellow-deep);
}
.steps-row strong {
    display: block;
    color: var(--navy);
    font-size: 1.08rem;
    margin-bottom: 8px;
}
.steps-row span { color: var(--muted); font-weight: 300; }

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.capability-grid li {
    padding: 22px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.15rem;
    border-radius: var(--radius-md);
}
.capability-grid .t-strong { color: var(--yellow); display: block; margin-bottom: 4px; }
.capability-grid .t-soft { color: #dce5f0; }

.service-grid, .post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-tile, .post-tile {
    display: grid;
    color: inherit;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.service-tile:hover, .post-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.service-tile__media, .post-tile__media { overflow: hidden; }
.service-tile img, .post-tile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.service-tile:hover img, .post-tile:hover img { transform: scale(1.04); }
.service-tile__body, .post-tile__body { padding: 16px 2px 4px; }
.service-tile h2, .service-tile h3, .post-tile h2, .post-tile h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 800;
}
.service-tile p, .post-tile p { margin: 0; color: var(--muted); font-weight: 300; }
.post-tile time { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.tile-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--navy);
    font-weight: 700;
    border-bottom: 2px solid var(--yellow);
    font-size: 0.92rem;
}

.ceo-panel {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    align-items: stretch;
}
.ceo-block__name {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--navy);
    margin: 10px 0 4px;
}
.ceo-block__role {
    color: var(--yellow-deep);
    font-weight: 700;
    margin: 0 0 14px;
}
.ceo-aside {
    background: var(--navy);
    color: #e8eef6;
    padding: 28px 24px;
    display: grid;
    align-content: center;
    gap: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.ceo-aside .t-strong { color: var(--yellow); }

.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.branch-card {
    display: block;
    padding: 24px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--yellow);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.branch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.branch-card__idx {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--yellow-deep);
    margin-bottom: 8px;
}
.branch-card h3 { margin: 0 0 8px; color: var(--navy); font-weight: 800; }
.branch-card p { margin: 0; color: var(--muted); font-weight: 300; }
.branch-card__tel {
    display: inline-block;
    margin-top: 14px;
    color: var(--navy);
    font-weight: 800;
}

.branch-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.branch-page-card {
    display: grid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.branch-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.branch-page-card__media { overflow: hidden; }
.branch-page-card__media img { width: 100%; height: 220px; object-fit: cover; }
.branch-page-card__body { padding: 20px; }
.branch-page-card__body h2,
.branch-page-card__body h3 { margin: 0 0 8px; color: var(--navy); font-weight: 800; }
.branch-page-card__body p { margin: 0; color: var(--muted); font-weight: 300; }
.branch-page-card__tel {
    display: inline-block;
    margin-top: 10px;
    color: var(--navy);
    font-weight: 700;
}
.branch-detail { display: grid; gap: 28px; }
.branch-detail__info {
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.branch-detail__list { display: grid; gap: 16px; margin: 18px 0 0; }
.branch-detail__list li { display: flex; gap: 12px; align-items: flex-start; }
.branch-detail__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    font-size: 1.1rem;
}
.branch-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.branch-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.branch-gallery__item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.branch-gallery__item img { width: 100%; height: 220px; object-fit: cover; }

.branch-list { display: grid; gap: 18px; }
.branch-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.branch-item span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--yellow-deep);
}
.branch-item h3 { margin: 0; color: var(--navy); }

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 2px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    padding: 14px 0;
}
.faq-item p { color: var(--muted); margin: 0 0 14px; font-weight: 300; }

.cta-band {
    background: var(--navy-deep);
    color: var(--white);
    padding: clamp(56px, 8vw, 84px) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: 0;
    width: 220px;
    height: 100%;
    background: var(--yellow);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-band__inner { position: relative; max-width: 680px; }
.cta-band h2 { margin: 0 0 14px; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-phone { color: var(--yellow); font-weight: 800; }

.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 48px;
}
.page-hero--image {
    position: relative;
    overflow: hidden;
    padding: 64px 0 48px;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.page-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(10,28,51,0.88), rgba(10,28,51,0.35));
}
.page-hero--image .container { position: relative; z-index: 2; }
.page-hero p { color: #d7deea; }

.prose { max-width: 760px; }
.prose--home { max-width: 820px; }
.prose p { color: var(--muted); font-weight: 300; }
.prose h2, .prose h3 { color: var(--navy); font-weight: 800; }
.prose strong { font-weight: 800; color: var(--navy); }
.prose a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--yellow); }
.prose-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}
.prose-table th,
.prose-table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: right;
}
.prose-table th {
    background: #eef3f8;
    color: var(--navy);
    font-weight: 700;
}
.prose-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
}
.article-layout aside h2 { margin-top: 0; font-size: 1.1rem; color: var(--navy); }
.article-layout aside a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); }

.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
}
.consult-form, .contact-side { display: grid; gap: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consult-form label { display: grid; gap: 6px; font-weight: 500; color: var(--navy); }
.consult-form input, .consult-form textarea, .consult-form select {
    border: 1px solid var(--line);
    padding: 10px 12px;
    background: var(--white);
}
.contact-side a { color: var(--navy); font-weight: 700; }
.map-embed iframe { width: 100%; min-height: 240px; border: 0; }

.alert { padding: 12px 14px; }
.alert--ok { background: #e8f6ec; color: #1c5c32; }
.alert--err { background: #fdecea; color: #8a1f16; }

.pager { display: flex; gap: 8px; margin-top: 32px; }
.pager a {
    min-width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
}
.pager a.is-active { background: var(--yellow); border-color: var(--yellow); }

.site-footer { background: var(--navy-deep); color: #c9d3e0; padding-top: 48px; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr;
    gap: 28px;
    padding-bottom: 36px;
}
.footer__grid h2 { color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.footer__grid a, .footer__grid p { display: block; color: #c9d3e0; margin: 0 0 8px; }
.brand--footer { margin-bottom: 12px; color: var(--white); }
.footer__copy { border-top: 1px solid #24364d; padding: 16px 0; font-size: 0.85rem; }

.float-call {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 30;
    background: var(--yellow);
    color: var(--navy-deep);
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-card);
}

.prose {
    opacity: 1;
    transform: none;
}
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

@media (max-width: 980px) {
    .nav-toggle { display: block; margin-right: auto; }
    .header-cta { display: none; }
    .brand { margin-left: 0; }
    .main-nav {
        display: none;
        position: absolute;
        inset: var(--header) 0 auto;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        border-bottom: 1px solid var(--line);
    }
    .main-nav.is-open { display: flex; }
    .subnav { position: static; opacity: 1; visibility: visible; transform: none; border: 0; }
    .split,
    .service-grid,
    .post-grid,
    .branch-page-grid,
    .branch-gallery,
    .capability-grid,
    .footer__grid,
    .contact-layout,
    .article-layout,
    .ceo-panel,
    .branch-grid {
        grid-template-columns: 1fr;
    }
    .steps-row { grid-template-columns: 1fr 1fr; }
    .hero { min-height: 78svh; align-items: center; }
    .hero__content { padding: 56px 0 72px; }
    .hero__shade::after { width: 72%; height: 9%; }
    .media-frame img { height: 250px; }
    .cta-band::before { width: 120px; opacity: 0.85; }
    .capability-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(1180px, calc(100% - 28px)); }
    .steps-row, .capability-grid, .branch-grid { grid-template-columns: 1fr; }
    .hero__trust { gap: 8px; }
    .hero__actions .btn { width: 100%; }
    .float-call { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero__media, .btn, .service-tile, .post-tile, .service-tile img, .post-tile img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
/* Usability and responsive refinements, 2.1 */
:focus-visible { outline: 3px solid #996b00; outline-offset: 4px; }
html { scroll-padding-top: 110px; }
body { overflow-wrap: break-word; }
button, .btn { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
.main-nav a,.subnav a { min-height: 44px; display: flex; align-items: center; }
.main-nav a[aria-current="page"] { background: var(--mist); font-weight: 800; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 18px; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs span:last-child { overflow-wrap: anywhere; }
.consult-form { padding: clamp(18px,3vw,32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); align-content: start; box-shadow: var(--shadow-soft); }
.consult-form input,.consult-form select,.consult-form textarea,.site-search input { width:100%; min-height:48px; border-radius:10px; font-size:1rem; color:var(--ink); }
.consult-form input[type="tel"] { direction: ltr; text-align: right; }
.consult-form textarea { resize: vertical; }
.form-help { margin:0; color:var(--muted); font-size:.85rem; }
.form-error { color:#8a1f16; margin:0; font-size:.9rem; }
.consult-form [aria-invalid="true"] { border:2px solid #a52a24; }
.consult-form .btn { min-height:50px; }
.contact-side { align-content:start; padding-block:18px; }
.alert { border-radius:10px; }
.prose { overflow-wrap:anywhere; }
.prose ul,.prose ol { padding-inline-start:1.5rem; }
.prose ul { list-style:disc; } .prose ol { list-style:decimal; }
.prose table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
.prose th,.prose td { padding:10px; border:1px solid var(--line); }
.prose img { height:auto; border-radius:12px; }
.pager { flex-wrap:wrap; }
.pager a { min-width:44px; min-height:44px; border-radius:10px; }
.site-search { margin-bottom:24px; } .site-search > div { display:flex; gap:10px; } .site-search input { padding:10px 14px; border:1px solid var(--line); }
.mobile-actions { display:none; }
.reveal { opacity:1; transform:none; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.skip-link:focus { position:fixed; top:8px; right:8px; width:auto; height:auto; clip-path:none; z-index:10000; padding:12px; background:white; color:#111; }
@media (max-width:980px) {
 .main-nav { max-height:calc(100dvh - var(--header) - 75px); overflow-y:auto; overscroll-behavior:contain; box-shadow:var(--shadow-card); }
 .topbar__phones { flex-wrap:wrap; gap:8px 14px; }
 .subnav { min-width:0; }
 .article-layout,.contact-layout { gap:24px; }
}
@media (max-width:640px) {
 body { padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
 .mobile-actions { display:grid; grid-template-columns:1fr 1fr; position:fixed; z-index:45; bottom:0; inset-inline:0; gap:10px; padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)); background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 24px #0A1C3312; }
 .mobile-actions .btn { padding:10px 8px; min-height:48px; font-size:.9rem; }
 .float-call { display:none; }
 .section { padding-block:44px; }
 .hero__content { padding-block:32px 48px; }
 .hero__title { font-size:clamp(1.55rem,7vw,2.4rem); line-height:1.65; }
 .topbar { font-size:.72rem; }
 .brand strong { font-size:.85rem; }
 .brand small { font-size:.68rem; }
 .site-search > div { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) { html{scroll-behavior:auto} *,*::before,*::after {animation:none!important;transition:none!important;} }
