/* ==========================================================================
   GranHome — stylesheet
   Mobile-first. No framework. Every colour goes through a custom property.
   ========================================================================== */

/* ---------- Fonts: latin + latin-ext + cyrillic only.
     The old build shipped Greek, Greek-ext and Vietnamese subsets that no RO
     or RU copy can ever use. Browsers pick subsets via unicode-range, so a
     Romanian visitor never downloads the Cyrillic files and vice versa. ---- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('/assets/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('/assets/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('/assets/fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url('/assets/fonts/playfair-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* -------------------------------------------------------------- tokens --- */
:root {
  --navy-950: #0b0f2e;
  --navy-900: #131840;
  --navy-800: #1b2350;
  --navy-700: #2a3358;
  --gold-500: #b8935f;   /* darkened from #c5a880 to pass WCAG AA on white */
  --gold-400: #d4bd9b;   /* light variant, used only on dark backgrounds */
  --tint-bg:  #eef0fb;
  --tint-border: #dde1f5;

  --ink:        #1d2432;
  --ink-muted:  #4d5666;  /* was #8792a0 — failed AA at small sizes */
  --ink-faint:  #6b7383;
  --on-dark:        #ffffff;
  --on-dark-muted:  #c3ccd6;
  --on-dark-faint:  #9aa5b3;

  --surface:     #f8faf8;
  --surface-alt: #ffffff;
  --surface-sunk:#f2f4f7;
  --border:      #e3e8ee;
  --border-soft: #eceff3;

  --wa:       #25d366;
  --wa-dark:  #128c7e;
  --viber:    #7360f2;
  --star:     #e0a419;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --sec-y: 56px;
  --gut:   18px;
  --maxw:  1180px;

  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow:    0 4px 16px rgba(16,24,40,.07);
  --shadow-lg: 0 18px 44px rgba(11,15,46,.14);

  --header-h: 62px;
}
@media (min-width: 768px)  { :root { --sec-y: 76px;  --gut: 28px; } }
@media (min-width: 1024px) { :root { --sec-y: 92px;  --gut: 32px; --header-h: 68px; } }

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--gold-500); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--surface-alt); color: var(--ink); padding: 10px 16px;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- layout --- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 800px; }
.wrap--mid { max-width: 980px; }
.section { padding-block: var(--sec-y); }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--border); }
.section--sunk { background: var(--surface-sunk); border-block: 1px solid var(--border); }
.section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 12px); }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }

.sec-head { display: flex; flex-direction: column; gap: 14px; text-align: center; max-width: 660px; margin-inline: auto; margin-bottom: 40px; }
.sec-head--left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-inline: auto;
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--tint-bg); border: 1px solid var(--tint-border); color: var(--navy-900);
}
.sec-head--left .eyebrow { margin-inline: 0; }
.sec-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; letter-spacing: -.015em; color: var(--navy-900); font-size: clamp(25px, 5vw, 34px); }
.sec-sub { color: var(--ink-muted); font-weight: 300; font-size: clamp(15px, 2.2vw, 16.5px); }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: var(--radius); font-weight: 700; font-size: 15px;
  line-height: 1.2; text-align: center; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }
.btn--wa { background: var(--wa); color: #06301b; box-shadow: 0 6px 20px rgba(37,211,102,.28); }
.btn--wa:hover { background: #21bd5c; }
.btn--gold { background: var(--gold-500); color: var(--navy-950); }
.btn--gold:hover { background: #a9834f; }
.btn--ghost-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: var(--on-dark); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.11); }
.btn--outline { background: var(--surface-alt); border-color: var(--border); color: var(--navy-900); }
.btn--outline:hover { border-color: var(--navy-700); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 16px; font-size: 13.5px; border-radius: var(--radius-sm); }
.btn--icon { padding: 12px; flex-shrink: 0; }
.btn--viber { background: var(--viber); color: #fff; box-shadow: 0 6px 20px rgba(115,96,242,.26); }
.btn--viber:hover { background: #6350e0; }

/* WhatsApp and Viber side by side — Moldova splits fairly evenly between the
   two, and the split skews older (i.e. homeowners) towards Viber. */
.alt-ctas { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .alt-ctas { grid-template-columns: 1fr 1fr; } }
.alt-ctas--center { justify-content: center; }
@media (min-width: 520px) { .alt-ctas--center { grid-template-columns: auto auto; } }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,15,46,.97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-800); color: var(--on-dark);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--on-dark); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 9px; }
.brand__name { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 17px; line-height: 1; letter-spacing: -.01em; display: block; }
.brand__tag { font-size: 8.5px; letter-spacing: .16em; color: var(--gold-400); text-transform: uppercase; font-weight: 700; display: block; margin-top: 3px; }

