/* ============================================================
   Arius Agency — hoja de estilos principal
   Paleta: negro profundo + champan + rosa suave
   ============================================================ */

:root {
  --bg:            #09090c;
  --bg-2:          #0f0f14;
  --surface:       #15151c;
  --surface-2:     #1c1c25;
  --line:          #27272f;
  --line-soft:     #1e1e26;

  --text:          #f4f2ee;
  --text-soft:     #b4b1ab;
  --text-dim:      #807d78;

  --gold:          #d8b878;
  --gold-soft:     #f0dcae;
  --rose:          #e4718c;

  --radius:        14px;
  --radius-lg:     22px;
  --maxw:          1180px;

  --serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: 1.3rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; color: var(--text-soft); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .6;
}

section { padding: clamp(68px, 9vw, 120px) 0; position: relative; }
section[id], [id] { scroll-margin-top: 96px; }

.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; font-family: var(--sans);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1a1407;
  box-shadow: 0 14px 34px -14px rgba(216, 184, 120, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(216, 184, 120, .75); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.015); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #06301a; box-shadow: 0 14px 34px -16px rgba(37, 211, 102, .65); }
.btn-wa:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Cabecera ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9, 9, 12, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo { display: flex; align-items: baseline; gap: 2px; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .02em; }
.logo span { color: var(--gold); }
.logo small {
  font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-dim); margin-left: 8px; align-self: center;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .93rem; color: var(--text-soft); transition: color .18s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 12px 24px; font-size: .9rem; }

.burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text);
}
.burger svg { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 89;
  background: rgba(9, 9, 12, .97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 20px 22px 32px; display: none; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 4px; font-size: 1.05rem; color: var(--text-soft);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(130px, 17vw, 190px);
  padding-bottom: clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(90px);
}
.hero::before {
  width: 620px; height: 620px; top: -220px; right: -160px;
  background: radial-gradient(circle, rgba(216,184,120,.17), transparent 68%);
}
.hero::after {
  width: 520px; height: 520px; bottom: -260px; left: -180px;
  background: radial-gradient(circle, rgba(228,113,140,.13), transparent 68%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { font-size: 1.15rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero-note { font-size: .88rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* Tarjeta lateral del hero */
.hero-card {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow); position: relative;
}
.hero-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 6px; }
.hero-card .muted { font-size: .9rem; color: var(--text-dim); margin-bottom: 26px; }
.stat-row { display: grid; gap: 20px; }
.stat {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat-ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(216,184,120,.1); border: 1px solid rgba(216,184,120,.22); color: var(--gold);
}
.stat-ico svg { width: 20px; height: 20px; }
.stat b { display: block; font-size: 1.02rem; font-weight: 600; }
.stat span { font-size: .87rem; color: var(--text-dim); }

/* ---------- Marquesina de confianza ---------- */
.trust {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2); padding: 26px 0;
}
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 40px;
}
.trust-item { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: var(--text-soft); }
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ---------- Rejillas genericas ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 26px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover { border-color: rgba(216,184,120,.35); transform: translateY(-3px); background: var(--surface-2); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; margin-bottom: 0; }
.card-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(216,184,120,.09); border: 1px solid rgba(216,184,120,.2);
  color: var(--gold); margin-bottom: 20px;
}
.card-ico svg { width: 22px; height: 22px; }

