:root {
--navy: #082743;
--navy-2: #0e395d;
--blue: #165f86;
--gold: #E0C171;
--gold-2: #E0C171;
--red: #d2232a;
--green: #2d8a67;
--cream: #f6f1e8;
--cream-2: #fbf8f1;
--white: #ffffff;
--ink: #16324a;
--muted: #6c7a87;
--line: rgba(8, 39, 67, 0.12);
--shadow: 0 24px 70px rgba(8, 39, 67, 0.14);
--radius-xl: 30px;
--radius-lg: 20px;
--container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
color: var(--ink);
background: var(--cream-2);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.top-strip {
background: linear-gradient(90deg, var(--gold), var(--gold-2));
color: var(--navy);
font-size: 0.88rem;
font-weight: 700;
text-align: center;
padding: 10px 16px;
}

.site-header {
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(18px);
background: rgba(246, 241, 232, 0.86);
border-bottom: 1px solid var(--line);
}

.nav-wrap {
width: min(var(--container), calc(100% - 32px));
margin: 0 auto;
min-height: 82px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}

.brand {
display: inline-flex;
align-items: center;
gap: 12px;
font-weight: 900;
letter-spacing: -0.04em;
color: var(--navy);
flex-shrink: 0;
}

.brand-logo {
height: 58px;
width: auto;
}

.brand-mark {
width: 46px;
height: 46px;
border-radius: 14px;
background: var(--navy);
position: relative;
box-shadow: 0 12px 28px rgba(8, 39, 67, 0.2);
}

.brand-mark::before {
content: "";
position: absolute;
width: 26px;
height: 20px;
left: 10px;
bottom: 9px;
background: var(--cream-2);
clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
}

.brand-mark::after {
content: "";
position: absolute;
width: 9px;
height: 9px;
right: 10px;
bottom: 13px;
background: var(--gold);
border-radius: 2px;
}

.brand-text { line-height: 0.95; font-size: 1.18rem; }
.brand-text span { display: block; color: var(--red); font-size: 1.24rem; }

.nav-links {
display: flex;
align-items: center;
gap: 22px;
color: rgba(22, 50, 74, 0.82);
font-size: 0.95rem;
font-weight: 700;
}

.nav-links a:hover { color: var(--red); }

.nav-actions {
display: flex;
align-items: center;
gap: 12px;
}

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
border: 0;
border-radius: 999px;
padding: 13px 20px;
font-weight: 900;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: var(--red); box-shadow: 0 16px 36px rgba(210, 35, 42, 0.26); }
.btn-primary:hover { box-shadow: 0 22px 46px rgba(210, 35, 42, 0.32); }
.btn-secondary { color: var(--navy); background: var(--white); border: 1px solid var(--line); }
.btn-dark { color: var(--white); background: var(--navy); }
.btn-gold { color: var(--navy); background: linear-gradient(135deg, var(--gold), var(--gold-2)); }

/* Mobile navigation */
.mobile-actions {
display: none;
align-items: center;
gap: 10px;
margin-left: auto;
}

.mobile-cita {
padding: 12px 18px;
}

.hamburger {
width: 52px;
height: 52px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--white);
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 5px;
cursor: pointer;
box-shadow: 0 10px 24px rgba(8, 39, 67, 0.08);
padding: 0;
}

.hamburger span {
display: block;
width: 22px;
height: 3px;
background: var(--navy);
border-radius: 999px;
transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.is-open span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
display: none;
width: min(var(--container), calc(100% - 32px));
margin: 0 auto 16px;
background: var(--white);
border: 1px solid var(--line);
border-radius: 22px;
box-shadow: 0 20px 50px rgba(8, 39, 67, 0.16);
overflow: hidden;
}

.mobile-nav a {
display: block;
padding: 17px 22px;
color: var(--navy);
font-weight: 900;
border-bottom: 1px solid rgba(8, 39, 67, 0.08);
}

.mobile-nav a:last-child {
border-bottom: 0;
}

.mobile-nav a:hover {
background: var(--cream);
color: var(--red);
}

.section {
padding: 92px 0;
position: relative;
overflow: hidden;
}

.container {
width: min(var(--container), calc(100% - 32px));
margin: 0 auto;
position: relative;
z-index: 2;
}

