/* GAYEM Tesisat: a plain, professional service site. Light plaster ground, ink text, one deep navy for actions
   (call block, phone call bar) and the footer. Headings Baskervville; body, numbers and actions Proza Libre.
   Motion: none beyond opacity on hover and the call bar's appearance, one curve (--ease); reduced motion: none. */
@font-face { font-family: 'Baskervville'; src: url('assets/fonts/Baskervville-VF.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proza Libre'; src: url('assets/fonts/ProzaLibre-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Proza Libre'; src: url('assets/fonts/ProzaLibre-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks (fontTools: width of a Turkish sample line, hhea metrics) so the swap does not shift layout. */
@font-face { font-family: 'Proza Fallback'; src: local('Arial'); size-adjust: 107.9%; ascent-override: 90.3%; descent-override: 36.2%; line-gap-override: 0%; }
@font-face { font-family: 'Baskervville Fallback'; src: local('Times New Roman'); size-adjust: 109.2%; ascent-override: 91.4%; descent-override: 27%; line-gap-override: 0%; }

:root {
  --paper: #F7F2EA;      /* page ground */
  --day: #EFE6D8;        /* warm plaster: alternate sections, cards */
  --ink: #1C1915;        /* text: 15.71:1 on paper, 14.16:1 on day */
  --ink-2: #5A5248;      /* secondary text: 6.89:1 on paper, 6.21:1 on day */
  --navy: #14233A;       /* the one action colour: call block, call bar, footer */
  --on-navy: #F7F2EA;    /* 14.15:1 on navy */
  --on-navy-2: #B9B4AA;  /* 7.64:1 on navy */
  --card: #FFFDF9;       /* service cards, fields, WhatsApp buttons; ink on card 16.9:1 */
  --wa-green: #25D366;   /* WhatsApp brand green: the glyph only, never a text background (white on it is 1.98:1) */
  --rule: rgba(28, 25, 21, .14);
  --rule-strong: rgba(28, 25, 21, .28);
  --display: 'Baskervville', 'Baskervville Fallback', 'Times New Roman', serif;
  --text: 'Proza Libre', 'Proza Fallback', Arial, sans-serif; /* body, numbers, buttons, nav, labels */
  --gutter: clamp(20px, 4.4vw, 64px);
  --head: 76px;
  --ease: cubic-bezier(.2, 0, 0, 1);
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;
  --section-y: var(--s-7);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head) + 16px); background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.6; font-weight: 400; font-variant-numeric: lining-nums; overflow-x: clip; font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--navy); color: var(--on-navy); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: var(--on-navy); opacity: 0; pointer-events: none; }
.skip:focus { opacity: 1; pointer-events: auto; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* Icons: one Phosphor Regular sprite (inline <symbol>s) and the WhatsApp glyph; always next to visible text. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: none; width: 1.25em; height: 1.25em; fill: currentColor; vertical-align: -.25em; }
.icon--wa { color: var(--wa-green); }

/* Display type */
.hero__title, .section-title, .svc__name, .step__name, .menu__links a, .notfound__title { font-family: var(--display); font-weight: 400; font-synthesis: none; }

/* Text links: ink with a quiet underline. */
.line-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.line-link:hover { text-decoration-color: currentColor; }
.channel .line-link, .address-card .line-link, .footer .line-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
/* Focus on navy grounds: the ring turns paper-coloured so it stays visible. */
.callbar__action:focus-visible, .footer :focus-visible { outline-color: var(--on-navy); }
.callbar__action:focus-visible { outline-offset: -5px; }

/* ---------- Header: paper, hairline, always readable ---------- */
.masthead { position: sticky; z-index: 50; top: 0; height: calc(var(--head) + env(safe-area-inset-top)); padding-top: env(safe-area-inset-top); display: flex; align-items: center; justify-content: space-between; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); background: var(--paper); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
/* Lockup: the plate and GAYEM, then a hairline and a small tracked TESİSAT set as live text (crisp at any size). */
.brand__sub { font-family: var(--display); position: relative; margin-left: 14px; padding-left: 14px; font-size: 11px; line-height: 1; letter-spacing: .26em; white-space: nowrap; }
.brand__sub::before { content: ''; position: absolute; left: 0; top: -4px; bottom: -4px; width: 1px; background: currentColor; opacity: .5; }
.logo { display: block; width: auto; }
.logo--full { height: 38px; aspect-ratio: 3485.7 / 1200; }
.logo--plate { height: 30px; aspect-ratio: 1000 / 1200; display: none; }
.masthead__links { display: flex; align-items: center; gap: 36px; }
.masthead__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: .5rem 0; background: none; border: 0; font-size: 16px; line-height: 22px; color: var(--ink); text-decoration: none; cursor: pointer; }
.masthead__link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rule-strong); }
.masthead__link--wa { font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Menu: full-screen paper, 500 ms opacity fade ---------- */
.menu { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); border: 0; background: var(--paper); color: var(--ink); opacity: 0; transition: opacity .5s var(--ease); }
.menu.is-open { opacity: 1; }
.menu::backdrop { background: transparent; }
.menu[open] { display: flex; flex-direction: column; }
.menu__head { display: flex; justify-content: space-between; align-items: center; height: var(--head); }
.menu__brand .logo--full { display: block; }
.menu__close { min-height: 44px; padding: .5rem 0 .5rem 1rem; border: 0; background: none; font-size: 16px; cursor: pointer; }
.menu__nav { margin-top: clamp(32px, 8vh, 96px); }
.menu__links { display: grid; gap: clamp(8px, 2vh, 24px); }
.menu__links a { display: inline-block; font-size: clamp(40px, 4.6vw, 72px); line-height: 1.1; letter-spacing: -.012em; text-decoration: none; }
.menu__address { margin-top: auto; padding-top: 2rem; color: var(--ink-2); font-size: 16px; line-height: 1.6; }

