/* =====================================================================
   Dott. Augusto Amato — site.css
   One stylesheet, tokens in :root.

   Identity, kept from the old Divi site and made flat:
   - petrol #186C87 (Divi accent/link colour) and its deep gradient #0B4D63;
   - sky #52B2D1 (the dot on the peak, the CV divider) — accents only, never
     small text on white (2.6:1);
   - amber for the calls to action: #FFC74F (PM, 05/11/2026), with DARK text; white on the old #E09900
     was 2.4:1 on the old site;
   - the shapes of the old background images, redrawn as SVG (helpers.php
     shape_*): the peak with a rounded apex, the grey chevron, the rings;
   - the arched portrait of the old home.
   Flat like studioquagliero.it (eyebrows, thin rules, no shadows on cards),
   but its own: one rounded corner — the peak's apex — on panels and cards,
   and the dot instead of a bar.
   Font: Fira Sans (old heading font) 400/italic/600, self-hosted.
   ===================================================================== */

:root {
  --petrol:      #186C87;   /* brand: links, buttons, headings   5.6:1 on white */
  --petrol-dark: #0F5A72;
  --deep:        #0B4D63;   /* dark surfaces, footer             9.1:1 */
  --abyss:       #07303E;
  --sky:         #52B2D1;   /* accent only */
  --sky-soft:    #E4F3F8;
  --amber:       #FFC74F;   /* CTA background (PM, 05/11/2026), with --ink text 12.4:1 */
  --amber-dark:  #F5B42A;
  --ink:         #10232B;
  --ink-2:       #3D535C;   /* 7.9:1 */
  --ink-3:       #566B74;   /* 5.6:1 */
  --mist:        #EEF5F7;
  --stone:       #F4F6F7;
  --line:        #D7E3E8;
  --line-dark:   rgba(255,255,255,.16);
  --wa:          #19C500;   /* bright WhatsApp-like green (PM) */
  --wa-ink:      #fff;      /* white by PM choice (2.3:1): a soft shadow keeps the label legible */
  --ok:          #1C7C4A;  --ok-bg:  #E8F5EE;
  --err:         #B42318;  --err-bg: #FDECEA;

  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --apex: 28px;             /* the one rounded corner */
  --r: 4px;
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(7,48,62,.06), 0 10px 30px rgba(7,48,62,.10);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.68; font-weight: 400;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.scroll-locked { position: fixed; left: 0; right: var(--sbw, 0); width: auto; overflow: hidden; }
body.scroll-locked .site-header { position: fixed; top: 0; left: 0; right: var(--sbw, 0); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--petrol-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
[id] { scroll-margin-top: calc(var(--sticky-h, var(--header-h)) + 16px); }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.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: -9999px; top: 0; z-index: 200; background: var(--deep); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.empty { color: var(--ink-3); }

/* shapes: decorative, behind content */
.shape { display: block; pointer-events: none; }
.shape--dot { width: .55em; height: .55em; flex: none; }

/* eyebrow: the sky dot + a short line + small caps */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol);
}
.eyebrow .shape--dot { color: var(--sky); }
.eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .45; order: 3; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.eyebrow--light { color: #fff; }
.eyebrow--light .shape--dot { color: var(--sky); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.3rem; border: 2px solid transparent; border-radius: var(--r);
  font: 600 .98rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--petrol); color: #fff; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { background: var(--petrol-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--petrol); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--petrol); border-color: currentColor; }
.btn--ghost:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: #fff; color: var(--deep); border-color: #fff; }
.btn--lg { padding: 1rem 1.6rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: 1.6rem 0 0; }
.icon-link { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--petrol); color: #fff; }
.icon-link:hover { background: var(--deep); color: #fff; }
.icon-link svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(7,48,62,.08); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: block; flex: none; padding-block: 12px; }
.brand__img { width: 230px; height: auto; }
.brand__text { font-weight: 600; font-size: 1.2rem; color: var(--petrol); }
@media (min-width: 1100px) { .brand__img { width: 268px; } }
@media (min-width: 1280px) { .brand__img { width: 300px; } }

.header-cta { display: none; flex: none; }
@media (min-width: 1280px) { .header-cta { display: inline-flex; padding: .72rem 1.05rem; font-size: .92rem; } }

.nav-toggle {
  margin-left: auto; width: 48px; height: 48px; display: inline-grid; place-items: center;
  background: var(--petrol); border: 0; border-radius: var(--r) var(--r) var(--apex) var(--r); cursor: pointer; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background .2s;
}
.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); }

