/* ===================== VARIABLES ===================== */
:root {
  --color-bg: #F1E8D9;
  --color-bg-alt: #FAF4E9;
  --color-surface: #FFFFFF;

  --color-sage: #B9CBAE;
  --color-sage-dark: #8CA97D;
  --color-lavender: #D8C9E3;
  --color-lavender-dark: #B79FD1;
  --color-gold: #F3D08E;
  --color-gold-dark: #E3AE55;
  --color-rose: #E7C3C6;
  --color-rose-dark: #C98F94;

  --color-text: #47402F;
  --color-text-soft: #7A7060;
  --color-border: #E4D8C3;

  --font-heading: 'Quicksand', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 10px 30px rgba(140, 120, 80, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }

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

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

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

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--color-sage-dark);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-sage-dark);
  color: var(--color-sage-dark);
}
.btn-outline:hover {
  background: var(--color-sage-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(241, 232, 217, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand-logo {
  height: 130px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}

.nav-link:hover {
  color: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
}

/* ===================== HERO ===================== */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-sage-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hero-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-gold) 0%, var(--color-lavender) 55%, var(--color-sage) 100%);
  opacity: 0.45;
  filter: blur(10px);
  z-index: 0;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

/* ===================== SECTIONS ===================== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 0.85rem;
  color: var(--color-lavender-dark);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 20px;
}

.section-intro {
  max-width: 65ch;
  color: var(--color-text-soft);
  margin-bottom: 40px;
}

/* ===================== PRESENTACIÓN ===================== */
.presentation-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.presentation-text p { color: var(--color-text-soft); }

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-text);
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-sage-dark);
  font-weight: 700;
}

.presentation-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold-dark);
}

.stat-label {
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

/* ===================== METODOLOGÍA CARDS ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.method-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: transform .2s ease, box-shadow .2s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.method-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-lavender);
  margin-bottom: 16px;
}

.method-card p { color: var(--color-text-soft); margin: 0; }

/* ===================== HORARIOS Y PRECIOS ===================== */
.schedule-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.schedule-card-full {
  margin-bottom: 40px;
}

.week-table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.week-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 6px;
}

.week-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  padding: 10px 8px;
  font-size: 0.9rem;
}

.week-table td {
  padding: 12px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.time-cell {
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-family: var(--font-heading);
  white-space: nowrap;
}

.g-a {
  background: var(--color-sage);
  color: #3F5A38;
}

.g-b {
  background: var(--color-lavender);
  color: #4C3866;
}

.g-c {
  background: var(--color-gold);
  color: #7A5518;
}

.g-d {
  background: var(--color-rose);
  color: #6E3438;
}

.schedule-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}

.dot-a { background: var(--color-sage); }
.dot-b { background: var(--color-lavender); }
.dot-c { background: var(--color-gold); }
.dot-d { background: var(--color-rose); }

.schedule-note {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  margin: 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.pricing-cards-single {
  grid-template-columns: none;
  justify-content: center;
}

.pricing-cards-single .price-card {
  width: 100%;
  max-width: 320px;
}

.price-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  position: relative;
  text-align: center;
}

.price-card-highlight {
  background: var(--color-sage);
  border-color: var(--color-sage-dark);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 10px 0;
}

.price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}

.price-card li {
  padding: 6px 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.price-card li::before {
  content: "•  ";
  color: var(--color-sage-dark);
  font-weight: 700;
}

/* ===================== CONTACTO ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-gold-dark);
}

.contact-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: var(--color-text-soft);
}

.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 700;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--color-sage-dark);
  outline-offset: 1px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--color-sage-dark);
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--color-sage-dark);
  color: #fff;
  padding: 32px 0;
}

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

.footer-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-inner,
  .presentation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-blob { display: none; }
  .hero-image-wrap { min-height: 0; margin-top: 20px; }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 90px;
  }

  .main-nav {
    gap: 18px 24px;
  }
}
