/* ============================================
   Variables de tema — cambiar esto alcanza para
   adaptar la landing a otro rubro (peluquería,
   consultorio, taller, etc.)
   ============================================ */
:root {
  --color-primary: #c1272d;
  --color-primary-dark: #8f1a1f;
  --color-secondary: #f4a300;
  --color-whatsapp: #25d366;
  --color-bg: #fff8f0;
  --color-bg-alt: #ffffff;
  --color-text: #2b2320;
  --color-text-light: #6b6058;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 35, 32, 0.08);
  --max-width: 1100px;
}

* { 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.5;
}

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.5em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-alt);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color-text);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.nav-menu {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 1.25rem 1.25rem;
  gap: 0.9rem;
  box-shadow: var(--shadow);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.nav-menu.open { max-height: 300px; padding-top: 1rem; }

.nav-menu a { text-decoration: none; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

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

.btn-whatsapp, .btn-whatsapp-small { background: var(--color-whatsapp); color: white; }
.btn-whatsapp-small { padding: 0.55rem 1.1rem; font-size: 0.9rem; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at top right, rgba(244,163,0,0.18), transparent 55%),
              linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero h1 { font-size: 2rem; max-width: 20ch; margin-left: auto; margin-right: auto; }
.hero-subtitle {
  color: var(--color-text-light);
  max-width: 46ch;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
}
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title { text-align: center; font-size: 1.6rem; }
.section-subtitle { text-align: center; color: var(--color-text-light); margin-top: -0.5rem; margin-bottom: 2rem; }

/* ---------- Menu grid ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.menu-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}
.menu-card h3 { margin-bottom: 0.4rem; }
.menu-card p { color: var(--color-text-light); margin: 0 0 0.8rem; }
.price { font-weight: 700; color: var(--color-primary); font-size: 1.1rem; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feature { text-align: center; }
.feature-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
  background: var(--color-bg);
  border-radius: 50%;
}
.feature p { color: var(--color-text-light); }

/* ---------- Ubicacion ---------- */
.ubicacion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.horarios-list { list-style: none; padding: 0; margin: 1rem 0; }
.horarios-list li { padding: 0.35rem 0; border-bottom: 1px dashed rgba(0,0,0,0.08); }
.direccion { font-weight: 600; margin: 1rem 0; }
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Testimonios ---------- */
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.testimonio {
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 0;
}
.testimonio p { margin: 0 0 0.6rem; font-style: italic; }
.testimonio cite { color: var(--color-text-light); font-style: normal; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-text); color: white; padding: 1.5rem 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
}
.footer-inner a { text-decoration: underline; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 60;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    box-shadow: none;
    max-height: none;
    padding: 0;
    overflow: visible;
  }
  .hero h1 { font-size: 2.6rem; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .ubicacion-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

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