/* Paleta del brochure: rojo LOGO (oscurecido para contraste AA) y grafito. */
:root {
  --brand: #1c1c1e;
  --accent: #d0202e;
  --paper: #f7f7f7;
  --ink: #1c1c1e;
  --muted: #5b6067;
  --line: #dfe1e4;
  --white: #fff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; object-fit: cover; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 100px; }
.eyebrow {
  display: block; margin-bottom: 18px;
  font-size: .76rem; font-weight: 750;
  text-transform: uppercase; letter-spacing: .19em;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.6rem); max-width: 800px; }
h2 { font-size: clamp(2rem, 4.1vw, 3.5rem); }
h3 { font-size: 1.45rem; }
p { color: var(--muted); }
.lead { font-size: 1.12rem; max-width: 560px; }
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  gap: 14px; min-height: 52px; padding: 13px 23px;
  border: 1px solid transparent; border-radius: 9px;
  background: var(--accent); color: #fff;
  text-decoration: none; font-weight: 750;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #0002; }
.btn.secondary { background: transparent; border-color: #ffffff60; color: white; }

.skip { position: absolute; top: -100px; left: 20px; z-index: 20; }
.skip:focus { top: 15px; }
header {
  position: sticky; top: 0; z-index: 10;
  background: #f7f7f7f2; border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: auto; height: 44px; }
.links { display: flex; align-items: center; gap: 28px; }
.links a { text-decoration: none; font-size: .9rem; font-weight: 650; }
.links a:hover { color: var(--accent); }
.links a.btn:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }

.hero { background: var(--brand); color: white; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 55px; min-height: 690px; padding-block: 75px; }
.hero p { color: #d4d6da; }
.hero .eyebrow { color: #ff8a8f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 20px 40px;
  list-style: none; margin: 45px 0 0; padding: 28px 0 0;
  border-top: 1px solid #ffffff26;
}
.hero-facts li { max-width: 160px; color: #d4d6da; font-size: .88rem; line-height: 1.4; }
.hero-facts strong { display: block; color: #fff; font-size: 1.7rem; letter-spacing: -.03em; }
.hero-photo { position: relative; }
.hero-photo img { height: 480px; border-radius: 120px 18px 18px 18px; }
.photo-label {
  position: absolute; bottom: 25px; left: -25px;
  background: var(--paper); color: var(--ink); padding: 20px 25px;
  border-left: 4px solid var(--accent); box-shadow: 0 12px 30px #0002;
}
.photo-label strong { display: block; font-size: 1.1rem; }
.photo-label span { font-size: .85rem; color: var(--muted); }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro p:last-child { margin-bottom: 0; }
.intro-photo img { height: 460px; border-radius: var(--radius); }
.subhead { margin: 90px 0 0; font-size: 1.7rem; }
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  list-style: none; padding: 0; margin: 30px 0 0;
}
.values li {
  background: white; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 18px 20px; color: var(--muted); font-size: .92rem;
}
.values strong { display: block; color: var(--ink); font-size: 1.05rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 340px; margin-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.includes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; padding: 0; margin: 0 0 22px;
}
.includes li { background: var(--brand); color: white; border-radius: 12px; padding: 18px 20px; font-weight: 700; line-height: 1.3; }
.includes li::before { content: "✓"; color: #ff8a8f; margin-right: 10px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card-body a { margin-top: auto; align-self: start; }
.checks { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.checks li { position: relative; padding-left: 20px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--accent); }
.cards-note { margin: 35px 0 0; text-align: center; }
.cards-note a { font-weight: 750; text-underline-offset: 5px; }
.card img { height: 215px; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card-image { overflow: hidden; }
.card-body { padding: 28px; }
.card-number { display: block; color: var(--accent); font-size: .85rem; font-weight: 800; margin-bottom: 20px; }
.card p { margin-bottom: 22px; }
.card a { font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.process { background: white; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 45px; }
.step { border-top: 2px solid var(--line); padding-top: 25px; }
.step b { color: var(--accent); display: block; margin-bottom: 18px; }
.step p { margin-bottom: 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.split-photo img { height: 540px; border-radius: 18px 120px 18px 18px; }
.timeline { display: grid; gap: 18px; list-style: none; padding: 0; margin: 32px 0 0; counter-reset: paso; }
.timeline li { display: grid; grid-template-columns: 46px 1fr; color: var(--muted); counter-increment: paso; }
.timeline li::before {
  content: counter(paso); grid-row: span 2; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: white; font-weight: 800; font-size: .85rem;
}
.timeline strong { color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; }
.contact-copy { position: sticky; top: 120px; align-self: start; }
.contact-info { display: grid; gap: 16px; list-style: none; padding: 0; margin: 30px 0 0; }
.contact-info span { display: block; color: var(--muted); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.contact-info a { font-size: 1.2rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.contact-info a:hover { color: var(--accent); }
.contact-info address { font-style: normal; font-size: 1rem; line-height: 1.5; }
.contact-note { border-left: 3px solid var(--accent); padding-left: 20px; margin-top: 30px; }
form { background: white; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; margin-bottom: 20px; min-width: 0; }
label { font-size: .88rem; font-weight: 700; }
input, select, textarea {
  width: 100%; min-width: 0; padding: 13px 14px;
  border: 1px solid #bdc7cf; border-radius: 8px;
  background: #fafbfc; color: var(--ink);
}
textarea { resize: vertical; min-height: 145px; }
.form-help { font-size: .82rem; margin-top: 16px; margin-bottom: 0; }
.form-status { margin-top: 16px; font-weight: 650; }
.form-status:empty { display: none; }

footer { background: var(--brand); color: white; padding-block: 32px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
footer p { margin: 0; color: #c5d1db; font-size: .82rem; }

/* El contenido permanece visible si JavaScript falla. */
.motion-ready [data-reveal] {
  opacity: 0; transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}
.motion-ready [data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-photo img { height: 400px; }
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: .8fr 1fr; }
  .card-image img { height: 100%; min-height: 240px; }
  .contact-grid { gap: 35px; }
  .intro, .split { gap: 35px; }
  .intro-photo img { height: 380px; }
  .split-photo img { height: 440px; }
  .includes, .values, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding-block: 65px; }
  .nav { min-height: 70px; }
  .menu-toggle { display: block; }
  .links {
    position: absolute; left: 0; right: 0; top: 70px;
    display: none; flex-direction: column; align-items: stretch;
    padding: 22px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .links.open { display: flex; }
  .brand img { height: 36px; }
  .hero-grid, .intro, .contact-grid, .steps, .split, .values, .includes { grid-template-columns: 1fr; }
  .intro-photo img { height: 260px; }
  .split-photo img { height: 280px; border-radius: 15px 70px 15px 15px; }
  .subhead { margin-top: 60px; }
  .hero-grid { padding-block: 50px 65px; gap: 40px; }
  .hero-photo img { height: 320px; border-radius: 70px 15px 15px 15px; }
  .photo-label { left: 12px; bottom: 12px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
  .card { display: block; }
  .card-image img { height: 220px; min-height: 0; }
  .contact-copy { position: static; }
  form { padding: 24px; }
  .fields { grid-template-columns: 1fr; gap: 0; }
  .footer-row { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}