.hero {
padding: 30px 0 80px;
background:
radial-gradient(circle at 70% 25%, rgba(199, 157, 67, 0.28), transparent 34%),
linear-gradient(135deg, var(--cream-2), var(--cream));
}

.hero-grid {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
gap: 48px;
align-items: center;
}

.eyebrow {
display: inline-flex;
align-items: center;
gap: 20px;
color: var(--navy);
background: rgba(199, 157, 67, 0.18);
border: 1px solid rgba(199, 157, 67, 0.35);
padding: 8px 14px;
border-radius: 999px;
font-weight: 900;
font-size: 0.88rem;
margin-bottom: 20px;
}

.eyebrow::before {
content: "";
width: 8px;
height: 8px;
border-radius: 999px;
background: var(--gold);
box-shadow: 0 0 0 6px rgba(199, 157, 67, 0.18);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
font-size: clamp(2.8rem, 6vw, 5.8rem);
line-height: 0.94;
letter-spacing: -0.075em;
color: var(--navy);
margin-bottom: 24px;
}

h1 .gold { color: var(--gold); }
h1 .red { color: var(--red); }

.hero-copy {
color: rgba(22, 50, 74, 0.78);
font-size: clamp(1.08rem, 1.6vw, 1.28rem);
max-width: 670px;
margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.trust-bar {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-top: 34px;
}

.trust-pill {
background: rgba(255, 255, 255, 0.74);
border: 1px solid var(--line);
border-radius: 18px;
padding: 16px;
box-shadow: 0 12px 28px rgba(8, 39, 67, 0.06);
}

.trust-pill strong {
display: block;
color: var(--navy);
font-size: 1.02rem;
margin-bottom: 4px;
}

.trust-pill span { color: var(--muted); font-size: 0.9rem; }

.hero-visual {
min-height: 580px;
border-radius: 46% 46% 30px 30px;
background:
linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.85)),
radial-gradient(circle at 54% 36%, rgba(226, 195, 116, 0.68), transparent 26%),
linear-gradient(145deg, rgba(8,39,67,0.08), rgba(199,157,67,0.22));
position: relative;
overflow: hidden;
box-shadow: var(--shadow);
border: 1px solid rgba(255,255,255,0.8);
}

.hero-visual::before,
.hero-visual::after {
content: "";
position: absolute;
border-radius: 999px;
border: 2px solid rgba(199, 157, 67, 0.35);
transform: rotate(-22deg);
}

.hero-visual::before {
width: 620px;
height: 190px;
left: -60px;
top: 210px;
box-shadow: 0 0 34px rgba(226, 195, 116, 0.44);
}

.hero-visual::after {
width: 520px;
height: 150px;
right: -140px;
bottom: 82px;
}

.home-card {
position: absolute;
background: linear-gradient(145deg, #ffffff, #eee9df);
border-radius: 18px;
width: 178px;
height: 150px;
box-shadow: 0 26px 55px rgba(8, 39, 67, 0.18);
overflow: hidden;
border: 1px solid rgba(255,255,255,0.8);
}

.home-card::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 54px;
background: linear-gradient(135deg, var(--navy), var(--blue));
clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.home-card::after {
content: "";
position: absolute;
left: 34px;
bottom: 34px;
width: 32px;
height: 50px;
border-radius: 6px 6px 0 0;
background: var(--gold);
box-shadow: 56px 0 0 rgba(8, 39, 67, 0.16), 56px -34px 0 rgba(8, 39, 67, 0.12);
}

.home-card.one { left: 64px; top: 122px; transform: rotate(-6deg); }
.home-card.two { right: 72px; top: 60px; width: 150px; height: 126px; transform: rotate(8deg) scale(0.9); }
.home-card.three { left: 188px; bottom: 76px; width: 218px; height: 182px; transform: rotate(2deg); }

.hero-badge {
position: absolute;
left: 34px;
bottom: 34px;
right: 34px;
padding: 22px;
background: rgba(8, 39, 67, 0.92);
color: var(--white);
border-radius: 24px;
box-shadow: 0 24px 55px rgba(8, 39, 67, 0.26);
}

.hero-badge strong { color: var(--gold-2); display: block; margin-bottom: 4px; }

.calc-card {
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius-xl);
padding: 28px;
box-shadow: var(--shadow);
margin-top: -46px;
}