.nav__list, .nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__link { text-decoration: none; color: var(--ink); font-weight: 600; white-space: nowrap; }
.nav__sub a { text-decoration: none; }

@media (max-width: 1099.98px) {
  .nav {
    position: fixed; inset: var(--sticky-h, var(--header-h)) 0 0 0; z-index: 59; display: none;
    background: var(--deep); overflow-y: auto; overscroll-behavior: contain; padding: .5rem 0 2rem;
  }
  .nav.is-open { display: block; }
  .nav__item { border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: stretch; }
  .nav__link { flex: 1; display: flex; align-items: center; min-height: 56px; padding: .4rem var(--gutter); color: #fff; font-size: 1.08rem; }
  .nav__link svg { display: none; }
  .nav__item.is-active > .nav__link { box-shadow: inset 4px 0 0 var(--sky); }
  .nav__sub-toggle {
    width: 60px; flex: none; background: transparent; border: 0; border-left: 1px solid var(--line-dark);
    color: #fff; cursor: pointer; display: grid; place-items: center;
  }
  .nav__sub-toggle svg { width: 14px; transition: transform .2s; }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub { display: none; width: 100%; background: rgba(0,0,0,.2); padding: .3rem 0 .6rem; }
  .nav__item.is-expanded > .nav__sub { display: block; }
  .nav__sub a { display: block; padding: .7rem calc(var(--gutter) + 1rem); color: rgba(255,255,255,.9); }
  .nav__sub a[aria-current="page"] { color: var(--sky); font-weight: 600; }
  .nav__cta { display: grid; gap: .7rem; padding: 1.4rem var(--gutter) 0; }
}
@media (min-width: 1100px) {
  .nav-toggle, .nav__sub-toggle, .nav__cta { display: none; }
  .nav { margin-left: auto; }
  .nav__list { display: flex; align-items: stretch; }
  .nav__item { position: relative; display: flex; }
  .nav__link { display: inline-flex; align-items: center; gap: .35rem; padding: 0 .62rem; min-height: var(--header-h); font-size: .95rem; position: relative; }
  .nav__link::after { content: ""; position: absolute; left: .62rem; right: .62rem; bottom: 24px; height: 2px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); }
  .nav__item.is-active > .nav__link { color: var(--petrol); }
  .nav__link svg { width: 10px; transition: transform .2s; }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; padding: .5rem 0;
    border-top: 3px solid var(--petrol); border-radius: 0 0 var(--apex) 0; box-shadow: var(--shadow); display: none;
  }
  .nav__sub a { display: block; padding: .55rem 1.2rem; color: var(--ink); font-size: .94rem; }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--mist); color: var(--petrol); }
  .nav__item--has-sub:focus-within > .nav__sub { display: block; }
  @media (hover: hover) {
    .nav__item--has-sub:hover > .nav__sub { display: block; }
    .nav__item--has-sub:hover > .nav__link svg { transform: rotate(180deg); }
  }
}
@media (min-width: 1100px) and (max-width: 1279.98px) { .nav__link { padding: 0 .48rem; font-size: .9rem; } .nav__link::after { left: .48rem; right: .48rem; } }

/* ---------------------------------------------------------------- sections */
/* clip, not hidden: hidden makes the section a scroll container and the sticky aside
   then offsets INSIDE it (it sat 108px lower than the text). */
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem); overflow: hidden; overflow: clip; }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--mist { background: var(--mist); }
.section > .container { position: relative; z-index: 1; }
.section__head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.section__head h2 { margin-bottom: 0; }
.section__rings { position: absolute; inset: 0; width: 100%; height: 100%; --rings: var(--stone); }
.section--mist .section__rings { --rings: #E3EEF1; }
.section__chevron { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 120%; width: auto; max-width: 42vw; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--about { grid-template-columns: .82fr 1.18fr; }
  .split--book { grid-template-columns: 1.2fr .8fr; }
  .split--guides { grid-template-columns: 1.15fr .85fr; }
}

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; color: #fff; background: var(--deep); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 34%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  /* Warm, light veil (PM, 05/11/2026): a little contrast against the cold petrol of the page. */
  background: linear-gradient(270deg, rgba(32,22,5,.59) 0%, rgba(54,43,0,.45) 36%, rgba(91,53,13,.14) 66%, rgba(24,12,0,.27) 100%);
}
/* Phone: the text sits over the lower half of the photo, so the same warm tones run top → bottom, denser where the text is. */
@media (max-width: 899.98px) { .hero__media::after { background: linear-gradient(180deg, rgba(24,12,0,.2) 0%, rgba(32,22,5,.55) 45%, rgba(32,22,5,.82) 75%); } }
.hero__inner { display: flex; justify-content: flex-end; align-items: center; min-height: min(84vh, 820px); padding-block: clamp(7rem, 15vw, 11rem) clamp(6.5rem, 12vw, 10rem); }
@media (max-width: 899.98px) { .hero__inner { padding-top: 15rem; } }
.hero__text { max-width: 620px; text-shadow: 0 1px 14px rgba(20,12,2,.45); }
.hero__text .btn { text-shadow: none; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: rgba(255,255,255,.9); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 110px); }

