:root {
  --navy: #0A1C33;
  --navy-2: #12335C;
  --gold: #BAA14F;
  --gold-light: #E8DDAF;
  --ink: #172033;
  --muted: #5B6472;
  --line: #D9DEE7;
  --surface: #F4F6F8;
  --white: #FFFFFF;
  --shadow: 0 18px 45px rgba(10, 28, 51, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 10px 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(10,28,51,.08);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; }
.brand-main { color: var(--navy); font-size: 1.16rem; letter-spacing: .035em; font-weight: 700; }
.brand-main strong { color: var(--gold); }
.brand-tagline { margin-top: 5px; color: var(--gold); text-transform: uppercase; font-size: .62rem; letter-spacing: .14em; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: .92rem; }
.main-nav a:hover { color: var(--gold); }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 10px; padding: 8px 12px; font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(186,161,79,.19), transparent 27%),
    linear-gradient(135deg, #fff 0%, #F6F8FA 53%, #EDF1F6 100%);
  padding: 90px 0;
}
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(186,161,79,.3); transform: rotate(35deg); }
.hero::before { width: 250px; height: 250px; right: -50px; top: -130px; }
.hero::after { width: 190px; height: 190px; right: 17%; bottom: -130px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; gap: 70px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.16; }
h1 { max-width: 720px; font-size: clamp(2.65rem, 6vw, 5.15rem); letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-text { max-width: 680px; font-size: 1.18rem; color: var(--muted); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 12px; padding: 14px 22px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 25px rgba(10,28,51,.18); }
.button-primary:hover { background: var(--navy-2); }
.button-secondary { background: transparent; color: var(--navy); border: 1px solid rgba(10,28,51,.22); }
.button-gold { background: var(--gold); color: var(--navy); width: 100%; }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 0; margin: 0; list-style: none; color: var(--navy); font-size: .92rem; font-weight: 700; }
.trust-list li::before { content: "✓"; color: var(--gold); margin-right: 8px; }