.calc-grid {
display: grid;
grid-template-columns: 1.1fr 0.9fr auto;
gap: 16px;
align-items: end;
}

label {
display: block;
color: var(--navy);
font-size: 0.9rem;
font-weight: 900;
margin-bottom: 8px;
}

.field {
width: 100%;
border: 1px solid var(--line);
background: var(--cream-2);
color: var(--navy);
border-radius: 16px;
padding: 16px 18px;
outline: none;
font-weight: 800;
}

.field:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199, 157, 67, 0.18); }

.section-title {
max-width: 840px;
margin: 0 auto 48px;
text-align: center;
}

.section-title.left { margin-left: 0; text-align: left; }

.section-kicker {
color: var(--gold);
font-weight: 1000;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 2rem;
margin-bottom: 12px;
}

h2 {
color: var(--navy);
font-size: clamp(2rem, 4vw, 3.7rem);
line-height: 1;
letter-spacing: -0.055em;
margin-bottom: 18px;
}

.section-lead { color: rgba(22, 50, 74, 0.76); font-size: 1.1rem; }

.features {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
}

.feature-card,
.plan-card,
.step-card,
.faq-card,
.asset-card {
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
padding: 24px;
box-shadow: 0 16px 36px rgba(8, 39, 67, 0.07);
}

.feature-card { position: relative; overflow: hidden; min-height: 220px; }
.feature-card::before {
content: "";
position: absolute;
inset: 0 0 auto 0;
height: 7px;
background: var(--gold);
}
.feature-card:nth-child(2)::before { background: var(--green); }
.feature-card:nth-child(3)::before { background: var(--blue); }
.feature-card:nth-child(4)::before { background: var(--red); }

.icon {
width: 80px;
height: 80px;
border-radius: 16px;
display: grid;
place-items: center;
background: rgba(199, 157, 67, 0.16);
color: var(--navy);
font-size: 2rem;
margin-bottom: 18px;
}

.feature-card h3,
.plan-card h3,
.step-card h3,
.faq-card h3,
.asset-card h3 {
color: var(--navy);
letter-spacing: -0.025em;
line-height: 1.1;
margin-bottom: 10px;
font-size: 1.22rem;
}

.feature-card p,
.plan-card p,
.step-card p,
.faq-card p,
.asset-card p { color: var(--muted); margin-bottom: 0; }

.dark-band {
background: var(--navy);
color: var(--white);
}

.dark-band::before {
content: "";
position: absolute;
width: 680px;
height: 680px;
border-radius: 999px;
right: -240px;
top: -250px;
background: radial-gradient(circle, rgba(199, 157, 67, 0.28), transparent 65%);
}

.dark-band h2 { color: var(--white); }
.dark-band .section-lead { color: rgba(255, 255, 255, 0.76); }

.two-col {
display: grid;
grid-template-columns: 0.95fr 1.05fr;
gap: 50px;
align-items: center;
}

.problem-list { display: grid; gap: 14px; }

.problem-item {
display: grid;
grid-template-columns: 46px 1fr;
gap: 14px;
align-items: start;
padding: 18px;
border-radius: 18px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.12);
}

.problem-item span {
width: 46px;
height: 46px;
border-radius: 14px;
display: grid;
place-items: center;
background: var(--gold);
color: var(--navy);
font-weight: 1000;
}

.problem-item strong { display: block; color: var(--white); margin-bottom: 3px; }
.problem-item p { color: rgba(255,255,255,0.68); margin: 0; }

.assets-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
}

.asset-card {
min-height: 168px;
text-align: center;
display: grid;
place-items: center;
gap: 12px;
}

.asset-icon {
width: 64px;
height: 64px;
border-radius: 22px;
display: grid;
place-items: center;
margin: 0 auto;
font-size: 1.6rem;
background: linear-gradient(135deg, rgba(8,39,67,0.08), rgba(199,157,67,0.18));
}

.plans {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
align-items: stretch;
}

.plan-card { position: relative; overflow: hidden; }
.plan-card.featured {
background: var(--navy);
color: var(--white);
transform: translateY(-12px);
box-shadow: 0 28px 70px rgba(8,39,67,0.28);
}

