/* ==========================================================================
   Design tokens. Change the look of the whole site here.
   ========================================================================== */
:root {
  /* Brand */
  --bg: #F7FAF8;
  --forest: #123C32;
  --emerald: #16866B;
  --emerald-dark: #0F6B55;   /* Emerald for hover and small text: passes contrast on light backgrounds */
  --mint: #E5F3EC;
  --lime: #D9F279;           /* Highlight only. Always pair with forest text. */
  --lime-soft: #F3FAD4;

  /* Neutrals and meaning */
  --surface: #FFFFFF;
  --text: #1C2B26;
  --text-2: #41544C;
  --text-3: #566960;
  --line: #D8E5DE;
  --line-strong: #A9BDB3;
  --field-border: #7F9489;   /* 3:1 against white, as form controls need */
  --error: #B3261E;
  --error-bg: #FCEDEB;
  --success-ink: #0F5C49;

  /* Colours that flip inside dark sections (see .on-dark) */
  --heading: var(--forest);
  --label: var(--emerald-dark);
  --focus: var(--forest);

  /* Type */
  --font: "Manrope", "Noto Sans Georgian", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.6rem, 5.6vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 4.4vw, 3.6rem);
  --fs-h2: clamp(1.8rem, 3.2vw, 2.75rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.06rem, 1.4vw, 1.2rem);
  --fs-small: .9rem;
  --fs-label: .78rem;

  /* Space */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --section: clamp(64px, 9vw, 128px);
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1240px;

  /* Shape */
  --r-s: 8px;
  --r-m: 12px;
  --r-l: 18px;
  --shadow: 0 1px 2px rgba(18, 60, 50, .05), 0 10px 24px -14px rgba(18, 60, 50, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.on-dark {
  --text: #F2F8F5;
  --text-2: #D3E4DC;
  --text-3: #BCD2C8;
  --line: rgba(255, 255, 255, .18);
  --line-strong: rgba(255, 255, 255, .4);
  --field-border: rgba(255, 255, 255, .6);
  --heading: #FFFFFF;
  --label: var(--lime);
  --focus: var(--lime);
  background: var(--forest);
  color: var(--text);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; scroll-padding-bottom: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; background: var(--mint); }
a { color: var(--emerald-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.on-dark a:not(.btn) { color: #fff; }
h1, h2, h3 { color: var(--heading); font-family: var(--font); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--text-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.eyebrow { display: block; font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--label); margin: 0 0 var(--s-4); }
.lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 58ch; line-height: 1.6; }
.hp { position: absolute; left: -9999px; height: 1px; width: 1px; opacity: 0; }
.placeholder { background: var(--lime-soft); color: var(--forest); padding: .05em .25em; border-radius: 4px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: var(--fs-label); font-weight: 700; line-height: 1.5; background: var(--mint); color: var(--forest); }
.chip-sample { background: var(--lime); color: var(--forest); }
.tag { display: inline-block; margin: 0 0 var(--s-3); padding: 3px 10px; border-radius: 6px; font-size: var(--fs-label); font-weight: 700; line-height: 1.5; background: var(--mint); color: var(--forest); }
.tag.tag-amber { background: var(--lime-soft); }

/* Georgian has no capital letters, and uppercasing would change its letterforms. */
html[lang=ka] .eyebrow, html[lang=ka] .site-footer h2 { text-transform: none; letter-spacing: .02em; font-size: .86rem; }
html[lang=ka] h1, html[lang=ka] h2, html[lang=ka] h3 { letter-spacing: -.01em; line-height: 1.2; }
h1, h2, h3, .tile-body strong, .choice strong, .line-label { overflow-wrap: break-word; hyphens: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.header-actions .btn { white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 11px 22px; border: 1.5px solid transparent; border-radius: var(--r-s); font: 700 .98rem/1.2 var(--font); letter-spacing: -.005em; cursor: pointer; text-decoration: none; transition: background-color .18s, border-color .18s, color .18s, transform .18s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled, .btn[aria-disabled=true] { background: var(--line); border-color: var(--line); color: var(--text-3); cursor: not-allowed; transform: none; }
.btn[aria-busy=true] { cursor: progress; color: transparent; position: relative; background: var(--emerald); border-color: var(--emerald); }
.btn[aria-busy=true]::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-primary { background: var(--emerald); color: #fff; }
.btn-primary:hover { background: var(--emerald-dark); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--field-border); }
.btn-ghost:hover { background: var(--mint); border-color: var(--forest); }
.btn-quiet { background: transparent; color: var(--text-2); }
.btn-quiet:hover { background: var(--mint); color: var(--forest); }
.btn-danger { background: var(--error); color: #fff; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: #E5F89B; }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 1.04rem; }
.btn-sm { min-height: 40px; padding: 7px 15px; font-size: .92rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--emerald-dark); text-decoration: none; }
.on-dark .link-arrow { color: #fff; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.linklike { background: none; border: 0; padding: 0; color: var(--emerald-dark); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: var(--s-6); min-height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.14rem; letter-spacing: -.03em; color: var(--forest); text-decoration: none; flex: none; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-s); background: var(--forest); color: var(--lime); }
.logo-img { background: none; width: auto; height: 56px; }
.logo-light .logo-img { height: 68px; }
.logo-tile { display: inline-flex; padding: 8px 12px; background: #fff; border-radius: var(--r-s); }
.logo-light { color: #fff; }
.logo-light .logo-mark { background: var(--lime); color: var(--forest); }
.site-nav { display: flex; gap: var(--s-5); margin: 0 auto; }
.site-nav a { position: relative; padding: 8px 0; color: var(--text-2); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: color .15s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.site-nav a:hover { color: var(--forest); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.site-nav a[aria-current] { color: var(--forest); }
.nav-secondary { display: none; }
html:not([lang=en]) .header-phone span { display: none; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch a { padding: 5px 7px; border-radius: 6px; color: var(--text-3); font-size: .8rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.lang-switch a:hover { background: var(--mint); color: var(--forest); }
.lang-switch a[aria-current] { background: var(--mint); color: var(--forest); font-weight: 700; }
.lang-mobile { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; place-items: center; background: none; border: 1px solid var(--line-strong); border-radius: var(--r-s); color: var(--forest); cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--forest); white-space: nowrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: -180px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: var(--mint); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { padding: clamp(40px, 7vw, 96px) 0; animation: rise .7s var(--ease) both; }
.hero h1, .hero-title { font-size: var(--fs-display); line-height: 1.02; }
.hl { background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% .32em no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-6) 0; }
.center-actions { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); color: var(--text-2); font-weight: 600; font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--emerald); }
.hero-visual { position: relative; align-self: stretch; margin-right: calc(-1 * max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter))); animation: fade 1s ease both; }
.hero-img { width: 100%; height: 100%; min-height: min(78vh, 740px); object-fit: cover; object-position: 38% 50%; border-radius: 0 0 0 var(--r-l); }
.hero-card { position: absolute; left: -48px; bottom: 48px; display: grid; gap: 2px; width: 310px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); color: var(--text-2); text-decoration: none; font-size: .9rem; transition: transform .25s var(--ease); }
.hero-card:hover { transform: translateY(-3px); }
.hero-card strong { color: var(--forest); font-size: 2.1rem; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.hero-card-label { justify-self: start; margin-bottom: 6px; padding: 2px 8px; border-radius: 5px; background: var(--lime); color: var(--forest); font-size: .72rem; font-weight: 700; }
.hero-card-time { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--forest); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section-flush { padding-top: 0; }
.section-mint { background: var(--mint); }
.section-white { background: var(--surface); }
.section-dark { padding: var(--section) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-7); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .25em; }
.section-head p:last-child { margin-bottom: 0; }
.reveal { transition: opacity .6s ease, transform .6s var(--ease); }
.pre-reveal { opacity: 0; transform: translateY(14px); }

.page-head { position: relative; overflow: hidden; background: var(--mint); padding: clamp(48px, 7vw, 96px) 0; }
.page-head::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--line-strong); opacity: .6; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.service-lead { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-5); margin-bottom: var(--s-5); }
.service-compact { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.service-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color .2s, transform .25s var(--ease); }
.service-card:hover { border-color: var(--emerald); transform: translateY(-3px); }
.service-img { display: block; overflow: hidden; }
.service-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.service-lead .service-img img { aspect-ratio: auto; height: 300px; }
.service-card:hover img { transform: scale(1.03); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: var(--s-4); border-radius: var(--r-s); background: var(--mint); color: var(--forest); }
.service-icon .icon { width: 22px; height: 22px; }
.service-body h2, .service-body h3 { font-size: 1.14rem; }
.service-body h2 a, .service-body h3 a { color: inherit; text-decoration: none; }
.service-body h2 a:hover, .service-body h3 a:hover { color: var(--emerald-dark); }
.service-body p { flex: 1; color: var(--text-2); font-size: .96rem; line-height: 1.55; }
.service-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: .92rem; }
.price-from { color: var(--text-3); font-size: .86rem; }
.price-from strong { color: var(--forest); font-size: 1.05rem; font-weight: 800; }
.card-cta { justify-content: center; background: var(--forest); border-color: var(--forest); padding: var(--s-5); }
.card-cta h3 { color: #fff; }
.card-cta p { color: #D3E4DC; font-size: .96rem; }

/* ==========================================================================
   Home estimator (dark band)
   ========================================================================== */
.estimator-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.estimator-panel { background: var(--surface); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); color: #1C2B26; --text: #1C2B26; --text-2: #41544C; --text-3: #566960; --line: #D8E5DE; --line-strong: #A9BDB3; --field-border: #7F9489; --heading: #123C32; --label: #0F6B55; --focus: #123C32; }
.estimator-panel .btn-ghost { color: #123C32; }
.estimator-panel .btn-ghost:hover { background: var(--mint); border-color: var(--forest); }
.est-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); border: 0; margin: 0 0 var(--s-5); padding: 0; min-width: 0; }
.est-tiles legend { padding: 0; margin-bottom: var(--s-2); font-weight: 700; font-size: .95rem; color: var(--forest); }
.est-result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--s-2); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.est-total { display: block; color: var(--forest); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.est-meta { color: var(--text-3); font-size: .88rem; }
.est-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* ==========================================================================
   Steps, tools, composition
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--forest); }
.steps li { position: relative; padding: var(--s-5) var(--s-5) 0 0; }
.steps li + li { padding-left: var(--s-5); border-left: 1px solid var(--line); }
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--text-2); margin: 0; font-size: .97rem; }
.step-num { display: block; margin-bottom: var(--s-5); color: var(--emerald-dark); font-size: .84rem; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

.compose { position: relative; padding: 0 12% 12% 0; }
.compose-main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-l); }
.compose-inset { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border: 6px solid var(--bg); border-radius: var(--r-m); }
.section-mint .compose-inset { border-color: var(--mint); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-top { align-items: start; }
.split-wide { grid-template-columns: 7fr 5fr; }
.split-img img { width: 100%; border-radius: var(--r-l); aspect-ratio: 5 / 4; object-fit: cover; }

.row-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.row-list a { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-5) 0; border-bottom: 1px solid var(--line-strong); color: var(--text); text-decoration: none; transition: padding .25s var(--ease), color .2s; }
.row-list a:hover { padding-left: var(--s-2); color: var(--forest); }
.row-list .icon { width: 24px; height: 24px; color: var(--emerald-dark); }
.row-list h3 { margin: 0 0 2px; }
.row-list p { margin: 0; color: var(--text-2); font-size: .95rem; }
.row-list .row-arrow { width: 20px; height: 20px; color: var(--forest); }

