/* =========================================================
   Emitel – foglio di stile del sito statico
   Struttura: token · base · layout · header/nav · hero · componenti · form · footer · utility
   ========================================================= */

:root {
  --brand: #6c9ca8;          /* azzurro-petrolio del logo */
  --brand-strong: #44788a;   /* versione scura per testi e bottoni (contrasto AA) */
  --brand-deep: #2c5361;
  --brand-tint: #eef4f6;
  --brand-tint-2: #dce8ec;
  --red: #c8371d;            /* quadratini del logo */
  --green: #7fa98f;
  --yellow: #d0ad1a;

  --ink: #1f2b31;
  --text: #3d4a50;
  --muted: #6b787e;
  --line: #e1e7ea;
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --dark: #1d2a30;

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 40, 50, .06), 0 6px 20px rgba(20, 40, 50, .07);
  --shadow-hover: 0 2px 4px rgba(20, 40, 50, .08), 0 14px 34px rgba(20, 40, 50, .12);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 1.6em 0 .6em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 300; letter-spacing: .01em; text-transform: uppercase; margin: 0; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
li::marker { color: var(--brand); }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.5em; border: 2px solid var(--brand-strong); border-radius: 999px; background: transparent; color: var(--brand-strong); font: 600 .875rem/1.2 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn--primary { background: var(--brand-strong); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--brand-deep); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--ghost { min-height: 40px; padding: .55em 1.2em; font-size: .78rem; }

/* ---------- topbar ---------- */
.topbar { background: var(--dark); color: #c9d4d8; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: flex-end; min-height: 38px; align-items: center; }
.topbar__info { display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar__info li { margin: 0; display: flex; align-items: center; }
.topbar a { color: #e6eef1; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; fill: var(--brand); }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(20, 40, 50, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand img { width: auto; height: 58px; }

.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; margin: 0; }
.nav__item > a { display: block; padding: .6rem .75rem; color: var(--ink); text-decoration: none; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 8px; }
.nav__item > a:hover, .nav__item.is-active > a { color: var(--brand-strong); }
.nav__item.is-active > a { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav__item--ext > a { border: 1.5px solid var(--brand-tint-2); border-radius: 999px; padding: .45rem .9rem; color: var(--brand-strong); }
.nav__item--ext > a:hover { background: var(--brand-tint); border-color: var(--brand); }
.nav__item--ext:first-of-type { margin-left: .5rem; }
.nav__sub-toggle { display: none; }
.nav__sub { position: absolute; top: 100%; left: -.5rem; min-width: 290px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .92rem; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--brand-tint); color: var(--brand-deep); }
.has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; align-items: center; gap: .6rem; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .8rem var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  :root { --header-h: 72px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; top: var(--nav-top, 110px); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 2rem; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
  .nav__item > a { flex: 1; padding: 1rem .25rem; font-size: .95rem; }
  .nav__item.is-active > a { box-shadow: none; }
  .nav__sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: var(--bg-soft); border-radius: 8px; cursor: pointer; }
  .nav__sub-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; transition: transform .2s; }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; }
  .nav__sub.is-open { display: block; }
  .has-sub:hover > .nav__sub { opacity: 1; }
  .nav__item--ext { border: 0; margin-top: .75rem; }
  .nav__item--ext:first-of-type { margin-left: 0; margin-top: 1.25rem; }
  .nav__item--ext > a { text-align: center; padding: .85rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topbar__info .topbar__hours { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- hero home ---------- */
.hero { padding: clamp(16px, 3vw, 32px) 0 0; }
.hero .container { position: relative; }
.hero__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 1; min-height: 340px; background: var(--dark); overflow: hidden; }
.hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 34, 42, .86) 0%, rgba(18, 34, 42, .55) 45%, rgba(18, 34, 42, .05) 100%); }
.hero__caption { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 560px; padding: clamp(24px, 5vw, 64px); color: #e9f1f3; }
.hero__title { margin: 0 0 .5rem; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 600; }
.hero__title a { color: #fff; text-decoration: none; }
.hero__caption p { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); margin-bottom: 1.4rem; }
.hero__caption .btn--primary { background: var(--brand); border-color: var(--brand); }
.hero__caption .btn--primary:hover { background: #fff; border-color: #fff; color: var(--brand-deep); }
.hero__controls { display: flex; justify-content: center; align-items: center; gap: .5rem; padding: 1rem 0 0; }
.hero__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--brand-tint-2); cursor: pointer; transition: width .25s, background .25s; }
.hero__dot.is-active { width: 28px; background: var(--brand-strong); }
.hero__arrow { width: 36px; height: 36px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.hero__arrow:hover { border-color: var(--brand); color: var(--brand-strong); }
@media (max-width: 720px) {
  .hero__slide { aspect-ratio: auto; min-height: 420px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(18, 34, 42, .92) 0%, rgba(18, 34, 42, .55) 60%, rgba(18, 34, 42, .2) 100%); }
  .hero__caption { justify-content: flex-end; }
}