.plan-card.featured h3,
.plan-card.featured .plan-price,
.plan-card.featured p { color: var(--white); }
.plan-card.featured li { color: rgba(255,255,255,0.82); }

.tag {
display: inline-flex;
padding: 7px 11px;
border-radius: 999px;
background: rgba(199, 157, 67, 0.16);
color: var(--navy);
font-size: 0.78rem;
font-weight: 1000;
margin-bottom: 18px;
}

.plan-card.featured .tag { background: var(--gold); }
.plan-price {
color: var(--navy);
font-size: 2rem;
line-height: 1;
letter-spacing: -0.05em;
font-weight: 1000;
margin: 20px 0 4px;
}

.plan-note { font-size: 0.86rem; color: var(--muted); }
.plan-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.plan-card li { color: rgba(22, 50, 74, 0.78); display: flex; gap: 10px; }
.plan-card li::before { content: "✓"; color: var(--green); font-weight: 1000; }

.steps {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
counter-reset: steps;
}

.step-card { position: relative; min-height: 260px; }
.step-card::before {
counter-increment: steps;
content: counter(steps);
width: 48px;
height: 48px;
border-radius: 16px;
display: grid;
place-items: center;
background: var(--navy);
color: var(--gold-2);
font-weight: 1000;
margin-bottom: 22px;
}

.legal-callout {
margin-top: 28px;
border-radius: var(--radius-lg);
background: rgba(199, 157, 67, 0.16);
border: 1px solid rgba(199, 157, 67, 0.32);
padding: 20px 24px;
color: rgba(22,50,74,0.82);
}

.cta-panel {
border-radius: var(--radius-xl);
background:
radial-gradient(circle at 90% 20%, rgba(226, 195, 116, 0.28), transparent 30%),
var(--navy);
color: var(--white);
padding: clamp(32px, 6vw, 64px);
display: grid;
grid-template-columns: 1fr 0.8fr;
gap: 42px;
align-items: center;
box-shadow: var(--shadow);
}

.cta-panel h2 { color: var(--white); margin-bottom: 12px; }
.cta-panel p { color: rgba(255,255,255,0.75); font-size: 1.08rem; }

.lead-form {
background: var(--white);
color: var(--ink);
border-radius: var(--radius-lg);
padding: 26px;
display: grid;
gap: 14px;
}

.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fine-print { font-size: 0.78rem; color: rgba(22,50,74,0.62); margin: 0; }

.faq-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.footer {
background: #061f36;
color: rgba(255,255,255,0.72);
padding: 50px 0 34px;
}

.footer-grid {
display: grid;
grid-template-columns: 1.2fr 0.8fr 0.8fr;
gap: 36px;
}

.footer strong { color: var(--white); }
.footer a { display: block; margin-bottom: 8px; color: rgba(255,255,255,0.72); }
.footer a:hover { color: var(--gold-2); }
.footer-bottom {
margin-top: 34px;
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 18px;
font-size: 0.83rem;
}

.footer-logo-box {
display: inline-flex;
align-items: center;
justify-content: center;
background: #ffffff;
padding: 10px 14px;
border-radius: 14px;
margin-bottom: 16px;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.footer-logo-box img {
height: 46px;
width: auto;
display: block;
}

/* Calculator controls */
.currency-control {
display: grid;
grid-template-columns: 48px 1fr 48px;
gap: 10px;
align-items: center;
}

.currency-control .field {
text-align: left;
}

.step-btn {
width: 48px;
height: 48px;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--navy);
color: var(--white);
font-size: 1.35rem;
line-height: 1;
font-weight: 1000;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: transform 0.2s ease, background 0.2s ease;
}

.step-btn:hover {
transform: translateY(-1px);
background: var(--navy-2);
}

.field-help {
margin: 8px 0 0;
color: var(--muted);
font-size: 0.82rem;
}

.form-success {
background: rgba(45, 138, 103, 0.12);
border: 1px solid rgba(45, 138, 103, 0.35);
color: #1f6f50;
padding: 14px 16px;
border-radius: 14px;
font-weight: 800;
}

.form-error {
background: rgba(210, 35, 42, 0.10);
border: 1px solid rgba(210, 35, 42, 0.32);
color: #a71920;
padding: 14px 16px;
border-radius: 14px;
font-weight: 800;
}