.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 500; }
  .main-nav a { color: #cbd3dc; }
  .main-nav a:hover { color: var(--gold-400); text-decoration: none; }
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; background: rgba(30,38,66,.85); padding: 2px; border-radius: 11px; border: 1px solid var(--navy-700); font-size: 12px; font-weight: 800; }
.lang-switch a { padding: 6px 11px; border-radius: 8px; color: var(--on-dark-faint); }
.lang-switch a:hover { text-decoration: none; color: var(--on-dark); }
.lang-switch a[aria-current="true"] { background: var(--gold-500); color: var(--navy-950); }
.header-cta { display: none; }
@media (min-width: 600px) { .header-cta { display: inline-flex; } }
.header-call { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy-800); border: 1px solid var(--navy-700); color: var(--gold-400); }
.header-call--viber { color: #a396ff; }
.header-call--wa { color: var(--wa); }
@media (min-width: 600px) { .header-call { display: none; } .header-call--viber { display: inline-flex; } }
/* Phones: the sticky bottom bar already carries the call button, so the header
   keeps only WhatsApp + Viber and the brand never collides with them. */
@media (max-width: 479px) { .header-call--tel { display: none; } .header-bar { gap: 8px; } .brand { gap: 8px; } .brand__mark { width: 36px; height: 36px; } }
@media (max-width: 380px) { .lang-switch a { padding: 6px 8px; } .header-call { width: 36px; height: 36px; } .brand__tag { display: none; } }

/* --------------------------------------------------------------- hero --- */
.hero { background: linear-gradient(165deg, var(--navy-950), var(--navy-900) 55%, var(--navy-950)); color: var(--on-dark); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: min(620px, 130%); aspect-ratio: 1; background: rgba(184,147,95,.13);
  border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: 32px; padding-block: 30px 40px; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 60px 68px; } }
.gap-20 { gap: 20px; }

/* Floor price: the first number a visitor sees, so it gets real weight. */
.hero__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.hero__price-from { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-muted); font-weight: 600; }
.hero__price-val { font-size: 34px; font-weight: 800; color: var(--gold-400); letter-spacing: -.02em; line-height: 1; }
.hero__price-val small { font-size: 15px; font-weight: 600; color: var(--on-dark-muted); letter-spacing: 0; margin-left: 2px; }
.hero__price-note { flex-basis: 100%; font-size: 12px; color: var(--on-dark-faint); }

.hero__kicker { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 5px 13px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
}
.hero h1 { font-size: clamp(30px, 7vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__sub { font-size: clamp(15px, 2.4vw, 17px); color: var(--on-dark-muted); font-weight: 300; }

/* The catalogue offer card. This is what the old "from $X" badge used to be —
   the thing that makes the visitor act. Specific contents beat the word
   "catalog", so the list is deliberately itemised. */
.offer { padding: 18px 20px; border-radius: var(--radius-lg); background: rgba(184,147,95,.09); border: 1px solid rgba(184,147,95,.28); display: flex; flex-direction: column; gap: 10px; }
.offer__t { display: flex; align-items: center; gap: 9px; font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 800; color: var(--gold-400); }
.offer__t svg { flex-shrink: 0; }
.offer__lead { font-size: 12.5px; color: var(--on-dark-muted); font-weight: 500; }
.offer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.offer__list li { position: relative; padding-left: 22px; font-size: 13px; color: var(--on-dark-muted); font-weight: 300; line-height: 1.5; }
.offer__list li::before {
  content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 5px;
  border-left: 2px solid var(--gold-400); border-bottom: 2px solid var(--gold-400);
  transform: rotate(-45deg);
}
.offer__foot { font-size: 11.5px; color: var(--on-dark-faint); padding-top: 4px; border-top: 1px solid rgba(255,255,255,.08); }

/* Trust strip under the hero — replaces the old stacked benefit list. */
.trust { background: var(--navy-900); border-top: 1px solid var(--navy-800); }
.trust__list { list-style: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-block: 18px; }
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; align-items: center; gap: 10px; color: var(--on-dark); min-width: 0; }
.trust__item b { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.trust__item small { display: block; font-size: 11.5px; color: var(--on-dark-faint); }
.trust__icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; color: var(--gold-400); background: rgba(184,147,95,.12); border: 1px solid rgba(184,147,95,.22); }
.trust__icon svg { width: 18px; height: 18px; }
.benefit { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: var(--radius); background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); }
.benefit__icon { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; color: var(--gold-400); background: rgba(184,147,95,.12); border: 1px solid rgba(184,147,95,.22); }
.benefit__t { font-weight: 700; font-size: 13px; color: var(--on-dark); }
.benefit__d { font-size: 11.5px; color: var(--on-dark-faint); }

