:root {
  --azul: #0F172A;
  --azul-claro: #1E40AF;
  --naranja: #F97316;
  --naranja-osc: #C2410C;
  --gris-bg: #F8FAFC;
  --gris-2: #E2E8F0;
  --gris-grafito: #475569;
  --texto: #0F172A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--texto); background: white; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
a { color: var(--azul-claro); text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gris-2); }
.hdr-inner { max-width: 1180px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-weight: 800; font-size: 1rem; color: var(--azul); letter-spacing: -0.02em; }
.logo small { display: block; font-size: .65rem; font-weight: 400; color: var(--naranja); letter-spacing: .12em; text-transform: uppercase; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--texto); font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--naranja); }
.cta-tel { background: var(--naranja); color: white !important; padding: .5rem 1rem; border-radius: 6px; font-weight: 600; font-size: .85rem; }
.cta-tel:hover { background: var(--naranja-osc); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--azul); }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, var(--azul) 0%, #1E293B 50%, #312E81 100%); color: white; padding: 5rem 1.5rem 4rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 70%; height: 200%; background: radial-gradient(circle, rgba(249,115,22,.25), transparent 60%); pointer-events: none; }
.hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { display: inline-block; background: rgba(249,115,22,.18); color: #FDBA74; padding: .4rem 1rem; border-radius: 100px; font-size: .8rem; font-weight: 600; margin-bottom: 1.2rem; border: 1px solid rgba(249,115,22,.4); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1.2rem; }
.hero h1 strong { color: var(--naranja); }
.hero-sub { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 1.8rem; max-width: 540px; }
.hero-puntos { list-style: none; padding: 0; margin-bottom: 1.8rem; }
.hero-puntos li { padding: .35rem 0 .35rem 1.8rem; position: relative; font-size: .98rem; color: #e2e8f0; }
.hero-puntos li::before { content: '✓'; position: absolute; left: 0; color: var(--naranja); font-weight: 800; font-size: 1.2rem; line-height: 1; top: .35rem; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: .95rem; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--naranja); color: white; }
.btn-primary:hover { background: var(--naranja-osc); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,.4); }
.btn-outline { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,.1); }

/* Calculadora */
.calc { background: white; border-radius: 16px; padding: 1.8rem; box-shadow: 0 20px 60px rgba(0,0,0,.3); color: var(--texto); }
.calc h3 { font-size: 1.2rem; margin-bottom: 1.25rem; color: var(--azul); }
.calc label { display: block; font-size: .8rem; font-weight: 600; color: var(--gris-grafito); margin-bottom: .35rem; margin-top: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.calc input, .calc select { width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--gris-2); border-radius: 8px; font-size: .95rem; font-family: inherit; transition: border-color .15s; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--naranja); }
.calc input[type="range"] { padding: 0; height: 6px; -webkit-appearance: none; background: var(--gris-2); border-radius: 3px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: var(--naranja); border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.calc .resultado { background: linear-gradient(135deg, var(--naranja) 0%, var(--naranja-osc) 100%); color: white; padding: 1.2rem; border-radius: 10px; margin-top: 1.25rem; text-align: center; }
.calc .resultado-precio { font-size: 2.2rem; font-weight: 900; font-family: 'Montserrat', sans-serif; }
.calc .resultado-label { font-size: .85rem; opacity: .95; margin-bottom: .25rem; }
.calc .resultado-rango { font-size: .8rem; opacity: .9; margin-top: .3rem; }
.calc .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.calc-toggle-extras { background: none; border: none; color: var(--naranja); font-weight: 600; font-size: .85rem; padding: .5rem 0; cursor: pointer; }
.calc-extras { display: none; }
.calc-extras.open { display: block; }
.calc-submit { width: 100%; margin-top: 1rem; padding: 1rem; background: var(--azul); color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background .2s; }
.calc-submit:hover { background: #1E293B; }

/* Sections */
section.bloque { padding: 4rem 1.5rem; }
.bloque.alt { background: var(--gris-bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-eyebrow { color: var(--naranja); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .15em; margin-bottom: .75rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); color: var(--azul); margin-bottom: 1rem; }
.section-head p { color: var(--gris-grafito); font-size: 1.1rem; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.card { background: white; border: 1px solid var(--gris-2); border-radius: 12px; padding: 2rem; transition: all .2s; }
.card:hover { border-color: var(--naranja); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--naranja), var(--naranja-osc)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 1.2rem; }
.card h3 { font-size: 1.15rem; color: var(--azul); margin-bottom: .6rem; }
.card p { color: var(--gris-grafito); font-size: .95rem; }

.ventajas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.lista-pro, .lista-con { background: white; border-radius: 12px; padding: 2rem; border: 1px solid var(--gris-2); }
.lista-pro h3 { color: #15803d; margin-bottom: 1rem; }
.lista-con h3 { color: #ca8a04; margin-bottom: 1rem; }
.lista-pro li, .lista-con li { list-style: none; padding: .5rem 0 .5rem 2rem; position: relative; }
.lista-pro li::before { content: '✓'; position: absolute; left: 0; color: #15803d; font-weight: 800; }
.lista-con li::before { content: '!'; position: absolute; left: 0; color: #ca8a04; font-weight: 800; background: #fef3c7; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .75rem; top: .55rem; }

.cta-banner { background: linear-gradient(135deg, var(--azul), #1E293B); color: white; text-align: center; padding: 4rem 1.5rem; }
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; color: #cbd5e1; margin-bottom: 1.8rem; max-width: 600px; margin-left: auto; margin-right: auto; }

footer { background: var(--azul); color: rgba(255,255,255,.7); padding: 3rem 1.5rem 1.5rem; }
.ftr-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.ftr-inner h4 { color: white; font-size: .9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.ftr-inner ul { list-style: none; }
.ftr-inner li { margin-bottom: .5rem; font-size: .9rem; }
.ftr-inner a { color: rgba(255,255,255,.7); }
.ftr-inner a:hover { color: var(--naranja); }
.ftr-bottom { max-width: 1180px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; background: #25D366; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: white; padding: 1rem 1.5rem; border-bottom: 1px solid var(--gris-2); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .ventajas-grid { grid-template-columns: 1fr; }
  .ftr-inner { grid-template-columns: 1fr 1fr; }
  .calc .form-row { grid-template-columns: 1fr; }
}
