/*
 * Meridian – finance & tax advisory · website template · Abedev (abedev.com)
 *
 * Colours, fonts and spacing are variables: change them here and the whole site follows.
 * Sections: 1 fonts · 2 tokens · 3 base · 4 layout · 5 header · 6 hero · 7 sections · 8 components · 9 pages · 10 footer
 */

/* 1 ─ Fonts (bundled, SIL Open Font License – see assets/fonts/OFL.txt) */
@font-face { font-family: "Meridian Display"; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Meridian Display"; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Meridian Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Meridian Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Meridian Display"; font-weight: 600; font-display: swap; src: url("../fonts/noto-serif-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Meridian Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Meridian Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Meridian Text"; font-weight: 400; font-display: swap; src: url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Meridian Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Meridian Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Meridian Text"; font-weight: 600; font-display: swap; src: url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Meridian Text"; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-400-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }
@font-face { font-family: "Meridian Text"; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-georgian-georgian-600-normal.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+2D00-2D2F; }

/* 2 ─ Design tokens */
:root {
    --paper: #f6f8fa;
    --soft: #eaf1f0;
    --accent: #0e6b5c;        /* buttons, links, details */
    --accent-dark: #0b5649;
    --navy: #0f1e33;          /* dark sections and text */
    --navy-soft: #33445c;
    --gold: #c99a3e;
    --ink: #0f1e33;
    --muted: #5d6b7c;
    --line: rgba(15, 30, 51, .1);
    --white: #ffffff;
    --radius: 16px;
    --shadow: 0 22px 50px -28px rgba(15, 30, 51, .45);
    --font-display: "Meridian Display", Georgia, "Times New Roman", serif;
    --font-text: "Meridian Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1180px;
}

/* 3 ─ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font-text); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
h3 { font-family: var(--font-text); }
:lang(ka) h1, :lang(ka) h2 { line-height: 1.25; letter-spacing: 0; }
h1 { font-size: clamp(38px, 6.4vw, 76px); }
:lang(ka) h1 { font-size: clamp(32px, 5.2vw, 62px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
:lang(ka) h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--gold); }
:lang(ka) em { font-style: normal; }
.art img, .hero-art img, .person-photo img, .article-art img { width: 100%; height: 100%; object-fit: cover; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 4 ─ Layout */
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding-top: 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: #e8eef6; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 18px; }
.on-dark { color: rgba(232, 238, 246, .75); }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.center-link { margin-top: 40px; text-align: center; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-3, .split { grid-template-columns: minmax(0, 1fr); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.is-visible, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* 5 ─ Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 250, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(15, 30, 51, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.logo svg, .logo-img { width: 40px; height: 40px; flex: 0 0 auto; color: var(--accent); object-fit: contain; }
.logo span { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1; white-space: nowrap; }
.logo small { display: block; font-family: var(--font-text); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--navy-soft); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--soft); color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 6px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--navy); transition: .3s; }
@media (max-width: 1060px) {
    .menu-toggle { display: block; }
    .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 12px 16px 24px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
    .nav a { padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .menu-open .nav { transform: none; }
    .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) { .header-actions .btn-sm, .lang { display: none; } .menu-open .lang { display: flex; position: fixed; top: 86px; right: 16px; } .logo span { font-size: 22px; } }

/* 6 ─ Hero */
.hero { position: relative; min-height: min(84vh, 720px); display: grid; align-items: center; color: #e8eef6; overflow: hidden; background: var(--navy); }
.hero-art { position: absolute; inset: 0; }
.hero-art svg, .hero-art img { width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 30, 51, .92) 0%, rgba(15, 30, 51, .72) 45%, rgba(15, 30, 51, .15) 100%); }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(15, 30, 51, .6) 0%, rgba(15, 30, 51, .85) 45%, rgba(15, 30, 51, .95) 100%); } }
.hero-inner { position: relative; z-index: 1; padding: 120px 0 80px; max-width: 760px; margin-left: max(16px, (100% - var(--wrap)) / 2); }
.hero h1 { color: var(--white); }
.hero h1 em { display: block; }
.hero-lead { font-size: clamp(17px, 2vw, 20px); color: rgba(232, 238, 246, .85); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(232, 238, 246, .8); margin: 0; }
.hero-note svg { width: 18px; height: 18px; color: #4fd1b5; }

/* 7 ─ Sections */
.stats-strip { background: var(--navy); color: #e8eef6; border-top: 1px solid rgba(201, 154, 62, .25); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 28px 0; }
.stats div { text-align: center; }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 600; color: var(--gold); line-height: 1.1; }
.stats span { font-size: 13px; color: rgba(232, 238, 246, .7); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(-40px, -4vw, -24px); position: relative; z-index: 2; }
.section--tight .trust { margin-top: 0; padding-top: 40px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item h3 { margin: 2px 0 4px; font-size: 18px; }
.trust-item p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.icon-badge { display: inline-grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--accent); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--lg { width: 64px; height: 64px; border-radius: 18px; }
.icon-badge--lg svg { width: 30px; height: 30px; }
.service-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .3s, box-shadow .3s, border-color .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(14, 107, 92, .35); }
.service-card h3 { margin: 8px 0 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.service-price { display: inline-block; font-weight: 600; color: var(--accent); font-size: 15px; white-space: nowrap; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.split-art .art { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split-art .art svg { width: 100%; height: 100%; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; }
.quote blockquote { margin: 10px 0 18px; font-size: 17px; line-height: 1.6; flex: 1; }
.quote figcaption b { display: block; }
.quote figcaption span { font-size: 14px; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* 8 ─ Components */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1.2 var(--font-text); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, transform .25s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--soft); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; }
.icon svg, .cta-icon svg { width: 22px; height: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.checks { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; background: var(--soft); font: 600 12px/1.6 var(--font-text); color: var(--accent); }
.cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: calc(var(--radius) + 6px); background: var(--navy); color: #e8eef6; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 107, 92, .55), transparent 70%); }
.cta > div { flex: 1 1 320px; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; }
.cta h2 { color: var(--white); margin-bottom: 8px; }
.cta p { color: rgba(232, 238, 246, .75); margin: 0; }
.cta-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent); color: var(--white); position: relative; z-index: 1; }
.cta-icon svg { width: 28px; height: 28px; }

/* 9 ─ Pages */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.page-hero p { max-width: 660px; font-size: 18px; color: var(--muted); }
.services-list { display: grid; gap: 18px; }
.service-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: clamp(22px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 100px; }
.service-row h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 8px; }
.service-row p { color: var(--muted); }
.service-side { display: grid; justify-items: end; gap: 14px; text-align: right; }
@media (max-width: 760px) { .service-row { grid-template-columns: minmax(0, 1fr); gap: 14px; } .service-side { justify-items: start; text-align: left; } }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.package.is-featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.package-badge { position: absolute; top: -14px; left: 28px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: var(--accent); color: var(--white); font-size: 12px; font-weight: 600; }
.package-badge svg { width: 14px; height: 14px; }
.package h3 { font-size: 22px; margin: 0; }
.package-text { color: var(--muted); font-size: 15px; margin: 0; }
.package-price { margin: 10px 0 14px; }
.package-price strong { font-family: var(--font-text); font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--navy); }
.package-price span { color: var(--muted); font-size: 15px; }
.package .checks { flex: 1; margin-bottom: 22px; font-size: 15px; }
.packages-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .packages { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }
.lead-text { font-size: 20px; color: var(--navy-soft); }
.small-head { margin-top: 28px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.value { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.value h3 { margin: 16px 0 6px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.person { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.person-photo { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; background: linear-gradient(135deg, var(--accent), var(--navy)); }
.person-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font: 600 30px var(--font-display); }
.person h3 { margin: 0; }
.person-role { display: block; margin: 4px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.person p { color: var(--muted); font-size: 15px; }
.person-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-soft); text-decoration: none; }
.person-link svg { width: 18px; height: 18px; }
.calcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 860px) { .calcs { grid-template-columns: minmax(0, 1fr); } }
.calc h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.calc h3 svg { width: 24px; height: 24px; color: var(--accent); }
.slider { display: grid; gap: 8px; margin-bottom: 18px; }
.slider-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; }
.slider-head output { color: var(--accent); white-space: nowrap; }
.slider input { width: 100%; margin: 0; accent-color: var(--accent); }
.calc-result { margin: 8px 0 0; padding: 18px; border-radius: 12px; background: var(--soft); }
.calc-result div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.calc-result dt { color: var(--muted); }
.calc-result dd { margin: 0; font-weight: 600; white-space: nowrap; }
.calc-result .calc-main { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.calc-result .calc-main dt { color: var(--ink); font-weight: 600; }
.calc-result .calc-main dd { font-size: 24px; color: var(--accent); }
.calc-bar { display: flex; height: 10px; margin-top: 14px; border-radius: 99px; overflow: hidden; background: var(--soft); }
.calc-bar span[data-bar="paid"] { background: var(--navy); }
.calc-bar span[data-bar="growth"] { background: var(--gold); }
.calc-note { margin-top: 20px; font-size: 14px; color: var(--muted); }
.article { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-art { aspect-ratio: 16 / 9; overflow: hidden; }
.article-art svg { width: 100%; height: 100%; }
.article-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; flex: 1; }
.article-body h3 { margin: 0; }
.article-body p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent); transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-grid h2 { font-size: clamp(26px, 3.2vw, 34px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid rgba(15, 30, 51, .2); border-radius: 12px; background: var(--white); font: 400 16px var(--font-text); color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
/* iOS Safari gives date/time inputs their own minimum width and an empty one no height */
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; min-height: 50px; text-align: left; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 107, 92, .15); }
.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.formats label { display: flex; align-items: center; justify-content: flex-start; text-align: left; gap: 10px; padding: 12px 14px; border: 1px solid rgba(15, 30, 51, .2); border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 400; min-width: 0; }
.formats label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14, 107, 92, .12); }
.formats input { accent-color: var(--accent); margin: 0; }
.formats svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.consent { display: flex; gap: 10px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { text-decoration: underline; color: var(--accent); }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; font-size: 15px; display: none; }
.form-status.is-shown { display: block; }
.form-status.ok { background: #e1f2ec; color: #155a49; }
.form-status.info { background: #f5ecd9; color: #6e5317; }
.form-status.error { background: #f8ddd6; color: #8a2a17; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--accent); }
.info-list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-list a { text-decoration: none; }
.info-list .grow { flex: 1; min-width: 0; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.section--dark .hours li { border-color: rgba(232, 238, 246, .14); }
.hours li.is-today { color: var(--accent); font-weight: 600; }
.section--dark .hours li.is-today { color: var(--gold); }
.open-state { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 12px; font-size: 14px; font-weight: 600; }
.open-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; }
.open-state.is-open::before { background: #2bb39a; box-shadow: 0 0 0 4px rgba(43, 179, 154, .2); }
.map-card { position: relative; margin-top: 20px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.map-card > svg { width: 100%; height: 100%; }
.map-card .btn { position: absolute; left: 16px; bottom: 16px; }
.legal { max-width: 760px; overflow-wrap: anywhere; }
.legal h2 { font-size: 28px; margin-top: 1.4em; }

/* 10 ─ Footer */
.footer { background: var(--navy); color: rgba(232, 238, 246, .8); padding: 72px 0 28px; font-size: 15px; }
.footer .logo { color: var(--paper); margin-bottom: 18px; }
.footer .logo small { color: rgba(232, 238, 246, .55); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(232, 238, 246, .25); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(232, 238, 246, .14); font-size: 13px; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--white); cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }

/* 11 ─ Mobile bar and print */
.mobile-bar { display: none; }
@media (max-width: 760px) {
    .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 248, 250, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; }
    .mobile-bar a.is-primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
    .mobile-bar svg { width: 18px; height: 18px; }
    body { padding-bottom: 76px; }
    .to-top { bottom: 90px; }
}
@media print {
    .header, .footer, .to-top, .mobile-bar, .cta, .section--dark, .hero-actions { display: none !important; }
    body { background: #fff; font-size: 11pt; padding: 0; }
    .page-hero { padding: 0 0 12pt; }
    .section { padding: 0; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
