:root {
  --ink: #1f2937;
  --muted: #52606d;
  --line: #e6ddd4;
  --brand: #c2410c;
  --brand-dark: #9a3412;
  --paper: #fcfaf7;
  --surface: #ffffff;
  --soft: #fff1e6;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--brand-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-weight: 750;
}
.skip-link:focus { top: 16px; }
.skip-link:hover { color: #fff; background: #111827; }

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { color: var(--ink); font-size: 1.04rem; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: .94rem; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:last-child { padding: 8px 14px; color: var(--brand-dark); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.nav-links a:focus-visible, .logo:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #0e7490; outline-offset: 3px; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 590px;
  overflow: hidden;
  padding: 108px 0 100px;
  background: linear-gradient(90deg, rgba(255, 247, 237, .98) 0%, rgba(255, 247, 237, .9) 42%, rgba(255, 247, 237, .22) 100%), url('provami-hero.png') center / cover;
  border-bottom: 1px solid #f1d4bd;
}
.hero::after { content: ""; position: absolute; inset: auto 8% 0; height: 1px; background: var(--brand); opacity: .35; }
.hero .wrap { width: min(1160px, calc(100% - 48px)); }
.hero h1 { max-width: 820px; margin: 0 0 26px; font-size: clamp(3rem, 7vw, 6rem); line-height: .99; letter-spacing: -.035em; }
.hero p { max-width: 680px; margin: 0 0 22px; color: #435363; font-size: 1.16rem; line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  color: #fff;
  background: var(--brand-dark);
  border: 1px solid var(--brand-dark);
  border-radius: 999px;
  font: 700 1rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { color: #fff; background: #7c2d12; transform: translateY(-2px); }
.btn-secondary { color: var(--ink); background: rgba(255, 255, 255, .72); border-color: #b9aa9c; }
.btn-secondary:hover { color: var(--ink); background: #fff; }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }

.section { padding: 88px 0; }
.section:nth-of-type(even) { background: #fffaf5; }
.section h2 { max-width: 780px; margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; letter-spacing: -.03em; }
.lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 38px 0 0; padding: 0; list-style: none; counter-reset: method; }
.step { min-height: 118px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: method; }
.step::before { content: counter(method, decimal-leading-zero); margin-bottom: auto; color: var(--brand); font-size: .83rem; font-weight: 800; letter-spacing: .08em; }
.step strong { font-size: 1.02rem; }
.step small { display: block; margin-top: 7px; color: var(--muted); font-size: .88rem; line-height: 1.45; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.card { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; min-height: 184px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.grid > .card:nth-child(4) { grid-column: span 6; }
.grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-four > .card, .grid-four > .card:nth-child(4) { grid-column: auto; }
.card h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.015em; }
.card h3 { display: flex; align-items: center; gap: 9px; }
.card-icon { width: 24px; height: 24px; flex: 0 0 24px; color: var(--brand); }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.card p + p { margin-top: auto; padding-top: 12px; font-size: .94rem; }
.card strong { color: var(--ink); }

.contact { max-width: 920px; margin-top: 34px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .93rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #fff; border: 1px solid #cdbfb2; border-radius: 9px; font: inherit; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(154, 52, 18, .12); outline: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 15px 0; color: var(--muted); font-size: .92rem; }
.check input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; accent-color: var(--brand-dark); }
.form-status { min-height: 1.5em; margin-top: 12px; color: var(--muted); }
.btn-icon { width: 18px; height: 18px; flex: 0 0 18px; }

.footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: .9rem; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer strong { color: var(--ink); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .grid > .card:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 800px) {
  .hero { min-height: auto; padding: 88px 0 76px; background-position: 62% center; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 1120px); }
  .nav-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .nav-links { gap: 12px 18px; }
  .nav-links a:last-child { padding: 0; color: var(--ink); border: 0; font-weight: 400; }
  .hero { padding: 70px 0 62px; background-position: 68% center; }
  .hero .wrap { width: min(100% - 32px, 1120px); }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero p { font-size: 1.08rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 60px 0; }
  .grid, .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .card, .grid > .card:nth-child(4) { grid-column: span 1; min-height: 0; padding: 23px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { min-height: auto; }
  .contact { padding: 22px 18px; }
  .field.full { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
+
/* Editorial footer */
.footer { padding: clamp(52px, 7vw, 82px) 0 24px; color: var(--muted); background: var(--soft); border-top: 1px solid var(--line); }
.footer-inner { display: block; }
.footer-intro { max-width: 620px; padding-bottom: clamp(38px, 5vw, 58px); }
.footer-kicker { margin: 0 0 14px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-intro h2 { max-width: 600px; margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.03; letter-spacing: -.025em; }
.footer-intro > p:last-child { max-width: 46ch; margin: 20px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.footer-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(180px, .8fr); gap: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer-section { min-width: 0; }
.footer-section h3 { margin: 0 0 16px; color: var(--ink); font-size: .73rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .footer-data a { width: fit-content; color: var(--brand-dark, var(--brand)); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s ease; }
.footer-links a:hover, .footer-data a:hover { color: var(--brand); }
.footer-network-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.footer-data address { display: grid; gap: 7px; margin: 0; font-style: normal; font-size: .9rem; line-height: 1.45; }
.footer-data address strong { color: var(--ink); font-size: 1.05rem; }
.footer-data address span { color: var(--muted); }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .76rem; }
@media (max-width: 720px) { .footer-columns { grid-template-columns: 1fr 1fr; gap: 34px 24px; } .footer-data { grid-column: 1 / -1; padding-top: 6px; } .footer-meta { display: grid; gap: 5px; margin-top: 34px; } }
@media (max-width: 480px) { .footer { padding-top: 46px; } .footer-intro h2 { font-size: clamp(1.9rem, 10vw, 2.7rem); } .footer-columns { grid-template-columns: 1fr; gap: 30px; } .footer-data { grid-column: auto; padding-top: 0; } .footer-network-links { grid-template-columns: 1fr 1fr; } .footer-meta { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .footer-links a, .footer-data a { transition: none; } }

/* Legal pages */
.legal { min-height: 52vh; padding: clamp(54px, 8vw, 108px) 0; background: var(--paper); }
.legal-article { max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 64px); color: var(--ink); background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 48px rgba(15, 23, 42, .07); }
.legal-article .eyebrow { margin: 0 0 14px; }
.legal-article h1 { max-width: 720px; margin: 0; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
.legal-article h2 { max-width: 700px; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.legal-article p { max-width: 70ch; margin: 18px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.legal-article h1 + p { max-width: 60ch; margin-top: 24px; font-size: 1.1rem; }
.legal-article a { color: var(--brand, var(--ink)); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-article a:hover { color: var(--brand-2, var(--brand)); }
.legal-article .notice { max-width: 70ch; margin-top: 36px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-actions a { font-weight: 750; }
@media (max-width: 620px) { .legal { padding: 34px 0 58px; }.legal-article { padding: 28px 20px 32px; border-radius: 12px; }.legal-article h1 { font-size: clamp(2.3rem, 13vw, 3.7rem); }.legal-article h2 { margin-top: 38px; padding-top: 18px; }.legal-article p { font-size: .98rem; }.legal-actions { display: grid; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .legal-article a { transition: none; } }

.footer-meta span:first-child { font-weight: 750; }
.footer-meta span:last-child { text-align: right; }
@media (max-width: 480px) { .footer-meta span:last-child { text-align: left; } }

/* Shared network footer and cookie consent */
:root {
  --network-navy: #071b2a;
  --provami-footer: #3b2117;
  --network-paper: #f5f0e7;
  --network-amber: #f2b544;
  --network-coral: #ee6c4d;
  --network-coral-ink: #b44931;
}

.site-footer { color: var(--network-paper); background: var(--provami-footer); border-top: 1px solid rgba(255, 241, 230, .2); }
.footer-grid { display: grid; grid-template-columns: .9fr 1.35fr 1fr; gap: 70px; padding: 28px 0 48px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h2 { margin: 0 0 14px; color: var(--network-paper); font-size: .72rem; font-weight: 800; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.footer-info { align-items: flex-end; text-align: right; }
.footer-column a { color: #f0d6c5; font-size: .88rem; }
.footer-column a:hover { color: #fb923c; }
.site-footer .footer-network-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 8px; width: 100%; }
.footer-data address { display: flex; flex-direction: column; gap: 4px; margin: 0; color: #d7b7a7; font-size: .82rem; font-style: normal; line-height: 1.5; }
.site-footer .footer-data address span { color: #d7b7a7; }
.site-footer .footer-data address strong { color: var(--network-paper); font: 400 1.35rem/1 Georgia, 'Times New Roman', serif; }
.site-footer .footer-data address a { color: var(--network-paper); text-decoration: none; }
.site-footer .footer-data address a:hover { color: #fb923c; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0 22px; color: #d7b7a7; border-top: 1px solid rgba(255, 241, 230, .16); font-size: .75rem; }
.footer-cookie-preferences { padding: 0; color: inherit; background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; text-transform: uppercase; }
.footer-cookie-preferences:hover, .footer-cookie-preferences:focus-visible { color: var(--network-paper); }

.consent-banner { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; color: var(--ink); background: #fffdf8; border: 1px solid rgba(24, 50, 71, .2); box-shadow: 0 18px 60px rgba(7, 27, 42, .24); }
.consent-banner-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); align-items: end; gap: 32px; width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 58px 0 22px; }
.consent-close { position: absolute; top: 14px; right: 0; width: 40px; height: 40px; padding: 9px; }
.consent-close svg { display: block; width: 100%; height: 100%; }
.consent-close path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.consent-copy { max-width: 570px; }
.consent-kicker { margin: 0 0 8px; color: var(--network-coral-ink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.consent-copy h2 { margin: 0 0 8px; font: 400 1.65rem/1 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.consent-copy p:not(.consent-kicker) { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.consent-copy a { color: var(--network-coral-ink); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: grid; min-width: 0; gap: 8px; }
.consent-button { padding: 11px 14px; border: 1px solid var(--network-coral); color: var(--ink); background: transparent; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.consent-button:hover, .consent-button:focus-visible { background: rgba(238, 108, 77, .12); }
.consent-button:focus-visible { outline: 3px solid var(--network-amber); outline-offset: 3px; }
.consent-preferences { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 0 0 22px; }
.consent-preferences h3 { margin: 0 0 12px; font-size: 1rem; }
.consent-category { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(24, 50, 71, .14); font-size: .83rem; }
.consent-category div { display: grid; gap: 4px; }
.consent-category span { color: var(--muted); }
.consent-status { flex: 0 0 auto; color: var(--ink) !important; font-weight: 800; }
body.consent-dialog-open { overflow: hidden; }

/* Legal pages follow the network's information architecture. */
.legal-hero { position: relative; overflow: hidden; color: var(--network-paper); background: var(--provami-footer); }
.legal-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 84% 50%, rgba(255, 179, 112, .2), transparent 34%), linear-gradient(120deg, rgba(59, 33, 23, 0) 54%, rgba(194, 65, 12, .2)); content: ''; pointer-events: none; }
.legal-hero-inner { position: relative; z-index: 1; display: grid; min-height: 390px; align-content: center; padding: 70px 0 78px; }
.legal-hero .legal-label { margin: 0 0 24px; color: var(--network-amber); font-size: .7rem; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.legal-hero h1 { max-width: 760px; margin: 0 0 28px; color: var(--network-paper); font: 400 clamp(3rem, 7vw, 5.5rem)/.9 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.legal-hero p:not(.legal-label) { max-width: 650px; margin: 0; color: #f0d6c5; font-size: 1.12rem; line-height: 1.5; }
.legal { padding: 84px 0 112px; background: var(--paper); }
.legal-article { max-width: 860px; margin: 0; padding: 0; color: var(--ink); background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.legal-article h2 { max-width: 700px; margin: 48px 0 16px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.legal-article p { max-width: 700px; margin: 0 0 18px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal-article strong { color: var(--ink); }
.legal-article a { color: var(--brand-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.legal-article table { width: 100%; margin: 26px 0; border-collapse: collapse; font-size: .88rem; }
.legal-article th, .legal-article td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-article th { color: var(--ink); background: var(--soft); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; padding-block: 28px 44px; }
  .footer-network { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .consent-banner-inner { display: block; width: calc(100% - 40px); padding: 60px 0 18px; }
  .consent-close { top: 12px; right: 0; }
  .consent-actions { margin-top: 18px; }
  .consent-preferences { width: calc(100% - 40px); padding: 0 0 18px; }
  .legal { padding: 64px 0 84px; }
  .legal-article table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-network { grid-column: auto; }
  .footer-info { align-items: flex-start; text-align: left; }
  .site-footer .footer-network-links { grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .footer-bottom { margin-top: 0; }
}
