:root {
  --blue: #1f4e79;
  --blue-dark: #143b60;
  --blue-soft: #edf4fa;
  --green: #2bb673;
  --green-dark: #168558;
  --yellow: #ffc857;
  --graphite: #263238;
  --sand: #f4ede3;
  --white: #fff;
  --muted: #5d6874;
  --line: #dbe4ed;
  --shadow: 0 24px 70px rgba(23, 55, 83, .13);
  --shadow-soft: 0 12px 36px rgba(23, 55, 83, .09);
  --radius: 22px;
  --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--graphite); font-family: Inter, system-ui, sans-serif; line-height: 1.65; background: var(--white); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; line-height: 1.12; margin-top: 0; color: var(--blue); }
h1 { font-size: clamp(2.7rem, 5.2vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); letter-spacing: -.035em; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: clamp(84px, 9vw, 132px) 0; }
.section-sand { background: linear-gradient(135deg, #f6f0e8 0%, var(--sand) 54%, #f8f4ee 100%); }
.centered { text-align: center; }
.narrow { max-width: 790px; margin-inline: auto; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); }
.align-center { align-items: center; }
.eyebrow { color: var(--green-dark); text-transform: uppercase; font-weight: 800; letter-spacing: .16em; font-size: .78rem; margin-bottom: 1rem; }
.eyebrow-yellow { color: var(--yellow); }
.section-lead { color: #526173; font-size: 1.08rem; max-width: 680px; }
.section-heading { margin-bottom: 48px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.btn { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 999px; min-height: 54px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease; }
.btn::before { content: ""; position: absolute; z-index: -1; width: 160%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); transform: translate(-90%, 70%) scale(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.btn:hover::before { transform: translate(0, 0) scale(1); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 59, 96, .2); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn-primary { color: #fff; background: var(--blue); }
.btn-guide { color: #183653; background: var(--yellow); }
.btn-service { color: #fff; background: var(--green); width: 100%; }
.btn-outline-light { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; background: var(--yellow); padding: 10px 16px; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.scroll-progress { position: fixed; z-index: 220; inset: 0 0 auto; height: 3px; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--green)); box-shadow: 0 0 12px rgba(255,200,87,.8); }
.page-noise { position: fixed; z-index: 300; inset: 0; pointer-events: none; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }

.site-header { position: fixed; inset: 0 0 auto; height: 84px; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(20,59,96,.97); box-shadow: 0 8px 30px rgba(7,31,52,.18); backdrop-filter: blur(14px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 154px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); color: #fff; }
.main-nav > a { text-decoration: none; font-weight: 700; font-size: .9rem; position: relative; }
.main-nav > a::after { content: ""; position: absolute; height: 2px; background: var(--yellow); inset: auto 50% -7px; transition: inset .2s ease; }
.main-nav > a:hover::after, .main-nav > a.is-active::after { inset-inline: 0; }
.main-nav > a.is-active { color: var(--yellow); }
.nav-cta { min-height: 43px; padding-inline: 19px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; background: #fff; }

.hero { position: relative; min-height: 860px; display: flex; align-items: center; overflow: hidden; background: var(--blue-dark); color: #fff; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; }
.hero::before { width: 430px; height: 430px; right: -170px; top: 110px; box-shadow: 0 0 0 55px rgba(255,200,87,.035), 0 0 0 110px rgba(255,255,255,.025); animation: orbitFloat 9s ease-in-out infinite; }
.hero::after { width: 110px; height: 110px; right: 38%; bottom: 85px; background: rgba(43,182,115,.07); animation: orbitFloat 7s ease-in-out infinite reverse; }
.hero-media { position: absolute; inset: 0; background: url("images/hero-tramitatu.webp") center/cover no-repeat; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 45%, transparent 0 13%, rgba(31,78,121,.16) 42%, rgba(20,59,96,.8) 88%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,59,96,.97) 0%, rgba(31,78,121,.87) 49%, rgba(31,78,121,.42) 82%, rgba(31,78,121,.3)); }
.hero-content { position: relative; z-index: 2; padding-top: 120px; }
.hero h1 { max-width: 880px; color: #fff; margin-bottom: 24px; }
.hero h1 span { color: var(--yellow); }
.eyebrow-pill { display: inline-flex; padding: 7px 15px; border-radius: 999px; background: var(--yellow); color: #173752; letter-spacing: 0; text-transform: none; }
.hero-lead { max-width: 680px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 44px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 40px; font-size: .87rem; font-weight: 700; }
.trust-list span { color: var(--green); font-size: 1.25rem; margin-right: 5px; }
.scroll-cue { position: absolute; z-index: 2; bottom: 24px; left: 50%; color: #fff; text-decoration: none; font-size: 1.8rem; animation: bob 1.8s infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }
@keyframes orbitFloat { 50% { transform: translate3d(-14px, 18px, 0) rotate(6deg); } }

.problem-list { list-style: none; padding: 0; margin: 28px 0 16px; display: grid; gap: 12px; }
.problem-list li { background: #fff; border: 1px solid #e4e9ef; border-radius: 14px; padding: 14px 16px; font-weight: 600; display: flex; align-items: center; gap: 13px; }
.problem-list li span { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: .75rem; }
.success-banner { background: var(--green); color: #fff; border-radius: 14px; padding: 15px 18px; font-weight: 800; }
.success-banner span { margin-right: 8px; }
.case-dashboard { position: relative; min-height: 515px; overflow: hidden; border: 1px solid rgba(31,78,121,.1); border-radius: 30px; padding: 26px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(237,244,250,.94)); box-shadow: 0 32px 90px rgba(31,78,121,.16); isolation: isolate; }
.case-dashboard::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(31,78,121,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(31,78,121,.045) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.dashboard-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.dashboard-glow-one { width: 270px; height: 270px; right: -100px; top: -90px; background: rgba(255,200,87,.25); }
.dashboard-glow-two { width: 210px; height: 210px; left: -110px; bottom: -100px; background: rgba(43,182,115,.13); }
.dashboard-topbar, .case-overview, .case-notification { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard-topbar { padding-bottom: 20px; border-bottom: 1px solid rgba(31,78,121,.1); }
.dashboard-brand { display: flex; align-items: center; gap: 12px; }.dashboard-brand > span { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: var(--blue); font-family: Outfit, sans-serif; font-weight: 800; box-shadow: 0 8px 20px rgba(31,78,121,.22); }.dashboard-brand b, .dashboard-brand small { display: block; }.dashboard-brand b { color: var(--blue); font-size: .9rem; }.dashboard-brand small { color: var(--muted); font-size: .7rem; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: rgba(43,182,115,.1); color: var(--green-dark); font-size: .67rem; font-weight: 800; }.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(43,182,115,.5); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 8px rgba(43,182,115,0); } }
.case-overview { padding: 24px 2px 14px; }.case-overview small, .case-overview strong, .case-overview span { display: block; }.case-overview > div:first-child > small { color: var(--green-dark); letter-spacing: .14em; font-weight: 800; font-size: .62rem; }.case-overview strong { color: var(--blue); font-size: 1.18rem; margin: 3px 0; }.case-overview > div:first-child > span { color: var(--muted); font-size: .75rem; }
.case-score { width: 74px; height: 74px; flex: 0 0 74px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--yellow) 72%, #dce6ef 0); position: relative; }.case-score::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }.case-score span, .case-score small { position: relative; z-index: 1; }.case-score span { color: var(--blue); font-weight: 800; line-height: 1; }.case-score small { color: var(--muted); font-size: .58rem; }
.case-progress { width: 100%; height: 7px; display: block; border: 0; border-radius: 99px; background: #dce6ef; overflow: hidden; appearance: none; -webkit-appearance: none; }
.case-progress::-webkit-progress-bar { border-radius: 99px; background: #dce6ef; }
.case-progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg, var(--yellow), #ffd986); }
.case-progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg, var(--yellow), #ffd986); }
@keyframes progressIn { from { transform: scaleX(0); } }
.case-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 24px 0; }.case-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 7px; }.case-step:not(:last-child)::after { content: ""; position: absolute; height: 2px; top: 17px; left: calc(50% + 21px); width: calc(100% - 34px); background: #d8e2eb; }.case-step.is-done:not(:last-child)::after { background: var(--green); }.case-step i { position: relative; z-index: 1; width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #cad6e1; color: #81909e; background: #fff; font-style: normal; font-size: .72rem; font-weight: 800; }.case-step.is-done i { color: #fff; border-color: var(--green); background: var(--green); }.case-step.is-active i { color: var(--blue); border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,200,87,.18); }.case-step b, .case-step small { display: block; }.case-step b { color: var(--blue); font-size: .67rem; }.case-step small { color: var(--muted); font-size: .58rem; }
.case-notification { padding: 15px; border: 1px solid rgba(31,78,121,.1); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: var(--shadow-soft); }.notification-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--blue); }.case-notification div { flex: 1; }.case-notification b, .case-notification small { display: block; }.case-notification b { color: var(--blue); font-size: .76rem; }.case-notification small { color: var(--muted); font-size: .66rem; line-height: 1.4; }.case-notification time { color: var(--green-dark); font-size: .62rem; font-weight: 800; }
.dashboard-caption { margin-top: 17px; color: var(--blue); font-size: .72rem; font-weight: 800; text-align: center; }.dashboard-caption span { color: var(--green); }
.route-card { min-height: 460px; border-radius: 32px; background: linear-gradient(145deg, #fff, #e8f1f8); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.route-card::before { content: ""; position: absolute; width: 330px; height: 330px; border: 36px solid rgba(255,200,87,.36); border-radius: 50%; top: -120px; right: -80px; }
.route-map { position: absolute; inset: 60px 45px; }
.route-line { position: absolute; left: 10%; top: 48%; width: 77%; height: 12px; background: var(--yellow); transform: rotate(-11deg); border-radius: 20px; box-shadow: 0 8px 0 rgba(31,78,121,.08); }
.route-dot { position: absolute; z-index: 2; width: 50px; height: 50px; border: 6px solid var(--yellow); background: var(--blue); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.dot-a { left: 6%; top: 48%; }.dot-b { left: 45%; top: 39%; }.dot-c { right: 5%; top: 23%; }
.paper { position: absolute; z-index: 3; width: 155px; min-height: 105px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 15px 35px rgba(31,78,121,.18); color: var(--blue); display: flex; flex-direction: column; }
.paper small { color: var(--muted); margin-top: 10px; }.paper-one { left: 8%; top: 10%; transform: rotate(-4deg); }.paper-two { right: 5%; bottom: 8%; transform: rotate(3deg); }
.status-float { position: absolute; right: 25px; bottom: 24px; background: var(--blue); color: #fff; padding: 15px 20px; border-radius: 16px; box-shadow: var(--shadow); }
.status-float small, .status-float strong { display: block; }.status-float strong { color: var(--yellow); }

.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.benefit-card, .service-card { border: 1px solid rgba(31,78,121,.12); border-radius: var(--radius); background: rgba(255,255,255,.92); padding: 26px; box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.benefit-card:hover, .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-box { width: 49px; height: 49px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.35rem; margin-bottom: 18px; }
.benefit-card p, .service-card p { color: var(--muted); }
.comparison { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.comparison-col h3, .comparison-col p { margin: 0; padding: 16px 22px; }
.comparison-col p { border-top: 1px solid var(--line); }
.traditional { background: #f4f7fa; color: #758494; }.traditional h3 { color: #536270; }
.tramitatu { background: var(--blue); color: #fff; }.tramitatu h3 { color: #fff; }.tramitatu p { border-color: rgba(255,255,255,.25); font-weight: 700; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { position: relative; min-height: 330px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.service-card::before { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; right: -82px; top: -88px; border-radius: 50%; background: linear-gradient(145deg, rgba(255,200,87,.28), rgba(43,182,115,.05)); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.service-card:hover::before { transform: scale(1.34) translate(-8px, 8px); }
.service-number { position: absolute; top: 24px; right: 24px; color: rgba(31,78,121,.34); font-family: Outfit, sans-serif; font-weight: 800; letter-spacing: .08em; }
.service-card button { margin-top: auto; border: 0; background: transparent; color: var(--green-dark); text-align: left; padding: 10px 0 0; font-weight: 800; cursor: pointer; }
.service-card button span { display: inline-block; transition: transform .2s ease; }.service-card button:hover span { transform: translateX(5px); }
.service-card .icon-box { position: relative; }
.service-card .icon-box::before, .service-card .icon-box::after { content: ""; position: absolute; border: 2px solid currentColor; }
.icon-chat::before { width: 22px; height: 17px; border-radius: 8px; }.icon-chat::after { width: 7px; height: 7px; border-width: 0 0 2px 2px; transform: rotate(-35deg); left: 13px; bottom: 11px; }
.icon-building::before { width: 21px; height: 24px; border-radius: 3px; }.icon-building::after { width: 3px; height: 3px; background: currentColor; border: 0; box-shadow: 8px 0 currentColor, 0 7px currentColor, 8px 7px currentColor; top: 14px; left: 16px; }
.icon-document::before { width: 19px; height: 24px; border-radius: 3px; }.icon-document::after { width: 11px; height: 2px; border: 0; background: currentColor; box-shadow: 0 6px currentColor; }
.icon-people::before { width: 10px; height: 10px; border-radius: 50%; top: 10px; left: 12px; box-shadow: 14px 5px 0 -2px var(--blue); }.icon-people::after { width: 20px; height: 10px; border-radius: 12px 12px 5px 5px; bottom: 9px; left: 9px; }
.icon-search::before { width: 17px; height: 17px; border-radius: 50%; top: 10px; left: 10px; }.icon-search::after { width: 10px; border-width: 2px 0 0; transform: rotate(45deg); right: 9px; bottom: 12px; }
.icon-refresh::before { width: 22px; height: 22px; border-radius: 50%; border-right-color: transparent; }.icon-refresh::after { width: 7px; height: 7px; border-width: 2px 2px 0 0; transform: rotate(25deg); right: 10px; top: 9px; }
.service-cta { margin-top: 46px; }

.process-section { overflow: hidden; }
.timeline { position: relative; max-width: 930px; margin: 0 auto 48px; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; transform: translateX(-50%); background: var(--yellow); }
.timeline-item { position: relative; min-height: 185px; display: grid; grid-template-columns: 1fr 1fr; gap: 86px; align-items: center; }
.timeline-item:nth-child(odd) .timeline-card { grid-column: 1; text-align: right; }
.timeline-item:nth-child(even) .timeline-card { grid-column: 2; }
.timeline-marker { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; border: 6px solid var(--yellow); background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.timeline-card { border: 1px solid var(--line); border-radius: 20px; background: #f8fafc; padding: 24px; }
.timeline-card h3 { margin: 10px 0 7px; }.timeline-card p { margin: 0; color: var(--muted); }
.status { display: inline-flex; color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }.status-blue { background: var(--blue); }.status-yellow { background: #e6a520; }.status-green { background: var(--green); }

.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--blue), var(--sand)); }
.backing-badge { position: absolute; right: -18px; bottom: -18px; background: #fff; border-radius: 16px; padding: 17px 21px; color: var(--muted); box-shadow: var(--shadow); font-size: .76rem; }
.backing-badge strong { display: block; color: var(--blue); font-size: .9rem; margin-top: 4px; }
.about-grid p:not(.eyebrow) { margin-bottom: 18px; }
.faq-wrap { max-width: 900px; }
.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.accordion details[open] { border-color: var(--blue); box-shadow: 0 10px 30px rgba(31,78,121,.08); }
.accordion summary { list-style: none; cursor: pointer; padding: 20px 24px; color: var(--graphite); font-weight: 800; display: flex; justify-content: space-between; gap: 20px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--blue); font-size: 1.25rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { padding: 0 24px 22px; color: var(--muted); margin: 0; }

.contact-section { background: var(--blue); color: #fff; }
.section-heading.light h2, .section-heading.light > p:last-child { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 38px; align-items: start; }
.contact-info { border-radius: var(--radius); background: rgba(255,255,255,.1); padding: 30px; }
.contact-info > a, .contact-info > div { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 14px 0; color: #fff; text-decoration: none; }
.contact-info > a + a, .contact-info > a + div { border-top: 1px solid rgba(255,255,255,.15); }
.contact-info span { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(43,182,115,.23); color: var(--green); font-size: 1.3rem; }
.contact-info span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-info small { text-transform: uppercase; color: #a8c2dc; font-weight: 800; }.contact-info strong { font-size: .95rem; }
.contact-form { background: #fff; color: var(--graphite); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.contact-form > p:first-child { color: var(--muted); }
.contact-form label, .modal-shell label { display: grid; gap: 7px; margin: 16px 0; font-size: .8rem; font-weight: 700; }
.contact-form input, .contact-form textarea, .modal-shell input, .modal-shell textarea, .modal-shell select { width: 100%; border: 1px solid #cdd6df; background: #fbfaf8; border-radius: 13px; padding: 13px 15px; color: var(--graphite); }
.privacy-check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }.privacy-check input { width: auto; margin-top: 4px; }
.form-status { color: var(--green-dark); margin: 10px 0 0; font-size: .85rem; font-weight: 700; }

.footer { padding: 62px 0 20px; background: #112d47; color: rgba(255,255,255,.76); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 38px; }
.footer img { width: 170px; height: auto; margin-bottom: 15px; }.footer h2 { color: #fff; font-size: 1rem; margin-bottom: 17px; }.footer a { display: block; text-decoration: none; margin: 9px 0; font-size: .9rem; overflow-wrap: anywhere; }.footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 20px; font-size: .8rem; }
.whatsapp-float { position: fixed; z-index: 90; right: 18px; bottom: 18px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(16,110,68,.3); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.whatsapp-float span { font-size: 1.3rem; }.whatsapp-float b { font-size: .85rem; }
.whatsapp-float svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top { position: fixed; z-index: 89; right: 20px; bottom: 84px; width: 46px; height: 46px; border: 1px solid rgba(31,78,121,.15); border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: .25s ease; }.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.toast { position: fixed; z-index: 250; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 12px; color: #fff; background: var(--graphite); box-shadow: var(--shadow); font-size: .84rem; font-weight: 700; opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: .3s ease; }.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .75s ease, transform .75s cubic-bezier(.16,1,.3,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.reveal-left { transform: translate3d(-34px, 0, 0); }.reveal.reveal-right { transform: translate3d(34px, 0, 0); }.reveal.is-visible { opacity: 1; transform: none; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }.tilt-card > * { transform: translateZ(0); }

.diagnosis-modal { max-width: min(590px, calc(100% - 26px)); width: 100%; border: 0; border-radius: 24px; padding: 0; box-shadow: 0 30px 90px rgba(9,30,48,.35); }
.diagnosis-modal::backdrop { background: rgba(15,40,62,.72); backdrop-filter: blur(4px); }
.modal-shell { padding: 34px; position: relative; }
.modal-shell h2 { font-size: 2.3rem; margin-bottom: 8px; }.modal-shell > p:not(.eyebrow,.modal-note) { color: var(--muted); }
.modal-close { position: absolute; right: 18px; top: 16px; border: 0; background: #eef2f6; color: var(--blue); width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.modal-note { margin-top: 13px; color: var(--muted); font-size: .76rem; text-align: center; }

.legal-page, .error-page { min-height: 100vh; background: var(--sand); }
.legal-page header { background: var(--blue); padding: 18px max(20px, calc((100% - 900px)/2)); }.legal-page header img { width: 170px; }
.legal-page main { max-width: 900px; margin: 0 auto; padding: 70px 24px 100px; }.legal-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }.legal-page h2 { font-size: 1.5rem; margin-top: 35px; }
.error-page { display: grid; place-items: center; text-align: center; background: var(--blue); color: #fff; padding: 30px; }.error-page main { max-width: 700px; }.error-page img { width: 220px; margin: 0 auto 50px; }.error-page h1 { color: #fff; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 84px 0 auto; background: var(--blue-dark); padding: 24px 20px 30px; flex-direction: column; align-items: stretch; transform: translateY(-130%); opacity: 0; transition: .25s ease; box-shadow: 0 20px 30px rgba(10,33,53,.2); }
  .main-nav.is-open { transform: none; opacity: 1; }
  .main-nav a { padding: 8px 0; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .hero { min-height: 760px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding-block: 74px; }
  .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-content { padding: 135px 0 80px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.8rem); }
  .hero-media { background-position: 68% center; opacity: .52; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20,59,96,.75), rgba(20,59,96,.96) 63%); }
  .hero-actions .btn { width: 100%; }
  .trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .case-dashboard { min-height: auto; order: -1; padding: 18px; border-radius: 24px; }
  .dashboard-topbar { align-items: flex-start; }.live-pill { font-size: 0; padding: 9px; }.live-pill i { width: 8px; height: 8px; }
  .dashboard-brand small { display: none; }.case-overview { padding-top: 20px; }.case-score { width: 64px; height: 64px; flex-basis: 64px; }
  .case-steps { gap: 2px; }.case-step:not(:last-child)::after { left: calc(50% + 18px); width: calc(100% - 28px); }.case-step i { width: 31px; height: 31px; }.case-step b { font-size: .58rem; }.case-step small { display: none; }
  .case-notification { align-items: flex-start; }.case-notification time { display: none; }.dashboard-caption { line-height: 1.4; }
  .benefit-grid, .service-grid, .comparison, .footer-grid { grid-template-columns: 1fr; }
  .comparison { gap: 0; }
  .timeline::before { left: 26px; }
  .timeline-item { display: block; min-height: 0; padding: 0 0 28px 74px; }
  .timeline-marker { left: 26px; top: 16px; width: 48px; height: 48px; }
  .timeline-item:nth-child(odd) .timeline-card { text-align: left; }
  .backing-badge { right: 8px; }
  .contact-info, .contact-form { padding: 23px; }
  .whatsapp-float b { display: none; }.whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; }.back-to-top { right: 22px; bottom: 84px; }
  .modal-shell { padding: 28px 20px; }.modal-shell h2 { font-size: 2rem; }
}

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

/* Componentes reforzados: SVG real, panel y seguimiento */
.btn-track-light { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.nav-track { color: var(--yellow) !important; }
.icon-box {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  margin-bottom: 20px;
  background: linear-gradient(145deg, #245d90, var(--blue-dark));
  box-shadow: 0 12px 26px rgba(31,78,121,.22), inset 0 1px 0 rgba(255,255,255,.2);
}
.icon-box svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card .icon-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  right: -4px;
  top: -4px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
}
.service-card .icon-box::before,
.service-card .icon-box::after { content: none; }
.service-card .icon-box {
  width: 72px;
  height: 72px;
  padding-right: 17px;
  padding-bottom: 16px;
}
.service-card .icon-box svg { width: 30px; height: 30px; }
.service-number {
  position: absolute;
  inset: auto 7px 7px auto;
  min-width: 26px;
  height: 22px;
  padding-inline: 4px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--yellow);
  font: 800 .68rem/1 Outfit, sans-serif;
  letter-spacing: .03em;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

.case-dashboard {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(31,78,121,.12);
  background:
    radial-gradient(circle at 100% 0, rgba(255,200,87,.25), transparent 34%),
    linear-gradient(145deg, #fff, #edf4fa);
}
.case-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(31,78,121,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(31,78,121,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: none;
  -webkit-mask-image: none;
}
.dashboard-brand { min-width: 0; }
.dashboard-brand > span { flex: 0 0 46px; width: 46px; height: 46px; }
.dashboard-brand > span svg, .notification-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-brand > div, .case-copy, .case-notification div { min-width: 0; }
.dashboard-brand b, .dashboard-brand small, .case-copy > * { overflow-wrap: anywhere; }
.case-notification { position: relative; }
.dashboard-action {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
  font-weight: 800;
  font-size: .85rem;
}
.dashboard-action span { color: var(--yellow); font-size: 1.25rem; }

.tracking-callout {
  overflow: hidden;
  color: rgba(255,255,255,.82);
  background:
    radial-gradient(circle at 85% 20%, rgba(43,182,115,.22), transparent 26%),
    linear-gradient(135deg, #112f4a, var(--blue));
}
.tracking-callout h2 { color: #fff; max-width: 760px; }
.tracking-callout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 100px); align-items: center; }
.tracking-features { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; }
.tracking-features li { display: flex; gap: 10px; font-weight: 700; }
.tracking-features li::before { content: "✓"; color: var(--yellow); }
.tracking-keys { position: relative; display: grid; gap: 14px; padding: 56px 28px 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.tracking-keys > div { padding: 18px; border-radius: 16px; color: var(--graphite); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.tracking-keys small, .tracking-keys strong, .tracking-keys span { display: block; }
.tracking-keys small { color: var(--green-dark); font-weight: 800; letter-spacing: .12em; font-size: .65rem; }
.tracking-keys strong { color: var(--blue); margin: 2px 0 6px; }
.tracking-keys span { color: var(--muted); font-size: .86rem; }
.shield-orbit { position: absolute; left: 50%; top: -34px; width: 70px; height: 70px; transform: translateX(-50%); display: grid; place-items: center; border: 7px solid rgba(255,200,87,.3); border-radius: 50%; color: #fff; background: var(--green); }
.shield-orbit svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-access { opacity: .7; font-size: .78rem !important; }

@media (max-width: 1020px) {
  .tracking-callout-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { background: var(--blue-dark); }
  .nav-track { padding: 11px 0 !important; }
  .tracking-callout-grid { grid-template-columns: 1fr; }
  .tracking-keys { margin-top: 34px; }
  .service-card { min-height: 300px; padding: 24px; }
  .service-card .icon-box { width: 66px; height: 66px; }
  .benefit-card { padding: 24px; }
  .case-dashboard { width: 100%; padding: 18px; border-radius: 22px; }
  .case-dashboard { order: 0; }
  .dashboard-topbar { align-items: center; gap: 10px; }
  .dashboard-brand > span { flex-basis: 42px; width: 42px; height: 42px; }
  .dashboard-brand b { font-size: .78rem; }
  .dashboard-brand small { display: block; font-size: .58rem; }
  .live-pill { flex: 0 0 auto; font-size: 0; padding: 9px; }
  .case-overview { align-items: center; gap: 10px; padding-top: 18px; }
  .case-overview strong { font-size: .95rem; }
  .case-score { width: 62px; height: 62px; flex-basis: 62px; }
  .case-steps { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .case-step { min-height: 50px; grid-template-columns: 38px 1fr; justify-items: start; align-items: center; text-align: left; padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.72); }
  .case-step:not(:last-child)::after { width: 2px; height: 12px; left: 28px; top: calc(100% - 3px); }
  .case-step i { width: 32px; height: 32px; }
  .case-step b { font-size: .72rem; }
  .case-step small { display: block; font-size: .61rem; }
  .case-notification { display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 13px; }
  .case-notification time { display: none; }
  .case-notification b { font-size: .72rem; }
  .case-notification small { font-size: .62rem; }
}