textarea.field {
resize: vertical;
min-height: 110px;
font-family: inherit;
font-weight: 800;
color: var(--navy);
}

textarea.field::placeholder {
font-family: inherit;
font-weight: 800;
color: var(--navy);
opacity: 1;
}

@media (max-width: 1020px) {
.hero-grid, .two-col, .cta-panel { grid-template-columns: 1fr; }
.hero-visual { min-height: 460px; }
.features, .assets-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plans { grid-template-columns: 1fr; }
.plan-card.featured { transform: none; }
.calc-grid { grid-template-columns: 1fr 1fr; }
.calc-grid .btn { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
.hero-grid {
grid-template-columns: 1fr;
gap: 34px;
}

.hero-visual {
margin-top: 0;
}

.trust-bar {
grid-template-columns: 1fr;
margin-top: 28px;
}
}

@media (max-width: 780px) {
.nav-wrap {
width: calc(100% - 32px);
min-height: 76px;
gap: 8px;
}

.brand img {
height: 44px !important;
width: auto;
max-width: 170px;
object-fit: contain;
}

.nav-links, 
.nav-actions { 
display: none; 
}

.mobile-actions {
display: inline-flex;
flex-shrink: 0;
}

.mobile-cita {
padding: 10px 15px;
font-size: 0.92rem;
}

.hamburger {
width: 48px;
height: 48px;
}

.mobile-nav {
width: calc(100% - 32px);
}

.mobile-nav.is-open {
display: block;
}

.trust-bar, 
.features, 
.assets-grid, 
.steps, 
.faq-grid, 
.footer-grid, 
.calc-grid, 
.lead-form .row { 
grid-template-columns: 1fr; 
}

.section { 
padding: 68px 0; 
}

.hero { 
padding-top: 48px; 
}

.hero-visual { 
min-height: 380px; 
border-radius: 32px; 
}

.home-card.one { left: 28px; top: 80px; }
.home-card.two { right: 24px; top: 42px; }
.home-card.three { left: 74px; bottom: 96px; }
.hero-badge { left: 18px; right: 18px; bottom: 18px; }
.calc-card { margin-top: 24px; }

.currency-control {
grid-template-columns: 44px 1fr 44px;
}

.step-btn {
width: 44px;
height: 44px;
}
}

@media (max-width: 420px) {
.brand img {
height: 40px !important;
max-width: 150px;
}

.mobile-cita {
padding: 9px 13px;
font-size: 0.88rem;
}

.hamburger {
width: 44px;
height: 44px;
}

.hamburger span {
width: 20px;
}
}

.hero-photo {
background:
linear-gradient(
90deg,
rgba(246, 241, 232, 0.12) 0%,
rgba(246, 241, 232, 0.02) 42%,
rgba(246, 241, 232, 0.00) 100%
),
url("/assets/img/hero-consorcio-casa.png");

background-size: cover;
background-position: center right;
background-repeat: no-repeat;
border-radius: 40px;
min-height: 520px;
box-shadow: var(--shadow);
border: 1px solid rgba(255,255,255,0.8);
}

/* Apaga las líneas/círculos decorativos del hero anterior */
.hero-photo::before,
.hero-photo::after {
display: none;
}

/* Ya no se usan las casitas */
.hero-photo .home-card {
display: none;
}

@media (max-width: 780px) {
.hero-photo {
min-height: 360px;
background-size: cover;
background-position: center;
border-radius: 32px;
}
}

/* ===== Corrección final: hero + cards a todo lo ancho ===== */
.hero {
padding: 34px 0 70px;
}

.hero-grid {
display: grid;
grid-template-columns: 0.92fr 1.08fr;
gap: 46px;
align-items: start;
}

.hero-content {
position: relative;
z-index: 2;
}

.hero-photo {
margin-top: 28px;
background:
linear-gradient(
90deg,
rgba(246, 241, 232, 0.10) 0%,
rgba(246, 241, 232, 0.02) 42%,
rgba(246, 241, 232, 0.00) 100%
),
url("/assets/img/hero-consorcio-casa.png");
background-size: cover;
background-position: center right;
background-repeat: no-repeat;
border-radius: 40px;
min-height: 520px;
box-shadow: var(--shadow);
border: 1px solid rgba(255,255,255,0.8);
}

.hero-photo::before,
.hero-photo::after {
display: none;
}

.hero-photo .home-card {
display: none;
}

.trust-bar {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
margin-top: 34px;
width: 100%;
}

@media (max-width: 1020px) {
.hero-grid {
grid-template-columns: 1fr;
gap: 34px;
}

.hero-photo {
margin-top: 0;
min-height: 420px;
}
}

@media (max-width: 780px) {
.hero {
padding: 34px 0 56px;
}

.hero-grid {
grid-template-columns: 1fr;
gap: 28px;
}

.hero-photo {
width: 100%;
min-height: 360px;
margin-top: 0;
background-size: cover;
background-position: center;
border-radius: 32px;
}

.hero-badge {
left: 18px;
right: 18px;
bottom: 18px;
padding: 18px;
font-size: 0.92rem;
}

.trust-bar {
grid-template-columns: 1fr;
margin-top: 28px;
}
}

.btn-whatsapp {
color: #ffffff;
background: #25D366;
box-shadow: 0 16px 36px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
box-shadow: 0 22px 46px rgba(37, 211, 102, 0.32);
}

.legal-hero {
padding: 46px 0 34px;
background:
radial-gradient(circle at 80% 20%, rgba(199, 157, 67, 0.26), transparent 34%),
linear-gradient(135deg, var(--cream-2), var(--cream));
}

.legal-toolbar {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
margin-bottom: 34px;
}

.legal-page-title {
max-width: 930px;
}

.legal-page-title h1 {
font-size: clamp(2.35rem, 5vw, 4.8rem);
line-height: 0.98;
letter-spacing: -0.06em;
margin-bottom: 18px;
}

.legal-page-title p {
color: rgba(22, 50, 74, 0.78);
font-size: 1.12rem;
max-width: 780px;
margin-bottom: 0;
}

.legal-content-section {
padding: 52px 0 86px;
background: var(--cream-2);
}

.legal-card {
background: var(--white);
border: 1px solid var(--line);
border-radius: var(--radius-xl);
padding: clamp(26px, 5vw, 56px);
box-shadow: var(--shadow);
}

.legal-card h2 {
font-size: clamp(1.55rem, 3vw, 2.35rem);
margin-top: 34px;
margin-bottom: 14px;
letter-spacing: -0.04em;
}

.legal-card h2:first-child {
margin-top: 0;
}

.legal-card h3 {
color: var(--navy);
font-size: 1.2rem;
margin-top: 22px;
margin-bottom: 10px;
letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
color: rgba(22, 50, 74, 0.78);
font-size: 1rem;
}

.legal-card ul {
margin: 12px 0 0;
padding-left: 22px;
}

.legal-card li {
margin-bottom: 8px;
}

.terms-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 18px;
margin: 26px 0 8px;
}