/* ---------- Hero: two columns, headline and call first ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; max-width: var(--max); margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-7); }
.hero__title { font-size: clamp(42px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.016em; }
.hero__line { display: block; }
.hero__text { margin-top: var(--s-3); max-width: 34ch; font-size: clamp(19px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hero__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--day); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); }
/* The one hero action: WhatsApp on navy, the official glyph in white, the number large. */
.hero-call__wa { display: inline-flex; align-items: center; gap: 16px; padding: 14px 28px 16px 22px; background: var(--navy); color: var(--on-navy); text-decoration: none; transition: opacity .4s var(--ease); }
.hero-call__wa:hover { opacity: .9; }
.hero-call__wa .icon { width: 36px; height: 36px; }
.hero-call__wa .icon--wa, .callbar__action .icon--wa { color: var(--on-navy); }
.hero-call__text { display: flex; flex-direction: column; }
.hero-call__label { font-size: 17px; line-height: 1.2; font-weight: 600; color: var(--on-navy); }
.hero-call__number { font-size: clamp(30px, 2.6vw, 40px); line-height: 1.15; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; white-space: nowrap; }

/* ---------- Trust strip: real facts, quiet ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1) var(--s-5); padding: var(--s-3) var(--gutter); background: var(--day); border-block: 1px solid var(--rule); font-size: 16px; color: var(--ink-2); }
.trust li { position: relative; display: flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--ink); }
.trust li + li::before { content: '·'; position: absolute; left: calc(var(--s-5) / -2 - .2em); }

/* ---------- Sections ---------- */
.services, .steps, .contact { max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.section-title { font-size: clamp(34px, 3vw, 48px); line-height: 1.1; letter-spacing: -.012em; }

/* Services: cards with a 3:4 photo on top, text below (photos from config via scripts/photos.mjs). */
.services__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-5); }
.svc { display: flex; flex-direction: column; padding: var(--s-4); background: var(--card); border: 1px solid var(--rule); }
.svc:hover { border-color: var(--rule-strong); }
.svc__media { aspect-ratio: 3 / 4; margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-3); overflow: hidden; background: var(--day); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__name { font-size: clamp(26px, 2vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
.svc__facts { margin-top: var(--s-1); font-size: 17px; line-height: 1.55; color: var(--ink-2); }
/* A quiet prefilled WhatsApp link at the foot of each card. */
.svc__ask { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: auto; padding-top: var(--s-2); font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 5px; }
.svc__ask:hover { text-decoration-color: currentColor; }

/* Steps */
.steps { border-top: 1px solid var(--rule); }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-5); }
.step { padding-top: var(--s-3); border-top: 2px solid var(--navy); }
.step__head { display: flex; justify-content: space-between; align-items: center; }
.step__icon { width: 28px; height: 28px; color: var(--ink); }
.step__n { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); font-variant-numeric: lining-nums; }
.step__name { margin-top: var(--s-1); font-size: clamp(26px, 2vw, 32px); line-height: 1.15; }
.step__text { margin-top: var(--s-1); font-size: 17px; color: var(--ink-2); }