.price-card { background: var(--navy); color: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.price-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(186,161,79,.45); border-radius: 15px; pointer-events: none; }
.price-label { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .82rem; }
.price { font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 900; line-height: 1; margin: 17px 0 4px; letter-spacing: -.06em; }
.price span { font-size: .48em; vertical-align: top; margin-right: 4px; }
.price-tax { margin: 0 0 20px; color: #DCE5EF; }
.price-divider { height: 2px; background: linear-gradient(90deg, var(--gold), transparent); margin: 20px 0; }
.price-card > p { color: #fff; }

.section { padding: 88px 0; }
.section-light { background: var(--surface); }
.section-heading { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading-left { margin-left: 0; text-align: left; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; padding: 30px; border-radius: 18px; border: 1px solid rgba(10,28,51,.08); box-shadow: 0 10px 28px rgba(10,28,51,.06); }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-light); color: var(--navy); font-weight: 900; margin-bottom: 22px; }
.profiles-panel { margin-top: 28px; padding: 38px; border-radius: var(--radius); background: var(--navy); color: #fff; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.profiles-panel h3 { color: #fff; font-size: 1.75rem; }
.profiles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.profiles-list li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 10px; }
.legal-note { margin: 20px 0 0; color: var(--muted); font-size: .9rem; text-align: center; }

.process-section { background: #fff; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px; background: var(--surface); border-radius: 16px; }
.process-list li > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 900; font-size: 1.15rem; }
.process-list p { color: var(--muted); margin: 0; }

.contact-section { background: linear-gradient(135deg, var(--navy), #112D4D); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: #DCE5EF; }
.contact-data { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-data a { color: #fff; }
.lead-form { background: #fff; color: var(--ink); padding: 34px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.lead-form label { display: grid; gap: 7px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #C9D0DA; border-radius: 10px; padding: 12px 13px; background: #fff; color: var(--ink); outline: none; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(186,161,79,.2); }
.consent { display: flex !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; font-weight: 400 !important; font-size: .9rem; }
.consent input { width: auto; margin-top: 4px; }
.consent a { color: var(--navy-2); font-weight: 700; }
.form-submit { width: 100%; }
.form-help { text-align: center; color: var(--muted); font-size: .82rem; margin: 10px 0 0; }
.honeypot { position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }

.site-footer { background: #071525; color: #DCE5EF; padding: 36px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: center; }
.footer-inner p { margin: 3px 0 0; }
.footer-links { display: grid; text-align: right; gap: 4px; }
.footer-links a { color: #DCE5EF; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; color: #AAB8C8; font-size: .86rem; }

.simple-page { min-height: 100vh; background: var(--surface); }
.simple-shell { width: min(860px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; }
.simple-card { background: #fff; border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); }
.simple-card h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.simple-card h2 { font-size: 1.5rem; margin-top: 32px; }
.simple-card p, .simple-card li { color: var(--muted); }
.warning { background: #FFF4D8; border-left: 4px solid var(--gold); padding: 14px 16px; color: var(--ink) !important; }

@media (max-width: 900px) {
  .hero-grid, .contact-grid, .profiles-panel { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .hero { padding: 70px 0; }
  .price-card { max-width: 520px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 68px; }
  .menu-button { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 18px 20px 22px; box-shadow: 0 14px 25px rgba(10,28,51,.11); flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .brand-tagline { display: none; }
  .hero { padding: 58px 0; }
  h1 { font-size: 2.65rem; }
  .section { padding: 64px 0; }
  .profiles-list, .form-grid { grid-template-columns: 1fr; }
  .profiles-panel, .lead-form, .price-card { padding: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
}


.form-status {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-success {
  color: #0A1C33;
  background: #eef7ee;
  border: 1px solid #7ab67a;
}

.form-status.is-error {
  color: #7a1d1d;
  background: #fff1f1;
  border: 1px solid #d48a8a;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}


/* V5 - Sitio corporativo */
.hero-corporate .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
.intro-card {
  background: #fff;
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(10,28,51,.08);
  box-shadow: var(--shadow);
}
.intro-card h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.summary-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.summary-list li { color: var(--navy); font-weight: 700; }
.summary-list li::before { content: "✓"; color: var(--gold); margin-right: 10px; font-weight: 900; }

.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.about-copy > p { color: var(--muted); font-size: 1.08rem; }
.about-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-highlights span { background: var(--gold-light); color: var(--navy); border-radius: 999px; padding: 9px 14px; font-weight: 800; font-size: .88rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(10,28,51,.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10,28,51,.05);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(186,161,79,.3);
}
.service-number { display: inline-block; color: var(--gold); font-weight: 900; letter-spacing: .14em; margin-bottom: 26px; }
.service-card p { color: var(--muted); margin-bottom: 0; }

.package-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(186,161,79,.18), transparent 24%),
    linear-gradient(135deg, #fff 0%, #F4F7FA 100%);
}
.package-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 64px; align-items: center; }
.package-lead { font-size: 1.14rem; color: var(--muted); }
.package-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.package-list li::before { content: "✓"; color: var(--gold); font-weight: 900; margin-right: 10px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-tags span { padding: 8px 12px; border: 1px solid rgba(10,28,51,.14); border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-size: .87rem; }
.legal-note-left { text-align: left; }

.why-section { background: var(--surface); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-grid article { background: #fff; padding: 26px; border-radius: 18px; border-top: 4px solid var(--gold); box-shadow: 0 8px 22px rgba(10,28,51,.05); }
.why-grid strong { color: var(--gold); font-size: 1.05rem; }
.why-grid h3 { margin-top: 18px; }
.why-grid p { color: var(--muted); margin-bottom: 0; }

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-corporate .hero-grid, .about-grid, .package-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .services-grid, .why-grid { grid-template-columns: 1fr; }
  .intro-card { padding: 26px; }
}


/* V6 - Paquetes, presentación e información corporativa */
.presentation-section { background: #fff; }
.presentation-frame {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(10,28,51,.08);
  background: #fff;
}
.presentation-frame img { display: block; width: 100%; height: auto; }

.packages-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(186,161,79,.14), transparent 24%),
    linear-gradient(135deg, #F6F8FA 0%, #fff 52%, #F1F4F8 100%);
}
.package-comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.package-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10,28,51,.1);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(10,28,51,.07);
}
.package-featured {
  background: var(--navy);
  color: #fff;
  transform: translateY(-8px);
  border: 2px solid var(--gold);
}
.package-featured h3, .package-featured .package-price, .package-featured .package-duration { color: #fff; }
.package-featured li { color: #E9EFF6; }
.package-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  margin-bottom: 18px;
}
.package-card h3 { font-size: 1.5rem; min-height: 58px; }
.package-price { color: var(--navy); font-size: 2.25rem; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.package-price small { font-size: .72rem; letter-spacing: 0; white-space: nowrap; }
.package-duration { color: var(--gold); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; margin: 10px 0 22px; }
.package-card ul { padding-left: 20px; margin: 0 0 28px; flex-grow: 1; }
.package-card li { margin-bottom: 10px; color: var(--muted); }
.package-card .button { width: 100%; }
.packages-note { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }

.package-gallery-section { background: var(--navy); }
.package-gallery-section h2 { color: #fff; }
.package-gallery-section .section-heading p:last-child { color: #DCE5EF; }
.package-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.package-gallery a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(186,161,79,.5);
  box-shadow: 0 16px 35px rgba(0,0,0,.22);
  background: #fff;
  transition: transform .2s ease;
}
.package-gallery a:hover { transform: translateY(-5px); }
.package-gallery img { display: block; width: 100%; height: auto; }

.faq-section { background: #fff; }
.faq-container { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid rgba(10,28,51,.08); border-radius: 14px; padding: 0 20px; }
.faq-list summary { cursor: pointer; color: var(--navy); font-weight: 800; padding: 18px 0; }
.faq-list details[open] summary { color: var(--gold); }
.faq-list p { margin: 0; padding: 0 0 18px; color: var(--muted); }

.footer-legal { max-width: 650px; color: #AAB8C8; font-size: .82rem; }

@media (max-width: 1000px) {
  .package-comparison { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
  .package-featured { transform: none; order: -1; }
  .package-card h3 { min-height: auto; }
}
@media (max-width: 820px) {
  .package-gallery { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