.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-6); list-style: none; padding: 0; margin: var(--s-5) 0; }
.area-list li { display: flex; gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.area-list .icon { color: var(--emerald-dark); margin-top: 4px; }
.area-list strong { display: block; line-height: 1.3; color: var(--forest); }
.area-list span { display: block; font-size: .86rem; color: var(--text-3); line-height: 1.4; margin-top: 2px; }

.faq-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: 112px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s-5); padding: 22px 0; color: var(--forest); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--emerald-dark), var(--emerald-dark)) center / 100% 2px no-repeat, linear-gradient(var(--emerald-dark), var(--emerald-dark)) center / 2px 100% no-repeat; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq div { color: var(--text-2); padding: 0 var(--s-7) var(--s-3) 0; }

.cta-band { background: var(--mint); padding: clamp(56px, 7vw, 96px) 0; }
.cta-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5) var(--s-7); }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ==========================================================================
   Service pages
   ========================================================================== */
.service-hero { position: relative; overflow: hidden; }
.service-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.service-hero-img { position: relative; }
.service-hero-img img { width: 100%; border-radius: var(--r-l); aspect-ratio: 1 / 1; object-fit: cover; }
.price-tab { position: absolute; left: -20px; bottom: 28px; padding: 12px 18px; background: var(--forest); color: #fff; border-radius: var(--r-s); font-size: .86rem; line-height: 1.3; }
.price-tab strong { display: block; color: var(--lime); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.crumbs { font-size: .9rem; color: var(--text-3); margin-bottom: var(--s-4); }
.meta-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: var(--s-2); color: var(--text-2); }
.meta-list li { display: flex; gap: 10px; }
.meta-list .icon { color: var(--emerald-dark); margin-top: 5px; }
.scope-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-6); align-items: start; }
.scope-panel { padding: clamp(24px, 3vw, 36px); background: var(--mint); border-radius: var(--r-l); }
.scope-panel h2, .scope-main h2 { font-size: 1.6rem; }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); line-height: 1.45; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .icon { margin-top: 3px; color: var(--emerald-dark); }
.ticks-x .icon { color: var(--text-3); }
.on-dark .ticks .icon { color: var(--lime); }
.scope-panel .ticks { --line: #C6DDD1; margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.price-grid .ticks { margin: 0; }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.prep-grid h2 { font-size: 1.6rem; }
.prep-list { list-style: none; counter-reset: prep; margin: 0; padding: 0; }
.prep-list li { counter-increment: prep; display: flex; gap: var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.prep-list li::before { content: counter(prep); flex: none; width: 26px; color: var(--emerald-dark); font-weight: 800; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-6); }
.room-card { padding-top: var(--s-4); border-top: 2px solid var(--forest); }
.room-card h3 { margin-bottom: var(--s-3); }
.room-card .ticks { font-size: .95rem; margin: 0; }
.room-card .ticks li { padding: var(--s-2) 0; border: 0; }
.tip { font-size: .95rem; color: var(--text-2); margin: 0; }
.guide-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 88px); }
.guide-item { padding: var(--s-5) 0; border-top: 1px solid var(--line-strong); }
.guide-item h3 { margin-bottom: var(--s-2); }
.guide-item p { color: var(--text-2); margin: 0 0 var(--s-2); }
.safety { margin-top: var(--s-7); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); }
.safety h2 { font-size: 1.5rem; }
.safety ul { margin: 0; padding-left: 20px; display: grid; gap: var(--s-2); color: var(--text-2); }

