:root {
  --navy: #0e1a2b;
  --navy-2: #16263d;
  --cream: #f7f4ef;
  --paper: #fffcf8;
  --mist: #eeeae3;
  --ink: #2c2f33;
  --muted: #5c615c;
  --line: rgba(14, 26, 43, 0.1);
  --gold: #c4b59a;
  --gold-d: #a89474;
  --header: 84px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", "Segoe UI", sans-serif;
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
}

body {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.05rem;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }

.site-header,
main#contenido,
.site-footer {
  width: 100% !important;
  max-width: none !important;
}

.wrap {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 48px)) !important;
  max-width: 1280px !important;
  padding-inline: 24px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.header-row {
  display: flex !important;
}

.hero-grid,
.split,
.trio,
.cards-3,
.cards-4,
.foot-grid {
  display: grid !important;
}

body .is-layout-constrained > *,
body .wp-site-blocks {
  max-width: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.is-on { border-bottom-color: var(--line); }

.header-row {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.brand small {
  margin-top: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold-d);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 18px;
  flex: 1;
}
.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-d);
  outline-offset: 3px;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-gold { background: transparent; border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold); color: var(--navy); }

.hero {
  padding: 36px 0 72px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--gold-d);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin: 0 0 14px;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 10px;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.ticks li { margin: 6px 0; }
.ticks li::before { content: "✓ "; color: var(--gold-d); }

.portrait {
  position: relative;
  max-width: 480px;
  justify-self: end;
}
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.92);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  z-index: -1;
  pointer-events: none;
}

.split img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: 50% 30%;
}

.band {
  background: var(--navy);
  color: #f3efe8;
  padding: 48px 0;
}
.band p { margin: 0 0 28px; font-family: var(--serif); font-size: 1.6rem; }
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trio h3 { color: #fff; font-size: 1.25rem; }
.trio p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.98rem; }
.rule { width: 36px; height: 1px; background: var(--gold); margin-bottom: 14px; }

.section { padding: 88px 0; }
.section.alt { background: var(--paper); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}

.cards-3, .cards-4, .problems {
  display: grid;
  gap: 18px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(2, 1fr); }
.problems { grid-template-columns: 1fr; }

.card {
  background: var(--paper);
  border-top: 2px solid var(--gold);
  padding: 28px 26px 24px;
  box-shadow: 0 1px 0 var(--line);
}
.card p, .card li { color: var(--muted); }
.list { margin: 0; padding-left: 18px; }
.card .btn { margin-top: 16px; }

.problem {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  font-family: var(--serif);
  color: var(--navy);
}

.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step-n {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold-d);
}

.case {
  border: 1px solid var(--line);
  padding: 32px;
  background: var(--paper);
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold-d);
  border: 1px solid var(--gold);
  padding: 4px 8px;
  margin-bottom: 12px;
}

.cta-navy {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-navy h2 { color: #fff; }
.cta-navy .lede { margin-inline: auto; color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.faq p { color: var(--muted); }

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.form label { font-size: 0.88rem; color: var(--muted); display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 12px;
  min-height: 48px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form-note {
  display: none;
  padding: 12px 14px;
  background: var(--mist);
  border-left: 2px solid var(--gold);
}
.form-note.is-on { display: block; }

.contact-side { color: var(--muted); }
.contact-side a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.site-footer .brand strong { color: #fff; }
.foot-links { display: grid; gap: 8px; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  font-size: 0.88rem;
}
.legal a { color: var(--gold); }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f3d32;
  color: #dce8e2;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(14,26,43,0.2);
}

.page { padding: 56px 0 88px; max-width: 720px; }

.reveal { animation: up 0.55s ease both; }
@keyframes up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .hero-grid, .split, .cards-3, .trio, .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: var(--header);
    background: var(--paper);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 8px;
  }
  .nav.is-open { display: flex; }
  .hero-grid, .split, .cards-3, .cards-4, .trio, .foot-grid { grid-template-columns: 1fr !important; }
  .hero { padding-top: 12px; }
  .portrait { max-width: 100%; justify-self: stretch; }
  .portrait::after { display: none; }
  .step { grid-template-columns: 64px 1fr; }
}
