
:root {
  --orange: #f59e22;
  --orange-strong: #b14f00;
  --orange-soft: #fff0dd;
  --navy: #0a213d;
  --navy-2: #07172b;
  --ink: #171717;
  --muted: #606a73;
  --cream: #f4f0e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: rgba(23, 23, 23, 0.13);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(5, 21, 38, 0.16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Inter, Arial, sans-serif;
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--orange); color: #111; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 99999;
  background: #fff;
  color: #111;
  padding: 12px 16px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 124px 0; }
.section-tight { padding: 84px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow-light { color: rgba(255,255,255,.68); }
.display-title,
.section-title,
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .95;
}
.section-title { font-size: clamp(52px, 6.7vw, 98px); }
.section-title em, .display-title em, .page-title em { font-weight: 500; }
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}
.orange { color: var(--orange); }

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: grid; place-items: center; text-align: center; width: min(320px, 76vw); }
.loader-logo-wrap {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.13);
  margin-bottom: 20px;
}
.loader-logo-wrap img { width: 70px; height: 70px; object-fit: contain; }
.loader-name { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.loader-sub { margin-top: 3px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.loader-track { width: 126px; height: 2px; margin-top: 22px; background: rgba(255,255,255,.28); overflow: hidden; border-radius: 999px; }
.loader-track span { display: block; width: 100%; height: 100%; background: #fff; transform-origin: left; animation: loaderProgress 1.25s cubic-bezier(.4,0,.2,1) both; }
@keyframes loaderProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Floating navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 18px 28px 0;
  pointer-events: none;
}
.nav-shell {
  width: 100%;
  max-width: 1180px;
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, min-height .35s ease;
}
.site-header.scrolled .nav-shell { 
  min-height: 68px;
  padding: 0 22px;
  background: rgba(5, 18, 35, .38);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 18px 48px rgba(8, 18, 33, .22);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 56px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.brand-full img { width: 215px; height: auto; object-fit: contain; display:block; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 10px; margin-left: auto; margin-right: auto; }
.nav-links a {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: color .25s ease, opacity .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-quote {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 196px;
  padding: 0 22px;
  border: 1px solid rgba(245,158,34,.9);
  border-radius: 16px;
  background: var(--orange);
  color: #0c1622;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-quote:hover { transform: translateY(-1px); background: #ffb546; border-color:#ffb546; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 13px;
  background: rgba(10,33,61,.07);
  position: relative;
}
.menu-button span, .menu-button::before, .menu-button::after {
  content: '';
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1.5px;
  background: #111;
  transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.menu-button::before { top: 16px; }
.menu-button span { top: 22px; }
.menu-button::after { top: 28px; }
.menu-button[aria-expanded="true"]::before { top: 22px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::after { top: 22px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #111; }
.btn-orange:hover { background: #ffad35; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: #111; }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero-home {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #243b4f;
  color: #fff;
}
.hero-video, .hero-video video, .hero-video .hero-poster, .hero-video .hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video .hero-poster { z-index: 0; }
.hero-video .hero-poster img { object-fit: cover; object-position: center; }
.hero-video video { z-index: 1; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,12,22,.34) 0%, rgba(4,12,22,.12) 34%, rgba(4,12,22,.45) 100%),
    radial-gradient(circle at 50% 48%, rgba(0,0,0,0) 20%, rgba(0,0,0,.20) 90%);
}
.hero-grain { position: absolute; inset: 0; opacity: .11; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
.hero-center {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin-top: -18px;
  text-align: center;
}
.hero-kicker {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.hero-title {
  margin: 0 auto;
  max-width: 1100px;
  font-family: var(--serif);
  font-size: clamp(58px, 7.8vw, 118px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 500;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0,0,0,.18);
}
.hero-title .hero-orange { color: var(--orange); }
.hero-title em { display: block; font-weight: 500; }
.hero-sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 16px;
  color: rgba(255,255,255,.82);
}
.hero-action-bar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  min-width: min(420px, calc(100% - 36px));
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 17px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-action-bar span { flex: 1; padding: 0 14px; font-size: 13px; color: rgba(255,255,255,.88); }
.hero-action-bar .btn { min-height: 48px; border-radius: 12px; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.hero-scroll::before { content: ''; width: 36px; height: 1px; background: rgba(255,255,255,.55); }

/* Trust ribbon */
.trust-ribbon { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 30px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; color: var(--navy); }
.trust-item span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

/* Editorial intro */
.intro-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.intro-copy { padding-top: 16px; }
.intro-copy .lead { max-width: 540px; }
.intro-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Insurance cards */
.insurance-section { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.section-head .lead { max-width: 440px; margin: 0; }
.insurance-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.insurance-card {
  position: relative;
  min-height: 470px;
  grid-column: span 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #222;
  color: #fff;
  isolation: isolate;
}
.insurance-card:nth-child(4), .insurance-card:nth-child(5) { grid-column: span 6; min-height: 430px; }
.insurance-card:nth-child(6), .insurance-card:nth-child(7) { min-height: 410px; }
.insurance-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.insurance-card:hover img { transform: scale(1.045); }
.insurance-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,12,22,.04) 20%, rgba(4,12,22,.83) 100%); }
.card-number { position: absolute; z-index: 2; top: 22px; left: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); color: #111; font-size: 11px; font-weight: 700; }
.card-content { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 24px; }
.card-content h3 { margin: 0; font-family: var(--serif); font-size: 48px; line-height: .95; font-weight: 500; letter-spacing: -.035em; }
.card-content p { max-width: 390px; margin: 12px 0 18px; color: rgba(255,255,255,.75); font-size: 13px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.card-link::after { content: ''; transition: none; }
.insurance-card:hover .card-link::after { transform: none; }

/* Human service */
.human-section { background: #fff; }
.human-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.human-image { min-height: 680px; border-radius: var(--radius-xl); overflow: hidden; }
.human-image img { width: 100%; height: 100%; object-fit: cover; }
.human-copy .section-title { font-size: clamp(56px, 6vw, 88px); }
.human-steps { margin-top: 42px; border-top: 1px solid var(--line); }
.human-step { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.human-step span { color: var(--orange-strong); font-family: var(--serif); font-size: 28px; }
.human-step h3 { margin: 2px 0 6px; font-size: 17px; }
.human-step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Excellence */
.excellence-section { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.excellence-section::before { content: ''; position: absolute; width: 650px; height: 650px; right: -180px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,34,.34), rgba(245,158,34,0) 70%); }
.excellence-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.excellence-copy .lead { color: rgba(255,255,255,.68); max-width: 650px; }
.excellence-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ciege-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; transform: rotate(-3deg); }
.ciege-badge { aspect-ratio: .77; display: grid; align-content: space-between; padding: 32px; border-radius: 28px; background: #fff; color: var(--navy); box-shadow: 0 28px 68px rgba(0,0,0,.25); }
.ciege-badge:nth-child(2) { margin-top: 54px; background: var(--orange); color: #111; }
.ciege-mark { width: 94px; height: 94px; border: 5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 25px; font-weight: 700; }
.ciege-badge strong { font-family: var(--serif); font-size: 46px; line-height: .9; font-weight: 600; }
.ciege-badge span { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; }

/* Reviews */
.reviews-section { background: var(--paper); }
.reviews-top { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: end; }
.rating-block { padding: 34px 0 6px; border-top: 1px solid var(--line); }
.rating-number { font-family: var(--serif); font-size: 88px; line-height: .8; color: var(--orange-strong); }
.stars { margin-top: 17px; letter-spacing: .2em; color: var(--orange-strong); }
.rating-block p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.review-card { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); }
.review-quote { margin: 0; font-family: var(--serif); font-size: 34px; line-height: 1.03; letter-spacing: -.025em; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.review-meta strong { color: var(--ink); }
.review-link { display: inline-flex; margin-top: 24px; font-size: 13px; font-weight: 700; border-bottom: 1px solid currentColor; }

/* Team */
.team-section { background: #e9e9e7; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.team-card { position: relative; min-height: 460px; overflow: hidden; border-radius: 24px; background: #e9e9e7; border: 1px solid rgba(0,0,0,.07); }
.team-card img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; filter: saturate(.96); transition: transform .55s ease; }
.team-card:hover img { transform: scale(1.025); }
.team-name { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); font-weight: 700; font-size: 13px; }

/* Final CTA */
.final-cta { background: var(--orange); color: #111; }
.final-cta-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.final-cta .section-title { font-size: clamp(62px, 7.4vw, 112px); }
.final-cta-side p { margin: 0 0 26px; max-width: 440px; }
.final-cta-side .btn { width: 100%; }

/* Footer */
.site-footer { padding: 76px 0 24px; background: var(--navy-2); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .75fr); gap: 56px; }
.footer-brand .brand { display: inline-flex; color: #111; }
.footer-brand p { max-width: 360px; margin: 20px 0 0; color: rgba(255,255,255,.76); font-size: 13px; }
.footer-col h3 { margin: 0 0 17px; color: rgba(255,255,255,.66); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-col a, .footer-col button { display: block; margin: 0 0 9px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.86); font-size: 13px; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.68); font-size: 11px; }
.footer-bottom a { color: rgba(255,255,255,.86); }

/* Quote modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,12,22,.68); backdrop-filter: blur(8px); }
.modal-panel { position: relative; width: min(960px, 100%); max-height: min(820px, calc(100svh - 40px)); overflow: auto; border-radius: 28px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: start; justify-content: space-between; gap: 30px; padding: 30px 30px 22px; background: rgba(251,250,247,.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-family: var(--serif); font-size: 48px; line-height: .92; font-weight: 500; }
.modal-head p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.modal-close { flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 24px 30px 30px; }
.quote-option { display: grid; grid-template-columns: 46px 1fr; align-items: center; column-gap: 16px; min-height: 88px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.quote-option:hover { transform: translateY(-2px); border-color: rgba(239,125,0,.55); background: var(--orange-soft); }
.quote-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; align-self: center; justify-self: center; border-radius: 12px; background: var(--orange-soft); color: var(--orange-strong); line-height: 0; margin-top: 0 !important; flex-shrink: 0; }
.quote-icon svg { display: block; width: 23px; height: 23px; margin: 0 auto; }
.quote-option > span:not(.quote-icon) { display: block; margin-top: 0; }
.quote-option strong { display: block; font-size: 15px; }
.quote-option > span:not(.quote-icon) > span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.quote-help { margin: 0 30px 30px; padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.quote-help p { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 8500; display: none; }
.cookie-banner.is-visible { display: block; }
.cookie-inner { width: min(100%, 900px); margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(7,23,43,.96); color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.cookie-copy { flex: 1; }
.cookie-copy strong { display: block; font-size: 14px; }
.cookie-copy p { margin: 5px 0 0; color: rgba(255,255,255,.80); font-size: 12px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button { min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: 12px; font-weight: 700; }
.cookie-actions .cookie-accept { background: var(--orange); border-color: var(--orange); color: #111; }
.cookie-settings-body { padding: 28px 30px 32px; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cookie-row h3 { margin: 0; font-size: 15px; }
.cookie-row p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.toggle { width: 48px; height: 28px; border: 0; border-radius: 999px; background: #c9ced3; position: relative; }
.toggle::after { content: ''; position: absolute; width: 20px; height: 20px; left: 4px; top: 4px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 2px 5px rgba(0,0,0,.2); }
.toggle.is-on { background: var(--orange); }
.toggle.is-on::after { transform: translateX(20px); }
.toggle[disabled] { opacity: .75; cursor: not-allowed; }

/* Mobile quote button */
.mobile-quote-fab { display: none; position: fixed; z-index: 800; right: 14px; bottom: 14px; min-height: 48px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--orange); color: #111; font-weight: 700; box-shadow: 0 14px 36px rgba(0,0,0,.2); }

/* Generic subpages */
.page-hero { min-height: 72svh; position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--navy); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,15,27,.28), rgba(5,15,27,.82)); }
.page-hero-content { position: relative; z-index: 1; padding: 190px 0 78px; }
.page-title { max-width: 1000px; font-size: clamp(70px, 9vw, 134px); }
.page-hero-content .lead { max-width: 650px; color: rgba(255,255,255,.88); }
.page-hero-solid { background: var(--orange); color: #111; }
.page-hero-solid .page-hero-content .lead { color: rgba(0,0,0,.62); }

.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.story-copy { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
.story-copy p { margin: 0 0 26px; }
.story-side { padding-top: 10px; }
.story-section { position: relative; }
.story-centered { display: flex; justify-content: center; }
.story-copy-centered {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) clamp(24px, 4vw, 54px);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(5, 21, 38, 0.08);
}
.story-copy-centered p {
  margin: 0 auto 32px;
  max-width: 16ch;
}
.story-copy-centered p:last-child { margin-bottom: 0; }
.story-typewriter {
  color: #1d1f21;
  text-wrap: balance;
}
.typewriter-ready [data-typewriter] {
  visibility: hidden;
}
.typewriter-ready [data-typewriter].is-typing,
.typewriter-ready [data-typewriter].is-done {
  visibility: visible;
}
.story-typewriter.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: .85em;
  margin-left: 6px;
  vertical-align: -.06em;
  background: var(--orange-strong);
  animation: typeCaret .85s steps(1) infinite;
}
@keyframes typeCaret {
  0%, 48% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
.history-timeline-section {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 18%, rgba(245,158,34,.10), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(10,33,61,.055), transparent 32%),
    var(--cream);
}
.history-timeline-section::before,
.history-timeline-section::after {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  opacity: .42;
}
.history-timeline-section::before {
  top: 5%;
  left: -260px;
  background: rgba(245,158,34,.18);
}
.history-timeline-section::after {
  right: -280px;
  bottom: 8%;
  background: rgba(8,35,64,.10);
}
.history-timeline-section .container { position: relative; z-index: 1; }
.timeline-section-head {
  align-items: end;
  gap: 46px;
  padding-bottom: 12px;
}
.timeline-section-head .lead {
  max-width: 510px;
}
.history-timeline {
  --line-x: 50%;
  position: relative;
  margin-top: 86px;
  padding: 10px 0 18px;
}
.timeline-line,
.timeline-progress {
  position: absolute;
  left: var(--line-x);
  top: 0;
  width: 4px;
  border-radius: 999px;
  transform: translateX(-50%);
}
.timeline-line {
  height: 100%;
  background: linear-gradient(180deg, rgba(10,33,61,.07), rgba(10,33,61,.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.timeline-progress {
  height: 0;
  background: linear-gradient(180deg, #ffb23f 0%, var(--orange-strong) 45%, #ff8c1a 100%);
  box-shadow: 0 0 0 1px rgba(245,158,34,.12), 0 0 28px rgba(245,158,34,.30);
  transition: height .08s linear;
}
.timeline-progress::after { display: none; }
.history-event {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 112px 1fr;
  align-items: center;
  min-height: 188px;
}
.history-event + .history-event { margin-top: 26px; }
.history-event-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 485px);
  padding: 31px 32px 30px;
  border-radius: 30px;
  border: 1px solid rgba(19,28,39,.075);
  background: #fff;
  box-shadow: 0 22px 54px rgba(10,33,61,.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease, background .4s ease;
}
.history-event-card::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245,158,34,.16), rgba(245,158,34,.72));
}
.history-event-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 46%);
  opacity: 0;
  transition: opacity .4s ease;
}
.history-event.is-left .history-event-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}
.history-event.is-left .history-event-card::before {
  right: -36px;
  background: linear-gradient(90deg, rgba(245,158,34,.72), rgba(245,158,34,.16));
}
.history-event.is-right .history-event-card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}
.history-event.is-right .history-event-card::before { left: -36px; }
.history-event-year {
  display: inline-block;
  margin-bottom: 13px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  line-height: .9;
  font-weight: 500;
  letter-spacing: -.045em;
  color: var(--orange-strong);
  text-shadow: 0 8px 22px rgba(245,158,34,.08);
}
.history-event-card h3 {
  margin: 0 0 9px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.history-event-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}