/* Contact: channels left, a small address card right. */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: start; border-top: 1px solid var(--rule); }
.contact__lead { margin-top: var(--s-2); font-size: 20px; color: var(--ink-2); }
.channels { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.channel dt { font-size: 15px; color: var(--ink-2); }
.channel dd { margin-top: 4px; font-size: 20px; }
.channel .icon { width: 24px; height: 24px; }
.channel__wa .icon { width: 28px; height: 28px; }
.channel__wa { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--navy); }
.channel__wa:hover { border-bottom-color: var(--ink); }
.channel__person { display: flex; align-items: center; gap: 10px; }
.address-card { padding: var(--s-4); background: var(--day); border: 1px solid var(--rule); }
.address-card__label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.address-card__label .icon { color: var(--ink); }
.address-card address { margin-top: var(--s-1); font-size: 20px; line-height: 1.5; }
.address-card .line-link { margin-top: var(--s-2); font-weight: 600; }

/* ---------- Help block: "Arızanızı anlatın" (the fault assistant, with the quick WhatsApp composer as its
   fallback inside the same card) and the FAQ, side by side before İletişim ---------- */
.help { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); align-items: start; max-width: var(--max); margin: 0 auto; padding: var(--section-y) var(--gutter); border-top: 1px solid var(--rule); }
.ariza { padding: 40px; background: var(--day); border: 1px solid var(--rule); }
.faq { padding-top: 41px; } /* the FAQ title lines up with the card's title (border + padding) */
/* Without JS: the phone line and the plain WhatsApp link. With JS: the assistant; the composer waits for a fallback. */
html:not(.js) .ariza__lead, html:not(.js) .ariza__mount { display: none; }
html.js .ariza__nojs { display: none; }
html:not(.js) .composer__fields { display: none; }
html:not(.js) .composer__note { display: none; }
html.js .composer:not([data-shown]) { display: none; }
html.js .composer[data-shown] { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--rule-strong); }
.ariza__lead, .ariza__nojs { margin-top: var(--s-2); font-size: 18px; color: var(--ink-2); }
.ariza__nojs .line-link { font-weight: 600; white-space: nowrap; }
.ariza__mount:empty { display: none; }
.composer__title { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; }
.composer__lead { margin-top: var(--s-1); font-size: 17px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: var(--s-4) 0 0; padding: 0; border: 0; min-width: 0; }
.field__label, .field label { display: block; width: 100%; margin-bottom: var(--s-1); font-size: 16px; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--ink-2); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--card); border: 1px solid var(--rule-strong); font-size: 16px; color: var(--ink); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--card); }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 3px; }
.field { margin-top: var(--s-3); }
.field input, .field textarea, .ariza__input { display: block; width: 100%; min-height: 48px; padding: 10px 14px; background: var(--card); border: 1px solid var(--rule-strong); border-radius: 0; font: inherit; font-size: 17px; line-height: 1.5; color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover, .ariza__input:hover { border-color: var(--ink); }
.field input:focus-visible, .field textarea:focus-visible, .ariza__input:focus-visible { outline-offset: 2px; border-color: var(--ink); }
.field__hint { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
/* WhatsApp button: light ground, brand-green glyph, ink text (16.9:1); the green is never a text background. */
.wa-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; margin-top: var(--s-4); padding: 0 24px; background: var(--card); color: var(--ink); border: 1px solid var(--ink); font-size: 18px; font-weight: 600; text-decoration: none; }
.wa-button .icon { width: 24px; height: 24px; }
.wa-button:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rule-strong); }
.composer__note { margin-top: var(--s-2); font-size: 15px; color: var(--ink-2); }
/* One quiet line under the assistant form: what happens to the text, and the privacy page. */
.ariza__privacy { margin-top: var(--s-2); font-size: 15px; color: var(--ink-2); }
html:not(.js) .ariza__privacy { display: none; }
/* Buttons: one family. Light ground and ink text; the primary action is ink with card text; no navy here. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; background: var(--card); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--ink); color: var(--card); border-color: var(--ink); }
.btn:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn:disabled { opacity: .6; cursor: progress; text-decoration: none; }
.btn .icon { width: 24px; height: 24px; }
/* The assistant (dist/ariza.mjs, mounted lazily): the form, a status line and one result card. */
.ariza__form { display: grid; gap: 6px; margin-top: var(--s-4); }
.ariza__label { margin-bottom: 0; }
.ariza__hint { margin-top: 0; }
.ariza__input { min-height: 136px; margin-top: 6px; resize: vertical; }
.ariza__input[aria-invalid="true"] { border-color: var(--ink); }
.ariza__count { justify-self: end; margin-top: 0; font-variant-numeric: lining-nums tabular-nums; }
.ariza__submit { justify-self: start; margin-top: var(--s-1); }
.ariza__status { min-height: 1.6em; margin-top: var(--s-2); font-size: 16px; color: var(--ink-2); }
.ariza__status:empty { min-height: 0; margin-top: 0; }
.ariza__result { margin-top: var(--s-3); padding: var(--s-3); background: var(--card); border: 1px solid var(--rule); }
.ariza__title { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.ariza__rows { display: grid; gap: var(--s-1); margin-top: var(--s-2); }
.ariza__row { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: var(--s-2); padding-bottom: var(--s-1); border-bottom: 1px solid var(--rule); }
.ariza__row dt { padding-top: 2px; font-size: 15px; color: var(--ink-2); }
.ariza__row dd { font-size: 18px; }
.ariza__subhead { margin-top: var(--s-3); font-size: 15px; color: var(--ink-2); }
.ariza__questions { display: grid; gap: 4px; margin-top: var(--s-1); padding-left: 1.2em; list-style: disc; font-size: 17px; }
.ariza__guidance { margin-top: var(--s-3); padding: 12px 16px; font-weight: 600; color: var(--ink); background: var(--day); border-left: 3px solid var(--ink); }
.ariza__note { margin-top: var(--s-2); font-size: 15px; color: var(--ink-2); }
.ariza__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-3); }
.ariza__actions .wa-button { margin-top: 0; }
.ariza__actions + .ariza__note { margin-top: var(--s-1); }
.faq__list { margin-top: var(--s-4); border-top: 1px solid var(--rule-strong); }
.faq__item { border-bottom: 1px solid var(--rule-strong); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); min-height: 56px; padding: 14px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--rule-strong); }
.faq__mark { width: 20px; height: 20px; color: var(--ink-2); }
.faq__item[open] .faq__mark { rotate: 180deg; }
.faq__a { padding: 0 0 var(--s-3); max-width: 60ch; font-size: 17px; color: var(--ink-2); }