.hero__ctas { display: flex; flex-direction: column; gap: 11px; }
@media (min-width: 480px) { .hero__ctas { flex-direction: row; } .hero__ctas .btn { flex: 1; } }
.hero__alt { display: flex; align-items: center; justify-content: center; gap: 6px 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--on-dark-faint); }
.hero__alt a { display: inline-flex; align-items: center; gap: 6px; color: #a396ff; font-weight: 700; }
.hero__alt a:hover { color: #bdb3ff; text-decoration: none; }
@media (min-width: 1024px) { .hero__alt { justify-content: flex-start; } }
.hero__hours { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-faint); text-align: center; margin-top: -10px; }
@media (min-width: 1024px) { .hero__hours { text-align: left; } }

.hero__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; font-size: 11.5px; color: var(--on-dark-muted); background: rgba(11,15,46,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 9px 13px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.1); }

/* ----------------------------------------------------------- coverage --- */
.coverage { background: var(--navy-800); color: var(--on-dark-muted); padding-block: 15px; font-size: 13px; }
.coverage__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; text-align: center; }
.coverage__label { font-weight: 700; color: var(--gold-400); text-transform: uppercase; letter-spacing: .07em; font-size: 11px; }
.coverage__city { white-space: nowrap; }
.coverage__city + .coverage__city::before { content: '·'; margin-right: 14px; color: var(--navy-700); }

/* ------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.card { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 11px; box-shadow: var(--shadow-sm); }
.card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--tint-bg); color: var(--gold-500); }
.card__t { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 17px; color: var(--navy-900); }
.card__d { font-size: 13.5px; color: var(--ink-muted); font-weight: 300; }

/* --------------------------------------------------------- materials --- */
.mat-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .mat-grid { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.mat[hidden] { display: none; }
.mat__media { position: relative; }
.mat__badge { position: absolute; top: 8px; left: 8px; background: var(--gold-500); color: var(--navy-950); font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 4px 8px; border-radius: 6px; }
.mat__price { font-size: 12.5px; color: var(--ink-faint); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border-soft); }
.mat__cta { width: 100%; margin-top: 4px; }
/* Phones: keep what decides (photo, name, price, button); the prose waits for desktop. */
@media (max-width: 719px) {
  .mat__body { padding: 11px 11px 12px; gap: 4px; }
  .mat__name { font-size: 14px; line-height: 1.25; }
  .mat__desc, .mat__uses { display: none; }
  .mat__price b { font-size: 15px; }
  .mat__cta { padding: 9px 8px; font-size: 12.5px; gap: 6px; }
  .mat__cta svg { width: 15px; height: 15px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
}
@media (min-width: 720px) { .mat__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 0 1 auto; } }
.mat { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.mat__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--surface-sunk); }
.mat__ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: var(--on-dark-faint); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 12px; }
.mat__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mat__no { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.mat__name { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.mat__desc { font-size: 12.5px; color: var(--ink-muted); font-weight: 300; flex: 1; }
.mat__uses { font-size: 12px; color: var(--ink-faint); font-weight: 300; }
.mat__uses span { font-weight: 700; color: var(--ink-muted); }
.mat__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--ink-faint); }
.mat__price b { font-weight: 800; color: var(--navy-900); font-size: 17px; }

/* ----------------------------------------------------------- gallery --- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-sunk); border: 1px solid var(--border); position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 22px 13px 10px; font-size: 12px; color: #fff; background: linear-gradient(to top, rgba(11,15,46,.9), transparent); }

/* Shared form-field wrapper (contact form). */
.field { display: flex; flex-direction: column; gap: 7px; }