.history-event-dot {
  grid-column: 2;
  justify-self: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #d9dee5;
  box-shadow: 0 0 0 7px rgba(245,158,34,.08);
  transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
}
.history-event.is-active .history-event-dot {
  background: var(--orange-strong);
  transform: scale(1.16);
  box-shadow: 0 0 0 9px rgba(245,158,34,.17), 0 0 30px rgba(245,158,34,.30);
}
.history-event.is-active .history-event-card {
  transform: translateY(-6px) scale(1.012);
  background: #fff;
  box-shadow: 0 30px 70px rgba(10,33,61,.13);
  border-color: rgba(19,28,39,.10);
}
.history-event.is-active .history-event-card::after { opacity: 1; }
.history-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 68px rgba(10,33,61,.12);
  border-color: rgba(19,28,39,.10);
}
.history-event-card:hover::after { opacity: .72; }

@media (max-width: 980px) {
  .history-timeline { --line-x: 38px; margin-top: 60px; }
  .timeline-section-head { align-items: start; }
  .history-event {
    grid-template-columns: 76px 1fr;
    align-items: flex-start;
    min-height: 0;
  }
  .history-event + .history-event { margin-top: 20px; }
  .history-event-dot {
    grid-column: 1;
    margin-top: 30px;
  }
  .history-event-card,
  .history-event.is-left .history-event-card,
  .history-event.is-right .history-event-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }
  .history-event-card::before,
  .history-event.is-left .history-event-card::before,
  .history-event.is-right .history-event-card::before {
    left: -28px;
    right: auto;
    width: 28px;
    background: linear-gradient(90deg, rgba(245,158,34,.16), rgba(245,158,34,.72));
  }
}

