/* ===========================
   COMPLEJO MAURO OLIVI — CSS
   Mobile-first
   =========================== */

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

:root {
  --verde:        #1B4D2E;
  --verde-medio:  #2D7A4F;
  --nav-bg:       #0D1117;
  --dorado:       #F5C518;
  --dorado-dark:  #D4A800;
  --wa-green:     #25D366;
  --blanco:       #FFFFFF;
  --gris-bg:      #F5F5F5;
  --gris-texto:   #333333;
  --gris-suave:   #555555;
  --gris-borde:   #E0E0E0;
  --sombra:       0 4px 20px rgba(0,0,0,0.1);
  --radio:        12px;
  --radio-lg:     16px;
  --radio-pill:   50px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gris-texto);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

p { line-height: 1.6; }

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

/* ===========================
   LAYOUT
   =========================== */

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

.text-left  { text-align: left; }
.text-white { color: var(--blanco); }

/* ===========================
   BOTONES
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radio-pill);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-primary {
  background: var(--dorado);
  color: var(--verde);
}
.btn-primary:hover { background: var(--dorado-dark); }

.btn-outline {
  background: transparent;
  color: var(--verde);
  border: 2px solid var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: var(--blanco);
}

.btn-wa {
  background: var(--wa-green);
  color: var(--blanco);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-wa:hover {
  background: #1db954;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-lg  { font-size: 1.05rem; padding: 16px 36px; }
.btn-xl  { font-size: 1.15rem; padding: 20px 48px; }

/* ===========================
   NAVEGACIÓN
   =========================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.header.scrolled {
  background: var(--nav-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-text span { color: var(--dorado); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  padding: 16px 20px 24px;
  list-style: none;
  gap: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.nav-links.open { display: flex; }

.nav-link {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--dorado); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  background: var(--dorado);
  color: var(--verde);
  padding: 10px 22px;
  border-radius: var(--radio-pill);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--dorado-dark); }

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    align-items: center;
    gap: 4px;
    box-shadow: none;
  }

  .nav-link {
    padding: 8px 12px;
    border-bottom: none;
    font-size: 0.88rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 8px;
    padding: 8px 18px;
    font-size: 0.88rem;
  }
}

/* ===========================
   SECCIONES BASE
   =========================== */

.section { padding: 80px 0; }

.section--alt   { background: var(--gris-bg); }
.section--dark  { background: #111111; }
.section--green { background: var(--verde); text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--verde);
  text-align: center;
  margin-bottom: 16px;
}
.section--dark .section-title { color: var(--blanco); }
.section--green .section-title { color: var(--blanco); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gris-suave);
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.section--green .section-subtitle { color: rgba(255,255,255,0.85); }

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/hero-complejo-mauro-olivi.png') center center / cover no-repeat;
  padding-top: 68px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px 80px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--blanco);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ===========================
   CUMPLEAÑOS — INCLUIDO BASE
   =========================== */

.includes-base {
  background: #EEF5F0;
  border-left: 4px solid var(--verde);
  border-radius: 0 var(--radio) var(--radio) 0;
  padding: 28px 32px;
  margin-bottom: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.includes-title {
  font-size: 0.85rem;
  color: var(--verde);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.includes-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.includes-list li {
  font-size: 0.93rem;
  color: var(--gris-suave);
  padding-left: 24px;
  position: relative;
}

.includes-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
  top: 2px;
}

@media (min-width: 640px) {
  .includes-list { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   PRICING CARDS
   =========================== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 580px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.pricing-card {
  background: var(--blanco);
  border: 2px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--dorado);
  background: var(--verde);
  color: var(--blanco);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dorado);
  color: var(--verde);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.pricing-header { margin-bottom: 20px; }

.pricing-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.pricing-card--featured .pricing-name { color: var(--dorado); }

.pricing-price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--verde);
}
.pricing-card--featured .pricing-price { color: var(--blanco); }

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  font-size: 0.88rem;
  padding-left: 22px;
  position: relative;
  color: var(--gris-suave);
  line-height: 1.5;
}
.pricing-card--featured .pricing-features li { color: rgba(255,255,255,0.85); }

.pricing-features li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--dorado);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1;
  top: 1px;
}

.pricing-card .btn { width: 100%; }