/* ---------- home: bande ---------- */
.c-band { padding: clamp(48px, 7vw, 88px) 0; }
.c-band--alt { background: var(--bg-soft); }
.is-home .c-band:first-of-type { padding-top: clamp(40px, 6vw, 72px); }
.c-block--center { text-align: center; }
.c-block--center > p, .c-block--center .c-grid + p, .c-block--center > h3 { max-width: 880px; margin-left: auto; margin-right: auto; }
.c-block--center h1 { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); margin-bottom: 1.2rem; }
.c-block--center h1::after, .c-block__title::after { content: ""; display: block; width: 66px; height: 6px; margin: .9rem auto 0; background: linear-gradient(90deg, var(--red) 0 33.3%, var(--green) 33.3% 66.6%, var(--yellow) 66.6%); border-radius: 2px; }
.c-block--center > h3 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 auto 2rem; }
.c-band--lavoriamocon img { max-height: 70px; width: auto; margin: 0 auto; }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--brand-tint) 0%, #f8fbfc 70%); border-bottom: 1px solid var(--line); padding: clamp(28px, 5vw, 56px) 0; }
.page-hero h1 { color: var(--ink); max-width: 900px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--brand-strong); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { color: #a9b6bb; }

/* ---------- layout pagine ---------- */
.page-body { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.layout--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.layout--narrow .layout__main { max-width: 860px; }
.layout__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
@media (max-width: 960px) { .layout--sidebar { grid-template-columns: 1fr; } .layout__side { position: static; } }

.c-block { margin-bottom: 2.5rem; }
.c-block:last-child { margin-bottom: 0; }
.layout__main > .c-block > h2:first-child, .layout__main > .c-block > p:first-child + h2 { margin-top: 0; }
.c-block__title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); text-transform: uppercase; letter-spacing: .05em; font-weight: 400; margin: 0 0 2rem; }
.layout .c-block__title { text-align: left; }
.layout .c-block__title::after { margin-left: 0; }
.c-block--side { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin: 0; font-size: .98rem; }
.c-block--side .c-block__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.c-block--side .c-block__title::after { width: 44px; height: 4px; margin-top: .6rem; }
.c-block--side h4 { font-size: 1rem; }
.c-block--side img { border-radius: var(--radius); }
.c-img-center { margin-left: auto; margin-right: auto; }
.layout__main img { border-radius: var(--radius); margin: 1.25rem 0; }
.layout__main .c-card img, .layout__main .c-figure img { margin: 0; }
.layout__main > .c-block > p > img, .layout__main > .c-block > img { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--ink); }