@media (max-width: 620px) {
  .history-timeline-section::before,
  .history-timeline-section::after { display: none; }
  .history-timeline { --line-x: 24px; margin-top: 46px; }
  .history-event { grid-template-columns: 48px 1fr; }
  .history-event-card {
    padding: 23px 20px 22px;
    border-radius: 22px;
  }
  .history-event-card h3 { font-size: 18px; }
  .history-event-card p { font-size: 14px; line-height: 1.66; }
  .history-event-year { font-size: clamp(31px, 10vw, 44px); }
  .history-event-dot {
    width: 16px;
    height: 16px;
    margin-top: 24px;
    border-width: 3px;
    box-shadow: 0 0 0 5px rgba(245,158,34,.10);
  }
 .timeline-progress::after { display: none; }
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.value-card { padding: 32px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.value-card span { display: block; margin-bottom: 42px; color: var(--orange-strong); font-family: var(--serif); font-size: 34px; }
.value-card h3 { margin: 0 0 10px; font-size: 19px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Contact */
.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; }
.contact-card { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-card h3 { margin: 0 0 8px; font-size: 15px; }
.contact-card a, .contact-card p { margin: 0; color: var(--muted); font-size: 15px; }
.contact-card a:hover { color: var(--orange-strong); }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.office-card { min-height: 170px; padding: 24px; border-radius: 18px; background: var(--cream); display: flex; flex-direction: column; justify-content: space-between; }
.office-card strong { font-family: var(--serif); font-size: 28px; line-height: 1; }
.office-card span { color: var(--muted); font-size: 13px; }
.office-card a { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-form { padding: 36px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); padding: 14px 15px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,158,34,.16); }
.field textarea { min-height: 140px; resize: vertical; }
.checkbox-row { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.checkbox-row input { margin-top: 3px; }
.contact-form .btn { margin-top: 4px; width: 100%; }
.form-status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: var(--muted); font-size: 12px; }

/* Legal */
.legal-page { padding-top: 122px; }
.legal-hero { padding: 70px 0 54px; background: var(--cream); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(56px, 8vw, 104px); line-height: .9; font-weight: 500; letter-spacing: -.04em; }
.legal-content { width: min(calc(100% - 48px), 900px); margin: 0 auto; padding: 72px 0 120px; }
.legal-content h2 { margin: 44px 0 12px; font-size: 22px; }
.legal-content h3 { margin: 30px 0 10px; font-size: 17px; }
.legal-content p, .legal-content li { color: #454d55; line-height: 1.75; }
.legal-content ul { padding-left: 22px; }
.legal-note { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  .nav-shell { width: 100%; }
  .nav-links a { padding-inline: 10px; }
  .insurance-card { grid-column: span 6; }
  .insurance-card:nth-child(4), .insurance-card:nth-child(5), .insurance-card:nth-child(6), .insurance-card:nth-child(7) { grid-column: span 6; }
  .human-grid, .excellence-grid, .contact-layout { grid-template-columns: 1fr; }
  .human-image { min-height: 580px; }
  .excellence-grid { gap: 60px; }
  .ciege-stack { max-width: 630px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card { min-height: 520px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 92px 0; }
  .nav-shell { position: relative; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { justify-content: start; padding: 0 16px; }
  .menu-button { display: block; }
  .nav-quote { margin-left: 4px; }
  .hero-title { font-size: clamp(56px, 11.6vw, 92px); }
  .hero-scroll { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .reviews-top, .story-grid, .final-cta-grid { grid-template-columns: 1fr; gap: 42px; }
  .story-copy-centered { padding: 34px 22px; border-radius: 28px; }
  .story-copy-centered p { max-width: 100%; margin-bottom: 26px; }
  .section-head { align-items: start; flex-direction: column; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .page-hero { min-height: 66svh; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 10px 10px 0; }
  .brand { padding-right: 10px; }
  .brand span { display: none; }
  .nav-quote { padding: 0 13px; font-size: 12px; }
  .hero-home { min-height: 100svh; }
  .hero-video video { object-position: center; }
  .hero-center { margin-top: -30px; width: calc(100% - 28px); }
  .hero-kicker { margin-bottom: 16px; font-size: 10px; }
  .hero-title { font-size: clamp(48px, 15.3vw, 72px); line-height: .9; }
  .hero-sub { margin-top: 18px; font-size: 14px; }
  .hero-action-bar { bottom: 24px; min-width: calc(100% - 28px); }
  .hero-action-bar span { display: none; }
  .hero-action-bar .btn { width: 100%; }
  .trust-item { padding: 24px 15px; }
  .trust-item strong { font-size: 28px; }
  .section-title { font-size: clamp(46px, 14vw, 70px); }
  .insurance-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px; margin-inline: -16px; scrollbar-width: none; }
  .insurance-grid::-webkit-scrollbar { display: none; }
  .insurance-card, .insurance-card:nth-child(n) { flex: 0 0 84vw; min-height: 480px; scroll-snap-align: center; }
  .card-content h3 { font-size: 43px; }
  .human-image { min-height: 460px; }
  .ciege-stack { gap: 10px; }
  .ciege-badge { padding: 20px; border-radius: 20px; }
  .ciege-badge:nth-child(2) { margin-top: 28px; }
  .ciege-mark { width: 68px; height: 68px; font-size: 20px; border-width: 4px; }
  .ciege-badge strong { font-size: 34px; }
  .rating-number { font-size: 72px; }
  .team-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-card { flex: 0 0 82vw; min-height: 500px; scroll-snap-align: center; }
  .final-cta .section-title { font-size: clamp(58px, 17vw, 86px); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .quote-grid { grid-template-columns: 1fr; padding: 18px; }
  .modal-head { padding: 24px 18px 18px; }
  .modal-head h2 { font-size: 40px; }
  .quote-help { margin: 0 18px 18px; align-items: stretch; flex-direction: column; }
  .cookie-inner { align-items: stretch; flex-direction: column; }
  .cookie-actions button { flex: 1; }
  .mobile-quote-fab { display: none; }
  .page-hero-content { padding: 160px 0 58px; }
  .page-title { font-size: clamp(62px, 19vw, 96px); }
  .office-grid, .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .field-full, .checkbox-row, .form-status { grid-column: 1; }
  .legal-content { width: min(calc(100% - 32px), 900px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 2026 finishing layer */
.nav-quote svg { width: 17px; height: 17px; }
body:not(.is-ready).home-page .hero-center,
body:not(.is-ready).home-page .hero-action-bar,
body:not(.is-ready).home-page .hero-scroll { opacity: 0; transform: translateY(18px); }
body.home-page .hero-center,
body.home-page .hero-action-bar,
body.home-page .hero-scroll { transition: opacity .8s ease, transform .9s cubic-bezier(.22,1,.36,1); }
body.home-page .hero-action-bar { transition-delay: .14s; }
body.home-page .hero-scroll { transition-delay: .24s; }
body:not(.is-ready).home-page .hero-action-bar { transform: translate(-50%, 18px); }
body.is-ready.home-page .hero-action-bar { transform: translateX(-50%); }
body:not(.is-ready).home-page .hero-video { clip-path: inset(18px round 34px); transform: scale(1.035); }
body.is-ready.home-page .hero-video { clip-path: inset(0 round 0); transform: scale(1); }
body.home-page .hero-video { transition: clip-path 1.1s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1); }

.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.story-teaser-section { background: var(--cream); }
.story-teaser-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 74px; }
.story-teaser-copy .lead { max-width: 590px; }
.story-teaser-copy .btn { margin-top: 24px; }
.story-teaser-media { position: relative; min-height: 620px; overflow: hidden; border-radius: var(--radius-xl); }
.story-teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.story-teaser-media span { position: absolute; left: 22px; bottom: 22px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--navy); font-size: 12px; font-weight: 700; backdrop-filter: blur(10px); }
.final-contact-btn { margin-top: 10px; }
.form-title { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(38px, 4vw, 58px); line-height: .95; font-weight: 500; letter-spacing: -.035em; }
.cookie-copy a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-save { width: 100%; margin-top: 22px; }
.footer-bottom-links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-bottom-links a:last-child { color: rgba(255,255,255,.86); }
.whatsapp-fab { position: fixed; z-index: 8200; left: 18px; bottom: 18px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #111; box-shadow: 0 16px 44px rgba(0,0,0,.22); transition: transform .2s ease, background .2s ease; }
.whatsapp-fab:hover { transform: translateY(-3px); background: #ffad35; }
.whatsapp-fab svg { width: 25px; height: 25px; }
.error-hero { min-height: 100svh; align-items: center; }
.error-hero .page-hero-content { padding-block: 180px 100px; }
.legal-content code { padding: 2px 6px; border-radius: 6px; background: var(--cream); color: var(--navy); font-size: .9em; }

@media (max-width: 1100px) {
  .story-teaser-grid { grid-template-columns: 1fr; }
  .story-teaser-media { min-height: 560px; }
}

@media (max-width: 820px) {
  .footer-bottom-links { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 620px) {
  body:not(.is-ready).home-page .hero-video { clip-path: inset(8px round 24px); }
  .inline-actions { align-items: stretch; flex-direction: column; }
  .inline-actions .btn { width: 100%; }
  .story-teaser-media { min-height: 430px; }
  .whatsapp-fab { left: 12px; bottom: 12px; width: 48px; height: 48px; }
  .cookie-banner.is-visible ~ .whatsapp-fab { opacity: .3; pointer-events: none; }
}
.hero-title { max-width: 1280px; font-size: clamp(58px, 6.6vw, 102px); }
.hero-title .hero-line { display: block; }
@media (max-width: 820px) { .hero-title { font-size: clamp(56px, 11.6vw, 92px); } }
@media (max-width: 620px) { .hero-title { font-size: clamp(48px, 15.3vw, 72px); } }


/* --- Custom update August 2026 --- */
.brand-full img{width:clamp(148px,16vw,210px);height:auto;display:block;}
.site-header{padding:18px 28px 0;pointer-events:none;}
.site-header .nav-shell{pointer-events:auto;background:transparent;border:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
.home-page .site-header:not(.scrolled) .nav-shell,.subpage .site-header:not(.scrolled) .nav-shell{background:transparent;border-color:transparent;}
.home-page .site-header:not(.scrolled) .nav-links a,.home-page .site-header:not(.scrolled) .brand,.home-page .site-header:not(.scrolled) .menu-button,.subpage .site-header:not(.scrolled) .nav-links a,.subpage .site-header:not(.scrolled) .menu-button{color:#fff;}
.home-page .site-header:not(.scrolled) .nav-quote,.subpage .site-header:not(.scrolled) .nav-quote{background:var(--orange);color:#0c1622;border-color:rgba(245,158,34,.9);}
.site-header.scrolled .nav-shell, .legal-body .site-header .nav-shell{background:rgba(5,18,35,.38);border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 48px rgba(8,18,33,.22);backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);}
.site-header.scrolled .nav-links a, .site-header.scrolled .brand, .site-header.scrolled .menu-button, .legal-body .site-header .nav-links a, .legal-body .site-header .menu-button{color:#fff;} .site-header.scrolled .nav-quote, .legal-body .site-header .nav-quote{color:#0c1622;}
.legal-body .site-header{padding-top:12px;}
.nav-quote{min-width:192px;justify-content:center;}
.loader-logo-wrap--square{width:220px;height:220px;border-radius:0;padding:0;background:transparent;display:flex;align-items:center;justify-content:center;}
.loader-logo-wrap--square img{width:100%;height:100%;object-fit:contain;display:block;}
.hero-sub-dynamic{display:flex;gap:.5ch;flex-wrap:wrap;justify-content:center;align-items:center;font-size:clamp(20px,2.2vw,32px);font-weight:500;}
.dynamic-prefix{color:rgba(255,255,255,.72);}
.dynamic-word{display:inline-block;color:#fff;border-right:2px solid rgba(255,255,255,.8);padding-right:6px;min-height:1.2em;}
.dynamic-word.is-paused{border-right-color:transparent;}
.footer-logo img{width:min(230px,100%);height:auto;}
.footer-tagline{font-size:14px;letter-spacing:.08em;text-transform:none;color:#f3c98f;font-weight:500;max-width:250px;}
.dev-credit{display:inline-flex;align-items:center;gap:10px;}
.dev-credit img{width:22px;height:22px;object-fit:contain;}
.contact-hero-visual .page-hero-media::after{background:linear-gradient(180deg, rgba(5,15,27,.32), rgba(5,15,27,.76));}
.final-cta-image{position:relative;overflow:hidden;background:var(--navy);color:#fff;}
.final-cta-image .final-cta-media{position:absolute;inset:0;}
.final-cta-image .final-cta-media img{width:100%;height:100%;object-fit:cover;}
.final-cta-image::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg, rgba(5,15,27,.86) 0%, rgba(5,15,27,.68) 45%, rgba(5,15,27,.5) 100%);}
.final-cta-image .container{position:relative;z-index:1;}
.final-cta-image .eyebrow,.final-cta-image .section-title,.final-cta-image .final-cta-side p{color:#fff;}
.final-cta-image .btn-dark{background:var(--orange);color:#111;}
.ciege-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:end;}
.ciege-image-card{padding:0;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;display:flex;align-items:center;justify-content:center;min-height:0;}
.ciege-image-card img{width:100%;height:auto;max-width:250px;display:block;border-radius:0;margin:0;}
.footer-col button,.footer-col a{gap:0;}
.btn svg,.review-link svg,.quote-help .btn svg,.nav-quote svg{display:none!important;}
@media (max-width: 900px){.brand-full img{width:160px;}.site-header{padding:12px 0;}.nav-quote{min-width:auto;padding-inline:16px;}.ciege-stack{grid-template-columns:1fr 1fr;}}
@media (max-width: 720px){.hero-sub-dynamic{font-size:clamp(18px,5.4vw,24px);} .dynamic-prefix{width:100%;} .site-header .nav-shell{padding:12px 14px;} .nav-links{top:calc(100% + 10px);} .footer-bottom-links{align-items:flex-start;} .dev-credit{flex-wrap:wrap;} .ciege-stack{grid-template-columns:1fr;} .final-cta-image::after{background:linear-gradient(180deg, rgba(5,15,27,.72), rgba(5,15,27,.84));}}

.ciege-stack{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:end;}

.page-loader{background:var(--orange);}
.loader-inner{width:min(420px,86vw);}
.loader-name{margin-top:14px;}
.loader-sub{margin-top:6px;}

@media (max-width: 1100px){
  .site-header{padding:14px 18px 0;}
  .nav-shell{max-width:none;gap:16px;}
  .brand-full img{width:190px;}
  .nav-links a{padding:0 10px;font-size:13px;}
  .nav-quote{min-width:180px;padding:0 18px;}
}
@media (max-width: 900px){
  .site-header{padding:12px 14px 0;}
  .nav-shell{grid-template-columns:auto auto;}
  .brand-full img{width:168px;}
}
@media (max-width: 720px){
  .site-header .nav-shell{padding:0 12px;min-height:64px;}
  .nav-shell{grid-template-columns:auto auto;gap:12px;}
  .nav-links{position:absolute;right:0;top:calc(100% + 10px);margin-right:0;justify-content:flex-start;}
  .brand-full img{width:152px;}
  .loader-logo-wrap--square{width:176px;height:176px;}
}


/* --- Artbrokers refinement: loader, excellence order & full-width footer --- */
.page-loader{
  background:#0b2340 !important;
  color:#fff;
}
.loader-inner{
  width:min(560px,88vw) !important;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.loader-logo-wrap,
.loader-logo-wrap--square,
.loader-logo-wrap--clean{
  width:230px !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 0 26px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  display:block !important;
}
.loader-logo-wrap img,
.loader-logo-wrap--square img,
.loader-logo-wrap--clean img{
  width:230px !important;
  height:auto !important;
  max-height:126px !important;
  object-fit:contain !important;
  display:block !important;
}
.loader-name{
  margin:0 !important;
  font-family:var(--sans) !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1 !important;
  letter-spacing:.26em !important;
  text-transform:uppercase !important;
  color:#fff !important;
}
.loader-sub{
  margin-top:11px !important;
  font-family:var(--sans) !important;
  font-size:9px !important;
  font-weight:500 !important;
  line-height:1 !important;
  letter-spacing:.28em !important;
  text-transform:uppercase !important;
  color:rgba(255,255,255,.68) !important;
}
.loader-track{
  width:min(310px,64vw) !important;
  height:1px !important;
  margin-top:30px !important;
  border-radius:0 !important;
  background:rgba(255,255,255,.24) !important;
  overflow:hidden;
}
.loader-track span{
  height:1px !important;
  background:#fff !important;
  border-radius:0 !important;
}

/* Excellence becomes the first editorial section after the hero metrics. */
.trust-ribbon + .excellence-section{margin-top:0;}
.excellence-section{padding-top:112px;padding-bottom:112px;}

/* Footer: logo small, content extended across the page. */
.site-footer{
  padding:64px 0 24px !important;
}
.site-footer > .container,
.site-footer .footer-grid,
.site-footer .footer-bottom{
  width:calc(100% - 72px) !important;
  max-width:none !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.footer-grid{
  grid-template-columns:minmax(150px,.9fr) repeat(3,minmax(150px,.7fr)) !important;
  gap:clamp(34px,6vw,110px) !important;
  align-items:start;
}
.footer-logo,
.footer-brand .brand{
  min-height:0 !important;
  padding:0 !important;
  background:transparent !important;
}
.footer-logo img,
.footer-brand .brand img,
.footer-brand .brand-full img{
  width:108px !important;
  max-width:108px !important;
  height:auto !important;
  object-fit:contain !important;
}
.footer-tagline,
.footer-brand p{
  margin-top:16px !important;
  max-width:220px !important;
  font-size:12px !important;
  line-height:1.5 !important;
}
.footer-bottom{
  margin-top:46px !important;
}
@media (max-width:820px){
  .loader-logo-wrap,.loader-logo-wrap--clean{width:190px !important;margin-bottom:22px !important;}
  .loader-logo-wrap img,.loader-logo-wrap--clean img{width:190px !important;}
  .site-footer > .container,.site-footer .footer-grid,.site-footer .footer-bottom{width:calc(100% - 32px) !important;}
  .footer-grid{grid-template-columns:1fr 1fr !important;gap:34px 24px !important;}
  .footer-logo img,.footer-brand .brand img,.footer-brand .brand-full img{width:96px !important;max-width:96px !important;}
}
@media (max-width:520px){
  .footer-grid{grid-template-columns:1fr !important;}
}

/* --- Header spacing refinement: smaller logo, closer to navigation --- */
@media (min-width: 901px){
  .site-header .nav-shell{
    display:flex !important;
    align-items:center !important;
    width:100% !important;
    max-width:1180px !important;
    gap:0 !important;
  }
  .site-header .brand.brand-full{
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
  }
  .site-header .brand-full img{
    width:132px !important;
    max-width:132px !important;
    height:auto !important;
    object-fit:contain !important;
  }
  .site-header .nav-links{
    justify-content:flex-start !important;
    margin-left:14px !important;
    margin-right:auto !important;
    gap:8px !important;
  }
  .site-header .nav-quote{
    margin-left:18px !important;
  }
}


/* Excellence section — light version */
.excellence-section{
  background:#fff !important;
  color:var(--ink) !important;
}
.excellence-section::before{
  display:none !important;
}
.excellence-section .eyebrow,
.excellence-section .eyebrow-light{
  color:var(--orange-strong) !important;
}
.excellence-section .section-title{
  color:var(--ink) !important;
}
.excellence-section .section-title .orange{
  color:var(--orange-strong) !important;
}
.excellence-section .lead,
.excellence-copy .lead{
  color:var(--muted) !important;
}
.excellence-section .btn-white{
  background:var(--navy) !important;
  color:#fff !important;
  border-color:var(--navy) !important;
}
.excellence-section .btn-white:hover{
  background:var(--orange) !important;
  color:#111 !important;
  border-color:var(--orange) !important;
}
.excellence-section .btn-outline-light{
  background:transparent !important;
  color:var(--navy) !important;
  border-color:rgba(10,33,61,.28) !important;
}
.excellence-section .btn-outline-light:hover{
  color:var(--orange-strong) !important;
  border-color:var(--orange) !important;
}


/* --- Final refinements August 2026 --- */
/* Full-width scrolled header with centered content */
.site-header.scrolled{padding:0 !important;}
.site-header.scrolled .nav-shell,
.legal-body .site-header .nav-shell{
  width:100% !important;
  max-width:none !important;
  min-height:58px !important;
  padding:0 28px !important;
  border-radius:0 !important;
}
@media (min-width: 901px){
  .site-header .nav-shell{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:18px !important;
  }
  .site-header .brand.brand-full{
    margin:0 !important;
    min-height:0 !important;
    flex:0 0 auto !important;
  }
  .site-header .brand-full img{
    width:120px !important;
    max-width:120px !important;
  }
  .site-header .nav-links{
    flex:0 0 auto !important;
    justify-content:center !important;
    margin:0 !important;
    gap:8px !important;
  }
  .site-header .nav-links a{
    padding:0 10px !important;
  }
  .site-header .nav-quote{
    flex:0 0 auto !important;
    min-width:170px !important;
    padding:0 18px !important;
    margin-left:10px !important;
  }
}
@media (max-width: 900px){
  .site-header.scrolled{padding:0 !important;}
  .site-header.scrolled .nav-shell{padding:0 14px !important;}
}

/* Rounded side images on all corners */
.human-image,
.story-teaser-media{
  border-radius:var(--radius-xl) !important;
  overflow:hidden !important;
}
.human-image img,
.story-teaser-media img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:inherit !important;
}

/* Keep the excellence block in the upper position on white background */
.trust-ribbon + .excellence-section{
  margin-top:0 !important;
}
.excellence-section{
  background:#fff !important;
  color:var(--ink) !important;
}
.excellence-section .excellence-grid{
  align-items:center;
}
.excellence-section .ciege-stack{
  transform:none !important;
}
.excellence-section .ciege-image-card{
  border-radius:24px;
  overflow:hidden;
}
.excellence-section .ciege-image-card img{
  display:block;
  width:100%;
  height:auto;
}

/* Footer already extended, keep it clean */
.footer-bottom-links{gap:18px 22px !important;}


/* --- Loader simplificado: solo logo + barra --- */
.page-loader{
  background: var(--orange) !important;
}
.loader-inner{
  width:min(300px, 82vw) !important;
  gap:0 !important;
}
.loader-logo-wrap,
.loader-logo-wrap--square,
.loader-logo-wrap--clean{
  width:190px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto 26px !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.loader-logo-wrap img,
.loader-logo-wrap--square img,
.loader-logo-wrap--clean img{
  width:190px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
}
.loader-name,
.loader-sub{
  display:none !important;
}
.loader-track{
  width:170px !important;
  height:2px !important;
  margin-top:0 !important;
  background:rgba(255,255,255,.35) !important;
  border-radius:999px !important;
}
.loader-track span{
  background:#fff !important;
}
@media (max-width: 768px){
  .loader-logo-wrap,
  .loader-logo-wrap--square,
  .loader-logo-wrap--clean{
    width:160px !important;
    margin-bottom:22px !important;
  }
  .loader-logo-wrap img,
  .loader-logo-wrap--square img,
  .loader-logo-wrap--clean img{
    width:160px !important;
  }
  .loader-track{
    width:146px !important;
  }
}


/* --- Header: enlaces Ayudas y Vehículos eléctricos --- */
@media (min-width: 901px){
  .site-header .nav-shell{
    max-width:1380px !important;
    gap:14px !important;
  }
  .site-header .brand-full img{
    width:108px !important;
    max-width:108px !important;
  }
  .site-header .nav-links{
    gap:4px !important;
  }
  .site-header .nav-links a{
    padding:0 8px !important;
    font-size:12.5px !important;
    white-space:nowrap !important;
  }
  .site-header .nav-quote{
    min-width:162px !important;
    margin-left:8px !important;
    padding:0 16px !important;
  }
}
@media (min-width: 901px) and (max-width: 1180px){
  .site-header .brand-full img{width:96px !important;max-width:96px !important;}
  .site-header .nav-links a{padding:0 6px !important;font-size:11.5px !important;}
  .site-header .nav-quote{min-width:148px !important;font-size:12px !important;}
}


/* --- FINAL AJUSTE SOLICITADO: loader blanco + logo más grande + orden final del menú --- */
.page-loader{
  background:#ffffff !important;
}
.loader-inner{
  width:min(360px,84vw) !important;
}
.loader-logo-wrap,
.loader-logo-wrap--square,
.loader-logo-wrap--clean{
  width:280px !important;
  margin:0 auto 28px !important;
}
.loader-logo-wrap img,
.loader-logo-wrap--square img,
.loader-logo-wrap--clean img{
  width:280px !important;
  max-width:100% !important;
  height:auto !important;
}
.loader-track{
  width:190px !important;
  height:3px !important;
  margin-top:0 !important;
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 0 0 1px rgba(245,158,34,.22), 0 4px 16px rgba(245,158,34,.18) !important;
  border-radius:999px !important;
}
.loader-track span{
  background:#ffffff !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.98), 0 0 12px rgba(245,158,34,.16) !important;
}
@media (max-width:768px){
  .loader-logo-wrap,
  .loader-logo-wrap--square,
  .loader-logo-wrap--clean{
    width:220px !important;
    margin-bottom:24px !important;
  }
  .loader-logo-wrap img,
  .loader-logo-wrap--square img,
  .loader-logo-wrap--clean img{
    width:220px !important;
  }
  .loader-track{
    width:164px !important;
  }
}

@media (min-width:901px){
  .site-header .nav-shell{
    max-width:1420px !important;
    gap:12px !important;
  }
  .site-header .brand-full img{
    width:108px !important;
    max-width:108px !important;
  }
  .site-header .nav-links{
    gap:2px !important;
  }
  .site-header .nav-links a{
    padding:0 8px !important;
    font-size:12.5px !important;
    white-space:nowrap !important;
  }
  .site-header .nav-quote{
    min-width:162px !important;
    margin-left:10px !important;
    padding:0 16px !important;
  }
}
@media (min-width:901px) and (max-width:1180px){
  .site-header .brand-full img{width:98px !important;max-width:98px !important;}
  .site-header .nav-links a{padding:0 6px !important;font-size:11.5px !important;}
  .site-header .nav-quote{min-width:148px !important;font-size:12px !important;}
}


/* --- AJUSTES NUEVOS SOLICITADOS --- */
.hero-sub-dynamic{
  width:100%;
  justify-content:center !important;
  text-align:center;
}
.hero-sub-dynamic .dynamic-word{
  margin:0 auto;
}

.insurance-grid--six .insurance-card,
.insurance-grid--six .insurance-card:nth-child(4),
.insurance-grid--six .insurance-card:nth-child(5),
.insurance-grid--six .insurance-card:nth-child(6),
.insurance-grid--six .insurance-card:nth-child(7){
  grid-column:span 4 !important;
  min-height:450px !important;
}

.team-card{
  min-height:520px !important;
}
.team-card img{
  object-fit:contain !important;
  object-position:center bottom !important;
  width:100%;
  height:100%;
  padding:14px 14px 0;
  box-sizing:border-box;
}
@media (max-width:900px){
  .team-card{min-height:520px !important;}
}

/* --- ROUND 3: requested refinements, restored on full package --- */
.eyebrow{display:none !important;}

/* Header after removing Seguros and Equipo */
@media (min-width:901px){
  .site-header .nav-shell{
    max-width:1280px !important;
    gap:16px !important;
  }
  .site-header .nav-links{
    gap:18px !important;
  }
  .site-header .nav-links a{
    padding:0 4px !important;
    font-size:13px !important;
    white-space:nowrap !important;
  }
  .site-header .nav-quote{
    min-width:165px !important;
    margin-left:8px !important;
  }
}

/* Six insurance cards: exactly 3 + 3 */
.insurance-grid--six{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
.insurance-grid--six .insurance-card,
.insurance-grid--six .insurance-card:nth-child(4),
.insurance-grid--six .insurance-card:nth-child(5),
.insurance-grid--six .insurance-card:nth-child(6),
.insurance-grid--six .insurance-card:nth-child(7){
  grid-column:auto !important;
  min-height:450px !important;
}

/* Team: larger and aligned inside equal cards */
.team-card{
  min-height:580px !important;
  display:flex !important;
  align-items:flex-end !important;
  justify-content:center !important;
  background:#efefee !important;
  overflow:hidden !important;
}
.team-card img{
  width:auto !important;
  height:90% !important;
  max-width:116% !important;
  max-height:90% !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  padding:0 !important;
  margin:0 auto !important;
  transform:scale(1.13) !important;
  transform-origin:center bottom !important;
}
.team-card:hover img{transform:scale(1.16) !important;}
.team-name{
  left:18px !important;
  right:18px !important;
  bottom:14px !important;
  z-index:2 !important;
}

/* Final home CTA with supplied background image */
.home-final-cta{
  position:relative !important;
  overflow:hidden !important;
  color:#fff !important;
  background:#0f1621 !important;
}
.home-final-cta::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(8,16,26,.66),rgba(8,16,26,.72));
  background-size:cover;
  background-position:center;
}

.home-final-cta.is-bg-ready::before{
  background-image:linear-gradient(rgba(8,16,26,.66),rgba(8,16,26,.72)),url('assets/images/home-final-cta-futuro-desktop.webp');
}
.home-final-cta .container,
.home-final-cta .final-cta-grid,
.home-final-cta .section-title,
.home-final-cta .final-cta-side,
.home-final-cta .final-cta-side p{
  position:relative;
  z-index:1;
  color:#fff !important;
}
.home-final-cta .btn-outline{
  border-color:rgba(255,255,255,.55) !important;
  color:#fff !important;
}
.home-final-cta .btn-outline:hover{
  background:#fff !important;
  color:#111 !important;
}

/* Contact offices + map */
.office-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
.office-map-section{background:#f4f1ec !important;}
.office-map-head{max-width:920px;margin-bottom:34px;}
.office-map-grid{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:24px;
  align-items:stretch;
}
.office-map-frame,
.office-map-list{
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:#fff;
}
.office-map-frame iframe{
  display:block;
  width:100%;
  min-height:520px;
  border:0;
}
.office-map-list{
  padding:20px;
  display:grid;
  gap:14px;
}
.office-map-list article{
  padding:18px;
  border-radius:18px;
  background:#f7f5f1;
  border:1px solid rgba(0,0,0,.06);
}
.office-map-list strong{display:block;font-size:18px;margin-bottom:6px;}
.office-map-list span{display:block;color:var(--muted);font-size:14px;line-height:1.6;}
.office-map-list a{display:inline-flex;margin-top:12px;font-weight:700;color:var(--orange-strong);}

/* Loader: white background, bigger Artbrokers logo, visible orange progress */
.page-loader{
  background:#fff !important;
  color:var(--navy) !important;
}
.loader-inner{width:min(380px,86vw) !important;}
.loader-logo-wrap,
.loader-logo-wrap--square,
.loader-logo-wrap--clean{
  width:310px !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 auto 26px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.loader-logo-wrap img,
.loader-logo-wrap--square img,
.loader-logo-wrap--clean img{
  width:310px !important;
  height:auto !important;
  max-width:100% !important;
  object-fit:contain !important;
}
.loader-name,.loader-sub{display:none !important;}
.loader-track{
  width:210px !important;
  height:4px !important;
  margin-top:0 !important;
  background:rgba(239,125,0,.18) !important;
  box-shadow:none !important;
  border-radius:999px !important;
  overflow:hidden !important;
}
.loader-track span{
  display:block !important;
  height:100% !important;
  background:var(--orange) !important;
  box-shadow:none !important;
  animation:loaderProgress 1.35s cubic-bezier(.4,0,.2,1) both !important;
}

@media (max-width:1080px){
  .office-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .office-map-grid{grid-template-columns:1fr !important;}
  .insurance-grid--six{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:720px){
  .office-grid{grid-template-columns:1fr !important;}
  .insurance-grid--six{grid-template-columns:1fr !important;}
  .team-card{min-height:520px !important;}
  .team-card img{height:88% !important;max-height:88% !important;transform:scale(1.07) !important;}
  .office-map-frame iframe{min-height:380px;}
  .loader-logo-wrap,
  .loader-logo-wrap--square,
  .loader-logo-wrap--clean{width:240px !important;}
  .loader-logo-wrap img,
  .loader-logo-wrap--square img,
  .loader-logo-wrap--clean img{width:240px !important;}
  .loader-track{width:170px !important;}
}


/* Metrics counters */
.metrics-section {
  background: var(--cream);
  padding-top: 42px;
  padding-bottom: 42px;
}
.metrics-head {
  margin-bottom: 42px;
}
.metrics-head .lead {
  max-width: 500px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 44px;
  align-items: start;
}
.metrics-grid--full .metric-card {
  grid-column: span 6;
}
.metric-card {
  position: relative;
  min-height: 0;
  padding: 26px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(10,33,61,.12);
  box-shadow: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: visible;
}
.metric-card::after {
  content: none;
}
.metric-card--accent {
  background: transparent;
}
.metric-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.metric-number {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 128px);
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--orange-strong);
}
.metric-kicker {
  display: block;
  align-self: flex-start;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.metric-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}
.metric-copy h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-transform: none;
}
.metric-copy p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
@media (min-width: 981px) {
  .metrics-grid--full .metric-card:nth-child(2) {
    padding-left: 18px;
  }
}
@media (max-width: 980px) {
  .metrics-grid {
    gap: 28px;
  }
  .metrics-grid--full .metric-card {
    grid-column: span 12;
  }
}
@media (max-width: 720px) {
  .metrics-section {
    padding-top: 26px;
    padding-bottom: 26px;
  }
  .metrics-head {
    margin-bottom: 24px;
  }
  .metric-card {
    padding-top: 20px;
    gap: 18px;
  }
  .metric-number {
    font-size: clamp(56px, 16vw, 92px);
  }
  .metric-copy h3 {
    font-size: 24px;
  }
}



/* --- Menú desplegable de seguros --- */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
}
.nav-dropdown-toggle {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s ease, opacity .25s ease;
}
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #ffc56a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--orange);
}
.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle:focus-visible::after {
  transform: scaleX(1);
}
.nav-dropdown-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .22s ease;
}
.nav-dropdown.is-open .nav-dropdown-caret {
  transform: translateY(2px) rotate(225deg);
}
.nav-dropdown-menu {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 10px);
  left: 50%;
  width: 350px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: rgba(255, 250, 245, .96);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 70px rgba(7, 23, 43, .22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  pointer-events: none;
  overflow: hidden;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  position: relative;
  z-index: 1;
  min-height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px;
  padding: 0 16px !important;
  color: var(--navy) !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -.01em !important;
  text-transform: none;
  border-bottom: 0;
  border-radius: 16px;
  transition: background .18s ease, color .18s ease, transform .18s ease !important;
}
.nav-dropdown-menu a::before {
  content: '→';
  order: 2;
  font-size: 15px;
  line-height: 1;
  color: rgba(10,33,61,.32);
  transform: translateX(-6px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease, color .18s ease;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: linear-gradient(135deg, rgba(245,158,34,.14), rgba(255,255,255,.92)) !important;
  color: var(--orange-strong) !important;
  transform: translateX(4px);
}
.nav-dropdown-menu a:hover::before,
.nav-dropdown-menu a:focus-visible::before {
  opacity: 1;
  color: var(--orange-strong);
  transform: translateX(0);
}

@media (min-width: 901px) {
  .site-header .nav-dropdown-toggle {
    padding: 0 6px;
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  .nav-dropdown {
    display: block;
    min-height: 0;
  }
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 16px;
    color: var(--ink) !important;
    font-size: 15px;
  }
  .nav-dropdown-toggle::after { display: none; }
  .nav-dropdown-caret { margin-left: auto; }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    display: none;
    margin-top: 6px;
    padding: 8px;
    border: 1px solid rgba(10,33,61,.08);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(10,33,61,.08);
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    background: rgba(255,255,255,.98);
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    transform: none;
  }
  .nav-dropdown-menu a {
    min-height: 46px !important;
    padding: 0 14px !important;
    font-size: 13.5px !important;
    border-radius: 12px;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    transform: none;
  }
  .nav-dropdown-menu a::before {
    opacity: 1;
    transform: translateX(0);
  }
}



/* Historia: composición editorial estática en dos columnas */
.story-section-static {
  background: #fff;
  padding-top: clamp(72px, 8vw, 128px);
  padding-bottom: clamp(72px, 8vw, 128px);
}
.story-static-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
}
.story-static-title {
  position: sticky;
  top: 130px;
}
.story-static-title .section-title {
  margin: 0;
  max-width: 620px;
  font-size: clamp(54px, 5.4vw, 88px);
  line-height: .94;
}
.story-static-copy {
  max-width: 760px;
  padding-top: 4px;
}
.story-static-copy p {
  margin: 0;
  padding: 0 0 34px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.13;
  letter-spacing: -.025em;
  color: #1d1f21;
}
.story-static-copy p + p {
  padding-top: 34px;
  border-top: 1px solid rgba(10,33,61,.10);
}
.story-static-copy p:last-child {
  padding-bottom: 0;
}
@media (max-width: 980px) {
  .story-static-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .story-static-title {
    position: static;
  }
  .story-static-title .section-title {
    max-width: 760px;
  }
  .story-static-copy {
    max-width: 100%;
  }
}
@media (max-width: 620px) {
  .story-section-static {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .story-static-grid {
    gap: 32px;
  }
  .story-static-title .section-title {
    font-size: clamp(44px, 13vw, 62px);
  }
  .story-static-copy p {
    font-size: clamp(24px, 7.5vw, 34px);
    padding-bottom: 26px;
  }
  .story-static-copy p + p {
    padding-top: 26px;
  }
}


/* Foto de asesoramiento humano */
.human-image--clientes img { object-position: center 61%; }


/* Ajuste específico de Iván Artiles senior */
.team-card:first-child img {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.34);
  transform-origin: center bottom;
}
.team-card:first-child:hover img {
  transform: scale(1.37);
}


/* Historia: CTA final con fotografía */
.final-cta.final-cta-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(8,18,34,.86) 0%, rgba(8,18,34,.78) 42%, rgba(8,18,34,.58) 100%);
}

.final-cta.final-cta-photo.is-bg-ready {
  background:
    linear-gradient(90deg, rgba(8,18,34,.86) 0%, rgba(8,18,34,.78) 42%, rgba(8,18,34,.58) 100%),
    url("assets/images/final-cta-historia-abrazo-desktop.webp") center center / cover no-repeat;
}
.final-cta.final-cta-photo .section-title,
.final-cta.final-cta-photo .section-title em,
.final-cta.final-cta-photo .eyebrow,
.final-cta.final-cta-photo .final-cta-side p {
  color: #fff;
}
.final-cta.final-cta-photo .btn.btn-outline.final-contact-btn {
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.04);
}
.final-cta.final-cta-photo .btn.btn-outline.final-contact-btn:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,.12);
}
@media (max-width: 760px) {
  .final-cta.final-cta-photo {
    background-position: 58% center;
  }
}


/* Contact offices polish + three office pins */
.office-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:stretch;
}
.office-card{
  min-height:196px !important;
  padding:24px !important;
  display:grid !important;
  grid-template-rows:auto 1fr auto;
  align-items:start;
  gap:18px;
}
.office-card strong{align-self:start;}
.office-card span{align-self:start;line-height:1.55;}
.office-card a{align-self:end;justify-self:start;margin-top:0;}

.office-map-frame{position:relative;}
.office-map-canvas{position:relative;width:100%;height:100%;min-height:520px;overflow:hidden;}
.office-map-canvas iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:520px;
  border:0;
  pointer-events:none;
}
.office-map-list{
  grid-template-rows:repeat(3,minmax(0,1fr));
  align-content:stretch;
}
.office-map-list article{
  min-height:0;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:10px;
  align-items:start;
}
.office-map-list article a{align-self:end;justify-self:start;margin-top:0;}

.office-map-pin{
  position:absolute;
  z-index:4;
  transform:translate(-50%,-100%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  text-decoration:none;
  color:#111;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.22));
}
.office-map-pin-icon{
  position:relative;
  display:block;
  width:28px;
  height:28px;
  background:#d93025;
  border:3px solid #fff;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  box-shadow:0 2px 8px rgba(0,0,0,.28);
}
.office-map-pin-icon::after{
  content:'';
  position:absolute;
  width:8px;
  height:8px;
  left:50%;
  top:50%;
  border-radius:50%;
  background:#fff;
  transform:translate(-50%,-50%);
}
.office-map-pin-label{
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  box-shadow:0 3px 10px rgba(0,0,0,.13);
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}
.office-map-pin--arguineguin{left:27%;top:68%;}
.office-map-pin--salobre{left:49%;top:52%;}
.office-map-pin--sanfernando{left:77%;top:67%;}
.office-map-pin:focus-visible{outline:3px solid var(--orange-strong);outline-offset:4px;border-radius:8px;}
.office-map-pin:hover .office-map-pin-icon{transform:rotate(-45deg) scale(1.08);}


/* 2026-08 contact map correction: stable viewport + office marker positions */
.office-map-canvas{
  position:relative;
  width:100%;
  min-height:0 !important;
  height:auto !important;
  aspect-ratio:3 / 2;
  overflow:hidden;
  border-radius:inherit;
}
.office-map-canvas iframe{
  position:absolute;
  inset:0;
  display:block;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  max-height:none !important;
  border:0;
  pointer-events:none;
}
/* Positions are calibrated to the fixed 3:2 Google Maps viewport above. */
.office-map-pin--arguineguin{left:calc(50% - 68.71px) !important;top:calc(50% + 27.89px) !important;}
.office-map-pin--salobre{left:49% !important;top:50% !important;}
.office-map-pin--sanfernando{left:58% !important;top:56% !important;}
@media (max-width:760px){
  .office-map-canvas{
    aspect-ratio:3 / 2 !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
  }
  .office-map-canvas iframe{
    min-height:0 !important;
    height:100% !important;
  }
  .office-map-pin--arguineguin{left:calc(50% - 68.71px) !important;top:calc(50% + 27.89px) !important;}
  .office-map-pin--salobre{left:49% !important;top:50% !important;}
  .office-map-pin--sanfernando{left:58% !important;top:56% !important;}
}

/* 2026 Lighthouse accessibility hardening */
.review-link,.office-map-list a,.office-card a{min-height:44px;align-items:center;}
.checkbox-row input{width:24px;height:24px;flex:0 0 24px;}
.modal[aria-hidden="true"]{pointer-events:none;}
@media(max-width:900px){
  .review-link,.office-map-list a,.office-card a{min-height:44px;display:inline-flex;align-items:center;}
  .footer-bottom-links>a{min-height:32px!important;display:inline-flex!important;align-items:center!important;padding:4px 0!important;}
  .dev-credit{min-height:32px!important;}
}
/* Arti — asistente local de Artbrokers */
.arti-shell{position:fixed;right:18px;bottom:18px;z-index:8150;font-family:var(--sans,Inter,Arial,sans-serif);color:#10243d}
.arti-launcher{height:50px;min-width:76px;padding:0 15px;border:0;border-radius:999px;background:#f59e22;color:#101820;box-shadow:0 14px 34px rgba(0,0,0,.19);display:flex;align-items:center;justify-content:center;gap:8px;font:700 13px/1 var(--sans,Inter,Arial,sans-serif);cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.arti-launcher:hover{transform:translateY(-2px);background:#ffac34;box-shadow:0 18px 40px rgba(0,0,0,.22)}
.arti-launcher svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.arti-panel{position:absolute;right:0;bottom:62px;width:min(370px,calc(100vw - 28px));height:min(570px,calc(100vh - 105px));background:rgba(255,255,255,.98);border:1px solid rgba(10,33,61,.10);border-radius:24px;box-shadow:0 30px 80px rgba(4,18,34,.24);overflow:hidden;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:bottom right;pointer-events:none;transition:opacity .2s ease,transform .2s ease,visibility .2s ease;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.arti-shell.is-open .arti-panel{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.arti-head{padding:16px 16px 14px;background:#071f3a;color:#fff;display:flex;align-items:center;gap:11px;min-height:68px}
.arti-avatar{width:42px;height:42px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:4px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24),0 4px 12px rgba(0,0,0,.12)}.arti-avatar img{display:block;width:100%;height:100%;object-fit:contain}
.arti-headcopy{min-width:0;flex:1}.arti-headcopy strong{display:block;font-size:14px;letter-spacing:-.01em}.arti-headcopy span{display:block;margin-top:3px;font-size:10.5px;color:rgba(255,255,255,.68);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.arti-close{width:34px;height:34px;border:0;border-radius:50%;background:rgba(255,255,255,.10);color:#fff;display:grid;place-items:center;cursor:pointer}.arti-close:hover{background:rgba(255,255,255,.18)}.arti-close svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
.arti-messages{flex:1;overflow:auto;padding:16px 14px 10px;scroll-behavior:smooth;background:linear-gradient(180deg,#fff 0%,#fbfaf8 100%)}
.arti-msg{max-width:88%;margin:0 0 10px;animation:artiIn .18s ease both}.arti-msg-user{margin-left:auto}.arti-bubble{padding:11px 13px;border-radius:16px;font-size:13px;line-height:1.48;box-shadow:0 6px 18px rgba(10,33,61,.05)}
.arti-msg-bot .arti-bubble{background:#fff;border:1px solid rgba(10,33,61,.08);border-bottom-left-radius:5px}.arti-msg-user .arti-bubble{background:#071f3a;color:#fff;border-bottom-right-radius:5px}
.arti-bubble strong{display:block;margin-bottom:5px;font-size:13px}.arti-bubble .arti-intro{margin:5px 0 0;color:#34465a}.arti-bubble ul{margin:7px 0 0;padding-left:17px}.arti-bubble li{margin:4px 0}.arti-bubble p{margin:0}.arti-bubble .arti-note{margin-top:8px;color:#6e7782;font-size:11.5px}.arti-bubble a{color:#d66e00;text-decoration:underline;text-underline-offset:2px}.arti-msg-user .arti-bubble a{color:#fff}
.arti-suggestions{display:flex;gap:7px;overflow-x:auto;padding:0 14px 10px;background:#fbfaf8;scrollbar-width:none}.arti-suggestions::-webkit-scrollbar{display:none}.arti-chip{flex:0 0 auto;border:1px solid rgba(10,33,61,.12);background:#fff;color:#10243d;border-radius:999px;padding:8px 10px;font:600 11px/1 var(--sans,Inter,Arial,sans-serif);cursor:pointer;white-space:nowrap}.arti-chip:hover{border-color:rgba(245,158,34,.5);background:#fff8ed;color:#bf6100}
.arti-form{padding:10px;border-top:1px solid rgba(10,33,61,.08);background:#fff;display:grid;grid-template-columns:1fr 42px;gap:7px;align-items:end}.arti-input{width:100%;min-height:42px;max-height:92px;resize:none;border:1px solid rgba(10,33,61,.13);border-radius:14px;padding:11px 12px;font:500 13px/1.35 var(--sans,Inter,Arial,sans-serif);outline:none;color:#10243d;background:#fafafa}.arti-input:focus{border-color:rgba(245,158,34,.75);box-shadow:0 0 0 3px rgba(245,158,34,.10);background:#fff}.arti-send{width:42px;height:42px;border:0;border-radius:13px;background:#f59e22;color:#071f3a;display:grid;place-items:center;cursor:pointer}.arti-send:hover{background:#ffac34}.arti-send svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
@keyframes artiIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:620px){.arti-shell{right:12px;bottom:12px}.arti-launcher{height:48px;min-width:70px;padding:0 13px}.arti-panel{position:fixed;left:10px;right:10px;bottom:70px;width:auto;height:min(68vh,570px);border-radius:22px}.arti-head{padding:14px}.arti-messages{padding:14px 12px 8px}}
@media(prefers-reduced-motion:reduce){.arti-panel,.arti-launcher,.arti-msg{transition:none;animation:none}}
/* Artbrokers — mobile-first hardening 2026 */
:root{--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
html{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{max-width:100%;overflow-x:hidden}
img,video,iframe{max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
:focus-visible{outline:3px solid rgba(245,158,34,.72);outline-offset:3px}
.section img[loading="lazy"]{content-visibility:auto}

/* Lower paint cost on phones without changing the visual language. */
@media(max-width:900px){
  .hero-grain{display:none!important}
  .reveal{transition-duration:.5s!important;transform:translateY(14px)}
  .section{padding:76px 0!important}
  .section-tight{padding:60px 0!important}
  .container{width:min(calc(100% - 32px),var(--container))!important}
  .section-title{font-size:clamp(44px,12.2vw,68px)!important;line-height:.94!important}
  .lead{font-size:17px!important;line-height:1.6!important}

  /* Compact mobile header and a real touch-friendly navigation panel. */
  .site-header,.site-header.scrolled,.legal-body .site-header{
    padding:calc(8px + var(--safe-top)) 10px 0!important;
    pointer-events:none!important;
  }
  .site-header .nav-shell,.site-header.scrolled .nav-shell,.legal-body .site-header .nav-shell{
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    min-height:60px!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto auto!important;
    align-items:center!important;
    gap:8px!important;
    padding:0 10px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    border-radius:18px!important;
    background:rgba(7,23,43,.78)!important;
    box-shadow:0 14px 34px rgba(5,18,35,.2)!important;
    backdrop-filter:blur(18px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
    pointer-events:auto!important;
  }
  .site-header .brand.brand-full{grid-column:1!important;min-height:0!important;padding:0!important;margin:0!important}
  .site-header .brand-full img{width:92px!important;max-width:92px!important;height:auto!important;display:block!important}
  .menu-button{
    grid-column:3!important;display:block!important;width:44px!important;height:44px!important;margin:0!important;
    border-radius:13px!important;background:rgba(255,255,255,.09)!important
  }
  .menu-button span,.menu-button::before,.menu-button::after{background:#fff!important;left:12px!important;width:20px!important;height:1.5px!important}
  .nav-quote{
    grid-column:4!important;min-width:136px!important;min-height:44px!important;height:44px!important;
    margin:0!important;padding:0 14px!important;border-radius:13px!important;font-size:12.5px!important;white-space:nowrap!important
  }
  .site-header .nav-links{
    position:absolute!important;z-index:1400!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;
    width:100%!important;max-height:calc(100dvh - 92px - var(--safe-top))!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    display:grid!important;grid-template-columns:1fr!important;gap:2px!important;margin:0!important;padding:10px!important;
    border:1px solid rgba(10,33,61,.10)!important;border-radius:18px!important;background:rgba(255,255,255,.985)!important;
    box-shadow:0 24px 70px rgba(5,18,35,.22)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
    opacity:0!important;visibility:hidden!important;transform:translateY(-8px)!important;pointer-events:none!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important
  }
  .site-header .nav-links.is-open{opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important}
  .site-header .nav-links>a,.site-header .nav-dropdown-toggle{
    min-height:50px!important;width:100%!important;justify-content:flex-start!important;padding:0 14px!important;margin:0!important;
    color:var(--navy)!important;font-size:15px!important;font-weight:650!important;border-radius:12px!important
  }
  .site-header .nav-links>a::after,.site-header .nav-dropdown-toggle::after{display:none!important}
  .site-header .nav-links>a:hover,.site-header .nav-links>a:focus-visible,.site-header .nav-links>a[aria-current="page"],
  .site-header .nav-dropdown-toggle:hover,.site-header .nav-dropdown-toggle:focus-visible,.nav-dropdown.is-open .nav-dropdown-toggle{
    color:var(--orange-strong)!important;background:var(--orange-soft)!important
  }
  .nav-dropdown{display:block!important;width:100%!important;min-height:0!important}
  .nav-dropdown-caret{margin-left:auto!important}
  .nav-dropdown-menu{
    position:static!important;width:100%!important;display:none!important;margin:4px 0 6px!important;padding:6px!important;
    border:1px solid rgba(10,33,61,.08)!important;border-radius:14px!important;background:#f8f6f2!important;box-shadow:none!important;
    opacity:1!important;visibility:visible!important;transform:none!important;pointer-events:auto!important
  }
  .nav-dropdown.is-open .nav-dropdown-menu{display:grid!important;gap:2px!important}
  .nav-dropdown-menu a{min-height:46px!important;padding:0 12px!important;font-size:13px!important;border-radius:10px!important}
  .nav-dropdown-menu a::before{opacity:1!important;transform:none!important}
  body.nav-open{overflow:hidden!important}

  /* Hero */
  .hero-home{min-height:100svh!important;min-height:100dvh!important}
  .hero-center{width:min(calc(100% - 30px),760px)!important;margin-top:-4vh!important;padding:0!important}
  .hero-title{font-size:clamp(42px,11.8vw,62px)!important;line-height:.92!important;letter-spacing:-.045em!important}
  .hero-title .hero-line{display:block!important}
  .hero-sub-dynamic{margin-top:20px!important;font-size:clamp(19px,5.4vw,24px)!important;min-height:1.6em!important}
  .hero-action-bar{left:16px!important;right:16px!important;bottom:calc(78px + var(--safe-bottom))!important;transform:none!important;min-width:0!important;width:auto!important;max-width:none!important;padding:6px!important;border-radius:17px!important}
  .hero-action-bar span{display:none!important}
  .hero-action-bar .btn{width:100%!important;min-height:50px!important;border-radius:12px!important}
  .hero-scroll{display:none!important}

  /* Page heroes */
  .page-hero{min-height:60svh!important;min-height:60dvh!important}
  .page-hero-content{padding:150px 0 54px!important}
  .page-title{font-size:clamp(58px,17vw,90px)!important;line-height:.9!important}
  .page-hero-content .lead{max-width:100%!important;font-size:16px!important}

  /* Editorial sections */
  .trust-grid{grid-template-columns:1fr 1fr!important}
  .trust-item{padding:22px 14px!important}
  .trust-item strong{font-size:28px!important}
  .trust-item span{font-size:11px!important;line-height:1.35!important}
  .excellence-grid,.human-grid,.story-teaser-grid,.reviews-top,.final-cta-grid,.contact-layout,.office-map-grid{grid-template-columns:1fr!important;gap:34px!important}
  .excellence-actions,.inline-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  .excellence-actions .btn,.inline-actions .btn{width:100%!important;min-width:0!important}
  .ciege-stack{grid-template-columns:1fr 1fr!important;gap:10px!important;max-width:560px!important;margin-inline:auto!important}
  .ciege-image-card{border-radius:18px!important}
  .metrics-head{gap:20px!important;margin-bottom:22px!important}
  .metrics-grid{grid-template-columns:1fr!important;gap:0!important}
  .metrics-grid--full .metric-card{grid-column:auto!important;padding:30px 0!important}
  .metric-number{font-size:clamp(52px,15vw,84px)!important;white-space:nowrap!important}
  .metric-copy h3{font-size:22px!important}
  .human-image{min-height:0!important;height:auto!important;aspect-ratio:4/3!important;border-radius:24px!important}
  .human-image img{height:100%!important;object-fit:cover!important;object-position:center 44%!important}
  .human-copy .section-title{font-size:clamp(44px,11.6vw,64px)!important}
  .human-step{grid-template-columns:42px 1fr!important;gap:12px!important;padding:18px 0!important}
  .story-teaser-grid{gap:30px!important}
  .story-teaser-media{min-height:0!important;aspect-ratio:16/10!important;border-radius:24px!important}
  .story-teaser-media img{height:100%!important;object-fit:cover!important}
  .review-grid{grid-template-columns:1fr!important;gap:12px!important;margin-top:34px!important}
  .review-card{min-height:0!important;padding:26px!important}
  .rating-number{font-size:64px!important}

  /* Team: stable 2x2 grid, no sideways page movement. */
  .team-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:32px 0 0!important;padding:0!important;overflow:visible!important}
  .team-card{min-height:0!important;aspect-ratio:3/4!important;width:100%!important;border-radius:18px!important;scroll-snap-align:none!important}
  .team-card img,.team-card:first-child img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center bottom!important;transform:scale(1.08)!important;transform-origin:center bottom!important}
  .team-card:hover img,.team-card:first-child:hover img{transform:scale(1.08)!important}
  .team-name{left:8px!important;right:8px!important;bottom:8px!important;min-height:38px!important;padding:0 10px!important;font-size:12px!important;border-radius:10px!important}

  /* CTA sections */
  .final-cta{padding:72px 0!important}
  .final-cta .section-title{font-size:clamp(48px,13vw,70px)!important}
  .final-cta-side{display:grid!important;gap:10px!important}
  .final-cta-side p{margin-bottom:10px!important}
  .final-cta-side .btn{width:100%!important}
  .home-final-cta::before{background-position:center!important}
  .final-cta.final-cta-photo{background-position:58% center!important}

  /* History */
  .story-section-static{padding:64px 0!important}
  .story-static-grid{grid-template-columns:1fr!important;gap:30px!important}
  .story-static-title{position:static!important}
  .story-static-title .section-title{font-size:clamp(44px,12vw,64px)!important}
  .story-static-copy p{font-size:clamp(24px,7vw,34px)!important;line-height:1.12!important;padding-bottom:24px!important}
  .story-static-copy p+p{padding-top:24px!important}
  .history-timeline{--line-x:21px!important;margin-top:44px!important;padding-left:0!important}
  .history-event{grid-template-columns:44px minmax(0,1fr)!important;min-height:0!important;margin-top:0!important;padding:0 0 18px!important}
  .history-event+.history-event{margin-top:0!important}
  .history-event-dot{grid-column:1!important;width:15px!important;height:15px!important;margin-top:25px!important;border-width:3px!important}
  .history-event-card,.history-event.is-left .history-event-card,.history-event.is-right .history-event-card{
    grid-column:2!important;width:100%!important;justify-self:stretch!important;text-align:left!important;padding:22px 18px!important;border-radius:20px!important
  }
  .history-event-card::before,.history-event.is-left .history-event-card::before,.history-event.is-right .history-event-card::before{left:-23px!important;right:auto!important;width:23px!important}
  .history-event-year{font-size:clamp(32px,9vw,44px)!important}
  .history-event-card h3{font-size:18px!important}
  .history-event-card p{font-size:14px!important;line-height:1.55!important}

  /* Contact */
  .contact-layout{gap:36px!important}
  .contact-card{padding:20px 0!important}
  .office-grid{grid-template-columns:1fr!important;gap:10px!important}
  .office-card{min-height:142px!important;padding:20px!important}
  .contact-form{padding:22px 16px!important;border-radius:22px!important}
  .form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .field-full,.checkbox-row,.form-status{grid-column:1!important}
  input,select,textarea{min-height:48px!important;font-size:16px!important}
  textarea{min-height:128px!important}
  .office-map-frame{border-radius:20px!important}
  .office-map-frame iframe{min-height:360px!important;height:48vh!important;max-height:440px!important}
  .office-map-list{padding:0!important;gap:10px!important}

  /* Legal */
  .legal-page{padding-top:88px!important}
  .legal-hero{padding:56px 0 42px!important}
  .legal-hero h1{font-size:clamp(50px,15vw,78px)!important}
  .legal-content{width:calc(100% - 32px)!important;padding:48px 0 82px!important}
  .legal-content h2{font-size:20px!important;margin-top:34px!important}
  .legal-content p,.legal-content li{font-size:15px!important;line-height:1.68!important}

  /* Footer */
  .site-footer{padding:52px 0 calc(24px + var(--safe-bottom))!important}
  .site-footer>.container,.site-footer .footer-grid,.site-footer .footer-bottom{width:calc(100% - 32px)!important}
  .footer-grid{grid-template-columns:1fr 1fr!important;gap:30px 22px!important}
  .footer-brand{grid-column:1/-1!important}
  .footer-logo img,.footer-brand .brand img,.footer-brand .brand-full img{width:112px!important;max-width:112px!important}
  .footer-tagline,.footer-brand p{max-width:100%!important;margin-top:12px!important}
  .footer-col h3{margin-bottom:12px!important}
  .footer-col a,.footer-col button{min-height:36px!important;display:flex!important;align-items:center!important;margin:0!important;font-size:13px!important}
  .footer-bottom{margin-top:38px!important;padding-top:20px!important;display:grid!important;gap:14px!important;justify-items:start!important}
  .footer-bottom-links{display:flex!important;flex-wrap:wrap!important;gap:12px 18px!important}
  .dev-credit{flex-basis:100%!important;margin-top:2px!important}

  /* Quote + cookie dialogs become usable bottom/full sheets on small screens. */
  .modal{padding:8px!important;align-items:flex-end!important}
  .modal-panel{width:100%!important;max-height:calc(100dvh - 16px)!important;border-radius:22px!important;overscroll-behavior:contain!important}
  .modal-head{padding:20px 16px 15px!important;gap:14px!important}
  .modal-head h2{font-size:clamp(36px,10vw,48px)!important}
  .modal-close{width:44px!important;height:44px!important;min-width:44px!important}
  .quote-grid{grid-template-columns:1fr!important;padding:14px 14px 18px!important;gap:8px!important}
  .quote-option{min-height:72px!important;grid-template-columns:44px 1fr!important;column-gap:12px!important;padding:12px!important;border-radius:14px!important}
  .quote-icon{width:44px!important;height:44px!important}
  .quote-help{margin:0 14px 14px!important;padding:16px!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  .quote-help .btn{width:100%!important}
  .cookie-banner{left:8px!important;right:8px!important;bottom:calc(8px + var(--safe-bottom))!important}
  .cookie-inner{padding:14px!important;border-radius:16px!important;align-items:stretch!important;flex-direction:column!important;gap:12px!important}
  .cookie-copy p{font-size:12px!important}
  .cookie-actions{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:6px!important}
  .cookie-actions button{min-height:44px!important;padding:0 8px!important;font-size:11px!important}
  .cookie-settings-body{padding:18px 16px 22px!important}

  /* Floating contact UI */
  .whatsapp-fab{left:12px!important;bottom:calc(12px + var(--safe-bottom))!important;width:48px!important;height:48px!important}
}

@media(max-width:520px){
  .site-header .brand-full img{width:84px!important;max-width:84px!important}
  .nav-quote{min-width:124px!important;padding:0 10px!important;font-size:11.5px!important}
  .site-header .nav-shell{gap:6px!important;padding:0 8px!important}
  .hero-title{font-size:clamp(40px,12vw,54px)!important}
  .section{padding:66px 0!important}
  .section-title{font-size:clamp(42px,12vw,58px)!important}
  .excellence-actions,.inline-actions{grid-template-columns:1fr!important}
  .team-grid{gap:8px!important}
  .team-name{font-size:11px!important}
  .footer-grid{grid-template-columns:1fr 1fr!important;gap:26px 18px!important}
  .footer-col:last-child{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;column-gap:18px!important}
  .footer-col:last-child h3{grid-column:1/-1!important}
  .cookie-actions{grid-template-columns:1fr!important}
}

@media(max-width:360px){
  .nav-quote{min-width:112px!important;font-size:10.5px!important}
  .menu-button{width:40px!important;height:40px!important}
  .site-header .brand-full img{width:76px!important;max-width:76px!important}
  .team-grid{grid-template-columns:1fr!important}
  .team-card{aspect-ratio:4/5!important}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .reveal,.hero-video,.hero-center,.hero-action-bar,.nav-links,.nav-dropdown-menu{transition:none!important;animation:none!important}
}
@media(max-width:620px){
  .arti-shell{right:10px!important;bottom:calc(10px + var(--safe-bottom))!important;z-index:8600!important}
  .arti-launcher{height:48px!important;min-width:70px!important;padding:0 13px!important}
  .arti-panel{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(68px + var(--safe-bottom))!important;width:auto!important;height:min(72dvh,620px)!important;border-radius:20px!important}
  .arti-head{padding:12px!important;gap:10px!important;min-height:64px!important}
  .arti-avatar{width:46px!important;height:46px!important;flex:0 0 46px!important;padding:5px!important;border-radius:12px!important;overflow:hidden!important}
  .arti-avatar img{width:100%!important;height:100%!important;object-fit:contain!important}
  .arti-headcopy strong{font-size:14px!important}.arti-headcopy span{font-size:10px!important}
  .arti-messages{padding:12px 10px 8px!important}
  .arti-msg{max-width:92%!important}.arti-bubble{font-size:13px!important;padding:10px 11px!important}
  .arti-suggestions{padding:0 10px 8px!important}
  .arti-form{padding:8px!important;grid-template-columns:1fr 44px!important}
  .arti-input{font-size:16px!important;min-height:44px!important}
  .arti-send{width:44px!important;height:44px!important}
  body:has(.cookie-banner.is-visible) .arti-shell{opacity:0!important;pointer-events:none!important}
}

@media(max-width:900px){
  .home-final-cta.is-bg-ready::before{background-image:linear-gradient(rgba(8,16,26,.70),rgba(8,16,26,.78)),url('assets/images/home-final-cta-futuro-mobile.webp')!important}
  .final-cta.final-cta-photo.is-bg-ready{background-image:linear-gradient(180deg,rgba(8,18,34,.78),rgba(8,18,34,.82)),url('assets/images/final-cta-historia-abrazo-mobile.webp')!important}
}

/* === Mobile footer alignment — Artbrokers / Legal / social row === */
@media (max-width: 820px){
  .site-footer{
    padding-top:44px!important;
  }

  /* Keep the three navigation groups aligned on the same row. */
  .footer-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    column-gap:14px!important;
    row-gap:22px!important;
    align-items:start!important;
  }
  .footer-brand{
    grid-column:1/-1!important;
    margin-bottom:2px!important;
  }
  .footer-col,
  .footer-col:last-child{
    grid-column:auto!important;
    display:block!important;
    min-width:0!important;
  }
  .footer-col:last-child h3{
    grid-column:auto!important;
  }
  .footer-col h3{
    margin:0 0 10px!important;
    font-size:9px!important;
    line-height:1.2!important;
    letter-spacing:.12em!important;
  }
  .footer-col a,
  .footer-col button{
    min-height:30px!important;
    padding:0!important;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:normal!important;
  }

  /* Copyright + Instagram + Facebook + Nexbrokers begin on the same horizontal level. */
  .footer-bottom{
    margin-top:26px!important;
    padding-top:18px!important;
    display:grid!important;
    grid-template-columns:minmax(124px,.72fr) minmax(0,1.28fr)!important;
    column-gap:14px!important;
    row-gap:0!important;
    align-items:start!important;
    justify-items:stretch!important;
  }
  .footer-bottom>span{
    min-width:0!important;
    font-size:10px!important;
    line-height:1.5!important;
  }
  .footer-bottom-links{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    align-content:flex-start!important;
    gap:6px 10px!important;
    min-width:0!important;
  }
  .footer-bottom-links>a{
    margin:0!important;
    font-size:10px!important;
    line-height:1.5!important;
    white-space:nowrap!important;
  }
  .dev-credit{
    flex:0 1 auto!important;
    flex-basis:auto!important;
    margin:0!important;
    gap:5px!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
  }
  .dev-credit img{
    width:13px!important;
    height:13px!important;
    flex:0 0 13px!important;
  }
  .dev-credit span{
    white-space:nowrap!important;
  }
}

@media (max-width: 430px){
  .footer-grid{
    column-gap:10px!important;
  }
  .footer-col h3{
    font-size:8.5px!important;
  }
  .footer-col a,
  .footer-col button{
    font-size:10.5px!important;
  }
  .footer-bottom{
    grid-template-columns:minmax(116px,.67fr) minmax(0,1.33fr)!important;
    column-gap:10px!important;
  }
  .footer-bottom>span,
  .footer-bottom-links>a{
    font-size:9.5px!important;
  }
  .footer-bottom-links{
    gap:5px 8px!important;
  }
  .dev-credit img{
    width:12px!important;
    height:12px!important;
    flex-basis:12px!important;
  }
}


@media (max-width: 760px){
  .office-card{min-height:164px!important;padding:20px!important;gap:14px!important;}
  .office-card strong{font-size:26px!important;}
  .office-map-canvas{min-height:360px!important;height:48vh!important;max-height:440px!important;}
  .office-map-canvas iframe{min-height:360px!important;height:100%!important;max-height:none!important;}
  .office-map-list{grid-template-rows:none!important;}
  .office-map-list article{min-height:150px!important;padding:18px!important;gap:9px!important;}
  .office-map-pin-label{font-size:10px!important;padding:3px 7px!important;}
  .office-map-pin-icon{width:24px!important;height:24px!important;}
  .office-map-pin--arguineguin{left:calc(50% - 68.71px)!important;top:calc(50% + 27.89px)!important;}
  .office-map-pin--salobre{left:49%!important;top:53%!important;}
  .office-map-pin--sanfernando{left:58%!important;top:56%!important;}
}

/* Mobile only: lower hero quote CTA intentionally hidden; header CTA remains visible. */
@media(max-width:900px){.home-page .hero-action-bar{display:none!important;}}

/* Accessibility utility */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