/* ---------- Footer: navy band ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); padding: var(--s-4) var(--gutter) max(var(--s-4), env(safe-area-inset-bottom)); background: var(--navy); color: var(--on-navy); }
.footer__brand { display: inline-flex; align-items: center; color: var(--on-navy); }
.footer__logo { display: block; height: 32px; width: auto; }
.footer__meta { flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-2) var(--s-5); font-size: 15px; color: var(--on-navy-2); }
.footer__meta .line-link { color: var(--on-navy); text-decoration-color: rgba(247, 242, 234, .4); }
.footer__links { display: inline-flex; flex-wrap: wrap; gap: 0 var(--s-4); }

/* ---------- Gizlilik: one calm reading column ---------- */
.legal { max-width: var(--max); margin: 0 auto; padding: var(--s-6) var(--gutter) var(--s-7); }
.legal > * { max-width: 680px; }
.legal__title { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(42px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.016em; }
.legal__lead { margin-top: var(--s-3); font-size: clamp(19px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); }
.legal__part { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.legal__head { font-family: var(--display); font-weight: 400; font-synthesis: none; font-size: clamp(26px, 2vw, 32px); line-height: 1.15; letter-spacing: -.01em; }
.legal__part p, .legal__address { margin-top: var(--s-2); }
.legal__address { color: var(--ink-2); }
.legal__wa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 22px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 6px; }
.legal__wa:hover { text-decoration-color: currentColor; }
.legal__date { margin-top: var(--s-5); font-size: 15px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s-4); min-height: 100vh; min-height: 100svh; padding: var(--s-7) var(--gutter); }
.notfound__brand img { height: 40px; width: auto; }
.notfound__brand { background: var(--navy); padding: 10px 14px; }
.notfound__title { font-size: clamp(32px, 3.2vw, 56px); line-height: 1.08; letter-spacing: -.012em; }

