:root {
  --petroleo: #102A43;
  --petroleo-dark: #0B1F33;
  --turquesa: #0F9D8B;
  --turquesa-dark: #0C7C6E;
  --hielo: #EAF4F8;
  --ambar: #F59E0B;
  --blanco: #FFFFFF;
  --texto: #243B53;
  --texto-suave: #486581;
  --texto-tenue: #627D98;
  --borde: #D9E7EE;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--hielo);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--petroleo); margin: 0; }

p { margin: 0; line-height: 1.6; }

a { color: var(--turquesa); }
a:hover { color: var(--turquesa-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--petroleo); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}

/* Header */
.site-header { background: var(--blanco); border-bottom: 1px solid #E4EDF1; position: sticky; top: 0; z-index: 50; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.brand-logo { height: 32px; display: block; }
.brand { text-decoration: none; display: flex; align-items: center; }

.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.main-nav a { color: var(--texto); text-decoration: none; }
.main-nav a:hover { color: var(--turquesa); }

.menu-button {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.menu-button span { display: block; width: 22px; height: 2px; background: var(--petroleo); border-radius: 2px; }

.button {
  display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  text-decoration: none; padding: 12px 22px; border-radius: 4px; border: none; cursor: pointer;
  background: var(--turquesa); color: #fff;
}
.button:hover { background: var(--turquesa-dark); color: #fff; }
.button-small { padding: 9px 18px; font-size: 13px; }
.button-ghost { background: transparent; border: 1.5px solid #fff; color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.button-amber { background: var(--ambar); color: var(--petroleo); }
.button-amber:hover { background: #E08E00; color: var(--petroleo); }
.button-light { background: var(--turquesa); color: #fff; width: 100%; }

/* Hero */
.hero { background: var(--petroleo); padding: 72px 0; }
.hero-grid { display: flex; gap: 56px; align-items: center; }
.hero-copy { flex: 1.1; min-width: 0; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turquesa); margin-bottom: 16px; }
.eyebrow.light { color: #6CD9C8; }
.hero h1 { font-size: 44px; line-height: 1.15; font-weight: 700; color: #fff; margin-bottom: 20px; }
.hero-copy > p { font-size: 17px; color: #C6D6E3; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #9FB3C8; }
.hero-visual { flex: 0.85; display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 220px; height: 220px; }

/* Sections */
.section { padding: 72px 0; }
.section-dark { background: var(--petroleo); }
.section-heading { max-width: 640px; margin: 0 0 44px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: 30px; margin: 10px 0 12px; }
.section-heading p { font-size: 15px; color: var(--texto-suave); }

/* Products */
.products-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-card {
  flex: 1 1 340px; background: #fff; border: 1px solid var(--borde); border-radius: 6px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.product-card.featured { border: 2px solid var(--turquesa); }
.product-top { display: flex; justify-content: space-between; align-items: center; }
.product-top-right { justify-content: flex-end; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.tag-launch { color: #fff; background: var(--turquesa); }
.status { font-size: 11px; font-weight: 700; }
.status-dev { color: var(--turquesa); }
.status-soon { color: #829AB1; }
.status-validation { color: var(--ambar); }
.product-card h3 { font-size: 19px; }
.product-card p { font-size: 13.5px; color: var(--texto-tenue); flex: 1; }
.product-cta {
  text-decoration: none; text-align: center; font-weight: 700; font-size: 13.5px; padding: 10px;
  border-radius: 4px; border: 1.5px solid var(--petroleo); color: var(--petroleo);
}
.product-cta:hover { background: var(--petroleo); color: #fff; }
.product-cta-solid { background: var(--petroleo); color: #fff; border-color: var(--petroleo); }
.product-cta-solid:hover { background: #0B2138; color: #fff; }

.product-special {
  max-width: 560px; margin: 20px auto 0; background: #FFF8EC; border: 1.5px dashed var(--ambar);
  border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 12px; text-align: center;
}
.product-special h3 { font-size: 19px; }
.product-special p { font-size: 13.5px; color: var(--texto-tenue); }
.product-special .product-cta { align-self: center; min-width: 220px; }

/* Personalizadas */
.split-grid { display: flex; gap: 48px; align-items: flex-start; }
.personal-copy { flex: 1; }
.personal-copy h2 { color: #fff; font-size: 30px; margin: 12px 0 16px; }
.personal-copy p { font-size: 15px; color: #C6D6E3; margin-bottom: 24px; }
.personal-list { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.personal-list div {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px; padding: 14px 18px; color: #fff; font-size: 14px;
}

/* Beneficios */
.benefits-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.benefit-card { flex: 1 1 240px; padding: 20px; border-radius: 6px; background: var(--hielo); }
.benefit-num { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--turquesa); font-size: 13px; margin-bottom: 6px; }
.benefit-card h3 { font-size: 16px; margin-bottom: 6px; }
.benefit-card p { font-size: 13.5px; color: var(--texto-tenue); }

/* Proceso */
.steps-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.step-card { flex: 1 1 160px; background: #fff; border: 1px solid var(--borde); border-radius: 6px; padding: 20px; }
.step-num {
  display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: var(--turquesa); color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: 13px; margin-bottom: 10px;
}
.step-card p { font-size: 13.5px; color: var(--texto); }
.steps-personal { background: var(--petroleo); border-radius: 8px; padding: 32px; }
.steps-personal h3 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.steps-grid-amber { margin-bottom: 0; }
.step-card-dark { background: transparent; border: none; padding: 0; flex: 1 1 140px; }
.step-num-amber { background: var(--ambar); color: var(--petroleo); }
.step-card-dark p { color: #C6D6E3; }

/* FAQ */
.accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion details { background: var(--hielo); border-radius: 6px; padding: 16px 20px; }
.accordion summary { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--petroleo); cursor: pointer; }
.accordion p { font-size: 13.5px; color: var(--texto-suave); margin-top: 10px; }

/* Contacto */
.contact-card { display: flex; gap: 48px; background: var(--petroleo); border-radius: 8px; padding: 48px; }
.contact-copy { flex: 1; }
.contact-copy h2 { color: #fff; font-size: 26px; margin: 10px 0 14px; }
.contact-copy p { font-size: 14.5px; color: #C6D6E3; margin-bottom: 16px; }
.email-link { color: #6CD9C8; font-weight: 700; font-size: 15px; text-decoration: none; }
.contact-form { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.contact-form label { font-size: 12.5px; color: #C6D6E3; display: flex; flex-direction: column; gap: 4px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border-radius: 4px; border: none; font-size: 14px; font-family: inherit; resize: none;
}
.contact-form small { color: #9FB3C8; font-size: 12px; }

/* Footer */
.site-footer { background: var(--petroleo-dark); padding: 40px 0 0; }
.footer-grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.footer-logo { height: 24px; }
.footer-grid p { flex: 1 1 260px; font-size: 13px; color: #9FB3C8; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a { color: #9FB3C8; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; padding: 18px 24px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: #6B7F94;
}

#beneficios,
#preguntas {
  background: var(--blanco);
}

section[id] {
  scroll-margin-top: 80px;
}

/* Mobile */
@media (max-width: 860px) {
  .hero-grid, .split-grid, .contact-card { flex-direction: column; }
  .hero-visual img { width: 140px; height: 140px; }
  .personal-copy, .personal-list, .contact-copy, .contact-form { flex: none; width: 100%; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; border-bottom: 1px solid var(--borde); padding: 8px 0;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid #F0F5F8; }
  .main-nav .button-small { margin: 12px 24px; text-align: center; }
  .menu-button { display: flex; }

  .hero { padding: 48px 0; }
  .hero h1 { font-size: 28px; }
  .hero-copy > p { font-size: 15px; }
  .section { padding: 48px 0; }
  .section-heading h2 { font-size: 24px; }
  .contact-card { padding: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 380px) {
  .brand-logo { height: 27px; }
  .nav-wrap { gap: 8px; }
}
