:root {
  --sand: #f6f2ea;
  --sand-2: #efe8dc;
  --ink: #1c2f3a;
  --ink-soft: #38505c;
  --teal: #0f4a52;
  --teal-deep: #0b363c;
  --gold: #b8894b;
  --gold-dark: #9c6f33;
  --muted: #6a7a82;
  --line: rgba(28, 47, 58, 0.12);
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-sm: 0 6px 20px rgba(20, 40, 50, 0.08);
  --shadow-md: 0 18px 50px rgba(20, 40, 50, 0.14);
  --shadow-gold: 0 14px 34px rgba(184, 137, 75, 0.35);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--ink); background: var(--white); line-height: 1.6; }
img, iframe { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: 1150px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
section[id], header[id] { scroll-margin-top: 74px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15.5px;
  border-radius: 999px; padding: 14px 28px;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-glass {
  border-color: rgba(255,255,255,.45); color: var(--white);
  background: rgba(15,74,82,.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(8,31,38,.28);
}
.btn-glass:hover { border-color: var(--white); background: rgba(255,255,255,.2); color: var(--white); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: rgba(15,74,82,.12); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.16); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: var(--white); box-shadow: 0 14px 34px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { background: #1eb458; color: var(--white); transform: translateY(-2px); }
.btn-nav { padding: 10px 22px; font-size: 14px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
  background: rgba(8,31,38,.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-serif); font-size: 23px; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: .5px; }
.brand span { color: var(--white); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: rgba(255,255,255,.9); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:not(.btn):hover { opacity: .85; }
.site-nav.scrolled {
  background: rgba(246,242,234,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); padding: 12px 0;
}
.site-nav.scrolled .brand, .site-nav.scrolled .brand span { color: var(--teal-deep); }
.site-nav.scrolled .nav-menu a:not(.btn) { color: var(--ink-soft); }
.site-nav.scrolled .nav-menu a:not(.btn):hover { color: var(--teal); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s ease; }
.site-nav.scrolled .nav-toggle span { background: var(--teal-deep); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: inline-block;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); color: var(--teal-deep); }
.section-head .section-sub { margin-top: 16px; font-size: 17.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; padding: 150px 0 120px; }
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,31,38,.6) 0%, rgba(8,31,38,.38) 45%, rgba(6,24,30,.72) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-kicker { font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(255,255,255,.8); margin-bottom: 20px; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(36px, 6.5vw, 64px); color: var(--white); margin-bottom: 22px; }
.hero-sub { font-size: clamp(16px, 2.2vw, 19.5px); font-weight: 300; color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 38px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Intro grid (problema/solución) ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro-text h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 34px); color: var(--teal-deep); margin-bottom: 16px; }
.intro-text p { font-size: 16.5px; color: var(--ink-soft); margin-bottom: 14px; }
.feature-list { list-style: none; margin-top: 8px; }
.feature-list li { font-size: 15.5px; color: var(--ink-soft); padding-left: 26px; position: relative; margin-bottom: 10px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- Cards / servicios ---------- */
.servicios { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-icon { color: var(--gold); margin-bottom: 14px; }
.card h3 { font-family: var(--font-serif); font-size: 21px; color: var(--teal-deep); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }

/* ---------- Demo ---------- */
.demo-link {
  display: block; max-width: 860px; margin: 0 auto; position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1.5px solid var(--line);
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease;
}
.demo-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.demo-img { width: 100%; height: auto; display: block; }
.demo-play {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal); color: #fff; font-weight: 600; font-size: 15px;
  border-radius: 999px; padding: 13px 26px; box-shadow: 0 10px 24px rgba(20,40,50,.3);
  white-space: nowrap;
}
.demo-link:hover .demo-play { background: var(--gold); color: var(--white); transform: translateX(-50%) translateY(-2px); }
.demo-note { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 30px 24px; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 24px; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-serif); font-size: 21px; color: var(--teal-deep); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contacto { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.contact-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-small { text-align: center; margin-top: 26px; color: var(--muted); font-size: 13.5px; }

/* ---------- Precios ---------- */
.precios { background: linear-gradient(180deg, var(--sand) 0%, var(--sand-2) 100%); }
.precios-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.precio-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column;
}
.precio-card h3 { font-family: var(--font-serif); font-size: 22px; color: var(--teal-deep); margin-bottom: 10px; }
.precio-valor { font-family: var(--font-serif); font-size: 42px; font-weight: 700; color: var(--teal-deep); margin: 6px 0 2px; }
.precio-una-vez { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.precio-card ul { list-style: none; text-align: left; margin: 0 0 22px; flex: 1; }
.precio-card li { font-size: 15px; color: var(--ink-soft); padding-left: 26px; position: relative; margin-bottom: 10px; }
.precio-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Escalera de precios (más de 5 unidades) */
.precios-escalera {
  max-width: 640px; margin: 36px auto 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 30px; box-shadow: var(--shadow-sm);
}
.escalera-titulo { text-align: center; font-family: var(--font-serif); font-size: 19px; color: var(--teal-deep); margin-bottom: 14px; }
.escalera-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.escalera-row b { font-size: 16px; color: var(--teal-deep); }
.escalera-row:last-of-type { border-bottom: 0; }
.escalera-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.escalera-destacado {
  margin-top: 12px; padding: 14px 16px; border-radius: 10px;
  background: #eaf3f2; border: 1px solid #cfe4e2; color: var(--teal-deep);
  font-size: 14px; line-height: 1.65; text-align: left;
}
.escalera-destacado b { color: var(--teal-deep); display: block; margin-bottom: 6px; }
.escalera-destacado p { margin: 0 0 10px; }
.escalera-destacado p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.85); padding: 40px 0; text-align: center; }
.site-footer p { margin-bottom: 6px; }
.footer-top { color: var(--gold); text-decoration: none; font-size: 14px; }
.footer-top:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .precios-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; left: 0; right: 0; flex-direction: column; gap: 8px;
    padding: 84px 28px 34px; background: var(--teal-deep);
    transform: translateY(-110%); transition: transform .35s ease;
    box-shadow: var(--shadow-md); align-items: flex-start;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a:not(.btn) { color: rgba(255,255,255,.92); font-size: 17px; padding: 8px 0; width: 100%; }
  .nav-menu .btn-nav { margin-top: 16px; width: 100%; text-align: center; }
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 60px 0; }
  .demo-play { bottom: 12px; padding: 11px 18px; font-size: 14px; max-width: 92%;
  white-space: normal; text-align: center; }
}
/* ---------- Sección SEO + visibilidad en IA ---------- */
.seo-ia-list {
  max-width: 720px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px;
}
.seo-ia-list li {
  font-size: 15.5px; color: var(--ink-soft);
  padding-left: 28px; position: relative; line-height: 1.5;
}
.seo-ia-list li::before {
  content: "✦"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.seo-ia-close {
  max-width: 720px; margin: 28px auto 0; text-align: center;
  font-size: 16px; color: var(--ink-soft); line-height: 1.7;
}
.seo-ia-close { font-weight: 500; }

@media (max-width: 720px) {
  .seo-ia-list { grid-template-columns: 1fr; }
}

/* ---------- Screenshot Official site en Google ---------- */
.seo-ia-img {
  max-width: 640px; margin: 40px auto 0;
  text-align: center;
}
.seo-ia-img img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.seo-ia-img figcaption {
  font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 12px;
}
.seo-ia-img figcaption strong { color: var(--teal-deep); }

/* ---------- Formulario de contacto ---------- */
.contact-form {
  max-width: 560px; margin: 28px auto 0;
  text-align: left; padding: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form-intro { text-align: center; color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-input {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 11px;
  padding: 11px 13px; width: 100%;
}
.cf-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,74,82,.12); }
@media (max-width: 720px) {
  .cf-row { grid-template-columns: 1fr; }
}

/* ---------- Costos del sitio web ---------- */
.costos-sitio {
  max-width: 560px; margin: 32px auto 0; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.costos-titulo { font-family: var(--font-serif); font-size: 18px; color: var(--teal-deep); margin-bottom: 8px; }
.costos-sitio p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 8px; }
.costos-lista { list-style: none; margin: 0 0 8px; }
.costos-lista li { font-size: 14px; color: var(--ink-soft); padding-left: 24px; position: relative; margin-bottom: 6px; }
.costos-lista li::before { content: "•"; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }
.costos-total { color: var(--teal-deep) !important; margin: 0 !important; }

/* -------- Precio con aprox en USD (tamaño menor) -------- */
.precio-aprox {
  font-size: 0.55em; font-weight: 400; color: var(--muted);
  white-space: nowrap;
}
.precio-valor .precio-aprox { display: block; margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.85); padding: 44px 0; text-align: center; }
.site-footer .brand { color: var(--white); font-size: 26px; }
.site-footer .brand span { color: #fff; }
.site-footer .brand:hover { color: var(--white); }
.footer-sub { font-size: 14.5px; color: rgba(255,255,255,.75); max-width: 460px; margin: 12px auto 16px; line-height: 1.7; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,.85); font-size: 13.5px; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-contact a { color: var(--gold); font-size: 14px; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact span { color: rgba(255,255,255,.4); margin: 0 6px; }
.footer-top { display: block; margin-top: 18px; color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; }
.footer-top:hover { color: var(--gold); }
