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

:root {
  --bg:         #F7F5F1;
  --bg-alt:     #F0EDE7;
  --ink:        #1A1917;
  --ink-mid:    #4A4845;
  --ink-light:  #8C8984;
  --accent:     oklch(38% 0.09 155);
  --accent-lt:  oklch(94% 0.025 155);
  --rule:       rgba(26,25,23,0.12);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --max:        1100px;
  --pad-x:      clamp(24px, 6vw, 96px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(247,245,241,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--ink); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: opacity 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(247,245,241,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  flex-direction: column;
  padding: 24px var(--pad-x) 32px;
  gap: 0;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-mid);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--ink); }
.nav-mobile-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-top: 24px;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}
.nav-name {
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.6; }

/* ── HERO ─────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(120px, 18vh, 180px) var(--pad-x) clamp(80px, 12vh, 140px);
  position: relative;
  overflow: hidden;
  gap: 0;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 28px;
  white-space: nowrap;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 64px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-mid);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 52px;
}
.hero-rule {
  position: absolute;
  bottom: 0; right: var(--pad-x);
  width: 1px;
  height: 80px;
  background: var(--rule);
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  white-space: nowrap;
  transition: opacity 0.25s, transform 0.25s;
}
.btn-wa:hover { opacity: 0.82; transform: translateY(-1px); }
.btn-wa svg { flex-shrink: 0; }

.btn-wa-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 31px;
  border: 1px solid var(--accent);
  transition: background 0.25s, color 0.25s;
}
.btn-wa-ghost:hover { background: var(--accent); color: #fff; }

/* ── SECTION WRAPPER ──────────────────────────────── */
section {
  padding: clamp(72px, 10vh, 128px) var(--pad-x);
  max-width: calc(var(--max) + var(--pad-x) * 2);
  margin: 0 auto;
}
section.full { max-width: none; margin: 0; }

hr.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0 var(--pad-x);
}

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 24px;
  display: block;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 48px;
}
.section-title em { font-style: italic; color: var(--accent); }

/* ── PROBLEMA ─────────────────────────────────────── */
#problema {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.prob-left p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-mid);
  margin-bottom: 16px;
}
.prob-left .closing {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.45;
}
.prob-right ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.prob-right ul li {
  font-size: 15px;
  color: var(--ink-mid);
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.prob-right ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 28px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
.prob-right ul li:first-child { border-top: 1px solid var(--rule); }

/* ── PROPUESTA ────────────────────────────────────── */
#propuesta {
  background: var(--bg-alt);
  max-width: none;
  margin: 0;
}
#propuesta .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 128px) var(--pad-x);
}
.prop-quote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.3;
  max-width: 780px;
  color: var(--ink);
  margin-bottom: 32px;
}
.prop-quote em { font-style: italic; color: var(--accent); }
.prop-sub {
  font-size: 15px;
  color: var(--ink-mid);
  max-width: 520px;
  line-height: 1.75;
}

/* ── DIFERENCIACIÓN ───────────────────────────────── */
#diferenciacion {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}
.dif-card {
  background: var(--bg-alt);
  padding: 48px 40px;
}
.dif-label {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.dif-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
}
.dif-body {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── TRANSFORMACIÓN ───────────────────────────────── */
#transformacion .items {
  display: flex;
  flex-direction: column;
}
.transf-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.transf-row:first-child { border-top: 1px solid var(--rule); }
.transf-from {
  font-size: 15px;
  color: var(--ink-light);
  text-align: right;
  font-style: italic;
  font-family: var(--serif);
  font-size: 17px;
}
.transf-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 18px;
}
.transf-to {
  font-size: 15px;
  color: var(--ink);
  font-weight: 400;
}

/* ── SERVICIOS ────────────────────────────────────── */
#servicios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.srv-card {
  background: var(--bg-alt);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
}
.srv-number {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.srv-title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 12px;
}
.srv-desc {
  font-size: 15px;
  color: var(--ink-mid);
  margin-bottom: 36px;
  line-height: 1.7;
}
.srv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.srv-list li {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  padding-left: 16px;
  position: relative;
}
.srv-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 5px; height: 1px;
  background: var(--accent);
}
.srv-result {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.srv-result-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.srv-result-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.5;
  font-style: italic;
}

/* ── MID CTA ──────────────────────────────────────── */
#mid-cta {
  text-align: center;
  background: var(--ink);
  color: #fff;
  max-width: none;
  margin: 0;
}
#mid-cta .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vh, 120px) var(--pad-x);
}
#mid-cta .mc-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 40px;
  color: #fff;
}
#mid-cta .mc-title em {
  font-style: italic;
  color: oklch(78% 0.09 155);
}
.btn-wa-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 31px;
  border: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.25s, background 0.25s;
}
.btn-wa-light:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* ── METODOLOGÍA ──────────────────────────────────── */
#metodologia .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.step {
  background: var(--bg);
  padding: 48px 40px;
}
.step-n {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
}
.step-body {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* ── PARA QUIÉN ES ────────────────────────────────── */
#para-quien {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pq-intro {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
}
.pq-intro em { font-style: italic; color: var(--accent); }
.pq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pq-list li {
  font-size: 15px;
  color: var(--ink-mid);
  padding: 20px 0 20px 24px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  line-height: 1.6;
}
.pq-list li:first-child { border-top: 1px solid var(--rule); }
.pq-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 30px;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ── CTA FINAL ────────────────────────────────────── */
#cta-final {
  background: var(--bg-alt);
  max-width: none;
  margin: 0;
}
#cta-final .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vh, 144px) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}
.cta-headline em { font-style: italic; color: var(--accent); }
.cta-right p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* ── FOOTER ───────────────────────────────────────── */
footer {
  padding: 36px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--rule);
}
.footer-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-light);
}
.footer-note {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0.04em;
}

/* ── QUIÉN SOY ───────────────────────────────────── */
#quien-soy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.qs-img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qs-img img {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.qs-body {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.qs-body:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  #quien-soy { grid-template-columns: 1fr; gap: 40px; }
  .qs-img img { width: 280px; height: 280px; }
}

/* ── SCROLL REVEAL ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 860px) {
  #problema { grid-template-columns: 1fr; gap: 48px; }
  #diferenciacion { grid-template-columns: 1fr; }
  .dif-card { padding: 36px 28px; }
  #servicios { grid-template-columns: 1fr; }
  .srv-card { padding: 40px 28px; }
  #metodologia .steps { grid-template-columns: 1fr; }
  #para-quien { grid-template-columns: 1fr; gap: 48px; }
  #cta-final .inner { grid-template-columns: 1fr; gap: 48px; }
  .transf-row { grid-template-columns: 1fr 24px 1fr; gap: 12px; }
  .transf-from { font-size: 14px; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .transf-row { grid-template-columns: 1fr; gap: 4px; }
  .transf-from { text-align: left; }
  .transf-arrow { text-align: left; }
}