/* the petrol "Odontoiatria Speciale" panel */
.feature-panel {
  position: relative; overflow: hidden; isolation: isolate; color: rgba(255,255,255,.9);
  background: var(--petrol); border-radius: var(--r) var(--apex) var(--r) var(--r);
  padding: clamp(2rem, 5vw, 3.6rem);
}
.feature-panel__peak { position: absolute; right: -6%; bottom: 0; width: min(70%, 640px); height: auto; z-index: -1; opacity: .5;
  --peak-fill: var(--deep); --peak-dot: var(--sky); }
.feature-panel h2 { color: #fff; }
.feature-panel__body { max-width: 760px; }

/* ---------------------------------------------------------------- the four techniques */
.tech-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.4rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r);
  color: var(--ink); text-decoration: none; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.tech-card:hover { color: var(--ink); border-color: var(--petrol); transform: translateY(-2px); box-shadow: var(--shadow); }
.tech-card__level { display: flex; gap: 5px; margin-bottom: .4rem; }
.tech-card__level i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.tech-card__level i.on { background: var(--petrol); }
.tech-card__level i.on:last-of-type { background: var(--sky); }
.tech-card__title { font-size: 1.14rem; margin: 0; color: var(--petrol); }
.tech-card__text { font-size: .94rem; color: var(--ink-2); margin: 0; flex: 1; }
.tech-card__more { margin-top: .6rem; font-weight: 600; font-size: .92rem; color: var(--petrol); display: inline-flex; align-items: center; gap: .4rem; }
.tech-card__more::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .18s; }
.tech-card:hover .tech-card__more::after { transform: translateX(4px) rotate(45deg); }
.tech-legend { margin: 1rem 0 0; font-size: .9rem; color: var(--ink-3); display: flex; align-items: center; gap: .6rem; }
.tech-legend::before { content: ""; flex: none; width: 46px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--line), var(--petrol) 70%, var(--sky)); }

/* ---------------------------------------------------------------- about: the arched portrait */
.arch { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 999px 999px var(--r) var(--r); background: var(--mist); }
.albo-line { font-size: .92rem; color: var(--ink-3); border-left: 3px solid var(--sky); padding-left: .9rem; }

