/* ==========================================================================
   ProTec Dental Laboratory — main stylesheet
   --------------------------------------------------------------------------
   One shared stylesheet for every page. Sections:
     1. Design tokens (colours, type, spacing)  <- tweak the brand here
     2. Reset & base
     3. Layout helpers (container, section, grid)
     4. Components (buttons, header, nav, cards, steps, forms, footer…)
     5. Page-specific bits
     6. Utilities & motion
   No build step: edit and refresh.
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand — sampled from the ProTec logo */
  --brand: #f04725;          /* logo orange-red */
  --brand-600: #d63a1b;      /* hover / pressed */
  --brand-50: #fef1ed;       /* tinted backgrounds */
  --logo-grey: #7a7a7a;      /* "DENTAL" grey in the logo */

  /* Neutrals */
  --ink: #12161d;            /* headings / dark sections */
  --ink-2: #1b212a;
  --text: #333b47;           /* body copy */
  --muted: #5d6673;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --bg-cool: #eef6f8;        /* hint of the cyan used in the favicon badge */

  /* Type */
  --font-head: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 29, .06), 0 1px 1px rgba(18, 22, 29, .04);
  --shadow: 0 10px 30px -12px rgba(18, 22, 29, .18);
  --shadow-lg: 0 30px 60px -25px rgba(18, 22, 29, .35);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --header-h: 76px;
}

/* 2. Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
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;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--cool { background: var(--bg-cool); }
.section--dark { background: var(--ink); color: #c9d0d8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--top { align-items: start; }
.split--form { grid-template-columns: 1.35fr 1fr; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.section--dark .section-head p { color: #aab3be; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: #ff8a6e; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); }

/* 4. Components ---------------------------------------------------------- */

