:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE6D8;
  --brown: #6B4F3A;
  --brown-dark: #4A3628;
  --brown-light: #8B6F5A;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --navy: #1A1F3A;
  --navy-light: #252B4D;
  --white: #FEFCF8;
  --text-dark: #2C2420;
  --text-muted: #7A6E64;
}

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

body {
  font-family: 'Raleway', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 79, 58, 0.1);
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 600;
  color: var(--brown-dark);
  letter-spacing: 3px;
}

.nav-logo .moon { color: var(--gold); margin-right: 6px; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--brown);
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--brown); color: var(--cream) !important;
  padding: 0.6rem 1.4rem; border-radius: 2px;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--gold) !important; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1E2444 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 6rem 2rem 4rem;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 162, 101, 0.08) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 30%, rgba(196, 162, 101, 0.05) 0%, transparent 60%);
}

.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 20% 90%, rgba(255,255,255,0.2), transparent),
    radial-gradient(1px 1px at 60% 60%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.3), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle { 0% { opacity: 0.6; } 100% { opacity: 1; } }

.hero-content {
  text-align: center; position: relative; z-index: 2;
  max-width: 700px;
}

.hero-moon {
  font-size: 4rem; color: var(--gold);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(196, 162, 101, 0.4);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300;
  color: var(--cream); letter-spacing: 8px;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 300; font-style: italic;
  color: var(--gold-light); letter-spacing: 3px;
  margin-bottom: 2rem;
}

.hero p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 1rem; line-height: 1.8;
  max-width: 500px; margin: 0 auto 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 1rem 2.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: all 0.3s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 162, 101, 0.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 1rem 2.5rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: all 0.3s; margin-left: 1rem;
}
.btn-secondary:hover {
  background: rgba(196, 162, 101, 0.1);
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
section { padding: 5rem 2rem; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 400;
  text-align: center; margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.section-subtitle {
  text-align: center; font-style: italic;
  color: var(--text-muted); font-size: 0.95rem;
  margin-bottom: 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

.section-divider {
  width: 60px; height: 1px;
  background: var(--gold); margin: 0 auto 3rem;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--white); }

.steps {
  display: flex; justify-content: center; gap: 3rem;
  max-width: 900px; margin: 0 auto;
  flex-wrap: wrap;
}

.step {
  flex: 1; min-width: 220px; max-width: 260px;
  text-align: center; padding: 2rem 1rem;
}

.step-icon {
  width: 70px; height: 70px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem; color: var(--gold);
}

.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--brown-dark); margin-bottom: 0.6rem;
}

.step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SERVICES ===== */
.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px; margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(107, 79, 58, 0.1);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(107, 79, 58, 0.08);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600;
  color: var(--brown-dark); margin-bottom: 0.4rem;
}

.service-card .desc {
  font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 1rem; line-height: 1.5;
}

.service-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--brown);
}

.service-card .price small {
  font-size: 0.85rem; font-weight: 400; color: var(--text-muted);
}

.service-card .btn-card {
  display: block; width: 100%;
  margin-top: 1.2rem;
  background: var(--brown); color: var(--cream);
  padding: 0.8rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  text-align: center; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.3s;
}

.service-card .btn-card:hover { background: var(--gold); }

/* ===== PLANS ===== */
.plans {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--cream);
}

.plans .section-title { color: var(--cream); }
.plans .section-subtitle { color: rgba(245, 240, 232, 0.6); }
.plans .section-divider { background: var(--gold); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 750px; margin: 0 auto;
}

.plan-card {
  border: 1px solid rgba(196, 162, 101, 0.2);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.plan-card:hover {
  border-color: var(--gold);
  background: rgba(196, 162, 101, 0.05);
}

.plan-card.featured {
  border-color: var(--gold);
  background: rgba(196, 162, 101, 0.08);
}

.plan-card.featured::before {
  content: 'POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; padding: 0.3rem 1rem;
}

.plan-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: 3px; margin-bottom: 1rem;
  color: var(--gold-light);
}

.plan-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--cream); margin-bottom: 0.3rem;
}

.plan-card .price small {
  font-size: 1rem; font-weight: 300; color: rgba(245,240,232,0.6);
}

.plan-card .period {
  font-size: 0.8rem; color: rgba(245,240,232,0.5);
  margin-bottom: 1.5rem;
}

.plan-card ul {
  list-style: none; text-align: left;
  margin-bottom: 2rem;
}