/* ---------------------------------------------------------------- book */
.section--book { background: #fff; }
.book { justify-self: center; position: relative; }
.book img { width: min(300px, 70vw); box-shadow: 18px 18px 0 var(--mist), var(--shadow); border-radius: 2px; }

/* ---------------------------------------------------------------- quote */
.quote { position: relative; background: var(--deep); color: #fff; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem); }
.quote::before { content: ""; position: absolute; width: 380px; aspect-ratio: 1; border-radius: 50%; border: 70px solid rgba(255,255,255,.05); left: -140px; top: -170px; }
.quote::after { content: ""; position: absolute; width: 70px; aspect-ratio: 1; border-radius: 50%; background: var(--sky); right: 12%; bottom: 22%; opacity: .9; }
.quote__fig { position: relative; margin: 0 auto; max-width: 860px; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem); line-height: 1.4; font-style: italic; margin: 0; text-wrap: balance; }
.quote figcaption { margin-top: 1rem; color: var(--sky); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }

/* ---------------------------------------------------------------- cards (blog) */
.card-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r); overflow: hidden; transition: border-color .18s, box-shadow .18s; }
.card:hover { border-color: #b9d0d8; box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .5rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--petrol); }
.card__text { font-size: .94rem; color: var(--ink-2); margin: 0; }
.post-meta { font-size: .84rem; color: var(--ink-3); margin: 0 0 .5rem; }
.post-meta--light { color: rgba(255,255,255,.8); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 600; }
.pagination .is-current { background: var(--petrol); border-color: var(--petrol); color: #fff; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--petrol); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, var(--petrol) 0%, var(--deep) 100%); }
.page-hero__peak { position: absolute; right: -4%; bottom: 0; width: min(62%, 700px); height: auto; z-index: -1;
  --peak-fill: rgba(255,255,255,.07); --peak-sheen: #fff; --peak-dot: var(--sky); }
@media (max-width: 699.98px) { .page-hero__peak { width: 110%; right: -40%; opacity: .7; } }
.page-hero__body { padding-block: clamp(3rem, 7vw, 5rem) clamp(3.5rem, 8vw, 5.8rem); }
.page-hero h1 { color: #fff; max-width: 22ch; margin-bottom: .35em; }
.page-hero__lead { font-size: clamp(1.04rem, 1rem + .3vw, 1.18rem); color: rgba(255,255,255,.9); max-width: 62ch; }
.page-hero__lead p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- content + aside */
.with-aside { display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 330px; }
  .with-aside--left { grid-template-columns: 300px minmax(0, 1fr); }
  .with-aside--left > .aside { order: -1; }
}
.aside { display: grid; gap: 1.2rem; }
.aside__box { position: relative; overflow: hidden; isolation: isolate; padding: 1.4rem 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r); background: #fff; }
.aside__box p { font-size: .95rem; color: var(--ink-2); }
.aside__title { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin: 0 0 .9rem; }
.aside__list { list-style: none; margin: 0; padding: 0; }
.aside__list li + li { border-top: 1px solid var(--line); }
.aside__list a { display: block; padding: .6rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.aside__list a:hover { color: var(--petrol); }
.aside__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-weight: 600; font-size: .94rem; text-decoration: none; }
.aside__more::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.aside__box--cta { background: var(--deep); border-color: var(--deep); color: #fff; }
.aside__box--cta .aside__title { color: var(--sky); }
.aside__box--cta p { color: rgba(255,255,255,.88); }
.aside__peak { position: absolute; right: -30%; bottom: 0; width: 120%; height: auto; z-index: -1; --peak-fill: rgba(255,255,255,.06); --peak-sheen: #fff; --peak-dot: transparent; }
.aside__tel { display: block; text-align: center; margin-top: .8rem; color: #fff; font-weight: 600; text-decoration: none; }
.aside__tel:hover { color: var(--sky); }

/* numbered list of the techniques: a "depth" line with dots */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.steps li { position: relative; counter-increment: st; padding-left: 2rem; }
.steps li::before { content: ""; position: absolute; left: 4px; top: .78rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--petrol); }
.steps li.is-current::before { background: var(--sky); border-color: var(--sky); }
.steps a { display: block; padding: .45rem 0; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.4; }
.steps a:hover, .steps .is-current a { color: var(--petrol); font-weight: 600; }

/* chapter index */
.toc { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.toc li { counter-increment: ch; }
.toc a { display: grid; grid-template-columns: 2rem 1fr; gap: .3rem; padding: .48rem 0; text-decoration: none; color: var(--ink-2); font-size: .93rem; line-height: 1.4; border-top: 1px solid var(--line); }
.toc li:first-child a { border-top: 0; }
.toc a::before { content: counter(ch, decimal-leading-zero); color: var(--sky); font-weight: 600; font-size: .85rem; padding-top: .05rem; }
.toc a:hover { color: var(--petrol); }
.toc .is-current a { color: var(--petrol); font-weight: 600; }
.toc .is-current a::before { color: var(--petrol); }
@media (max-width: 999.98px) { .aside__box--index .toc { columns: 2 260px; column-gap: 1.6rem; } .toc li { break-inside: avoid; } .toc li a { border-top: 0; border-bottom: 1px solid var(--line); } }

.pager { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r); text-decoration: none; color: var(--ink); transition: border-color .18s; }
.pager a:hover { border-color: var(--petrol); }
.pager__next { text-align: right; grid-column: 2; }
@media (max-width: 699.98px) { .pager__next { grid-column: auto; } }
.pager__label { display: block; font-size: .8rem; color: var(--petrol); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pager__title { display: block; font-weight: 600; line-height: 1.35; margin-top: .2rem; }

/* ---------------------------------------------------------------- prose */
.prose { max-width: 72ch; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; color: var(--petrol); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--sky); }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.3rem; border-left: 4px solid var(--sky); background: var(--mist); border-radius: 0 var(--apex) 0 0; color: var(--ink-2); }
.prose img { margin: 1.4em 0; border-radius: var(--r); }
.prose img.alignright { float: right; width: min(42%, 320px); margin: .3em 0 1em 1.6em; border-radius: var(--r) var(--apex) var(--r) var(--r); }
.prose img.alignleft  { float: left;  width: min(42%, 320px); margin: .3em 1.6em 1em 0; }
@media (max-width: 599.98px) { .prose img.alignright, .prose img.alignleft { float: none; width: 100%; margin: 1em 0; } }
.prose::after { content: ""; display: table; clear: both; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose--article { font-size: 1.04rem; }
.prose--light { color: rgba(255,255,255,.9); }
.prose--light strong { color: #fff; }
/* Lists that are checklists (procedure steps): a dot instead of a bullet. */
.prose--checks ul { list-style: none; padding-left: 0; }
.prose--checks ul li { position: relative; padding-left: 1.7rem; }
.prose--checks ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); }
.prose--legal { font-size: .98rem; }
.prose--legal h2 { font-size: 1.3rem; }
.legal-updated { margin-top: 2.5rem; font-size: .88rem; color: var(--ink-3); }

/* ---------------------------------------------------------------- accordion (CV) */
.accordion { display: grid; gap: .8rem; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r); }
.accordion__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; font-weight: 600; font-size: 1.12rem; color: var(--petrol);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mist) no-repeat center / 12px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23186C87' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__body { padding: 0 1.4rem 1.3rem; max-width: none; }

/* ---------------------------------------------------------------- guides */
.frame { position: relative; margin: 0; max-width: 480px; justify-self: center; }
.frame img { width: 100%; border-radius: var(--r) var(--apex) var(--r) var(--r); }
.frame::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--sky); border-radius: var(--r) var(--apex) var(--r) var(--r); z-index: -1; }
.split--guides { isolation: isolate; }
.guide-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem 1.5rem 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r);
  text-decoration: none; color: var(--ink); transition: border-color .18s, transform .18s, box-shadow .18s;
}
.guide-card:hover { color: var(--ink); border-color: var(--petrol); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card__num { position: absolute; right: -10px; top: -26px; font-size: 7rem; font-weight: 600; line-height: 1; color: var(--mist); z-index: 0; }
.guide-card > :not(.guide-card__num) { position: relative; z-index: 1; }
.guide-card__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.guide-card__title { font-size: 1.3rem; font-weight: 600; line-height: 1.25; margin-bottom: 1rem; }
.guide-card__dl { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--petrol); }
.guide-card__dl svg { width: 20px; height: 20px; }
.guide-card__dl small { font-weight: 400; color: var(--ink-3); }