/* ---------- Problema / contraste ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line-soft); }
.compare-col.bad { background: var(--surface); }
.compare-col.good {
  background: linear-gradient(170deg, rgba(216,184,120,.07), rgba(21,21,28,.6));
  border-color: rgba(216,184,120,.3);
}
.compare-col h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 20px; }
.compare-col.good h3 { color: var(--gold-soft); }
.clist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.clist li { display: flex; gap: 12px; font-size: .97rem; color: var(--text-soft); line-height: 1.5; }
.clist svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.clist .x { color: #6d6a65; }
.clist .v { color: var(--gold); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 26px 0 0; position: relative; }
.step::before {
  counter-increment: s; content: "0" counter(s);
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold); opacity: .55;
  display: block; margin-bottom: 14px;
}
.step::after {
  content: ""; position: absolute; left: 0; top: 64px; right: 26px; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- Resultados ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 30px 26px;
}
.result .big {
  font-family: var(--serif); font-size: 2.9rem; line-height: 1; color: var(--gold-soft);
  display: block; margin-bottom: 10px;
}
.result .who { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 10px; }
.result p { font-size: .95rem; margin: 0; }
.disclaimer { font-size: .82rem; color: var(--text-dim); margin-top: 26px; text-align: center; }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column;
}
.quote-mark { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--gold); opacity: .5; margin-bottom: 14px; }
.quote p { font-size: 1rem; color: var(--text); flex: 1; }
.quote footer { font-size: .88rem; color: var(--text-dim); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.quote footer b { color: var(--text-soft); font-weight: 600; }

/* ---------- Perfil buscado ---------- */
.fit { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.fit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.fit-list li { display: flex; gap: 14px; }
.fit-list .n {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: rgba(216,184,120,.12); color: var(--gold); border: 1px solid rgba(216,184,120,.25);
}
.fit-list b { display: block; font-size: 1rem; }
.fit-list span { font-size: .94rem; color: var(--text-soft); }

/* ---------- Formulario ---------- */
.apply { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.apply-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.apply-aside .mini {
  display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px;
}
.apply-aside .mini svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.apply-aside .mini b { display: block; font-size: .98rem; }
.apply-aside .mini span { font-size: .91rem; color: var(--text-dim); }

form.card-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 34px; box-shadow: var(--shadow);
}
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-soft); letter-spacing: .01em; }
.field label .req { color: var(--rose); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; color: var(--text); font-family: var(--sans); font-size: .96rem;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23807d78' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,184,120,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #5d5a56; }
.field .hint { font-size: .8rem; color: var(--text-dim); }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .88rem; color: var(--text-soft); }
.check input { width: 17px; height: 17px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.check a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

.form-error { color: var(--rose); font-size: .82rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--rose); }
.field.invalid .form-error { display: block; }

.form-foot { margin-top: 26px; display: grid; gap: 14px; }
.form-status { font-size: .9rem; display: none; padding: 13px 16px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(37,211,102,.1); border: 1px solid rgba(37,211,102,.3); color: #8ce8b2; }
.form-status.err { background: rgba(228,113,140,.1); border: 1px solid rgba(228,113,140,.3); color: #f3a7b9; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; color: var(--text); font-family: var(--sans);
  font-size: 1.05rem; font-weight: 500;
}
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--gold); transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { font-size: .98rem; padding-bottom: 6px; }
.faq-item.open .faq-a { max-height: 700px; }

/* ---------- CTA final ---------- */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(100px);
  background: radial-gradient(circle, rgba(216,184,120,.13), transparent 65%); pointer-events: none;
}
.final .wrap { position: relative; z-index: 2; }
.final h2 { max-width: 20ch; margin-inline: auto; }
.final p { max-width: 56ch; margin-inline: auto; font-size: 1.08rem; }
.final .hero-actions { justify-content: center; }

/* ---------- Pie ---------- */
footer.site {
  border-top: 1px solid var(--line-soft); background: var(--bg-2);
  padding: 58px 0 30px; font-size: .92rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-grid p { font-size: .91rem; color: var(--text-dim); max-width: 34ch; }
.foot-col h4 {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-soft); margin-bottom: 16px;
}
.foot-col a { display: block; color: var(--text-dim); padding: 5px 0; transition: color .18s ease; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  align-items: center; color: var(--text-dim); font-size: .85rem;
}
.badge18 {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); font-size: .7rem; font-weight: 700; color: var(--text-soft);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; color: #06301a;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.7); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 29px; height: 29px; }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: .88rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 20px; font-size: .86rem; }

/* ---------- Animacion de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Paginas legales ---------- */
.legal { padding-top: 140px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.legal h2 { font-size: 1.5rem; margin-top: 44px; }
.legal h3 { font-size: 1.1rem; margin-top: 28px; }
.legal p, .legal li { color: var(--text-soft); font-size: 1rem; }
.legal ul { padding-left: 22px; margin-bottom: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); color: var(--text); font-weight: 600; }
.legal .updated { font-size: .88rem; color: var(--text-dim); }
.legal .todo { color: var(--rose); }

/* ---------- Pagina de gracias ---------- */
.thanks { min-height: 86vh; display: grid; place-items: center; text-align: center; padding: 120px 0 60px; }
.thanks .tick {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 30px; display: grid; place-items: center;
  background: rgba(216,184,120,.1); border: 1px solid rgba(216,184,120,.3); color: var(--gold);
}
.thanks .tick svg { width: 36px; height: 36px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .fit, .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .grid-3, .results, .quotes, .compare { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 34px; }
  .step { padding-right: 0; }
  .step::after { display: none; }
  .fields { grid-template-columns: 1fr; }
  form.card-form { padding: 26px 20px; }
  .hero-actions .btn { width: 100%; }
  .trust-inner { gap: 14px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { width: 52px; height: 52px; bottom: 86px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