.term-plan-card {
background: var(--cream-2);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
padding: 24px;
}

.term-plan-card h2 {
margin-top: 0;
font-size: 1.45rem;
}

.term-pill {
display: inline-flex;
padding: 7px 11px;
border-radius: 999px;
background: rgba(199, 157, 67, 0.18);
color: var(--navy);
font-weight: 1000;
font-size: 0.78rem;
margin-bottom: 14px;
}

.notice-box {
background: rgba(199, 157, 67, 0.16);
border: 1px solid rgba(199, 157, 67, 0.32);
border-radius: var(--radius-lg);
padding: 22px;
margin-top: 28px;
}

.notice-box p:last-child {
margin-bottom: 0;
}

.states-list {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding-left: 0 !important;
list-style: none;
}

.states-list li {
margin: 0;
background: var(--cream);
border: 1px solid var(--line);
border-radius: 999px;
padding: 7px 12px;
font-weight: 800;
color: var(--navy);
}

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

@media (max-width: 780px) {
.legal-hero {
padding-top: 28px;
}

.legal-toolbar .btn {
width: 100%;
}

.legal-card {
border-radius: 24px;
}
}


/* ===== FIX FINAL MENÚ MÓVIL SIMULADOR ===== */
@media (max-width: 780px) {
  .mobile-actions {
    display: inline-flex !important;
  }

  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }

  .mobile-nav.is-open {
    display: block !important;
    position: relative;
    z-index: 9999;
  }

  .hamburger {
    position: relative;
    z-index: 10000;
    pointer-events: auto;
  }
}
