/* ===== Soy Ihona ===== */

:root {
  --bg: #FBF7F2;
  --bg-secondary: #F4EBE1;
  --bg-card: #FFFFFF;
  --text: #2B2420;
  --text-secondary: #6B5D53;
  --accent: #A84B24;
  --on-accent: #FFFFFF;
  --error: #B42318;
  --border: rgba(43, 36, 32, 0.10);
  --max-width: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.nowrap { white-space: nowrap; }

.highlight {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  color: var(--accent);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.small { color: var(--text-secondary); font-size: 14px; }

.link { color: var(--accent); font-weight: 700; text-decoration: none; }
.link:hover { opacity: 0.75; }

.hp { position: absolute; left: -9999px; opacity: 0; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary { background: var(--accent); color: var(--on-accent); }

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 75, 36, 0.28);
}

.btn-small { padding: 10px 20px; font-size: 15px; }
.btn-full { width: 100%; }

/* ===== Header ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:not(.btn):hover { color: var(--text); }

/* ===== Cards & forms ===== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
}

.form { display: flex; flex-direction: column; gap: 12px; }

.form-title { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.form-sub { color: var(--text-secondary); font-size: 15px; margin-bottom: 20px; }

.input {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(43, 36, 32, 0.18);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 14px 16px;
}

.input:focus { outline: none; border-color: var(--accent); }
.input--error { border-color: var(--error); }
textarea.input { resize: vertical; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 4px 0;
}

.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent); }

.form-error { color: var(--error); font-size: 14px; min-height: 1em; }
.form-error:empty { display: none; }

.form-fix {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.form-note { color: var(--text-secondary); font-size: 13px; text-align: center; }

/* ===== Hero ===== */

.hero { padding: 88px 0 80px; position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-weight: 900;
  font-size: 52px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-subtitle { font-size: 18.5px; color: var(--text-secondary); line-height: 1.7; }

.form-card { border-color: rgba(168, 75, 36, 0.35); box-shadow: 0 20px 50px rgba(43, 36, 32, 0.08); }

/* ===== Prueba ===== */

.proof { padding: 80px 0; position: relative; z-index: 1; }

.proof-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(43, 36, 32, 0.06);
  border-radius: 18px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-areas: "cover head" "cover text" "cover links";
  column-gap: 40px;
  row-gap: 16px;
  align-items: start;
}

.proof-cover { grid-area: cover; align-self: center; }

.proof-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(43, 36, 32, 0.25);
  transform: rotate(-3deg);
  transition: transform 0.2s ease;
}

.proof-cover:hover img { transform: rotate(0); }

.proof-head { grid-area: head; display: flex; align-items: center; gap: 16px; }

.proof-num { font-size: 64px; font-weight: 900; line-height: 1; color: var(--accent); letter-spacing: -0.03em; }

.proof-label { font-size: 19px; font-weight: 700; line-height: 1.3; }

.proof-label span { display: block; font-size: 15px; font-weight: 500; color: var(--text-secondary); }

.proof-text { grid-area: text; }
.proof-text p { color: var(--text-secondary); font-size: 16px; margin-bottom: 8px; }
.proof-text strong { color: var(--text); }

.proof-links { grid-area: links; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 4px; }

/* ===== Quién soy + consultoría ===== */

.section-alt { background: var(--bg-secondary); padding: 88px 0; position: relative; z-index: 1; }

.about {
  max-width: 720px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-areas: "avatar head" "avatar text";
  column-gap: 32px;
  row-gap: 14px;
  align-items: start;
}

.about .avatar {
  grid-area: avatar;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}

.about-head { grid-area: head; align-self: end; }
.about h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.about-role { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 8px; }
.about-text { grid-area: text; }
.about-text p { color: var(--text-secondary); font-size: 17px; margin-bottom: 10px; }

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.consult-card h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }

.price { font-size: 30px; font-weight: 800; margin-bottom: 24px; }
.price span { font-size: 15px; font-weight: 500; color: var(--text-secondary); }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.ticks li { display: flex; gap: 10px; font-size: 15.5px; font-weight: 500; }
.ticks li::before { content: '✓'; color: var(--accent); font-weight: 800; }

.steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.steps li { counter-increment: step; display: flex; gap: 12px; font-size: 15px; color: var(--text-secondary); }

.steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(168, 75, 36, 0.10);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Cierre ===== */

.closing { text-align: center; padding: 96px 0; position: relative; z-index: 1; border-top: 1px solid var(--border); }
.closing h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.closing p { color: var(--text-secondary); font-size: 17px; margin-bottom: 32px; }

/* ===== Páginas sueltas (gracias, legales) ===== */

.page { max-width: 640px; margin: 0 auto; padding: 96px 24px 80px; position: relative; z-index: 1; }
.page h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.page h2 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }
.page p, .page li { color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin-bottom: 12px; }
.page ul { padding-left: 20px; }
.page a { color: var(--accent); }
.page .btn { margin-top: 16px; color: var(--on-accent); }

/* ===== Footer ===== */

footer { border-top: 1px solid var(--border); padding: 36px 0; position: relative; z-index: 1; }

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-handle { color: var(--text-secondary); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }

/* ===== Responsive ===== */

@media (max-width: 860px) {
  .hero-grid, .consult-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .closing h2 { font-size: 30px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 32px; }
  .card { padding: 28px 20px; }
  .about { grid-template-columns: 64px 1fr; grid-template-areas: "avatar head" "text text"; column-gap: 14px; margin-bottom: 40px; }
  .about .avatar { width: 64px; height: 64px; }
  .about-role { font-size: 12.5px; letter-spacing: -0.01em; }
  .about-head { align-self: center; }
  .about h2 { font-size: 24px; }
  .about-text p { font-size: 16px; }
  .proof-card { grid-template-columns: 92px 1fr; grid-template-areas: "cover head" "text text" "links links"; column-gap: 20px; padding: 28px 22px; }
  .proof-cover { align-self: start; }
  .proof-num { font-size: 46px; }
  .proof-head { gap: 12px; flex-direction: column; align-items: flex-start; }
  .proof-label { font-size: 16px; }
  .proof-label span { font-size: 14px; }
  .proof-links .btn { width: 100%; }
  .nav-links { gap: 18px; }
  .section-alt, .proof, .closing { padding: 64px 0; }
}
