:root {
  --blue: #38B6FF;
  --blue-dark: #215582;
  --indigo: #4054B2;
  --pink: #E26BC0;
  --ink: #2b2b2b;
  --muted: #686868;
  --bg-soft: #E6F2FF;
  --white: #ffffff;
  --radius: 14px;
  --font-body: 'Raleway', sans-serif;
  --font-display: 'Fraunces', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--indigo);
}

h1 { font-size: 3rem; line-height: 1.15; color: var(--white); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.lead { font-size: 1.15rem; color: var(--muted); }
.body-text { color: var(--muted); font-size: 1rem; margin-bottom: 24px; }
.center { text-align: center; }
.center-actions { justify-content: center; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--indigo);
  text-decoration: none;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--blue-dark); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 90px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-text .lead { color: #eaf5ff; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.img-placeholder {
  background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #e6e6e6 10px, #e6e6e6 20px);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}
.img-placeholder.tall { aspect-ratio: 3/4; }

.hero-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 65%;
  border-radius: var(--radius);
  display: block;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  display: block;
}
.servicio-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.servicio-photo.photo-lower { object-position: center 65%; }

/* SECTIONS */
.section { padding: 80px 0; }
.deseos { background: var(--white); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.servicio-row.reverse .two-col { direction: rtl; }
.servicio-row.reverse .two-col > * { direction: ltr; }

.deseo-card { text-align: center; }
.deseo-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--indigo);
}
.deseo-card .icon svg { width: 26px; height: 26px; }
.deseo-card h3 { font-size: 1.1rem; }
.deseo-card p { color: var(--muted); font-size: 0.92rem; }

.sobre-mi { background: var(--bg-soft); padding: 64px 0; }
.sobre-mi .two-col { align-items: stretch; }
.sobre-mi .about-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius);
  display: block;
}
.sobre-mi .two-col > div:last-child { align-self: center; }

.servicios-header { padding-bottom: 0; }
.servicio-row { padding: 48px 0; }
.servicio-row .two-col { align-items: stretch; }
.servicio-row .servicio-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: block;
}
.servicio-row .two-col > div { align-self: center; }

@media (max-width: 900px) {
  .sobre-mi, .servicio-row { padding: 48px 0; }
  .sobre-mi .two-col > div:last-child, .servicio-row .two-col > div { padding-top: 32px; }
}

/* PRICING */
.precios { background: var(--bg-soft); }
.pricing-grid { align-items: stretch; }
.price-card {
  background: var(--white);
  border: 2px solid #ddd;
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.price-card.featured { border-color: var(--indigo); transform: scale(1.03); }
.price-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--muted);
}
.price { font-family: var(--font-display); font-size: 2.8rem; color: var(--indigo); margin: 8px 0 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.price-card ul li { margin-bottom: 8px; }
.price-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--bg-soft);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* STATS */
.stats { background: var(--indigo); color: var(--white); }
.stats h2, .stat-num { color: var(--white); }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; margin: 0; }
.stat-label { opacity: 0.85; margin-top: 4px; }

/* TESTIMONIALS */
.testi-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: stretch;
}
.testi-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
  font-style: italic;
  color: var(--ink);
  font-size: 0.92rem;
  text-align: left;
}
.testi-author { font-style: normal; font-weight: 600; margin-top: 12px; color: var(--blue-dark); }

/* DOLORES */
.dolores { background: var(--white); }
.dolor-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.dolor-card h4 { color: var(--pink); margin-bottom: 10px; }
.dolores .btn { margin-top: 40px; }

/* LEAD MAGNET */
.lead-magnet { background: var(--bg-soft); }
.lead-magnet-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 780px;
}
.lead-magnet-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--white);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.lead-magnet-icon svg { width: 38px; height: 38px; }
.lead-magnet h2 { font-size: 1.7rem; margin-bottom: 10px; }
.lead-magnet .lead { margin-bottom: 20px; }

@media (max-width: 700px) {
  .lead-magnet-inner { flex-direction: column; text-align: center; }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 40px auto 0; }
details {
  border-bottom: 1px solid #eee;
  padding: 18px 0;
}
summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--indigo);
  font-size: 1.05rem;
}
details p { color: var(--muted); margin-top: 12px; }

/* RESERVA FINAL */
.reserva-final { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); padding: 72px 0 56px; }
.reserva-final h2, .reserva-final .lead { color: var(--white); }
.whatsapp-note { margin-top: 16px; font-size: 0.8rem; opacity: 0.75; }

/* FOOTER */
.footer { padding: 32px 0; background: #1c2b4a; color: #cfd8ea; }
.footer-small { font-size: 0.8rem; opacity: 0.7; margin-top: 6px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cfd8ea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.footer-social svg { width: 20px; height: 20px; }
.footer-social:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .price-card.featured { transform: none; }
  .servicio-row.reverse .two-col { direction: ltr; }
}

/* LEAD MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.modal-card h3 { margin-bottom: 10px; }
.modal-text { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.5; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.phone-field { display: flex; gap: 8px; }
#lead-country {
  flex: 0 0 auto;
  max-width: 118px;
  padding: 13px 8px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: var(--white);
}
#lead-form input[type="tel"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  font-family: var(--font-body);
}
#lead-form input[type="tel"]:focus,
#lead-country:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.modal-hint { font-size: 0.78rem; color: var(--muted); margin: 6px 0 0; }
.modal-error { font-size: 0.82rem; color: #c0392b; margin: 8px 0 0; }
.modal-submit { width: 100%; margin-top: 18px; }
.modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
