:root {
  color-scheme: dark;
  --ink: #09090a;
  --ink-soft: #111113;
  --surface: #151517;
  --surface-2: #1d1d20;
  --surface-3: #242428;
  --line: rgba(255, 255, 255, .13);
  --line-strong: rgba(255, 255, 255, .22);
  --text: #f6f4f1;
  --muted: #aaa7a2;
  --muted-strong: #cfcbc5;
  --accent: #ff6a27;
  --accent-strong: #ff7d3c;
  --accent-wash: rgba(255, 106, 39, .15);
  --accent-ink: #1a0c05;
  --heading: #fbfaf7;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --section: clamp(4.4rem, 8vw, 8.2rem);
}

body[data-theme="grafito"] {
  --ink: #17191d;
  --ink-soft: #1d2025;
  --surface: #24282e;
  --surface-2: #2b3037;
  --surface-3: #353b44;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .24);
  --accent: #ff783d;
  --accent-strong: #ff8b55;
  --accent-wash: rgba(255, 120, 61, .16);
  --shadow: 0 24px 80px rgba(4, 8, 15, .3);
}

body[data-theme="claro"] {
  color-scheme: light;
  --ink: #f6f2ed;
  --ink-soft: #fffaf5;
  --surface: #fffaf5;
  --surface-2: #f0eae4;
  --surface-3: #e8e0d9;
  --line: rgba(19, 17, 15, .13);
  --line-strong: rgba(19, 17, 15, .22);
  --text: #1c1a18;
  --muted: #6c6862;
  --muted-strong: #46413c;
  --heading: #161412;
  --accent: #e9591f;
  --accent-strong: #d64c15;
  --accent-wash: rgba(233, 89, 31, .13);
  --accent-ink: #fffaf5;
  --shadow: 0 24px 80px rgba(87, 53, 29, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  transition: background .35s ease, color .35s ease;
}
body::selection { background: var(--accent); color: var(--accent-ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding-block: var(--section); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 99px; transform: translateY(-160%); transition: transform .2s ease; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 86%, transparent); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; align-items: center; gap: 30px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-official-logo { display: flex; flex: 0 0 auto; width: 106px; height: 70px; align-items: center; justify-content: center; }
.brand-official-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-fallback { display: none; align-items: center; gap: 10px; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { color: var(--heading); font-size: 1.08rem; font-weight: 800; letter-spacing: -.04em; }
.brand-note { margin-left: -4px; padding: 3px 7px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body[data-theme="claro"] .brand-official-logo { display: none; }
body[data-theme="claro"] .brand-fallback { display: inline-flex; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); margin-left: auto; }
.main-nav a, .footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover, .contact-copy a:hover, .faq-list a:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; color: inherit; font-weight: 750; letter-spacing: -.01em; line-height: 1; text-decoration: none; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 24%, transparent); }
.button--primary:hover { background: var(--accent-strong); box-shadow: 0 16px 34px color-mix(in srgb, var(--accent) 33%, transparent); }
.button--outline { border-color: var(--line-strong); color: var(--heading); }
.button--outline:hover { border-color: var(--accent); color: var(--accent); }
.button--small { min-height: 40px; padding: 0 16px; font-size: .82rem; }
.button--full { width: 100%; }

.hero { position: relative; overflow: hidden; padding-top: clamp(2.4rem, 5vw, 4.5rem); padding-bottom: clamp(4.8rem, 8vw, 8.8rem); background: radial-gradient(circle at 82% 18%, var(--accent-wash), transparent 29rem); }
.hero-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: clamp(2rem, 4vw, 4.8rem); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-wash); }
.compare-controls { display: flex; gap: 18px; margin-left: auto; }
.control-group { min-width: max-content; margin: 0; padding: 0; border: 0; }
.control-group legend { margin-bottom: 7px; padding: 0; color: var(--muted); font-size: .63rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.control-buttons { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); }
.control-button { display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .68rem; font-weight: 750; transition: background .2s ease, color .2s ease; }
.control-button:hover { color: var(--heading); }
.control-button.is-active { background: var(--surface-3); color: var(--heading); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.swatch { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.swatch--grafito { background: #ff783d; }
.swatch--claro { background: #e9591f; border: 1px solid rgba(0,0,0,.2); }

.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(390px, 1.06fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.hero-copy { position: relative; z-index: 2; }
.proposal-tag { display: inline-flex; margin: 0 0 24px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-strong); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 760; letter-spacing: -.06em; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.2vw, 6.7rem); line-height: .93; }
h1 span { color: var(--accent); }
.hero-lead { max-width: 520px; margin-bottom: 32px; color: var(--muted-strong); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.text-link, .arrow-link { color: var(--heading); font-weight: 750; text-decoration: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.text-link:hover, .arrow-link:hover { color: var(--accent); }
.trust-line { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 36px; color: var(--muted); font-size: .74rem; }
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line strong { color: var(--accent); font-size: .65rem; }
.hero-media { position: relative; min-height: 570px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 3rem; background: var(--surface); box-shadow: var(--shadow); transform: rotate(1.5deg); transition: min-height .45s ease, transform .45s ease, border-radius .45s ease; }
.hero-media picture, .hero-media img, .hero-media-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-media-overlay { background: linear-gradient(180deg, rgba(8,8,9,.05) 20%, rgba(8,8,9,.18) 50%, rgba(8,8,9,.88) 100%), linear-gradient(90deg, rgba(8,8,9,.3), transparent 54%); }
.hero-media-caption { position: absolute; right: 25px; bottom: 25px; left: 25px; display: grid; gap: 5px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(9,9,10,.55); backdrop-filter: blur(10px); }
.caption-kicker { color: var(--accent-strong); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.caption-text { color: #fff; font-size: .92rem; }
.hero-orbit { position: absolute; border: 1px solid rgba(255, 106, 39, .58); border-radius: 50%; pointer-events: none; }
.orbit-one { top: 8%; right: -13%; width: 210px; height: 210px; }
.orbit-two { top: 17%; right: -7%; width: 150px; height: 150px; }
.hero.is-immersive .hero-grid { display: block; position: relative; min-height: min(700px, 72vh); }
.hero.is-immersive .hero-copy { display: flex; min-height: min(700px, 72vh); max-width: 760px; flex-direction: column; justify-content: center; padding: clamp(2rem, 7vw, 6rem); }
.hero.is-immersive .hero-media { position: absolute; inset: 0; min-height: 0; transform: none; border-radius: var(--radius-lg); }
.hero.is-immersive .hero-media-overlay { background: linear-gradient(90deg, rgba(8,8,9,.92) 0%, rgba(8,8,9,.72) 39%, rgba(8,8,9,.18) 75%, rgba(8,8,9,.38) 100%), linear-gradient(0deg, rgba(8,8,9,.55), transparent 45%); }
.hero.is-immersive .hero-media-caption { right: 34px; bottom: 34px; left: auto; width: min(255px, 32%); }
.hero.is-immersive .hero-orbit { opacity: .7; }

.signal-strip { border-block: 1px solid var(--line); background: var(--surface); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-item { display: flex; align-items: center; gap: 13px; min-height: 112px; padding: 20px clamp(10px, 3vw, 32px); border-right: 1px solid var(--line); }
.signal-item:first-child { padding-left: 0; }
.signal-item:last-child { border-right: 0; padding-right: 0; }
.signal-icon { display: grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 1.1rem; }
.signal-item strong, .signal-item span { display: block; }
.signal-item strong { margin-bottom: 2px; color: var(--heading); font-size: .83rem; }
.signal-item div > span { color: var(--muted); font-size: .73rem; }

.section-heading { margin-bottom: 46px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.narrow-heading { max-width: 720px; }
h2 { margin-bottom: 17px; font-size: clamp(2.2rem, 4vw, 4.25rem); line-height: .98; }
.section-intro { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.split-heading h2 { max-width: 710px; margin-bottom: 0; }

.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sector-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.sector-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-5px); }
.sector-image { position: relative; aspect-ratio: 1.38; overflow: hidden; }
.sector-image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 56%); content: ""; }
.sector-image picture, .sector-image img { width: 100%; height: 100%; }
.sector-image img { object-fit: cover; transition: transform .45s ease; }
.sector-card:hover .sector-image img { transform: scale(1.04); }
.sector-number { position: absolute; z-index: 1; right: 13px; bottom: 12px; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.sector-content { display: flex; min-height: 270px; flex-direction: column; padding: 25px 25px 23px; }
.card-kicker, .service-index { margin-bottom: 13px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.sector-content h3 { margin-bottom: 13px; font-size: 1.5rem; line-height: 1.05; }
.sector-content p:not(.card-kicker) { margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--accent-strong); font-size: .83rem; }

.services-section { background: var(--surface); }
.service-list { display: grid; grid-template-columns: 1.25fr 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { position: relative; min-height: 360px; padding: 31px clamp(24px, 4vw, 45px) 29px; border-right: 1px solid var(--line); }
.service-card:last-child { border-right: 0; }
.service-card--featured { background: var(--accent); color: var(--accent-ink); }
.service-card--featured h3, .service-card--featured p, .service-card--featured .service-note { color: var(--accent-ink); }
.service-card--featured .service-index { color: var(--accent-ink); opacity: .72; }
.service-index { display: block; color: var(--muted); }
.service-icon { display: grid; width: 48px; height: 48px; margin-bottom: 62px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); }
.service-card--featured .service-icon { border-color: rgba(26, 12, 5, .35); color: var(--accent-ink); }
.service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.service-card h3 { max-width: 220px; margin-bottom: 13px; font-size: 1.65rem; line-height: 1; }
.service-card p { max-width: 295px; margin-bottom: 20px; color: var(--muted); font-size: .9rem; }
.service-note { position: absolute; right: clamp(24px, 4vw, 45px); bottom: 29px; left: clamp(24px, 4vw, 45px); padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted-strong); font-size: .71rem; font-weight: 750; }
.service-card--featured .service-note { border-color: rgba(26, 12, 5, .26); }

.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 10rem); }
.process-intro { align-self: start; }
.process-intro > p:not(.eyebrow) { max-width: 390px; margin-bottom: 30px; color: var(--muted); }
.steps-list { border-top: 1px solid var(--line); }
.step-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 27px 0 30px; border-bottom: 1px solid var(--line); }
.step-number { color: var(--accent); font-size: .74rem; font-weight: 850; letter-spacing: .1em; }
.step-item h3 { margin-bottom: 7px; font-size: 1.55rem; }
.step-item p { max-width: 490px; margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.cesar-section { padding-top: 0; }
.cesar-card { position: relative; display: grid; grid-template-columns: minmax(170px, 210px) 1fr auto; align-items: center; gap: clamp(25px, 5vw, 65px); overflow: hidden; padding: clamp(32px, 6vw, 70px); border-radius: var(--radius-lg); background: var(--surface); }
.cesar-card::before { position: absolute; top: -100px; right: 9%; width: 300px; height: 300px; border: 1px solid var(--accent); border-radius: 50%; opacity: .26; content: ""; }
.cesar-card::after { position: absolute; top: -40px; right: 15%; width: 200px; height: 200px; border: 1px solid var(--accent); border-radius: 50%; opacity: .18; content: ""; }
.cesar-portrait { position: relative; z-index: 1; width: min(100%, 208px); aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 24px; background: #f7f7f7; box-shadow: 0 18px 36px rgba(0, 0, 0, .18); }
.cesar-portrait picture, .cesar-portrait img { display: block; width: 100%; height: 100%; }
.cesar-portrait img { object-fit: cover; object-position: center center; }
.cesar-copy { position: relative; z-index: 1; max-width: 670px; }
.cesar-copy h2 { max-width: 650px; margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.65rem); }
.cesar-copy p:not(.eyebrow):not(.small-note) { max-width: 560px; margin-bottom: 16px; color: var(--muted-strong); font-size: 1.02rem; }
.small-note { margin-bottom: 0; color: var(--accent); font-size: .75rem; font-weight: 750; }
.cesar-mark { position: relative; z-index: 1; color: var(--accent); font-size: clamp(2rem, 4vw, 4.3rem); font-weight: 900; letter-spacing: -.1em; }
.cesar-mark span { display: block; margin-top: 4px; color: var(--muted); font-size: .57rem; font-weight: 750; letter-spacing: .1em; text-align: right; text-transform: uppercase; }

.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 10rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; color: var(--heading); cursor: pointer; font-size: 1rem; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { flex: 0 0 auto; color: var(--accent); content: "+"; font-size: 1.5rem; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 650px; margin: -5px 42px 24px 0; color: var(--muted); font-size: .9rem; }
details a { color: var(--accent-strong); }

.contact-section { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); }
.contact-section::before { position: absolute; top: -225px; right: -80px; width: 580px; height: 580px; border: 1px solid rgba(26, 12, 5, .25); border-radius: 50%; content: ""; }
.contact-section::after { position: absolute; top: -120px; right: 28px; width: 370px; height: 370px; border: 1px solid rgba(26, 12, 5, .18); border-radius: 50%; content: ""; }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .83fr 1.17fr; align-items: start; gap: clamp(3rem, 9vw, 9rem); }
.contact-copy h2 { max-width: 600px; color: var(--accent-ink); font-size: clamp(2.6rem, 5vw, 5.9rem); }
.contact-copy > p:not(.eyebrow) { max-width: 370px; margin-bottom: 40px; color: rgba(26,12,5,.75); font-size: 1.05rem; }
.contact-alt, .contact-mail { display: grid; gap: 5px; margin-top: 17px; }
.contact-label { color: rgba(26,12,5,.64); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-copy a { color: var(--accent-ink); font-size: 1.03rem; font-weight: 800; text-underline-offset: 4px; }
.lead-form { padding: clamp(25px, 4vw, 42px); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.form-step { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: .65rem; font-weight: 850; letter-spacing: .12em; }
.form-step i { width: 23px; height: 1px; background: var(--accent); }
.form-header h3 { margin: 13px 0 8px; font-size: 2rem; }
.form-header p { margin-bottom: 26px; color: var(--muted); font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field span { color: var(--muted-strong); font-size: .76rem; font-weight: 700; }
.field b { color: var(--accent); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--heading); outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.field input, .field select { min-height: 48px; padding: 0 13px; }
.field textarea { min-height: 106px; padding: 12px 13px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface-3); box-shadow: 0 0 0 4px var(--accent-wash); }
.field--error input, .field--error select, .field--error textarea { border-color: #e84842; }
.lead-form .button { margin-top: 20px; }
.lead-form .button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-status { min-height: 22px; margin: 12px 0 0; color: var(--accent-strong); font-size: .78rem; font-weight: 700; }
.form-status[data-state="pending"] { color: var(--muted-strong); }
.form-status[data-state="error"] { color: #e84842; }
.form-status[data-state="success"] { color: #38b878; }
.form-status-link { color: inherit; text-underline-offset: 3px; }
.form-legal { margin: 8px 0 0; color: var(--muted); font-size: .7rem; }

.legal-notes { border-top: 1px solid var(--line); background: var(--ink-soft); }
.legal-notes-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 17px; }
.legal-notes p { margin: 0; color: var(--muted); font-size: .7rem; }
.legal-notes strong { color: var(--muted-strong); }
.site-footer { background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 28px; padding-block: 34px; }
.brand--footer .brand-official-logo { width: 108px; height: 78px; }
.brand--footer .brand-mark { width: 31px; height: 31px; }
.footer-main > p { max-width: 270px; margin: 0; color: var(--muted); font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 17px 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.back-top { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--heading); text-decoration: none; }
.back-top:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1000px) {
  .nav-wrap { gap: 20px; }
  .main-nav { gap: 17px; }
  .hero-grid { gap: 3rem; }
  .hero-media { min-height: 500px; }
  .service-card { min-height: 390px; padding-inline: 24px; }
  .service-note { right: 24px; left: 24px; }
  .cesar-card { grid-template-columns: minmax(150px, 180px) 1fr; }
  .cesar-portrait { width: min(100%, 180px); }
  .cesar-mark { grid-column: 2; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .main-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .hero-topline { display: block; }
  .compare-controls { justify-content: flex-start; gap: 9px; overflow-x: auto; margin: 0; padding-bottom: 2px; }
  .control-group { flex: 0 0 auto; }
  .hero-grid, .hero.is-immersive .hero-grid { display: flex; min-height: 0; flex-direction: column; gap: 36px; }
  .hero.is-immersive .hero-copy { display: block; min-height: 0; max-width: none; padding: 35px 22px; }
  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero-media, .hero.is-immersive .hero-media { position: relative; inset: auto; width: calc(100% - 13px); min-height: 440px; margin-left: 13px; border-radius: 2rem; }
  .hero.is-immersive .hero-media-caption { right: 20px; bottom: 20px; left: 20px; width: auto; }
  .signal-grid { display: block; }
  .signal-item, .signal-item:first-child, .signal-item:last-child { min-height: auto; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-item:last-child { border-bottom: 0; }
  .split-heading, .process-layout, .faq-layout, .contact-layout { display: block; }
  .split-heading { margin-bottom: 30px; }
  .split-heading .section-intro { margin-top: 20px; }
  .sector-grid, .service-list { grid-template-columns: 1fr; }
  .sector-card { display: grid; grid-template-columns: 43% 57%; }
  .sector-image { aspect-ratio: auto; min-height: 255px; }
  .sector-content { min-height: 255px; padding: 20px; }
  .sector-content h3 { font-size: 1.28rem; }
  .sector-content p:not(.card-kicker) { font-size: .8rem; }
  .service-card { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .service-icon { margin-bottom: 38px; }
  .process-intro { margin-bottom: 48px; }
  .cesar-card { display: block; padding: 28px; }
  .cesar-portrait { width: min(100%, 230px); margin: 0 auto 25px; }
  .cesar-mark { margin-top: 28px; text-align: right; }
  .contact-copy { margin-bottom: 40px; }
  .legal-notes-inner, .footer-main { display: block; }
  .legal-notes p + p { margin-top: 10px; }
  .footer-main > p { margin: 18px 0 22px; }
  .footer-links { justify-content: flex-start; gap: 12px 18px; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; padding-bottom: 21px; }
  .back-top { margin-left: auto; }
}

@media (max-width: 500px) {
  .brand-note { display: none; }
  .nav-cta { padding-inline: 13px; }
  .hero { padding-top: 28px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; min-height: 42px; }
  .trust-line { display: grid; gap: 9px; margin-top: 24px; }
  .sector-card { display: block; }
  .sector-image { aspect-ratio: 1.55; min-height: 0; }
  .sector-content { min-height: 0; padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .lead-form { padding: 23px 18px; border-radius: 20px; }
  .form-header h3 { font-size: 1.7rem; }
  .footer-bottom > span:nth-child(2) { max-width: 190px; }
}

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