/* Saray Ucpinar natural spring water - site styles.
   Radius rule: buttons = pill, cards/tiles = --r-card (20px), inputs = --r-input (12px).
   One accent: --leaf. Primary action colour: --navy. Theme: light + prefers-color-scheme dark. */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #15124d;          /* headings, logo indigo */
  --text: #1f2747;
  --muted: #4b5677;
  --navy: #0b2a6f;         /* primary actions */
  --navy-strong: #081f55;
  --sky-50: #f4f8fc;
  --sky-100: #e6f0fa;
  --sky-200: #cfe2f4;
  --line: #d9e3ef;
  --leaf: #4c7a15;         /* single accent */
  --leaf-soft: #eef4e2;
  --surface: #ffffff;
  --bg: #f7f9fc;
  --on-navy: #ffffff;
  --wa: #1f8f4e;           /* WhatsApp icon tint (semantic) */
  --shadow: 0 12px 32px rgb(11 42 111 / 0.10);
  --shadow-sm: 0 4px 14px rgb(11 42 111 / 0.08);
  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef3ff;
    --text: #d9e2f6;
    --muted: #a7b4d3;
    --navy: #8fbcff;
    --navy-strong: #b6d3ff;
    --sky-50: #0e1b3f;
    --sky-100: #122352;
    --sky-200: #1a2f66;
    --line: #22366d;
    --leaf: #a6d16b;
    --leaf-soft: #1b2d24;
    --surface: #0f1d44;
    --bg: #0a1533;
    --on-navy: #07122e;
    --wa: #5fd394;
    --shadow: 0 12px 32px rgb(0 0 0 / 0.35);
    --shadow-sm: 0 4px 14px rgb(0 0 0 / 0.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--on-navy); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0 1.4em;
  font: 650 1.02rem/1 var(--font-display); letter-spacing: 0.005em; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation;
}
.btn:hover { --btn-bg: var(--navy-strong); --btn-bd: var(--navy-strong); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: color-mix(in srgb, var(--navy) 35%, transparent); }
.btn--ghost:hover { --btn-bg: var(--sky-100); --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--light { --btn-bg: #ffffff; --btn-fg: #0b2a6f; --btn-bd: #ffffff; }
.btn--light:hover { --btn-bg: #e6f0fa; --btn-bd: #e6f0fa; }
.btn--glass { --btn-bg: rgb(255 255 255 / .12); --btn-fg: #ffffff; --btn-bd: rgb(255 255 255 / .5); }
.btn--glass:hover { --btn-bg: rgb(255 255 255 / .22); --btn-bd: #ffffff; }
.btn--glass .icon--wa { color: #7ee2a6; }
.btn .icon--wa { color: var(--wa); }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .95rem; }

/* Top contact bar: static (no rotation). Desktop = hours, phone, WhatsApp, directions + two links.
   Tablet = contact group only. Phone = hidden (bottom dock). */
.topbar { background: #081f55; color: #d5e2fa; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .topbar { background: #0d2259; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar li { display: flex; align-items: center; }
.topbar li + li { margin-left: 18px; padding-left: 18px; border-left: 1px solid rgb(255 255 255 / .18); }
.topbar a, .topbar__hours { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: #ffffff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar__hours { color: #d5e2fa; font-weight: 500; }
.topbar .icon { width: 1.05rem; height: 1.05rem; color: #b9d97f; }
.topbar__wa .icon { color: #7ee2a6; }
.topbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.topbar__links a { font-weight: 500; color: #d5e2fa; }
.topbar__links a:hover { color: #ffffff; }
@media (max-width: 1140px) { .topbar .topbar__links { display: none; } }
@media (max-width: 760px) { .topbar { display: none; } }


/* Header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; }
.brand .logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .brand .logo-light { display: none; } .brand .logo-dark { display: block; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 10px 12px; border-radius: var(--r-pill); color: var(--text); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky-100); color: var(--navy); }
.header__call { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1140px) {
  .nav, .header__call { display: none; }
  .menu-btn { display: inline-flex; }
  .header__inner { height: 68px; }
  .brand img { height: 46px; }
  .nav.is-open { display: block; position: absolute; inset: 68px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px var(--gutter) 20px; }
  .nav.is-open ul { flex-direction: column; }
  .nav.is-open a { padding: 14px 12px; font-size: 1.05rem; }
}

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 20px; }
.hero h1 { max-width: 14ch; }
.hero__lead { margin-top: 22px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.hero__media::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; border-radius: 32px; background: linear-gradient(160deg, var(--sky-200), var(--leaf-soft)); z-index: -1; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; }
  .hero__media img { aspect-ratio: 5 / 4; }
  .hero__media::before { inset: 10% -4% -5% 6%; }
}

/* Services bento: 1 large photo tile + 2 tiles */
.services__head { margin-bottom: 36px; }
.services__head p { margin-top: 14px; color: var(--muted); }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.tile { position: relative; border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.tile p { color: var(--muted); }
.tile .btn { margin-top: auto; align-self: flex-start; }
.tile__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); color: var(--navy); box-shadow: var(--shadow-sm); }
.tile__icon .icon { width: 26px; height: 26px; }
.tile--photo { grid-row: span 2; min-height: 520px; color: #fff; justify-content: flex-end; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 31 85 / 0) 30%, rgb(8 31 85 / .72) 55%, rgb(8 31 85 / .95) 80%); z-index: 1; }
.tile--photo .btn { margin-top: 10px; }
.tile--photo > :not(img) { position: relative; z-index: 2; }
.tile--photo h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 18ch; }
.tile--photo p { color: #dbe7fb; font-size: 1.1rem; }
.tile--sky { background: var(--sky-100); }
.tile--leaf { background: var(--leaf-soft); }
.tile--leaf .tile__icon { color: var(--leaf); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .tile--photo { grid-row: auto; min-height: 440px; }
}

/* Water values: emblem visual + featured stats */
.values { background: var(--surface); }
.values__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.values__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #f4f9fe, #dfeaf7 72%); }
.values__visual img { width: 78%; }
.values h2 { max-width: 16ch; }
.values__intro { margin-top: 16px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.stat { background: var(--sky-50); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 20px; }
.stat__value { font: 700 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat__unit { font: 600 .95rem/1 var(--font-display); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.stat__label { margin-top: 10px; font-weight: 650; color: var(--text); }
.values__note { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.stats--more { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--more .stat:first-child { grid-column: span 2; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .values__grid { grid-template-columns: 1fr; }
  .values__visual { max-width: 280px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:first-child { grid-column: span 2; }
}

/* Production strip: staggered portrait photos */
.process__head { display: grid; gap: 14px; margin-bottom: 40px; }
.process__head p { color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 28px); align-items: start; }
.strip figure { margin: 0; }
.strip figure:nth-child(2) { margin-top: 56px; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.strip figcaption { margin-top: 14px; font: 650 1.05rem/1.3 var(--font-display); color: var(--ink); }
.strip figcaption span { display: block; margin-top: 4px; font: 400 .95rem/1.5 var(--font-body); color: var(--muted); }
/* "steps" layout: wide showcase photo + numbered production steps joined by arrows */
.process--steps { --steps-gap: clamp(16px, 2.4vw, 28px); }
.process__feature { position: relative; margin: 0 0 var(--steps-gap); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky-100); }
.process__feature-img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 62%; }
.process__feature-cap { position: absolute; left: clamp(14px, 2.4vw, 32px); bottom: clamp(14px, 2.4vw, 32px); max-width: min(480px, calc(100% - 28px)); display: grid; gap: 4px; padding: 16px 22px; border-radius: 18px; background: rgb(8 31 85 / .72); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); border: 1px solid rgb(255 255 255 / .16); color: #fff; }
.process__feature-cap strong { font: 650 1.15rem/1.3 var(--font-display); }
.process__feature-cap span { font-size: .95rem; line-height: 1.5; color: #d9e6fb; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--steps-gap); }
.steps--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__media { position: relative; }
.step__frame { overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; }
.step__frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.step:hover .step__frame img { transform: scale(1.045); }
.step__num { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #0b2a6f; color: #fff; font: 700 1.1rem/1 var(--font-display); box-shadow: 0 0 0 4px rgb(255 255 255 / .9), 0 6px 16px rgb(8 31 85 / .3); }
.step__arrow { position: absolute; z-index: 2; top: 50%; right: calc(-1 * var(--steps-gap) / 2 - 18px); width: 36px; height: 36px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--navy); box-shadow: var(--shadow-sm); }
.step__arrow .icon { width: 18px; height: 18px; }
.step__body { display: grid; gap: 6px; padding: 18px 20px 22px; }
.step__title { margin: 0; font: 650 1.15rem/1.3 var(--font-display); color: var(--ink); }
.step__body p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .step, .step__frame img { transition: none; } .step:hover, .step:hover .step__frame img { transform: none; } }
/* "gallery" layout (bento): first photo large on the left, the rest beside and below; captions sit on the photos */
.gallery { --row: clamp(170px, 18vw, 250px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: var(--row); gap: clamp(12px, 1.8vw, 20px); }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--sky-100); box-shadow: var(--shadow-sm); grid-column: span 6; }
.gallery__item:first-child { grid-column: span 7; grid-row: span 2; }
.gallery__item:nth-child(2), .gallery__item:nth-child(3) { grid-column: span 5; }
.gallery--n4 .gallery__item:nth-child(4) { grid-column: span 12; }
.gallery--n6 .gallery__item:nth-child(n+4) { grid-column: span 4; }
.gallery--n5 { grid-template-rows: var(--row) var(--row) calc(var(--row) * 1.3); }
.gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgb(8 31 85 / 0), rgb(8 31 85 / .55)); pointer-events: none; }
.gallery__cap { position: absolute; z-index: 1; left: 14px; bottom: 14px; max-width: calc(100% - 28px); display: grid; gap: 2px; padding: 8px 14px; border-radius: 14px; background: rgb(8 31 85 / .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / .16); color: #fff; font: 650 .98rem/1.3 var(--font-display); }
.gallery__cap span { font: 400 .86rem/1.4 var(--font-body); color: #d9e6fb; }
.gallery__item:first-child .gallery__cap { left: 20px; bottom: 20px; padding: 12px 18px; font-size: 1.12rem; }
@media (prefers-reduced-motion: reduce) { .gallery__item img { transition: none; } .gallery__item:hover img { transform: none; } }
@media (max-width: 760px) {
  .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; overscroll-behavior-x: contain; }
  .strip figure { scroll-snap-align: start; }
  .strip figure:nth-child(2) { margin-top: 0; }
  .process__feature { border-radius: 20px; }
  .process__feature-img { aspect-ratio: 4 / 3; }
  .process__feature-cap { position: static; max-width: none; padding: 14px 18px 16px; border: 0; border-radius: 0; background: #0b2a6f; -webkit-backdrop-filter: none; backdrop-filter: none; }   /* phones: caption band under the photo, photo stays uncovered */
  .process__feature-cap strong { font-size: 1.02rem; }
  .process__feature-cap span { font-size: .9rem; }
  /* phones: steps become a swipeable row (next card peeks in); arrows are not needed */
  .steps, .steps--n2, .steps--n4 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 10px; }
  .step { scroll-snap-align: start; }
  .step__arrow { display: none; }
  /* phones: large photo full width, the rest two per row */
  .gallery, .gallery--n5 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 10px; }
  .gallery__item, .gallery__item:nth-child(2), .gallery__item:nth-child(3), .gallery--n4 .gallery__item:nth-child(4), .gallery--n6 .gallery__item:nth-child(n+4) { grid-column: span 1; grid-row: auto; aspect-ratio: 1 / 1; }
  .gallery__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery--n4 .gallery__item:nth-child(4) { grid-column: span 2; aspect-ratio: 16 / 9; }
  .gallery__cap { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 10px; border-radius: 10px; font-size: .86rem; }
  .gallery__item:first-child .gallery__cap { left: 12px; bottom: 12px; font-size: 1rem; }
}

/* Delivery area */
.area { background: linear-gradient(180deg, var(--sky-50), var(--bg)); }
.area__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.area__meta { display: grid; gap: 14px; margin-top: 26px; }
.meta-row { display: flex; gap: 12px; align-items: flex-start; }
.meta-row .icon { color: var(--leaf); margin-top: 3px; }
.meta-row strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.05rem; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 10px 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .98rem; color: var(--text); }
.pills li.is-main { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
@media (max-width: 860px) { .area__grid { grid-template-columns: 1fr; } }

/* FAQ: heading + help card left, accordion right */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__aside p { margin-top: 14px; color: var(--muted); }
.faq__aside .btn { margin-top: 24px; }
.faq__list { display: grid; gap: 12px; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font: 650 1.1rem/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--navy); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Contact */
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); }
.phones { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.phones a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px; border-radius: var(--r-card); background: var(--sky-50); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 650 1.15rem/1 var(--font-display); font-variant-numeric: tabular-nums; transition: border-color .2s, background-color .2s; }
.phones a:hover { border-color: var(--navy); background: var(--sky-100); }
.phones .icon { color: var(--navy); }
.phones .is-wa .icon { color: var(--wa); }
.phones small { display: block; font: 500 .8rem/1.2 var(--font-body); color: var(--muted); margin-bottom: 3px; }
.place { border-radius: var(--r-card); padding: clamp(24px, 3vw, 34px); background: var(--navy); color: #e8f0ff; display: grid; gap: 18px; align-content: start; }
@media (prefers-color-scheme: dark) { .place { background: #13306f; } }
.place h3 { color: #fff; }
.place .meta-row .icon { color: #b9d97f; }
.place .meta-row strong { color: #fff; }
.place .btn { justify-self: start; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; }
}

/* Footer */
.footer { background: #081f55; color: #c7d5f2; padding-block: 56px 32px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .footer { background: #060f2b; } }
.footer a { color: #e6eeff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer__brand img { height: 58px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 40ch; }
.footer h4 { margin: 0 0 12px; font: 650 1rem/1.2 var(--font-display); color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #9fb2da; font-size: .88rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* Mobile dock: floating, 4 equal tap targets (icon + label), primary call filled */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
    position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 24px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    box-shadow: 0 12px 32px rgb(11 42 111 / .18), 0 2px 6px rgb(11 42 111 / .08);
  }
  .dock__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    min-height: 62px; padding: 6px 2px; border-radius: 18px;
    color: var(--ink); text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: background-color .2s var(--ease), transform .15s var(--ease);
  }
  .dock__item:active { transform: scale(.96); background: var(--sky-100); }
  .dock__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: var(--sky-100); color: var(--navy); }
  .dock__icon .icon { width: 20px; height: 20px; stroke-width: 2; }
  .dock__label { font: 650 .76rem/1.1 var(--font-display); letter-spacing: .005em; white-space: nowrap; }
  .dock__item--call { background: var(--navy); color: var(--on-navy); box-shadow: 0 6px 16px rgb(11 42 111 / .28); }
  .dock__item--call:active { background: var(--navy-strong); }
  .dock__item--call .dock__icon { background: rgb(255 255 255 / .16); color: var(--on-navy); }
  .dock__item--wa .dock__icon { background: color-mix(in srgb, var(--wa) 14%, var(--surface)); color: var(--wa); }
  .dock__item--dealer .dock__icon { background: var(--leaf-soft); color: var(--leaf); }
}
@media (max-width: 350px) { .dock__label { font-size: .7rem; } .dock__icon { width: 30px; height: 30px; } }

/* Page head (inner pages) */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--sky-100), var(--bg)); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-head p { margin-top: 16px; color: var(--muted); font-size: 1.15rem; }
.page-head + .section { padding-top: clamp(32px, 4vw, 52px); }
.split .values__visual { max-width: 360px; width: 100%; justify-self: center; }

/* Two-column content + form */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; }
.checklist .icon { color: var(--leaf); margin-top: 4px; }
.flow { counter-reset: flow; list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.flow li::before { counter-increment: flow; content: counter(flow); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-100); color: var(--navy); font: 700 1.05rem/1 var(--font-display); }
.flow strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.08rem; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { margin-top: 10px; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; color: var(--ink); font-size: .98rem; }
.field .req { color: #b42318; }
@media (prefers-color-scheme: dark) { .field .req { color: #ff9b8f; } }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-input);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-color: var(--bg); color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--navy) 18%, transparent); }
.field .hint { font-size: .88rem; color: var(--muted); }
.field .error { display: none; font-size: .9rem; font-weight: 600; color: #b42318; }
@media (prefers-color-scheme: dark) { .field .error { color: #ff9b8f; } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b42318; }
.field.has-error .error { display: block; }
.form__foot { grid-column: 1 / -1; display: grid; gap: 14px; }
.form__privacy { font-size: .9rem; color: var(--muted); }
.form__status { display: none; padding: 14px 16px; border-radius: var(--r-input); background: var(--leaf-soft); color: var(--text); font-weight: 600; }
.form__status.is-visible { display: block; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Reveal on scroll (JS adds .reveal-ready to <html>) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Slider (home): near full-bleed rounded panel (~2.3:1 on wide screens), scroll-snap track, progress dots drive autoplay (see site.js) */
.slider { position: relative; width: min(100% - 24px, 1880px); margin: 12px auto 0; border-radius: 28px; overflow: hidden; background: #0b2a6f; box-shadow: var(--shadow); }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; min-height: clamp(460px, 43vw, 800px); display: grid; align-items: center; color: #fff; }
.slide__media { position: absolute; inset: 0; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* optional logo badge (admin: Slider > Logo rozeti): crisp brand mark on a white card, top-right of the photo */
.slide__badge { position: absolute; z-index: 2; top: clamp(18px, 2.6vw, 40px); right: clamp(18px, 2.6vw, 40px); width: clamp(120px, 11vw, 196px); padding: clamp(10px, 1vw, 16px); border-radius: clamp(18px, 1.6vw, 28px); background: rgb(255 255 255 / .94); box-shadow: 0 18px 40px rgb(8 31 85 / .28), 0 2px 6px rgb(8 31 85 / .12); }
.slide__badge img { display: block; width: 100%; height: auto; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(8 31 85 / .95) 0%, rgb(8 31 85 / .86) 32%, rgb(8 31 85 / .35) 58%, rgb(8 31 85 / 0) 78%); }
.slide__content { position: relative; z-index: 2; max-width: 620px; padding: clamp(28px, 5vw, 64px); padding-bottom: 92px; }
.slide__title { color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; max-width: 16ch; }
.slide__text { margin-top: 16px; color: #d9e6fb; font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 42ch; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.slide .eyebrow { color: #b9d97f; }
.slider__controls { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: var(--r-pill); background: rgb(8 31 85 / .28); backdrop-filter: blur(6px); }
.slider__btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .45); background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; touch-action: manipulation; }
.slider__btn:hover { background: rgb(255 255 255 / .22); border-color: #fff; }
.slider__dots { display: flex; gap: 8px; margin-inline: 6px; }
.slider__dot { position: relative; width: 12px; height: 12px; padding: 0; border: 0; border-radius: var(--r-pill); background: rgb(255 255 255 / .4); cursor: pointer; overflow: hidden; transition: width .35s var(--ease), background-color .2s; }
.slider__dot::before { content: ""; position: absolute; inset: -12px -4px; }
.slider__dot[aria-current="true"] { width: 40px; background: rgb(255 255 255 / .35); }
.slider__dot span { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slider__dot[aria-current="true"] span { transform: scaleX(1); }
.slider.is-autoplay .slider__dot[aria-current="true"] span { animation: slide-progress var(--slide-ms, 6500ms) linear forwards; }
.slider.is-hold .slider__dot[aria-current="true"] span { animation-play-state: paused; }
@keyframes slide-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider [data-play] { display: none; }
.slider.is-stopped [data-play] { display: inline-grid; }
.slider.is-stopped [data-pause] { display: none; }
/* per-slide text layout (admin: Slider > Yazı yerleşimi) */
.slide--right { justify-items: end; }
.slide--right::before { background: linear-gradient(270deg, rgb(8 31 85 / .95) 0%, rgb(8 31 85 / .86) 32%, rgb(8 31 85 / .35) 58%, rgb(8 31 85 / 0) 78%); }
@media (min-width: 761px) {
  /* card: the photo stays full-bleed and uncovered; only the text sits on a compact frosted navy card */
  .slide--card { padding-bottom: 64px; }          /* keep the centred card clear of the controls */
  .slide--card::before { content: none; }
  .slide--card .slide__content { margin-left: clamp(28px, 4vw, 64px); max-width: min(560px, 46%); padding: clamp(24px, 2.4vw, 38px); border-radius: 26px; background: rgb(8 31 85 / .7); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 24px 60px rgb(8 31 85 / .32); }
  .slide--card .slide__title { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
  .slide--card .slide__actions { margin-top: 22px; }
  /* poster slides carry their own logo/text: keep the heading for SEO + screen readers only */
  .slide--image::before { content: none; }
  .slide--image .slide__content { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .slide--image .slide__actions { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slider [data-pause], .slider [data-play] { display: none !important; } }
@media (max-width: 760px) {
  /* phones: photo on top, fully visible and unobstructed (square); text + controls on the navy panel below */
  .slider { --slide-ratio: 1; width: min(100% - 2 * var(--gutter), 1880px); border-radius: 22px; }
  .slide { min-height: 0; display: flex; flex-direction: column; align-items: stretch; background: #0b2a6f; }
  .slide::before, .slide--right::before { content: none; }
  .slide__media { position: relative; aspect-ratio: var(--slide-ratio); }
  .slide__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16%; background: linear-gradient(180deg, rgb(11 42 111 / 0), #0b2a6f); }
  .slide__img { object-position: center 30%; }
  .slide__badge { top: 12px; right: 12px; width: 84px; padding: 7px; border-radius: 16px; }
  .slide__content { max-width: none; padding: 4px 20px 82px; }
  .slide .eyebrow { display: none; }
  .slide__title { font-size: clamp(1.5rem, 6.6vw, 1.9rem); max-width: 18ch; }
  .slide__text { margin-top: 10px; font-size: .98rem; }
  .slide__actions { margin-top: 18px; }
  .slide .btn--glass { display: none; }          /* call + WhatsApp live in the dock on phones */
  .slider__controls { left: 14px; bottom: 16px; transform: none; gap: 6px; padding: 4px; background: rgb(255 255 255 / .08); backdrop-filter: none; }
  .slider__btn { width: 38px; height: 38px; }
}
@media (min-width: 561px) and (max-width: 760px) { .slider { --slide-ratio: 1.3333; } }   /* large phones / small tablets: 4:3 photo */
.home-intro { padding-block: clamp(48px, 7vw, 88px) 0; }

/* Facts grid (kurumsal): 4 tiles, 2x2 on tablet, 1 col on phone */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.fact .icon { width: 28px; height: 28px; color: var(--leaf); }
.fact strong { font: 650 1.12rem/1.3 var(--font-display); color: var(--ink); }
.fact span { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.prose p + p { margin-top: 16px; }
.prose h2 + p { margin-top: 18px; }
.media-rounded { width: 100%; border-radius: var(--r-card); box-shadow: var(--shadow-sm); object-fit: cover; }

/* CTA band */
.cta-band { border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: linear-gradient(120deg, #0b2a6f, #15124d); color: #dbe6fb; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* Map (contact) */
.map { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--sky-100); }
.map__frame { position: relative; }
.map img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.map__bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.map__bar strong { font-family: var(--font-display); color: var(--ink); }
.map figcaption { padding: 8px 14px; font-size: .8rem; color: var(--muted); background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-grid .phones { margin-top: 0; }
.contact-grid .place { margin-top: 16px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Nav submenu (disclosure pattern; hover opens on fine pointers, button for keyboard/touch) */
.nav .has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: inline-grid; place-items: center; width: 30px; height: 36px; margin-left: -10px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.sub-toggle:hover { color: var(--navy); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav .sub { position: absolute; top: calc(100% + 8px); left: -8px; z-index: 45; display: none; flex-direction: column; gap: 2px; min-width: 210px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav .sub a { padding: 10px 12px; border-radius: 10px; }
.nav .sub.is-open { display: flex; }
@media (hover: hover) and (pointer: fine) { .nav .has-sub:hover > .sub { display: flex; } }
.nav .has-sub.is-active > a { background: var(--sky-100); color: var(--navy); }
@media (max-width: 1140px) {
  .nav.is-open .has-sub { display: block; }
  .nav.is-open .sub-toggle { display: none; }
  .nav.is-open .sub { position: static; display: flex; min-width: 0; padding: 0 0 6px 18px; border: 0; box-shadow: none; background: transparent; }
  .nav.is-open .sub a { padding: 10px 12px; font-size: 1rem; color: var(--muted); }
}

/* Home contact: two location cards */
.places { display: grid; gap: 14px; align-content: start; }
.place--soft { background: var(--sky-100); color: var(--text); }
.place--soft h3 { color: var(--ink); }
.place--soft .meta-row strong { color: var(--ink); }
.place--soft .meta-row .icon { color: var(--leaf); }
@media (prefers-color-scheme: dark) { .place--soft { background: var(--sky-100); } }

/* Footer firms */
.footer__firms { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; max-width: 46ch; }
.footer__firms dt { color: #9fb2da; font-size: .85rem; }
.footer__firms dd { margin: 0; }
.footer__label { display: block; color: #9fb2da; font-size: .82rem; }

/* Company cards (Kurumsal) */
.entities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.entity { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.entity__role { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--leaf); }
.entity__role .icon { width: 22px; height: 22px; }
.entity h3 { font-size: 1.2rem; line-height: 1.3; }
.entity p { color: var(--muted); }
.entity .link-arrow { margin-top: 4px; }
@media (max-width: 860px) { .entities { grid-template-columns: 1fr; } }

/* Belgelerimiz */
.firm-group { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.firm-group + .firm-group { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.firm-group__head { display: grid; gap: 10px; position: sticky; top: 110px; }
.firm-group__head h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; }
.firm-group__head p { color: var(--muted); }
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .firm-group { grid-template-columns: 1fr; } .firm-group__head { position: static; } }
@media (max-width: 480px) { .docs { grid-template-columns: 1fr; } }
.doc { display: grid; gap: 12px; align-content: start; }
.doc__open { display: block; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); cursor: zoom-in; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.doc__open:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.doc__open img { width: 100%; height: 300px; object-fit: contain; background: #ffffff; border-radius: 10px; }
.doc h3 { font-size: 1.08rem; line-height: 1.3; }
.doc dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: .92rem; color: var(--muted); }
.doc dt { font-weight: 650; color: var(--text); }
.doc dd { margin: 0; }
.lightbox { padding: 0; border: 0; border-radius: 18px; max-width: min(96vw, 1100px); max-height: 94dvh; background: #ffffff; color: #15124d; box-shadow: 0 30px 80px rgb(0 0 0 / .4); }
.lightbox::backdrop { background: rgb(6 15 43 / .8); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-bottom: 1px solid #e3eaf3; }
.lightbox__bar strong { font-family: var(--font-display); font-size: 1rem; }
.lightbox__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef3fa; color: #15124d; cursor: pointer; }
.lightbox img { display: block; max-width: 100%; max-height: calc(94dvh - 66px); width: auto; height: auto; margin: 0 auto; }
.legal-note { margin-top: 36px; font-size: .92rem; color: var(--muted); max-width: 75ch; }

/* Contact page: phones row + location blocks */
.phones--row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 1000px) { .phones--row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .phones--row { grid-template-columns: 1fr; } }
.location { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.location + .location { margin-top: clamp(28px, 4vw, 44px); }
.location .place { align-content: center; }
.location .place small { color: #b9cbec; font-size: .9rem; }
.location .place--soft small { color: var(--muted); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }

/* Factory photo in company card / document group */
.entity__photo, .firm-group__photo { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 45%; border-radius: 14px; }
.entity__photo { margin-bottom: 4px; }
.firm-group__photo { margin-bottom: 8px; box-shadow: var(--shadow-sm); }

/* PHP templates: spacing helpers that replace the prototype's inline styles */
.content-stack > h2 + * { margin-top: 0; }
.content-stack > * + h2 { margin-top: 48px; }
.content-stack > .place, .content-stack > img { margin-top: 40px; }
.content-stack .legal-note p { margin: 0; }
.lead-muted { margin-top: 14px; color: var(--muted); }
.stats-heading { margin-top: 56px; }
.section--cta { padding-top: 0; }
.page-head__action { margin-top: 24px; }
.form__privacy p { margin: 0; }
.form__status.is-error { background: #fdecea; color: #8a1c12; }
@media (prefers-color-scheme: dark) { .form__status.is-error { background: #3a1916; color: #ffb4a9; } }
.prose--doc { max-width: 75ch; }
.prose--doc h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 36px 0 12px; }
.prose--doc h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose--doc p + p, .prose--doc ul { margin-top: 14px; }
.prose--doc ul { padding-left: 1.2em; }
.prose--doc li + li { margin-top: 6px; }
.prose--doc ol { padding-left: 1.4em; margin: 14px 0 0; }
.prose--doc li::marker { color: var(--navy); font-weight: 700; }
.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.table-wrap table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--sky-100); color: var(--ink); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.prose--doc .table-wrap + p, .prose--doc ul + p, .prose--doc ol + p { margin-top: 16px; }

/* Blog: post cards (list block + related posts); the title link covers the whole card */
.posts__head { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.posts__head p, .posts__empty { color: var(--muted); }
.posts__more { margin-top: 28px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.post-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card:focus-within { outline: 3px solid var(--leaf); outline-offset: 3px; }
.post-card__media { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky-100), var(--sky-200)); color: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media > .icon { width: 56px; height: 56px; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.post-card__title { font-size: 1.22rem; line-height: 1.3; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__title a:focus-visible { outline: none; }
.post-card__body > p:not(.post-card__meta) { color: var(--muted); font-size: .98rem; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--navy); }
.post-card:hover .post-card__more { text-decoration: underline; }

/* Blog post page */
.post-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 24ch; }
.post-head p { max-width: 68ch; }
.page-head .post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: .95rem; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .icon { color: var(--navy); }
.post-cover { margin: 0; }
.post-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
@media (max-width: 760px) { .post-cover img { aspect-ratio: 16 / 10; } }
.post-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(36px, 5vw, 60px) clamp(56px, 8vw, 96px); }
.post-layout--single { grid-template-columns: minmax(0, 1fr); }
.post-toc { position: sticky; top: 110px; padding: 20px 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.post-toc__title { display: flex; align-items: center; gap: 8px; font: 650 1rem/1.3 var(--font-display); color: var(--ink); list-style: none; cursor: pointer; }
.post-toc__title::-webkit-details-marker { display: none; }
.post-toc__chevron { margin-left: auto; transition: transform .25s var(--ease); }
.post-toc details[open] .post-toc__chevron { transform: rotate(180deg); }
@media (min-width: 961px) { .post-toc__title { cursor: default; } .post-toc__chevron { display: none; } }
.post-toc__title .icon { color: var(--navy); }
.post-toc ol { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 9px; font-size: .92rem; line-height: 1.4; color: var(--muted); }
.post-toc a { color: var(--muted); text-decoration: none; }
.post-toc a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-toc { position: static; } }
.post-main { min-width: 0; max-width: 75ch; }
.prose--post > h2:first-child { margin-top: 0; }
.post-faq { margin-top: clamp(40px, 5vw, 56px); }
.post-faq h2, .post-sources h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 16px; }
.post-cta { margin-top: 40px; display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-card); background: linear-gradient(120deg, #0b2a6f, #15124d); color: #dbe6fb; }
.post-cta__title { font: 650 1.3rem/1.25 var(--font-display); color: #ffffff; }
.post-cta p + p { margin-top: 6px; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .post-cta { grid-template-columns: 1fr; } }
.post-sources { margin-top: 40px; font-size: .93rem; color: var(--muted); }
.post-sources h2 { font-size: 1.15rem; margin-bottom: 10px; }
.post-sources ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.post-sources a { overflow-wrap: anywhere; }
.post-related { background: var(--surface); border-top: 1px solid var(--line); }
.post-related h2 { margin-bottom: clamp(22px, 3vw, 32px); }
.post-related .post-card { background: var(--bg); }

/* Cookie consent banner: bottom-left card (above the dock on phones); the three choices share one size and colour */
.consent { position: fixed; z-index: 60; left: 20px; bottom: 20px; width: min(560px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; display: grid; gap: 14px; padding: 18px 20px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.consent[hidden], .consent__prefs[hidden] { display: none; }
.consent__text { display: flex; gap: 12px; font-size: .93rem; line-height: 1.5; max-width: none; }
.consent__text .icon { width: 26px; height: 26px; color: var(--navy); margin-top: 1px; }
.consent__prefs { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.consent__opt input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.consent__opt strong { display: block; color: var(--ink); }
.consent__prefs .btn { justify-self: start; }
.consent__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 760px) { .consent { left: 10px; right: 10px; width: auto; bottom: calc(96px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 120px); padding: 16px; } }
.footer__consent { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