/* Call-out strip under the granite grid. */
.est-help { margin-top: 22px; background: var(--tint-bg); border: 1px solid var(--tint-border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.est-help__t { font-weight: 700; color: var(--navy-900); font-size: 15px; }
.est-help__d { font-size: 13px; color: var(--ink-muted); }

/* ------------------------------------------------------------- table --- */
.compare { background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-xl); padding: 28px 20px; border: 1px solid var(--navy-800); box-shadow: var(--shadow-lg); }
@media (min-width: 768px) { .compare { padding: 34px 32px; } }
.compare__t { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(19px, 3.5vw, 23px); text-align: center; margin-bottom: 24px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table { width: 100%; border-collapse: collapse; text-align: left; min-width: 480px; }
.compare th { padding-bottom: 13px; font-size: 10.5px; color: var(--on-dark-faint); text-transform: uppercase; letter-spacing: .11em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.compare th:last-child { color: var(--gold-400); }
.compare tr { border-bottom: 1px solid var(--navy-800); }
.compare td { padding: 13px 12px 13px 0; font-size: 13.5px; vertical-align: top; }
.compare td:first-child { font-weight: 600; color: var(--on-dark-muted); }
.compare td:nth-child(2) { color: var(--on-dark-faint); font-weight: 300; }
.compare td:last-child { color: var(--gold-400); font-weight: 600; padding-right: 0; }
.compare__src { text-align: center; color: var(--on-dark-faint); font-size: 11.5px; margin-top: 20px; font-style: italic; font-weight: 300; }

/* ----------------------------------------------------------- process --- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 9px; }
.step__n { counter-increment: step; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-400); font-weight: 800; font-size: 14px; }
.step__n::before { content: counter(step); }
.step__t { font-size: 15.5px; font-weight: 700; color: var(--navy-900); }
.step__d { font-size: 13px; color: var(--ink-muted); font-weight: 300; }

/* ----------------------------------------------------------- reviews --- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { padding: 9px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 700; border: 1px solid var(--border); background: var(--surface-alt); color: var(--ink-muted); }
.filter:hover { border-color: var(--navy-700); }
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.reviews { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { padding: 24px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; box-shadow: var(--shadow-sm); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.review__stars { color: var(--star); font-size: 13px; letter-spacing: 2px; }
.review__date { font-size: 10.5px; color: var(--ink-faint); font-weight: 600; text-transform: uppercase; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.review__body { font-size: 13.5px; color: var(--ink); line-height: 1.65; font-weight: 300; }
.review__foot { display: flex; align-items: center; gap: 12px; padding-top: 15px; border-top: 1px solid var(--border-soft); }
.review__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-bg); color: var(--navy-900); font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review__name { font-size: 13.5px; font-weight: 700; color: var(--navy-900); }
.review__role { font-size: 11.5px; color: var(--ink-faint); }
.reviews-empty { text-align: center; color: var(--ink-faint); padding: 32px; grid-column: 1 / -1; }
.reviews-cta { text-align: center; margin-top: 28px; }

/* --------------------------------------------------------------- faq --- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq details[open] { border-color: var(--navy-700); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 20px; font-weight: 700; font-size: 14.5px; color: var(--navy-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 11px; height: 11px; border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__a { padding: 0 20px 18px; font-size: 13.5px; color: var(--ink-muted); font-weight: 300; line-height: 1.7; }

/* -------------------------------------------------------------- form --- */
.lead { display: grid; gap: 26px; }
@media (min-width: 900px) { .lead { grid-template-columns: 1.15fr .85fr; align-items: start; } }
.lead__form { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.lead__row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .lead__row--2 { grid-template-columns: 1fr 1fr; } }
.lead label { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
.lead .req { color: #c0392b; }
.lead input[type="text"], .lead input[type="tel"], .lead select, .lead textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface-alt); font-size: 15px;
  transition: border-color .12s, box-shadow .12s;
}
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(184,147,95,.18); }
.lead input:user-invalid, .lead textarea:user-invalid { border-color: #c0392b; }
.lead textarea { resize: vertical; min-height: 84px; font-family: inherit; }
.lead select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234d5666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--ink-muted); font-weight: 400; }
.consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--gold-500); }
.lead__note { font-size: 12px; color: var(--ink-faint); text-align: center; }
.lead__divider { display: flex; align-items: center; gap: 12px; color: var(--ink-faint); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.lead__divider::before, .lead__divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.lead__aside { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; gap: 15px; border: 1px solid var(--navy-800); }
.contact-row { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.contact-row svg { flex-shrink: 0; color: var(--gold-400); margin-top: 2px; }
.contact-row a { color: var(--on-dark); font-weight: 600; }
.contact-row span { color: var(--on-dark-muted); }

/* ---------------------------------------------------------- final CTA --- */
.final { background: linear-gradient(160deg, var(--navy-950), var(--navy-900), var(--navy-950)); color: var(--on-dark); border-radius: var(--radius-xl); padding: 44px 24px; border: 1px solid var(--navy-800); text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.final::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 340px; height: 340px; background: rgba(184,147,95,.12); border-radius: 50%; filter: blur(70px); pointer-events: none; }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 520px; margin-inline: auto; align-items: center; }
.final h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(22px, 4.4vw, 30px); letter-spacing: -.015em; }
.final p { font-size: 14.5px; color: var(--on-dark-muted); font-weight: 300; }
.final__note { font-size: 11.5px; color: var(--on-dark-faint); }