/* ---------- griglie e card ---------- */
.c-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); margin: 0 0 2rem; text-align: left; }
.c-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.c-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.c-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .c-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .c-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .c-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .c-grid--3, .c-grid--4, .c-grid--2 { grid-template-columns: 1fr; } .c-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.c-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; transition: box-shadow .2s, transform .2s, border-color .2s; }
.c-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.c-card__title { font-size: 1.08rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .6rem; }
.c-card__title a { color: var(--ink); text-decoration: none; }
.c-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.c-card:hover .c-card__title a { color: var(--brand-strong); }
.c-card__body { font-size: .95rem; color: var(--muted); }
.c-card__body p:last-child { margin-bottom: 0; }
.c-card--icon .c-card__media { width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 1.1rem; border-radius: 20px; background: var(--brand-tint); }
.c-card--icon .c-card__media img { width: 56px; height: 56px; object-fit: contain; }
.c-block--center .c-card--icon { align-items: center; text-align: center; }
.c-grid--5 .c-card { padding: 1.4rem 1rem; }
.c-grid--5 .c-card__title { font-size: .92rem; margin: 0; }
.c-grid--5 .c-card--icon .c-card__media { width: 68px; height: 68px; border-radius: 16px; }
.c-grid--5 .c-card--icon .c-card__media img { width: 44px; height: 44px; }

.c-card--news { padding: 0; overflow: hidden; }
.c-card--news .c-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-soft); }
.c-card--news .c-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.c-card--news:hover .c-card__media img { transform: scale(1.04); }
.c-card--news .c-card__title { padding: 1.25rem 1.4rem 0; font-size: 1.02rem; text-transform: none; letter-spacing: 0; line-height: 1.4; }
.c-card--news .c-card__body { padding: 0 1.4rem; font-size: .92rem; }
.c-card--news .c-card__body .lead, .c-card--news .c-card__body p:first-child strong { font-size: .95rem; color: var(--text); font-weight: 600; }
.c-card--news .c-card__body .lead { margin-bottom: .5em; }
.c-more { display: inline-flex; align-items: center; gap: .35em; margin-top: auto; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.c-more::after { content: "→"; transition: transform .2s; }
.c-card:hover .c-more::after, .c-more:hover::after { transform: translateX(3px); }
.c-card--news .c-more { padding: 1rem 1.4rem 1.4rem; position: relative; z-index: 1; }
.c-card--news .c-card__body { flex: 1; }

/* teaser elenco tag */
.c-teaser { display: grid; grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "media date" "media title" "media body" "media tags" "media more"; column-gap: 1.75rem; align-items: start; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.c-teaser:first-child { padding-top: 0; }
.c-teaser .c-date { grid-area: date; margin: 0 0 .3rem; }
.c-teaser h2 { grid-area: title; font-size: 1.3rem; margin: 0 0 .6rem; }
.c-teaser h2 a { color: var(--ink); text-decoration: none; }
.c-teaser h2 a:hover { color: var(--brand-strong); }
.c-teaser .c-figure { grid-area: media; margin: 0; }
.c-teaser .c-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin: 0; }
.c-teaser .c-tags { grid-area: tags; }
.c-teaser .c-more { grid-area: more; margin-top: .6rem; }
.c-teaser__body { grid-area: body; font-size: .97rem; }
.c-teaser__body p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .c-teaser { grid-template-columns: 1fr; grid-template-areas: none; } .c-teaser > * { grid-area: auto !important; grid-column: 1 !important; } .c-teaser .c-figure img { aspect-ratio: 16 / 9; margin-bottom: 1rem; } }

/* articolo */
.c-date { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-strong); margin: 0 0 1rem; }
.c-figure { margin: 0 0 1.75rem; }
.c-figure img { width: 100%; max-height: 520px; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius-lg); }
.c-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1.5rem 0 0; }
.c-tags__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: .3rem; }
.c-tag { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: var(--brand-tint); color: var(--brand-deep); font-size: .85rem; text-decoration: none; }
.c-tag:hover { background: var(--brand-tint-2); }
.is-article .layout__main { font-size: 1.07rem; }