.pricing-note {
  background: #FFFBE6;
  border: 1px solid var(--dorado);
  border-radius: var(--radio);
  padding: 24px 28px;
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--gris-suave);
}
.pricing-note p + p { margin-top: 8px; }

/* ===========================
   SALÓN
   =========================== */

.salon-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .salon-grid { grid-template-columns: 1fr 1fr; }
}

.salon-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0 28px;
}
.salon-price-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--verde);
}
.salon-price-note {
  font-size: 0.9rem;
  color: var(--gris-suave);
}

.salon-content h3 {
  font-size: 1.1rem;
  color: var(--verde);
  margin-bottom: 12px;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.features-list li {
  font-size: 0.93rem;
  padding-left: 26px;
  position: relative;
  color: var(--gris-suave);
}
.features-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: 0.8rem;
  top: 2px;
}

.salon-vajilla,
.salon-senia {
  font-size: 0.9rem;
  color: var(--gris-suave);
  margin-bottom: 10px;
}
.salon-senia { margin-bottom: 28px; }

.salon-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra);
}

/* ===========================
   EL COMPLEJO
   =========================== */

.complejo-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 768px) {
  .complejo-grid { grid-template-columns: 1fr 1fr; }
}

.complejo-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radio-lg);
  box-shadow: var(--sombra);
}

.complejo-content h3 {
  font-size: 1.1rem;
  color: var(--verde);
  margin-bottom: 16px;
}

.complejo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.complejo-list li {
  padding: 14px 16px;
  background: #EEF5F0;
  border-radius: 8px;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--gris-texto);
}
.complejo-list small {
  display: block;
  color: var(--gris-suave);
  font-size: 0.83rem;
  margin-top: 4px;
}

.complejo-horario {
  font-size: 0.9rem;
  color: var(--gris-suave);
  padding: 14px 16px;
  border: 1px solid var(--gris-borde);
  border-radius: 8px;
}

/* ===========================
   GALERÍA
   =========================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item--large { grid-column: span 2; }
}

.gallery-item {
  border-radius: var(--radio);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item--large img { height: 320px; }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 77, 46, 0);
  transition: background 0.3s;
}
.gallery-item:hover::after { background: rgba(27, 77, 46, 0.35); }
.gallery-item:hover img { transform: scale(1.04); }

@media (min-width: 768px) {
  .gallery-item img { height: 240px; }
  .gallery-item--large img { height: 380px; }
}

/* ===========================
   FAQ
   =========================== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  overflow: hidden;
  background: var(--blanco);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--verde);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--verde-medio); }

.faq-icon {
  flex-shrink: 0;
  color: var(--verde);
  transition: transform 0.3s;
}
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gris-suave);
  line-height: 1.75;
}
.faq-answer p + p { padding-top: 0; }

/* ===========================
   CONTACTO
   =========================== */

.section--green .btn-wa { margin-bottom: 40px; }

.contact-info {
  color: rgba(255,255,255,0.85);
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.map-container {
  border-radius: var(--radio-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  margin-top: 8px;
}
.map-container iframe { display: block; }

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--verde);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 12px;
}
.footer-brand p { margin-bottom: 6px; }

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--dorado); }

.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ===========================
   WHATSAPP FLOTANTE
   =========================== */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--wa-green);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

/* ===========================
   RESEÑAS GOOGLE
   =========================== */

.reviews-header {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.reviews-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
}

.reviews-stars {
  display: flex;
  gap: 2px;
}

.reviews-count {
  font-size: 0.95rem;
  color: var(--gris-suave);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--sombra);
}

.review-stars {
  color: #F5C518;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--gris-suave);
  line-height: 1.7;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gris-texto);
}

.review-author span {
  font-size: 0.82rem;
  color: var(--gris-suave);
}

.reviews-cta {
  text-align: center;
}

/* ===========================
   FORMULARIO AIRTABLE
   =========================== */

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-wrapper .airtable-embed {
  display: block;
  border-radius: var(--radio);
  overflow: hidden;
}

.form-alt {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--gris-suave);
}

.btn-sm {
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* ===========================
   MOBILE ADJUSTMENTS
   =========================== */

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero-content { padding: 48px 20px 64px; }
  .btn-xl { font-size: 1rem; padding: 16px 32px; }
  .salon-image img,
  .complejo-image img { height: 280px; }
}
