:root {
  --brand: #6d0f2b;
  --brand-dark: #4e0a1f;
  --brand-soft: #f6eef1;
  --ink: #111111;
  --muted: #5b5b63;
  --line: #e7e2e4;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(109, 15, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .8rem;
}
.eyebrow--light { color: #f1c9d5; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--brand);
  cursor: pointer; transition: background .2s, transform .2s, color .2s;
  font-family: inherit;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn--light { background: #fff; color: var(--brand); border-color: #fff; }
.btn--light:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-dark); }

/* Ticker */
.ticker { background: var(--brand-dark); color: #f4dfe5; font-size: .85rem; }
.ticker__inner { display: flex; gap: 1.5rem; align-items: center; padding: .5rem 0; flex-wrap: wrap; }
.ticker strong { color: #fff; font-variant-numeric: tabular-nums; }
.ticker__label { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.ticker__phone { margin-left: auto; font-weight: 600; color: #fff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--brand); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 20%, var(--brand-soft), transparent 60%);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1.8rem; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.hero__chips li {
  font-size: .82rem; font-weight: 600; color: var(--brand);
  border: 1px solid #e3cdd4; background: #fff; padding: .3rem .8rem; border-radius: 999px;
}
.hero__art { display: flex; justify-content: center; }
.hero__iso { width: min(420px, 100%); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }

/* Secciones */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--brand-soft); }
.section--dark { background: var(--brand); color: #fff; }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #d9b9c3; box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card__icon {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--brand);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg, .contact__list svg, .wa {
  width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Proceso */
.steps {
  list-style: none; padding: 0; margin: 0 0 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s;
}
.steps li { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--brand); }
.steps li::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand);
}
.steps__n { display: block; font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: #e3cdd4; border-radius: var(--radius); overflow: hidden;
}
.values div { background: #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: .25rem; }
.values strong { color: var(--brand); }
.values span { color: var(--muted); font-size: .95rem; }

/* Cotización */
.cot { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.cot__info > p { color: var(--muted); max-width: 32rem; }
.rate { display: flex; gap: 1rem; margin: 1.5rem 0 .75rem; flex-wrap: wrap; }
.rate__box {
  flex: 1 1 160px; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem;
}
.rate__box span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.rate__box strong { font-size: 2.2rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.rate__box--main { background: var(--brand); border-color: var(--brand); color: #fff; }
.rate__box--main span { color: #f1c9d5; }
.rate__meta { font-size: .85rem; color: var(--muted); }

.conv {
  background: var(--brand-soft); border-radius: 20px; padding: 2rem;
  display: flex; flex-direction: column; gap: .4rem;
}
.conv h3 { margin-bottom: .8rem; }
.conv label span, .form label span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.conv input, .form input, .form select, .form textarea {
  width: 100%; font: inherit; padding: .8rem 1rem; border-radius: 10px;
  border: 1px solid #dccbd1; background: #fff; color: var(--ink);
}
.conv input { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.conv input:focus, .form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent;
}
.conv__arrow { text-align: center; color: var(--brand); font-size: 1.3rem; }
.conv__note { font-size: .78rem; color: var(--muted); margin: .6rem 0 0; }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact__info > p { color: #f1dbe1; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; font-size: 1.1rem; }
.contact__list svg { stroke: #fff; }
.form {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px; padding: 2rem; display: grid; gap: 1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label span { color: #f4dfe5; }
.form textarea { resize: vertical; }
.form__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.form__wa {
  display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; padding: .4rem 0;
  color: #fff; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4);
}
.form__wa:hover { text-decoration-color: #fff; }
.form__wa .wa { stroke: #fff; width: 18px; height: 18px; }
.form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { display: block; min-height: 0; font-size: .8rem; color: #ffd0dc; margin-top: .3rem; }
.form__err:empty { display: none; }
.form .is-invalid { outline: 2px solid #ff9db5; outline-offset: 1px; }
.form__status { margin: 0; font-size: .95rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { background: #fff; color: #1d6b3a; padding: .8rem 1rem; border-radius: 10px; }
.form__status.is-error { background: rgba(0,0,0,.18); color: #ffe1e8; padding: .8rem 1rem; border-radius: 10px; }

/* Footer */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer__logo { width: 220px; }
.footer p { margin: 0; color: var(--muted); font-size: .88rem; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .cot, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: .8rem 0; }
  .nav .btn { margin-top: .5rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__iso { width: 200px; }
  .cards, .steps, .values, .form__row { grid-template-columns: 1fr; }
  .ticker__inner { gap: .3rem 1rem; font-size: .8rem; }
  .ticker__phone { display: none; }
  .form__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__iso { animation: none; }
}