/* ---------- Phones: call bar (hidden above 760 px) ---------- */
.callbar { display: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: var(--s-5); padding-top: var(--s-5); }
  .hero__media { aspect-ratio: 4 / 3; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; gap: var(--s-5); }
  .help { grid-template-columns: 1fr; gap: var(--s-6); }
  .faq { padding-top: 0; }
}

@media (max-width: 760px) {
  :root { --head: 64px; --gutter: max(20px, env(safe-area-inset-left)); --section-y: 72px; }
  body { font-size: 17px; }
  .logo--full { height: 32px; }
  .brand__sub { margin-left: 10px; padding-left: 10px; font-size: 10px; letter-spacing: .22em; }
  .masthead__link--contact, .masthead__link--wa { display: none; }
  .masthead__link { font-size: 17px; }
  .hero { padding: var(--s-4) var(--gutter) var(--s-5); }
  .hero__title { font-size: clamp(38px, 10.4vw, 46px); }
  .hero__text { font-size: 18px; }
  .hero-call { margin-top: var(--s-4); }
  .hero-call__wa { width: 100%; padding: 14px 20px 16px 18px; }
  .hero-call__number { font-size: 32px; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; gap: var(--s-1) var(--s-3); font-size: 15px; }
  .trust li + li::before { content: none; }
  .services__list, .steps__list { grid-template-columns: 1fr; gap: var(--s-3); }
  .steps__list { gap: var(--s-4); }
  .svc { padding: var(--s-3); }
  .svc__media { margin: calc(var(--s-3) * -1) calc(var(--s-3) * -1) var(--s-2); aspect-ratio: 4 / 5; }
  .help { gap: var(--s-5); }
  .wa-button, .btn { width: 100%; padding: 0 16px; font-size: 17px; white-space: nowrap; }
  .ariza { padding: var(--s-4) 20px; }
  .ariza__submit { justify-self: stretch; }
  .ariza__result { padding: var(--s-3) var(--s-2); }
  .ariza__row { grid-template-columns: 1fr; gap: 0; }
  .ariza__actions { display: grid; grid-template-columns: 1fr; gap: var(--s-1); }
  /* One full-width action: WhatsApp on navy with the white glyph. */
  .callbar { position: fixed; z-index: 45; inset: auto 0 0 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--rule-strong); opacity: 1; transition: opacity .4s var(--ease); }
  html.js .callbar:not([data-shown]) { opacity: 0; pointer-events: none; }
  .callbar__action { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding-bottom: env(safe-area-inset-bottom); font-size: 17px; font-weight: 600; text-decoration: none; background: var(--navy); color: var(--on-navy); }
  .callbar__action .icon { width: 22px; height: 22px; }
  .footer { padding-bottom: calc(56px + var(--s-4) + env(safe-area-inset-bottom)); }
  .footer__meta { flex-basis: 100%; }
  .footer--page { padding-bottom: max(var(--s-4), env(safe-area-inset-bottom)); } /* no call bar on this page */
  .legal { padding: var(--s-4) var(--gutter) var(--s-6); }
}

/* Reduced motion: no transitions at all. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