.plan-card ul li {
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.plan-card ul li::before {
  content: '✦'; margin-right: 0.7rem;
  color: var(--gold); font-size: 0.7rem;
}

.plan-card .btn-plan {
  display: block; width: 100%;
  background: var(--gold); color: var(--navy);
  padding: 0.9rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: all 0.3s;
}

.plan-card .btn-plan:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ===== QUESTION FORM ===== */
.question-section {
  background: var(--cream-dark);
  text-align: center;
}

.question-form {
  max-width: 600px; margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(107, 79, 58, 0.1);
  padding: 2.5rem;
}

.question-form textarea {
  width: 100%;
  border: 1px solid rgba(107, 79, 58, 0.15);
  background: var(--cream);
  padding: 1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  resize: vertical; min-height: 120px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.3s;
}

.question-form textarea:focus {
  border-color: var(--gold);
}

.question-form textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.question-form .btn-primary {
  margin-top: 1.2rem; width: 100%;
}

/* ===== ABOUT ===== */
.about {
  background: var(--white);
}

.about-content {
  max-width: 700px; margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1rem; line-height: 1.9;
  color: var(--text-muted);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown-dark);
  color: rgba(245, 240, 232, 0.6);
  text-align: center;
  padding: 3rem 2rem;
}

footer .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 600;
  color: var(--cream); letter-spacing: 4px;
  margin-bottom: 1rem;
}

footer p { font-size: 0.82rem; line-height: 1.8; }

footer .social {
  margin-top: 1.5rem;
  display: flex; justify-content: center; gap: 1.5rem;
}

footer .social a {
  color: var(--gold); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 1px;
  transition: color 0.3s;
}

footer .social a:hover { color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
.hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--brown); transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245, 240, 232, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(107, 79, 58, 0.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; padding: 0.4rem 0; }
  .nav-cta { text-align: center; }
  .hero h1 { font-size: 2.6rem; letter-spacing: 4px; }
  .hero h2 { font-size: 1.1rem; }
  .hero p { font-size: 0.9rem; }
  .btn-secondary { margin-left: 0; margin-top: 1rem; }
  .hero .buttons { display: flex; flex-direction: column; align-items: center; }
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; }
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 1.5rem; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; }
  .section-title { font-size: 1.8rem; }
  .modal { width: 95%; padding: 1.8rem; }
  nav { padding: 0.8rem 1.5rem; }
  #userBar { padding: 0.4rem 1rem; font-size: 0.75rem; }
  footer { padding: 2.5rem 1.5rem; }
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer; transition: transform 0.3s;
  text-decoration: none;
}

.whatsapp-fab:hover { transform: scale(1.1); }

.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }

/* ===== AUTH MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26, 31, 58, 0.7);
  backdrop-filter: blur(5px);
  z-index: 200;
  align-items: center; justify-content: center;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--white);
  max-width: 420px; width: 90%;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem; color: var(--text-muted);
  cursor: pointer;
}

.modal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; color: var(--brown-dark);
  margin-bottom: 1.5rem; text-align: center;
}

.modal input {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid rgba(107, 79, 58, 0.15);
  background: var(--cream);
  font-family: 'Raleway', sans-serif;
  font-size: 0.88rem; color: var(--text-dark);
  margin-bottom: 0.8rem; outline: none;
  transition: border-color 0.3s;
}

.modal input:focus { border-color: var(--gold); }

.modal .btn-primary { width: 100%; margin-top: 0.5rem; }

.modal .switch-text {
  text-align: center; margin-top: 1rem;
  font-size: 0.82rem; color: var(--text-muted);
}

.modal .switch-text a {
  color: var(--gold); cursor: pointer;
  text-decoration: underline;
}

/* Nota de información */
.info-note {
  background: rgba(196, 162, 101, 0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  margin: 2rem auto;
  max-width: 600px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }

.reviews-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.review-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  position: relative;
}

.review-card .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.review-card .review-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.review-card .review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-card .review-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.review-card .review-date {
  font-size: 0.75rem;
  color: rgba(122, 110, 100, 0.6);
  margin-top: 0.5rem;
}

.review-form-container {
  max-width: 600px;
  margin: 2rem auto 0;
}

.review-form {
  background: var(--white);
  border: 1px solid rgba(107, 79, 58, 0.1);
  padding: 1.5rem;
}

.star {
  font-size: 1.8rem;
  color: rgba(107, 79, 58, 0.2);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  user-select: none;
}

.star:hover,
.star.active {
  color: var(--gold);
  transform: scale(1.15);
}

.no-reviews-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  padding: 2rem 0;
}