/* ------------------------------------------------------------ footer --- */
.site-footer { background: var(--navy-950); color: var(--on-dark-faint); padding-block: var(--sec-y) 32px; border-top: 1px solid var(--navy-800); font-size: 13px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-h { font-size: 11px; font-weight: 700; color: #cbd3dc; text-transform: uppercase; letter-spacing: .11em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: 13px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--on-dark-faint); font-weight: 400; }
.site-footer a:hover { color: var(--gold-400); }
.footer-desc { font-weight: 300; max-width: 290px; line-height: 1.65; }
.footer-bottom { border-top: 1px solid var(--navy-800); padding-top: 22px; margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: #64708a; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* -------------------------------------------------------- sticky bar --- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(11,15,46,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--navy-800);
  transform: translateY(110%); transition: transform .28s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta--3 { grid-template-columns: 1fr 1fr auto; }
.sticky-cta .btn { padding: 12px 14px; font-size: 14px; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 1023px) { body.has-sticky { padding-bottom: 68px; } }

/* --------------------------------------------------------- prose page --- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 5vw, 36px); color: var(--navy-900); margin-bottom: 8px; }
.prose .updated { color: var(--ink-faint); font-size: 13px; margin-bottom: 32px; }
.prose h2 { font-size: 19px; color: var(--navy-900); margin-top: 30px; margin-bottom: 10px; }
.prose p, .prose li { color: var(--ink-muted); font-size: 15px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { text-decoration: underline; }

/* --------------------------------------------------------- thank you --- */
.thanks { min-height: 68vh; display: grid; place-items: center; text-align: center; padding-block: var(--sec-y); }
.thanks__inner { max-width: 480px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.thanks__check { width: 66px; height: 66px; border-radius: 50%; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.32); color: var(--wa-dark); display: grid; place-items: center; }

/* ------------------------------------------------------------ CTA strip --- */
.cta-strip { margin-block: 8px; background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius-lg); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cta-strip p { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; flex: 1 1 260px; }
.cta-strip__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------- products --- */
.prod-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
.prod { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.prod:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.prod__media { position: relative; aspect-ratio: 16 / 8; background-size: cover; background-position: center; }
.prod__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,15,46,.82), rgba(11,15,46,.25)); }
.prod__icon { position: absolute; left: 16px; bottom: 14px; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(11,15,46,.72); border: 1px solid rgba(212,189,155,.45); color: var(--gold-400); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.prod__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod__t { font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 800; color: var(--navy-900); }
.prod__d { font-size: 13.5px; color: var(--ink-muted); font-weight: 300; flex: 1; }
.prod__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.prod__link { font-size: 13px; font-weight: 700; color: var(--gold-500); }

/* Six nav items no longer fit between 1024 and 1240px: keep labels on one
   line and drop the least important link ("why granite") until there is room. */
.main-nav a { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1239px) {
  .main-nav { gap: 18px; font-size: 14px; }
  .main-nav a[href="#de-ce-granit"] { display: none; }
}

/* Phones: product cards go horizontal — stone thumbnail left, text right —
   so the four categories fit in about one screen instead of two and a half. */
@media (max-width: 599px) {
  .prod-grid { gap: 12px; }
  .prod { flex-direction: row; }
  .prod__media { aspect-ratio: auto; width: 92px; flex-shrink: 0; }
  .prod__icon { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: 46px; height: 46px; }
  .prod__icon svg { width: 26px; height: 26px; }
  .prod__body { padding: 13px 14px 14px; gap: 5px; }
  .prod__t { font-size: 17px; }
  .prod__d { font-size: 12.5px; line-height: 1.5; }
  .prod__actions { margin-top: 4px; gap: 8px 12px; }
  .prod__actions .btn { padding: 8px 12px; font-size: 13px; }
  .prod__link { font-size: 12.5px; }
}