/* Compare */
.compare-inputs { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-5); }
.compare-inputs label { font-weight: 700; font-size: .92rem; color: var(--forest); display: grid; gap: 6px; }
.compare-inputs input { width: 140px; }
.table-scroll { overflow-x: auto; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
.compare-table { width: 100%; min-width: 580px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .96rem; }
.compare-table thead th { background: var(--forest); color: #fff; font-weight: 700; }
.compare-table tbody th { font-weight: 500; color: var(--text); }
.compare-table tfoot th { font-weight: 700; color: var(--forest); }
.compare-table tfoot td { color: var(--forest); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.compare-table tfoot tr:last-child th, .compare-table tfoot tr:last-child td { border-bottom: 0; }
.cell-yes, .cell-no { display: inline-flex; align-items: center; gap: 7px; }
.cell-yes .icon { color: var(--emerald-dark); }
.cell-no { color: var(--text-3); }
.cell-mid { color: var(--text-2); font-style: italic; }
.compare-table .tag { margin: 0; background: var(--lime); }

/* ==========================================================================
   Forms
   ========================================================================== */
input, select, textarea { font: inherit; font-size: 1rem; color: var(--text); background: var(--surface); border: 1.5px solid var(--field-border); border-radius: var(--r-s); padding: 12px 14px; width: 100%; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--forest); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--emerald); flex: none; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(22, 134, 107, .22); }
input:disabled, select:disabled, textarea:disabled { background: var(--mint); color: var(--text-3); cursor: not-allowed; }
[aria-invalid=true] { border-color: var(--error); }
.field { margin-bottom: var(--s-5); }
.field label, legend { display: block; color: var(--forest); font-weight: 700; font-size: .95rem; margin-bottom: var(--s-2); }
.field label small, legend small { font-weight: 500; color: var(--text-3); }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.field-row-2 { grid-template-columns: repeat(2, 1fr); }
.req { color: var(--error); font-weight: 700; }
.guide-audiences { margin-top: var(--s-7); }
.guide-audiences .ticks { padding-left: 20px; list-style: disc; }
.guide-audiences .ticks li { display: list-item; }
.field-hint { font-size: .88rem; color: var(--text-3); margin: var(--s-2) 0 0; }
.field-error { color: var(--error); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.form-block { border: 0; margin: 0; padding: var(--s-6) 0; min-width: 0; border-top: 1px solid var(--line); }
.form-block:first-child { border-top: 0; padding-top: 0; }
.form-block > legend { float: left; width: 100%; display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); padding: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.form-block > legend + * { clear: both; }
.numbered { counter-reset: block; }
.numbered .form-block > legend::before { counter-increment: block; content: counter(block); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; font-size: .86rem; font-weight: 800; letter-spacing: 0; }

/* Service tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.tile-body { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 16px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-m); transition: border-color .15s, background-color .15s, transform .2s var(--ease); }
.tile-body .icon { width: 24px; height: 24px; margin-bottom: 8px; color: var(--emerald-dark); }
.tile-body strong { color: var(--forest); font-size: .96rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.tile-body small { color: var(--text-3); font-size: .8rem; line-height: 1.3; }
.tile:hover .tile-body { border-color: var(--emerald); transform: translateY(-1px); }
.tile input:checked + .tile-body { background: var(--forest); border-color: var(--forest); }
.tile input:checked + .tile-body strong { color: #fff; }
.tile input:checked + .tile-body small { color: #D3E4DC; }
.tile input:checked + .tile-body .icon { color: var(--lime); }
.tile input:focus-visible + .tile-body { outline: 2px solid var(--forest); outline-offset: 2px; }
.est-tiles .tile-body { padding: 12px; }
.est-tiles .tile-body .icon { margin-bottom: 4px; }
.est-tiles .tile-body strong { font-size: .84rem; }

/* Choice cards */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.choices-2 { grid-template-columns: repeat(2, 1fr); }
.choices-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.choice > span { min-width: 0; }
.choices > *, .tiles > *, .field-row > * { min-width: 0; }
.choice { position: relative; display: flex; gap: var(--s-3); padding: 15px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; line-height: 1.35; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--emerald); }
.choice:has(input:checked) { background: var(--mint); border-color: var(--emerald); box-shadow: inset 0 0 0 1px var(--emerald); }
.choice strong { color: var(--forest); font-weight: 700; font-size: .96rem; }
.choice small { display: block; color: var(--text-3); font-size: .84rem; margin-top: 2px; }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.choice-sm { padding: 13px; }

/* Number steppers */
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: stretch; border: 1.5px solid var(--field-border); border-radius: var(--r-s); background: var(--surface); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.stepper:focus-within { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(22, 134, 107, .22); }
.stepper:has([aria-invalid=true]) { border-color: var(--error); }
.stepper input { border: 0; border-radius: 0; box-shadow: none !important; text-align: center; padding: 8px 2px; min-height: 48px; font-weight: 700; color: var(--forest); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { border: 0; background: transparent; color: var(--forest); font: 600 1.25rem/1 var(--font); cursor: pointer; transition: background-color .15s; }
.stepper button:hover { background: var(--mint); }
.stepper button:disabled { color: var(--line-strong); cursor: not-allowed; background: transparent; }
.stepper button:focus-visible { outline-offset: -3px; }
.qty-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-6); }
.qty-row { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: center; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.qty-row label { color: var(--text); font-weight: 600; line-height: 1.3; font-size: .95rem; margin: 0; }
.qty-row label span { display: block; }
.qty-row label small { color: var(--text-3); font-size: .84rem; font-weight: 500; }
.qty-row .field-error { grid-column: 1 / -1; margin: 0; }
.included-list { list-style: none; margin: var(--s-4) 0 0; padding: 0; display: grid; gap: 4px; color: var(--success-ink); font-size: .93rem; font-weight: 600; }
.included-list li::before { content: "✓ "; font-weight: 800; }
.form-note { display: flex; gap: var(--s-2); color: var(--text-2); font-size: .93rem; background: var(--mint); padding: 13px 15px; border-radius: var(--r-s); }
.form-note .icon { margin-top: 3px; color: var(--emerald-dark); }
.form-note-warn { background: var(--lime-soft); color: var(--forest); }
.form-alert { background: var(--error-bg); color: var(--error); padding: 13px 16px; border-radius: var(--r-s); font-weight: 600; margin-bottom: var(--s-5); }
.notice { padding: 16px; background: var(--lime-soft); color: var(--forest); border-radius: var(--r-s); margin: var(--s-4) 0; }
.sample-note { display: inline-flex; gap: 10px; align-items: flex-start; margin: var(--s-4) 0 0; padding: 10px 14px; border-radius: var(--r-s); background: var(--lime); color: var(--forest); font-size: .92rem; max-width: 720px; }
.sample-note .icon { margin-top: 3px; }
.on-dark .sample-note { background: transparent; border: 1px solid var(--lime); color: var(--text); margin-bottom: var(--s-5); }
.consent { display: flex; gap: var(--s-3); align-items: flex-start; margin: var(--s-4) 0 var(--s-3); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 2px; }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); }
.card-form h2 { font-size: 1.5rem; }
.inline-result { margin-top: var(--s-4); font-weight: 600; }
.inline-ok { padding: 13px 16px; border-radius: var(--r-s); background: var(--mint); color: var(--success-ink); }
.inline-error { padding: 13px 16px; border-radius: var(--r-s); background: var(--error-bg); color: var(--error); }