/* Buttons */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { --btn-bg: var(--brand-600); --btn-bd: var(--brand-600); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 20px -10px rgba(240, 71, 37, .6); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #c9cfd6; }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); color: #fff; box-shadow: none; }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn--light:hover { --btn-bg: #fff; --btn-bd: #fff; color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 40px; padding: .55rem 1rem; font-size: .925rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.text-link { display: inline; font-weight: 600; text-decoration: none; color: var(--ink); }
.text-link::after { content: "→"; display: inline-block; margin-left: .4rem; color: var(--brand); transition: transform .2s; }
.card .text-link { display: block; }
.text-link:hover { color: var(--brand-600); }
.text-link:hover::after { transform: translateX(3px); }
.section--dark .text-link { color: #fff; }

/* Top bar + header */
.topbar { background: var(--ink); color: #b9c1cb; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #ff8a6e; }
.topbar__rest { display: flex; align-items: center; justify-content: flex-end; gap: .35rem 1.4rem; flex-wrap: wrap; margin-left: auto; }
.topbar__info { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* Version switcher — top left of the black bar on every page */
.version-switch { display: flex; align-items: center; gap: .1rem; flex: 0 0 auto; }
.version-switch a {
  color: #9aa4b0; text-decoration: none; font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; padding: .22rem .42rem; border-radius: 4px; line-height: 1;
}
.version-switch a:hover { color: #fff; }
.version-switch a[aria-current="page"] { color: #fff; background: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  font-weight: 500; font-size: .975rem; color: var(--text); text-decoration: none;
  transition: color .2s, background .2s;
}
.nav__list a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__list a[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero (home) */
.hero {
  position: relative; overflow: hidden; color: #c9d0d8;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(240, 71, 37, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(91, 187, 203, .10), transparent 60%),
    linear-gradient(180deg, #12161d 0%, #161b23 100%);
  padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { color: #aeb7c2; max-width: 56ch; margin-bottom: 2rem; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__art {
  position: relative; border-radius: var(--radius-lg); padding: 1rem;
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09); box-shadow: var(--shadow-lg);
}
.hero__art img { width: 100%; }
.hero__badge {
  position: absolute; left: 24px; bottom: -22px;
  display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.3;
}
.hero__badge strong { display: block; font-family: var(--font-head); }
.hero__badge .icon-tile { width: 40px; height: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.5rem; padding: 0; list-style: none; font-size: .925rem; color: #9aa4b0; }
.hero__trust li { display: flex; align-items: center; gap: .5rem; }
.hero__trust svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(240, 71, 37, .16), transparent 60%),
    linear-gradient(180deg, #12161d, #171c24);
  color: #b4bdc8; padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 20ch; }
.page-hero p { max-width: 60ch; font-size: 1.15rem; margin: 0; }
.breadcrumb { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .875rem; color: #8892a0; }
.breadcrumb a { color: #c9d0d8; text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #5d6673; }

/* Strip of technology names */
.tech-strip { border-bottom: 1px solid var(--line); background: #fff; }
.tech-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding-block: 1.6rem; }
.tech-strip__label { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tech-strip__list { display: flex; flex-wrap: wrap; gap: .75rem 2.75rem; list-style: none; margin: 0; padding: 0; }
.tech-strip__list li { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #8a929d; letter-spacing: -.01em; }

/* Icon tile */
.icon-tile {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px; background: var(--brand-50); color: var(--brand);
}
.icon-tile svg { width: 26px; height: 26px; }
.section--dark .icon-tile { background: rgba(240, 71, 37, .14); color: #ff7a5c; }

/* Cards */
.card {
  position: relative; display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.4rem, 2.6vw, 2rem); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card h3 { margin: .2rem 0 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card .text-link { margin-top: auto; padding-top: .4rem; }
a.card, .card--hover { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6dbe1; }
.card--feature { background: linear-gradient(160deg, #fff 0%, var(--brand-50) 140%); border-color: #f6d3c9; }
.card__tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); background: #fff; border: 1px solid #f6d3c9; padding: .25rem .6rem; border-radius: 999px; }
.section--dark .card { background: var(--ink-2); border-color: #2a323d; }
.section--dark .card p { color: #a3adb9; }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f04725' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--dark .checklist li::before { background-color: rgba(240, 71, 37, .16); }

/* AOX journey panel */
.journey { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.journey__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.journey ol { list-style: none; margin: 0; padding: 0; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 0 0 1.4rem 3.4rem; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: counter(j, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%;
  font: 700 .85rem var(--font-head); color: var(--brand-600); background: var(--brand-50); border: 1px solid #f6d3c9;
}
.journey li::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: .3rem; width: 1px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { font-size: 1.05rem; margin: .35rem 0 .2rem; }
.journey p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Technology cards (dark) */
.machine { gap: 1rem; }
.machine__brand { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.machine__meta { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff8a6e; }
.machine__logo {
  height: 64px; border: 1px dashed #3a4350; border-radius: var(--radius); display: grid; place-items: center;
  font-size: .8rem; color: #7c8794; letter-spacing: .04em;
}
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .55rem; border-bottom: 1px solid #2a323d; }
.spec-list li span:first-child { color: #8793a0; white-space: nowrap; }
.spec-list li span:last-child { color: #e2e7ec; text-align: right; }

/* Steps (clinician workflow) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { counter-increment: s; position: relative; padding: 1.6rem 1.4rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step::before { content: "Step " counter(s); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: .96rem; color: var(--muted); margin: 0; }
.step .icon-tile { margin-bottom: 1rem; }

/* Gallery placeholders */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery__item {
  position: relative; overflow: hidden; margin: 0; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(18,22,29,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #eef1f4, #e2e7ec);
  display: grid; place-items: center; text-align: center; color: #7b8592; font-size: .9rem;
}
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4),
.gallery__item:nth-child(5),
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption { padding: 1rem; }
.gallery__item figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); }
.gallery__item svg { width: 34px; height: 34px; margin: 0 auto .6rem; color: #a3acb7; }

/* Testimonial */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: 1.4rem; color: var(--muted); }
.quote__mark { width: 44px; height: 44px; margin: 0 auto 1.2rem; color: var(--brand); }

/* Placeholder marker — search the code for "placeholder" to find all of them */
.placeholder {
  background: repeating-linear-gradient(135deg, rgba(240,71,37,.08) 0 6px, rgba(240,71,37,.14) 6px 12px);
  color: var(--brand-600); border-radius: 4px; padding: 0 .3em; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.section--dark .placeholder, .page-hero .placeholder, .site-footer .placeholder { color: #ff9c84; }
.note {
  display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--bg-cool); border: 1px solid #cfe6ec; color: #2c4b55; font-size: .95rem;
}
.note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .2rem; color: #2a8ea0; }
.note p { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(240,71,37,.35), transparent 60%),
    var(--ink);
  color: #b9c2cc; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { margin: 0; font-size: 1.1rem; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service__intro .icon-tile { margin-bottom: 1.2rem; }
.service__panel { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.service__panel h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chip-list li { padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }

/* Sub-nav (services page) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: .7rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text); text-decoration: none; background: var(--bg-soft); }
.subnav a:hover { background: var(--brand-50); color: var(--brand-600); }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* About */
.photo-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .6rem .8rem; border-radius: var(--radius-sm); background: rgba(18,22,29,.75); color: #e3e7ec; font-size: .8rem; }
.value { padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value h3 { font-size: 1.1rem; margin: 1rem 0 .4rem; }
.value p { margin: 0; color: var(--muted); font-size: .98rem; }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(160deg, #eef1f4, #dfe4ea); display: grid; place-items: center; color: #8a939e; margin-bottom: 1rem; }
.team-card__photo svg { width: 56px; height: 56px; }
.team-card h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.team-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Locations */
.location { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.location h3 { font-size: 1.1rem; margin: 0; }
.location address { font-style: normal; color: var(--muted); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand-600); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240, 71, 37, .14); }
.field input[type="file"] { padding: .6rem; background: #fff; border-style: dashed; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #c62828; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.radio-row label { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; cursor: pointer; background: var(--bg-soft); }
.radio-row input { accent-color: var(--brand); width: auto; min-height: 0; padding: 0; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.checkbox input { margin-top: .3rem; accent-color: var(--brand); width: 18px; height: 18px; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status[hidden] { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-head); }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--brand-600); }
.contact-list address { font-style: normal; }
.contact-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; }
.contact-list .icon-tile svg { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: #0e1116; color: #98a2ae; font-size: .95rem; padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h2 { font-size: .8rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #c9d0d8; text-decoration: none; }
.site-footer a:hover { color: #ff8a6e; }
.site-footer address { font-style: normal; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.2rem; }
.footer-bottom { border-top: 1px solid #1f252e; padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #6f7a87; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #2a313b; color: #c9d0d8; }
.social a:hover { border-color: var(--brand); color: #fff; background: var(--brand); }
.social svg { width: 18px; height: 18px; }

/* 5. Page-specific ------------------------------------------------------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--bg-soft); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); }
.stat span { font-size: .9rem; color: var(--muted); }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-head); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--brand); line-height: 1; }

/* 6. Utilities & motion -------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Reveal-on-scroll: JS adds .is-visible. Without JS everything is visible. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.6rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .nav .btn { width: 100%; }
  .hero__grid, .split, .split--form, .service, .cta-band { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__hours { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--2, .grid--3, .grid--4, .steps, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery__item figcaption { font-size: .78rem; padding: .5rem; }
  .gallery__item svg { width: 26px; height: 26px; }
  .hero__badge { position: static; margin-top: 1rem; font-size: .88rem; box-shadow: none; }
  .brand img { height: 32px; }
  .topbar__email { display: none; }
  .btn-row .btn { flex: 1 1 auto; }
}
