:root {
  --navy: #082957;
  --orange: #EE7915;
  --orange-dark: #C85F08;
  --white: #FFFFFF;
  --gray-light: #F3F5F8;
  --gray-dark: #374151;
  --line: #DDE3EC;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container.narrow > * { max-width: 760px; }

h1, h2, h3 { color: var(--navy); line-height: 1.22; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: 1.85rem; margin-bottom: 22px; }
h3 { font-size: 1.2rem; margin: 28px 0 12px; }
p { margin-bottom: 16px; max-width: 68ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 56px; width: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  border-radius: var(--radius); text-align: center; line-height: 1.3;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-accent { background: var(--orange); color: var(--white); box-shadow: 0 6px 16px rgba(238,121,21,.32); }
.btn-accent:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-small { padding: 10px 16px; font-size: .92rem; }
.btn-large { font-size: 1.05rem; padding: 18px 28px; width: 100%; max-width: 520px; }
.cta-block { margin-top: 34px; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 76px; }
.hero-questions { color: var(--white); font-size: clamp(1.85rem, 4.4vw, 2.9rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 24em; }
.hero-questions span { display: block; margin-bottom: .28em; }
.promise {
  margin-top: 34px; padding-top: 22px; position: relative;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.3; color: var(--white); max-width: 30em;
}
.promise::before { content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 5px; background: var(--orange); border-radius: 3px; }
.hero-brand { font-weight: 800; color: var(--orange); font-size: 1.05rem; margin: 6px 0 22px; }
.lead { font-size: 1.15rem; color: #D9E2F0; max-width: 40em; margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; background: var(--white); }
.section.section-alt { background: var(--gray-light); }
.section.section-navy { background: var(--navy); color: #DCE5F2; }
.section-navy h2 { color: var(--white); }

.aside { font-style: italic; color: #4B5563; }
.u { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.lead em { color: var(--white); font-weight: 700; }

/* ---------- Lo que ya probaste ---------- */
.tried { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.tried article { background: var(--white); padding: 24px 24px 8px; border-left: 5px solid var(--navy); border-radius: 0 var(--radius) var(--radius) 0; }
.tried strong { color: var(--navy); }

/* ---------- Quién soy ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.about-photo { padding: 0 14px 14px 0; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 14px; box-shadow: 14px 14px 0 var(--orange);
}
.about-photo figcaption { margin-top: 26px; font-weight: 700; color: var(--navy); font-size: .98rem; }
.about-text h2 { margin-top: 0; }

.numbered, .checklist, .steps { list-style: none; margin-bottom: 18px; }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 44px; margin-bottom: 12px; }
.numbered li::before {
  content: counter(n); position: absolute; left: 0; top: 1px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem;
}
.callout { background: var(--gray-light); border-left: 5px solid var(--orange); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }

.includes { margin-top: 36px; }
.includes h3 { margin-top: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--orange); font-weight: 900; font-size: 1.15rem; }

/* ---------- Precio ---------- */
.price-card { background: var(--white); border: 2px solid var(--navy); border-radius: 14px; padding: 30px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-item { display: flex; flex-direction: column; gap: 4px; }
.price { font-size: 2.6rem; font-weight: 900; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
.price-label { font-size: 1rem; }
.price-notes { list-style: none; margin-top: 20px; }
.price-notes li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.price-notes li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* ---------- Problemas que resuelvo ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.problem-group { background: var(--gray-light); border-top: 5px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); padding: 22px 24px 10px; }
.problem-group h3 { margin: 0 0 14px; }
.problem-group ul { list-style: none; }
.problem-group li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.problem-group li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* ---------- Garantía ---------- */
.section-navy p { max-width: 62ch; }

/* ---------- Pasos ---------- */
.steps li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.steps li > span:last-child { padding-top: 5px; }
.note { font-size: .98rem; color: #4B5563; font-style: italic; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 1.5rem; line-height: 1.2; color: var(--orange); font-weight: 700; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; }
.faq p + p { margin-top: 8px; }

/* ---------- CTA final y pie ---------- */
.final-cta { background: var(--white); padding: 64px 0; text-align: center; border-top: 5px solid var(--orange); }

.site-footer { background: var(--navy); color: #CFD8E6; padding: 44px 0; text-align: center; font-size: .96rem; }
.site-footer p { margin-left: auto; margin-right: auto; }
.footer-logo { height: 72px; width: auto; margin: 0 auto 18px; background: var(--white); border-radius: var(--radius); padding: 8px 14px; }
.site-footer a { color: var(--white); }
.site-footer .copy { margin-top: 18px; font-size: .85rem; opacity: .75; }

.whatsapp-float {
  display: none; position: fixed; right: 14px; bottom: 14px; z-index: 60;
  background: var(--orange); color: var(--white); font-weight: 800; text-decoration: none;
  padding: 14px 20px; border-radius: 40px; box-shadow: 0 6px 18px rgba(0,0,0,.28);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tried, .problems { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 300px; margin: 0 auto; }
  .about-photo figcaption { text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 46px 0 52px; }
  .section { padding: 52px 0; }
  .final-cta { padding: 48px 0; }
  .brand img { height: 42px; }
  .header-inner .btn-small { padding: 9px 12px; font-size: .85rem; }
  .btn-large { max-width: none; font-size: .98rem; padding: 16px 18px; }
  .price-row { grid-template-columns: 1fr; gap: 18px; }
  .price-card { padding: 22px; }
  .price { font-size: 2.2rem; }
  .faq { padding: 16px 18px; }
  .whatsapp-float { display: inline-block; }
}