/* ---------------------------------------------------------------- contact page */
.contact-grid { display: grid; gap: 1.4rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.contact-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; align-content: start; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.info-card { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r) var(--apex) var(--r) var(--r); background: #fff; }
.info-card--wide { grid-column: 1 / -1; background: var(--mist); border-color: var(--mist); }
.info-card--wide h2 { font-size: 1.2rem; }
.info-card__title { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin: 0 0 .6rem; }
.info-card p { margin: 0 0 .6rem; }
.info-card__link { font-weight: 600; font-size: .94rem; }
.map { position: relative; min-height: 380px; border-radius: var(--r) var(--apex) var(--r) var(--r); overflow: hidden; background: var(--mist); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: relative; isolation: isolate; height: 100%; min-height: 380px; display: flex; flex-direction: column; justify-content: center; padding: 2rem; overflow: hidden; }
.map__consent p { max-width: 46ch; }
.map__peak { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: -1; --peak-fill: #DCEBF0; --peak-sheen: #fff; --peak-dot: transparent; }

/* ---------------------------------------------------------------- contact band + form */
.contact-band { position: relative; isolation: isolate; overflow: hidden; color: rgba(255,255,255,.9);
  background: linear-gradient(180deg, var(--petrol) 0%, var(--deep) 100%); padding-block: clamp(3.5rem, 7vw, 6rem); }
.contact-band__peak { position: absolute; right: -8%; top: 0; width: min(75%, 900px); height: auto; z-index: -1; transform: scaleY(-1);
  --peak-fill: rgba(255,255,255,.06); --peak-sheen: #fff; --peak-dot: var(--sky); }
.contact-band--inline { background: var(--mist); color: var(--ink); }
.contact-band__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .contact-band__grid { grid-template-columns: .8fr 1.2fr; } }
.contact-band h2 { color: #fff; }
.contact-band--inline h2 { color: var(--ink); }
.contact-band--inline .eyebrow--light { color: var(--petrol); }
.contact-band__text { font-size: 1.08rem; }
.contact-band__direct { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.contact-band__direct a { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-band__direct svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.12); flex: none; }
.contact-band__direct a:hover svg { background: var(--sky); }
.contact-band--inline .contact-band__direct a { color: var(--petrol); }
.contact-band--inline .contact-band__direct svg { background: #fff; }
.contact-band__form { background: #fff; color: var(--ink); padding: clamp(1.4rem, 3.5vw, 2.4rem); border-radius: var(--r) var(--apex) var(--r) var(--r); }

.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
.field__label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.req { color: var(--err); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .78rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #B9CCD3; border-radius: var(--r); transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #7A8D95; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(24,108,135,.18); }
.field textarea { resize: vertical; min-height: 130px; }
.field small { display: block; color: var(--ink-3); font-size: .82rem; margin-top: .3rem; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .92rem; color: var(--ink-2); }
.field--check input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--petrol); }
.field--captcha__row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.field--captcha input { max-width: 120px; flex: none; }
.field--captcha__row small { margin: 0; flex: 1 1 220px; }
.form__note { margin: .9rem 0 0; font-size: .84rem; color: var(--ink-3); }
.alert { padding: .9rem 1.1rem; border-radius: var(--r); margin-bottom: 1rem; font-size: .97rem; }
.alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.alert--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #BFE3CB; }
.alert--err { background: var(--err-bg); color: var(--err); border: 1px solid #F3C4C0; }

/* ---------------------------------------------------------------- single post */
.post-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--petrol), var(--deep)); }
.post-head__peak { position: absolute; right: -4%; bottom: 0; width: min(55%, 620px); height: auto; z-index: -1; --peak-fill: rgba(255,255,255,.07); --peak-sheen: #fff; }
.post-head__inner { padding-block: clamp(2.6rem, 6vw, 4.2rem) clamp(5rem, 10vw, 7.5rem); }
.post-head h1 { color: #fff; max-width: 26ch; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.section--post { padding-top: 0; overflow: visible; }
.post__cover { margin: calc(-1 * clamp(3.5rem, 8vw, 5.5rem)) 0 2rem; position: relative; z-index: 2; }
.post__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r) var(--apex) var(--r) var(--r); box-shadow: var(--shadow); background: var(--mist); }
.section--post .aside { margin-top: 2rem; }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; isolation: isolate; overflow: hidden; color: rgba(255,255,255,.82); font-size: .95rem;
  background: linear-gradient(180deg, var(--deep) 0%, var(--abyss) 100%); padding: clamp(3rem, 6vw, 4.5rem) 0 calc(1.4rem + 64px); }
@media (min-width: 900px) { .site-footer { padding-bottom: 1.4rem; } }
.site-footer__peak { position: absolute; left: -10%; bottom: 0; width: min(70%, 900px); height: auto; z-index: -1; opacity: .9;
  --peak-fill: rgba(255,255,255,.035); --peak-sheen: #fff; --peak-dot: rgba(82,178,209,.35); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } }
.footer__logo { width: 260px; }
.footer__albo { margin: 1rem 0; font-size: .9rem; max-width: 36ch; }
.footer__badge { display: inline-block; background: #fff; padding: 6px; border-radius: var(--r); }
.footer__badge:hover { outline: 2px solid var(--sky); }
.footer__badge img { width: 220px; }
.footer__title { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin: 0 0 1rem; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__social { display: inline-flex; align-items: center; gap: .5rem; }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.footer__linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #fff; cursor: pointer; }
.footer__linkbtn:hover { color: var(--sky); text-decoration: underline; }
.footer__note { margin: 1rem 0 0; font-size: .82rem; color: rgba(255,255,255,.62); }
.footer__credit { margin: .4rem 0 0; font-size: .82rem; }
.footer__credit { display: flex; flex-wrap: wrap; gap: .2rem .9rem; }
/* The only links inside running text in the footer: underlined (playbook footer §5). */
.footer__credit a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: .18em; }

/* ---------------------------------------------------------------- WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 55; display: inline-flex; align-items: center; gap: .55rem;
  height: 54px; padding: 0 15px; border-radius: 27px; background: var(--wa); color: var(--wa-ink); text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.2); font-weight: 600; font-size: .92rem;
}
.wa-float:hover { color: var(--wa-ink); background: #16AE00; }
.wa-float__label { text-shadow: 0 1px 2px rgba(0,60,0,.45); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__label { display: none; }
@media (min-width: 900px) { .wa-float__label { display: inline; } }
body.cookiebar-open .wa-float { bottom: calc(var(--cookiebar-h, 0px) + 16px); }

/* ---------------------------------------------------------------- cookie bar */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--abyss); color: rgba(255,255,255,.9); border-top: 3px solid var(--sky); font-size: .92rem; }
.cookiebar[hidden] { display: none; }
.cookiebar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem; }
.cookiebar__text { flex: 1 1 520px; }
.cookiebar__text p { margin: 0; }
.cookiebar__title { font-size: 1rem; color: #fff; margin: 0 0 .2rem; }
.cookiebar a { color: #fff; }
.cookiebar__actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cookiebar__btn { background: #fff; color: var(--deep); min-width: 9.5rem; }
.cookiebar__btn:hover { background: var(--sky-soft); color: var(--deep); }

/* ---------------------------------------------------------------- privacy dialog */
.sheet { padding: 0; border: 0; background: transparent; color: var(--ink); width: 100%; max-width: 100%; max-height: 88svh; margin: auto 0 0; overscroll-behavior: contain; }
.sheet::backdrop { background: rgba(7, 48, 62, .6); }
.sheet__box { display: flex; flex-direction: column; max-height: 88svh; background: #fff; border-radius: var(--apex) var(--apex) 0 0; box-shadow: var(--shadow); }
.sheet[open] .sheet__box { animation: sheet-in .28s ease backwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(.75rem) scale(.98); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.3rem 1rem; border-bottom: 1px solid var(--line); }
.sheet__title { font-size: 1.25rem; margin: 0; }
.sheet__close { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--mist); border: 1px solid var(--line); color: var(--petrol); cursor: pointer; }
.sheet__close svg { width: 1rem; height: 1rem; }
.sheet__body { padding: 1.2rem 1.3rem; overflow-y: auto; overscroll-behavior: contain; font-size: .97rem; max-width: none; }
.sheet__body h2 { font-size: 1.1rem; margin-top: 1.4rem; }
.sheet__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.3rem max(.9rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .sheet { width: min(44rem, calc(100% - 3rem)); max-height: 82vh; margin: auto; }
  .sheet__box { max-height: 82vh; border-radius: var(--r) var(--apex) var(--r) var(--r); }
}

/* ---------------------------------------------------------------- error page */
.error-page { position: relative; isolation: isolate; overflow: hidden; background: var(--mist); }
.error-page__peak { position: absolute; right: -6%; bottom: 0; width: min(70%, 760px); height: auto; z-index: -1; --peak-fill: #DCEBF0; --peak-sheen: #fff; }
.error-page__inner { padding-block: clamp(4rem, 10vw, 8rem); }
.error-page__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 600; line-height: 1; color: var(--petrol); margin: 0 0 .5rem; }

/* ---------------------------------------------------------------- links on dark surfaces
   The global a:hover turns links dark petrol: invisible on the drawer, the petrol bands and
   the cookie bar (seen on the phone menu, PM 05/11/2026). On dark, hover = sky, focus as usual. */
@media (max-width: 1099.98px) {
  .nav__link:hover, .nav__link:focus-visible, .nav__sub a:hover, .nav__sub a:focus-visible { color: var(--sky); }
  .nav__item.is-active > .nav__link:hover { color: var(--sky); }
}
.eyebrow--light a:hover, .post-meta--light a:hover,
.contact-band:not(.contact-band--inline) .contact-band__direct a:hover,
.cookiebar a:hover, .aside__box--cta a:not(.btn):hover { color: var(--sky); }