/* ==========================================================================
   Calculators
   ========================================================================== */
.calc-head { padding: clamp(44px, 6vw, 80px) 0 clamp(96px, 11vw, 150px); }
.calc-head .eyebrow { margin-bottom: var(--s-3); }
.calc-section { padding-bottom: var(--section); }
.calc-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: var(--s-5); align-items: start; margin-top: clamp(-110px, -8vw, -60px); }
.calc-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 40px); }
.summary { position: sticky; top: 100px; }
.summary-card { max-height: calc(100vh - 124px); overflow-y: auto; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-l); }
.summary-title { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.summary-title h2 { margin: 0; font-size: 1.3rem; }
.updating { font-size: .8rem; font-weight: 600; color: var(--text-3); opacity: 0; transition: opacity .15s; }
.is-busy .updating { opacity: 1; }
.is-busy [data-result-body] { opacity: .6; transition: opacity .15s .1s; }
.lines { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.line { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.line-label { display: block; color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.3; }
.line small { display: block; color: var(--text-3); font-size: .82rem; line-height: 1.4; margin-top: 3px; }
.line-amount { color: var(--text); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-discount .line-amount, .line-included .line-amount { color: var(--success-ink); }
.on-dark .line-discount .line-amount, .on-dark .line-included .line-amount { color: var(--lime); }
.line-included .line-amount { font-size: .88rem; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 5px var(--s-4); margin: 0; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--text-2); }
.totals dd { margin: 0; text-align: right; font-weight: 600; }
.grand-amount { grid-column: 1 / -1; }
.total-label { margin: var(--s-2) 0 0; color: var(--text); font-size: .88rem; font-weight: 600; line-height: 1.45; }
.est-notes { list-style: none; margin: var(--s-4) 0 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); color: var(--text-3); font-size: .82rem; line-height: 1.45; }
.quote-state { margin-top: var(--s-3); padding: var(--s-4); border: 1px solid var(--lime); border-radius: var(--r-s); }
.quote-state strong { display: block; color: var(--heading); font-size: 1.1rem; font-weight: 800; }
.quote-state p { margin: 4px 0 0; font-size: .9rem; color: var(--text-2); }
.line-quote .line-amount { color: var(--label); font-size: .84rem; }
.field-title { display: block; color: var(--forest); font-weight: 700; font-size: .95rem; margin-bottom: var(--s-2); }
.quote-list .consent { margin: 0 0 var(--s-2); }
.totals .grand { color: var(--heading); font-size: 2rem; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; padding-top: var(--s-4); margin-top: var(--s-2); align-self: end; }
.on-dark .totals dd.grand { color: var(--lime); }
.totals dt.grand { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.fine { font-size: .84rem; color: var(--text-3); margin: var(--s-4) 0 0; line-height: 1.5; }
.summary-actions { display: grid; gap: var(--s-2); margin-top: var(--s-5); }
.summary-peek { display: none; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2.5px solid var(--line); border-top-color: var(--label); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -3px; margin-right: 6px; }
.state-loading, .state-empty { color: var(--text-2); margin: var(--s-2) 0; }
.state-error { background: var(--error-bg); color: var(--error); padding: 14px; border-radius: var(--r-s); --line-strong: #B3261E; }
.state-error p { margin-bottom: 10px; font-weight: 600; }
.state-error .btn { color: var(--error); }
.stat-pair { display: grid; gap: var(--s-3); }
.stat { padding: 18px; border-radius: var(--r-m); border: 1px solid var(--line); }
.stat-main { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.stat-label { display: block; font-size: .84rem; font-weight: 700; }
.stat strong { display: block; color: inherit; font-size: 2.1rem; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; margin: 3px 0; }
.stat small { display: block; font-size: .86rem; line-height: 1.4; }
.time-result .form-note { margin-top: var(--s-3); }
.on-dark .form-note { background: rgba(255, 255, 255, .08); color: var(--text-2); }
.on-dark .form-note-warn { background: var(--lime-soft); color: var(--forest); }

/* ==========================================================================
   Checklists
   ========================================================================== */
.toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-4); }
.toolbar .field { flex: 1 1 320px; max-width: 460px; margin: 0; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.checklist-grid { margin-top: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.print-title { display: none; }
.cl-list { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.cl-list li { display: flex; align-items: center; gap: var(--s-2); padding: 2px 0; border-bottom: 1px solid var(--line); }
.cl-list input[type=text] { border-color: transparent; background: transparent; min-height: 40px; padding: 5px 7px; font-size: .96rem; }
.cl-list input[type=text]:hover { border-color: var(--line); }
.cl-list input[type=text]:focus { background: var(--surface); }
.cl-list input[type=checkbox]:checked + input { text-decoration: line-through; color: var(--text-3); }
.cl-remove { flex: none; width: 40px; height: 40px; border: 0; background: none; color: var(--text-3); font-size: 1.3rem; border-radius: var(--r-s); cursor: pointer; transition: background-color .15s, color .15s; }
.cl-remove:hover { background: var(--error-bg); color: var(--error); }
.cl-add { display: flex; gap: var(--s-2); }
.cl-add input { min-height: 40px; padding: 7px 11px; font-size: .95rem; }

/* ==========================================================================
   Booking
   ========================================================================== */
.book-head { padding: clamp(40px, 5vw, 64px) 0; }
.progress { display: flex; list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.progress li { flex: 1; display: flex; align-items: center; gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 2px solid var(--line); color: var(--text-3); font-size: .86rem; transition: border-color .25s; }
.progress li span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--text-3); font-size: .78rem; font-weight: 800; transition: background-color .2s, color .2s, border-color .2s; }
.progress li em { font-style: normal; font-weight: 600; line-height: 1.2; }
.progress li.active { border-color: var(--forest); color: var(--forest); }
.progress li.active span { background: var(--forest); border-color: var(--forest); color: #fff; }
.progress li.done { border-color: var(--emerald); }
.progress li.done span { background: var(--emerald); border-color: var(--emerald); color: #fff; }
#book-section { padding-top: var(--s-7); }
#book-app { scroll-margin-top: 104px; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: var(--s-5); align-items: start; }
.book-layout[data-step="4"] { grid-template-columns: minmax(0, 860px); justify-content: center; }
.book-layout[data-step="4"] .book-aside { display: none; }
.book-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 40px); }
.book-step h2 { font-size: 1.6rem; margin-bottom: var(--s-5); }
.book-step h2:focus { outline: 0; }
.inline-estimate { display: none; margin-top: var(--s-5); padding: var(--s-5); background: var(--mint); border-radius: var(--r-m); --line: #C6DDD1; }
.review-estimate { margin-top: var(--s-5); padding: var(--s-5); background: var(--mint); border-radius: var(--r-m); --line: #C6DDD1; }
.review-estimate h3 { margin-bottom: var(--s-3); }
.book-nav { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.book-nav #b-next, .book-nav #b-submit { margin-left: auto; }
.review-list { margin: 0 0 var(--s-2); }
.review-list > div { display: grid; grid-template-columns: 150px 1fr auto; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.review-list dt { font-weight: 700; color: var(--forest); font-size: .95rem; }
.review-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.review-list .linklike { font-size: .88rem; }
.photo-list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); }
.photo-list li { display: flex; align-items: center; gap: var(--s-3); }
.photo-list img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-s); }
.photo-list span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.success-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); background: var(--mint); max-width: 820px; margin: 0 auto; }
.success-card:focus { outline: 0; }
.success-card h2 { font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.3; }
.success-card h3 { margin-top: var(--s-5); }
.reference-label { margin: var(--s-4) 0 0; font-weight: 700; color: var(--forest); }
.reference { display: inline-block; margin: var(--s-2) 0 var(--s-4); padding: 6px 14px; background: var(--lime); border-radius: var(--r-s); color: var(--forest); font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: 800; letter-spacing: .01em; overflow-wrap: anywhere; }
.next-steps { padding-left: 22px; display: grid; gap: 6px; }

/* ==========================================================================
   Text pages, contact, errors
   ========================================================================== */
.prose h1 { font-size: var(--fs-h1); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; display: grid; gap: 6px; }
.prose-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose-img { position: sticky; top: 112px; }
.prose-img img { border-radius: var(--r-l); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.contact-panel { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); }
.contact-panel h2 { font-size: 1.4rem; margin-top: var(--s-6); }
.contact-panel p:last-child { margin-bottom: 0; color: var(--text-2); }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 1.04rem; }
.contact-list li { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.contact-list a { display: flex; gap: var(--s-3); align-items: flex-start; text-decoration: none; }
.contact-list .icon { color: var(--lime); margin-top: 5px; }
.error-page { min-height: 50vh; display: grid; align-items: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 var(--s-6); font-size: .95rem; }
.site-footer a:not(.btn) { color: #fff; text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); padding-bottom: var(--s-6); margin-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.footer-tag { margin: 0; color: var(--text-2); font-size: 1.04rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr .9fr .9fr; gap: var(--s-6); }
.site-footer h2 { margin-bottom: var(--s-4); font-size: var(--fs-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--text-2); }
.site-footer ul a:not(.btn) { color: var(--text-2); transition: color .15s; }
.site-footer ul a:not(.btn):hover { color: #fff; }
.footer-contact li, .footer-contact a { display: flex; gap: var(--s-2); align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--lime); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-3); }
.site-footer .footer-base a { color: var(--text-3); }
.footer-base nav { display: flex; gap: var(--s-4); }
.mobile-bar { display: none; }
.preview-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); padding: var(--s-2) var(--s-4); background: var(--lime); color: var(--forest); font-size: .9rem; text-align: center; }
.preview-bar a { color: var(--forest); font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }
.tool-card { display: block; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--text); text-decoration: none; }
a.tool-card { transition: border-color .2s, transform .25s var(--ease); }
a.tool-card:hover { border-color: var(--emerald); transform: translateY(-3px); }
.tool-card p { margin: 0; color: var(--text-2); font-size: .96rem; }
.on-dark .tool-card { --text: #1C2B26; --text-2: #41544C; --heading: #123C32; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s-4); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1320px) {
  .header-phone span { display: none; }
}
@media (max-width: 1180px) {
  .site-nav a { font-size: .9rem; }
  .site-nav { gap: var(--s-4); }
  .service-compact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1240px) {
  /* Navigation collapses before the page layout, because Georgian and Russian labels are longer. */
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: var(--s-2) var(--gutter) var(--s-4); background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .nav-secondary { display: block; }
  .nav-toggle { display: grid; order: 3; margin-left: 0; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 980px) {
  .nav-toggle { margin-left: auto; }
  .lang-mobile { display: flex; padding-top: var(--s-3); gap: var(--s-2); }
  .lang-mobile a { padding: 9px 12px; font-size: .95rem; border: 0; }
  .header-actions { display: none; }
  .header-row { min-height: 68px; }
  .logo-img { height: 48px; }
  html { scroll-padding-top: 84px; }

  .hero-grid, .service-hero-grid, .split, .split-wide, .prose-grid, .calc-grid, .estimator-grid, .faq-grid, .scope-grid, .price-grid, .prep-grid, .book-layout { grid-template-columns: minmax(0, 1fr); }
  .hero::before { display: none; }
  .hero-copy { padding-bottom: var(--s-6); }
  .hero-visual { margin: 0 calc(-1 * var(--gutter)); }
  .hero-img { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .hero-card { left: var(--gutter); bottom: var(--s-4); }
  .service-grid, .service-lead { grid-template-columns: repeat(2, 1fr); }
  .service-lead .service-img img { height: auto; aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li { padding: var(--s-5) var(--s-5) var(--s-5) 0; }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .faq-side { position: static; }
  .prose-img { position: static; }
  .prose-img img { aspect-ratio: 4 / 3; }
  .service-hero-img img { aspect-ratio: 3 / 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .calc-grid { margin-top: -56px; }
  .calc-head { padding-bottom: 96px; }
  .summary { position: static; }
  .summary-card { max-height: none; overflow: visible; }
  .book-aside { display: none; }
  .inline-estimate { display: block; }
  .book-layout[data-step="4"] { grid-template-columns: minmax(0, 1fr); }

  /* One slim bar only. Page padding keeps it clear of the controls, and it steps aside while typing. */
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; border-radius: var(--r-s); color: var(--forest); font-weight: 700; font-size: .93rem; text-decoration: none; background: var(--mint); }
  .mobile-bar .mobile-book { background: var(--emerald); color: #fff; }
  body { padding-bottom: 72px; }
  body.page-book { padding-bottom: 0; }
  .page-book .mobile-bar, .page-calc .mobile-bar { display: none; }
  .page-calc .summary-peek { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding: var(--s-2) var(--s-4) calc(8px + env(safe-area-inset-bottom)); background: var(--forest); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; }
  .page-calc .summary-peek[hidden] { display: none; }
  .summary-peek strong { flex: none; white-space: nowrap; color: var(--lime); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  body:has(.calc-form input:not([type=radio]):focus) .summary-peek,
  body:has(form input:focus, form textarea:focus) .mobile-bar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .page-head::after { display: none; }
  html[lang=ka] h1, html[lang=ka] .prose h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  html[lang=ka] .hero h1, html[lang=ka] .hero-title { font-size: 2.3rem; }
  .service-grid, .service-lead, .service-compact, .steps, .field-row, .field-row-2, .choices:not(.choices-4), .qty-grid, .area-list, .footer-grid, .guide-list { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: var(--s-4) 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; }
  .field-row { gap: 0; }
  .tiles, .est-tiles, .choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-body { padding: 13px; }
  .hero-actions .btn, .cta-actions .btn, .toolbar-actions .btn, .est-actions .btn { flex: 1 1 100%; }
  .hero-card { position: relative; left: auto; bottom: auto; width: auto; margin: -36px var(--gutter) 0; }
  .price-tab { left: var(--s-3); bottom: var(--s-3); }
  .compose { padding: 0 8% 14% 0; }
  .progress li { flex: 1 1 auto; justify-content: center; }
  .progress li em { display: none; }
  .progress li.active { flex-grow: 3; justify-content: flex-start; }
  .progress li.active em { display: inline; }
  .review-list > div { grid-template-columns: 1fr auto; }
  .review-list dd { grid-column: 1 / -1; grid-row: 2; }
  .qty-row { grid-template-columns: minmax(0, 1fr) 124px; }
  .book-nav .btn { flex: 1; }
  .faq div { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .no-print, .summary-peek, .skip { display: none !important; }
  body { padding: 0; font-size: 12pt; background: #fff; }
  .section, .section-flush { padding: 0; }
  .print-title { display: block; }
  .room-grid { display: block; }
  .room-card { border: 0; padding: 0; margin-bottom: 16pt; break-inside: avoid; }
  .cl-list li { border: 0; }
  .cl-list input[type=text] { border: 0; min-height: 0; padding: 0; color: #000; text-decoration: none !important; }
}

/* Entrance animation. Clicks pass straight through to the page underneath. */
.entrance-canvas { position: fixed; inset: 0; z-index: 2147483000; width: 100%; height: 100%; pointer-events: none; opacity: 1; transition: opacity .3s ease; }
.entrance-out { opacity: 0; }
@media print { .entrance-canvas { display: none !important; } }