/* paginazione */
.c-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2.5rem 0 0; }
.c-pager__link, .c-pager__current { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .9rem; }
.c-pager__current { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.c-pager__link:hover { border-color: var(--brand); background: var(--brand-tint); }

/* tabelle ed embed */
.c-table { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.c-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.c-table th, .c-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.c-table tr:last-child > * { border-bottom: 0; }
.c-table th { background: var(--bg-soft); color: var(--ink); }
.c-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.c-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-embed--map { aspect-ratio: 4 / 3; }

/* ---------- form ---------- */
.c-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); margin: 0 0 2rem; }
.c-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.c-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.c-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .c-form__grid { grid-template-columns: 1fr; } }
.c-field > label, .c-field legend { font-size: .9rem; font-weight: 600; color: var(--ink); }
.c-field--group { border: 0; padding: 0; margin: 0; }
.c-field--group legend { margin-bottom: .5rem; padding: 0; }
.c-req { color: var(--red); }
.c-form input[type=text], .c-form input[type=email], .c-form input[type=tel], .c-form select, .c-form textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #cfd9dd; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.c-form textarea { min-height: 150px; resize: vertical; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 4px rgba(108, 156, 168, .22); }
.c-form input[type=file] { padding: .6rem; border: 1.5px dashed #cfd9dd; border-radius: 8px; background: var(--bg-soft); font: inherit; font-size: .95rem; }
.c-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.c-check { display: inline-flex; align-items: flex-start; gap: .6rem; font-size: .97rem; cursor: pointer; }
.c-check input { width: 20px; height: 20px; margin: .2rem 0 0; flex: none; accent-color: var(--brand-strong); }
.c-field--check { padding: 1rem; border-radius: var(--radius); background: var(--bg-soft); }
.c-help { display: block; font-size: .85rem; line-height: 1.55; color: var(--muted); }
.c-help p { margin: .5em 0 0; }
.c-field--check .c-help { padding-left: 1.85rem; }
.c-field.is-invalid input, .c-field.is-invalid select, .c-field.is-invalid textarea { border-color: var(--red); }
.c-field.is-invalid.c-field--check, .c-field.is-invalid.c-field--group { box-shadow: inset 3px 0 0 var(--red); padding-left: 1rem; }
.c-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.c-form__note { margin: 0; font-size: .85rem; color: var(--muted); }
.c-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-form__status:empty { display: none; }
.c-form__status { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 600; }
.c-form__status.is-ok { background: #e7f4ec; color: #1d6b3c; }
.c-form__status.is-error { background: #fbeae6; color: #9a2a14; }
.c-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-strong) 100%); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.cta-band__text { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); font-weight: 300; }
@media (max-width: 600px) { .cta-band__inner { flex-direction: column; text-align: center; } }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-soft); color: var(--text); font-size: .95rem; }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.quick__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .6rem; margin: 0; padding: 1.5rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.quick__item img { height: 50px; width: auto; max-width: 110px; object-fit: contain; }
.quick__item p { margin: 0; flex: 1; font-size: .92rem; color: var(--muted); }
@media (max-width: 1024px) { .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quick__item:last-child { grid-column: 1 / -1; } }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr .9fr; gap: 2rem; padding: clamp(36px, 5vw, 56px) 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 70px; width: auto; }
.footer-title { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 1rem; }
.footer-col p { margin: 0 0 .8rem; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--brand-strong); }
.hours { border-collapse: collapse; width: 100%; }
.hours th, .hours td { text-align: left; padding: .45rem 0; vertical-align: top; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { color: var(--ink); font-weight: 600; padding-right: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.subfooter { background: var(--dark); color: #aebcc1; font-size: .82rem; line-height: 1.8; }
.subfooter .container { padding-top: 1.4rem; padding-bottom: 1.4rem; text-align: center; }
.subfooter p { margin: 0; }
.subfooter strong { color: #e6eef1; font-weight: 600; }
.subfooter a { color: #e6eef1; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand-strong); box-shadow: var(--shadow-hover); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.4; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .site-header, .cta-band, .quick, .to-top, .hero__controls { display: none !important; } }
.c-tag--plain:hover { background: var(--brand-tint); }
