:root {
  --ink: #0b2a31;
  --ink-2: #3d5357;
  --teal: #0a7d8c;
  --teal-dk: #075f6b;
  --sand: #f6f1ea;
  --line: #e4ddd3;
  --white: #ffffff;
  --gold: #c9a45c;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal); margin-bottom: .6em; }
.lead { font-size: 1.15rem; }

/* Botones */
.btn { display: inline-block; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 600; padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--teal); cursor: pointer; font: 600 1rem var(--sans); transition: background .2s, border-color .2s; text-align: center; }
.btn:hover { background: var(--teal-dk); border-color: var(--teal-dk); }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-line { background: transparent; color: var(--teal); }
.btn-line:hover { background: var(--teal); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: auto; }
.logo-word { font-family: "Lobster", var(--serif); font-size: 1.85rem; line-height: 1; color: var(--ink); }
.logo-word-light { color: var(--white); }
.logo-tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); align-self: flex-end; margin: 0 0 4px 4px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a.btn { color: var(--white); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; color: var(--white); min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,24,29,.55), rgba(5,24,29,.78)), url("img/hero.jpg") center/cover no-repeat; }
.hero-in { position: relative; padding-top: 72px; padding-bottom: 72px; max-width: 820px; margin-left: max(16px, calc((100% - 1140px) / 2)); }
.hero .eyebrow { color: #9fe3ea; }
.hero h1 { color: var(--white); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.2em; }
.hero-note { font-family: var(--serif); font-style: italic; font-size: 1.25rem; opacity: .9; }

/* Secciones */
.section { padding: 84px 0; }
.band { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-b { padding: 20px 22px 24px; }
.card-b p { color: var(--ink-2); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 12px; line-height: 20px; text-align: center; font-weight: 700; }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--teal); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-size: 2.2rem; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; }
.plan-hi { border: 2px solid var(--teal); box-shadow: 0 12px 30px rgba(10,125,140,.12); }
.plan h3 { margin-bottom: .15em; }
.plan-for { color: var(--teal); font-weight: 600; font-size: .92rem; }
.plan ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--ink-2); }
.plan ul li { margin-bottom: .4em; }
.plan-ideal { font-size: .92rem; color: var(--ink-2); margin-top: auto; }
.plan .btn { margin-top: 6px; }

/* Cotización */
.quote-img { border-radius: var(--radius); margin-top: 20px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .quote-img { display: none; } }
.form { background: var(--sand); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .93rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); padding: .72em .8em; border: 1px solid #cfc6b9; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } .form { padding: 20px 16px; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; min-height: 1.4em; font-size: .93rem; color: var(--teal-dk); }

/* Pie */
.foot { background: var(--ink); color: #cfe2e4; padding: 48px 0 96px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: #cfe2e4; text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.22); }
.wa-float:hover { background: #1ebe5b; }

/* Página de gracias */
.thanks { background: var(--sand); }
.thanks-in { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 680px; }
.thanks-in .logo { margin-bottom: 36px; }
