:root {
  --foreground: #2b1d15;
  --muted: #8a7a6d;
  --accent: #f3e5dc;
  --brown: #3d2a1f;
  --brown-hover: #4a3325;
  --background: #f6f0e6;
  --primary-soft: #6b5344;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Trirong', Georgia, 'Times New Roman', serif;
  background: var(--background);
  color: var(--foreground);
}
a { color: inherit; }

/* ---------- Header / nav simple ---------- */
.top-nav {
  text-align: left;
  padding: 20px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.top-nav a { text-decoration: none; }
.top-nav a:hover { color: var(--brown); }

/* ---------- Home ---------- */
.home-hero {
  text-align: center;
  padding: 10px 20px 0px;
  max-width: 600px;
  margin: 0 auto;
}
.home-hero h1 {
  font-size: 2.6rem;
  font-style: italic;
  margin: 20px 0 10px;
}
.home-hero p.tagline {
  font-style: italic;
  color: var(--primary-soft);
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(61,42,31,0.35);
  margin: 24px 0;
}
.flourish .linea {
  height: 1px;
  width: 40px;
  background: currentColor;
}
.boton-principal {
  display: inline-block;
  background: var(--brown);
  color: white;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 10px;
  transition: background 0.2s;
}
.boton-principal:hover { background: var(--brown-hover); }

/* ---------- Servicios ---------- */
main.servicios {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px 10px;
}
.categoria { margin-bottom: 50px; }
.categoria:last-child { margin-bottom: 0; }
.categoria h2 {
  font-style: italic;
  font-size: 2.2rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.servicio {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dashed #e5d8cd;
}
.servicio-nombre { font-size: 1.05rem; }
.servicio-desc {
  color: var(--muted);
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  margin-top: 4px;
}
.servicio-precio {
  white-space: nowrap;
  font-weight: bold;
  color: var(--brown);
}

/* ---------- WhatsApp flotante (ambas páginas) ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 100;
}
.logo-img {
  width: 300px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.site-header {
  padding: 16px 24px;
}
.site-header-logo {
  height: 32px;
  width: auto;
  display: block;
}
.botones-categorias {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}
@media (min-width: 640px) {
  .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .servicios-grid { grid-template-columns: repeat(4, 1fr); }
}
.servicio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.servicio-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: var(--accent);
}
.servicio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.servicio-card-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.servicio-card-thumbs .thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.servicio-card-thumbs .thumb.active { border-color: var(--brown); }
.servicio-card-nombre {
  margin: 14px 0 2px;
  font-style: italic;
  font-size: 1.05rem;
}
.servicio-card-desc {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0;
}
.servicio-card-precio {
  margin: 8px 0 0;
  font-size: 1.05rem;
  color: var(--brown);
}

.social-actions {
  max-width: 400px;
  margin: 50px auto 20px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.social-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: 30px;
  font-weight: bold;
  color: white;
  text-align: center;
}
.btn-whatsapp-social,
.btn-instagram-social,
.btn-cotiza {
  background: var(--brown);
}
.social-actions a:hover {
  background: var(--brown-hover);
}
h1, h2, h3 {
  font-weight: 300;
}
.boton-principal,
.social-actions a {
  font-weight: normal;
}
.servicio-precio {
  font-weight: normal;
}

.servicio-card { cursor: pointer; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,29,21,0.6);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.abierto { display: flex; }
.modal-caja {
  background: var(--background);
  border-radius: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}
.modal-cerrar {
  position: sticky;
  top: 12px;
  float: right;
  margin: 0 0 -44px 0;
  width: 30px;
  height: 30px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--brown);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.modal-foto {
  width: 100%;
  max-height: 60vh;
  border-radius: 16px;
  overflow: hidden;
  background: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-foto img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}
.modal-nombre {
  font-style: italic;
  font-size: 1.8rem;
  margin: 0 0 8px;
}
.modal-desc-corta {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin: 0 0 6px;
}
.modal-precio {
  font-size: 1.2rem;
  color: var(--brown);
  margin: 0 0 20px;
}
.modal-detalle {
  font-family: 'Trirong', 'Trirong Fallback', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  white-space: pre-line;
}

.boton-categoria {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background: var(--brown);
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: normal;
  text-align: center;
  transition: background 0.2s;
}
.boton-categoria:hover {
  background: var(--brown-hover);
}

.site-footer {
  text-align: center;
  padding: 24px 20px;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

.bio-estilista {
  max-width: 500px;
  margin: 60px auto 20px;
  padding: 0 20px;
  text-align: center;
}
.bio-estilista-foto {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid var(--brown);
  padding: 8px;
}
.bio-estilista-foto {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
  border: 1px solid var(--brown);
  padding: 8px;
}
.bio-estilista-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.bio-estilista-label {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brown);
  margin: 0 0 10px;
}
.bio-estilista-nombre {
  font-size: 2rem;
  margin: 0 0 16px;
}
.bio-estilista-nombre em {
  color: var(--brown);
}
.bio-estilista-texto {
  line-height: 1.6;
  color: var(--foreground);
  white-space: pre-line;
}

.menu-toggle {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.menu-toggle svg { width: 20px; height: 20px; }

.menu-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,29,21,0.6);
  z-index: 300;
}
.menu-panel.abierto { display: block; }
.menu-panel-caja {
  background: var(--background);
  width: 280px;
  max-width: 80%;
  height: 100%;
  margin-left: auto;
  padding: 30px 24px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.menu-panel-cerrar {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  margin-bottom: 20px;
}
.menu-panel-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.menu-panel-links a {
  text-decoration: none;
  color: var(--foreground);
  font-size: 1.1rem;
  font-style: italic;
}
.menu-panel-links a:hover { color: var(--brown); }

.modal-foto {
  position: relative;
}
.modal-foto-flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(253,249,246,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 5;
}
.modal-foto-flecha.izq { left: 10px; }
.modal-foto-flecha.der { right: 10px; }
.modal-foto-flecha:hover { background: var(--accent); }


.promo-intro {
  color: var(--muted);
  line-height: 1.6;
  margin: -10px 0 24px;
}
.form-promo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-promo label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--brown);
}
.form-promo input {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--brown);
  border-radius: 0;
  background: transparent;
  color: var(--foreground);
  width: 100%;
  outline: none;
}
.form-promo input::placeholder {
  color: var(--muted);
}
.form-promo input:focus {
  border-bottom-color: var(--foreground);
}
.telefono-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.telefono-wrap span {
  color: var(--brown);
  font-size: 1rem;
}
.form-promo button.boton-categoria {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}
#form-promo-msg {
  text-align: center;
  color: var(--brown);
  margin: 0;
}
.form-promo-nota {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

.landing {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: 40px 20px;
  text-align: center;
}
.logo-inicio {
  width: 260px;
  max-width: 70%;
  height: auto;
  display: block;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .logo-inicio {
    width: 200px;
    max-width: 60%;
  }
}
.landing .boton-principal {
  min-width: 240px;
  text-align: center;
  font-size: 1.05rem;
}
.bienvenida {
  text-align: center;
  padding: 0 24px;
  margin: 0 auto 28px;
}
.bienvenida-titulo {
  font-family: 'Trirong', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  line-height: 1.2;
  color: var(--foreground);
  margin: 0 0 22px;
}
.bienvenida-flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #b3a597;
  margin-bottom: 18px;
}
.bf-linea {
  width: 60px;
  height: 1px;
  background: #cfc3b4;
}
.bienvenida-sub {
  font-family: 'Trirong', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary-soft);
  margin: 0;
}
.promos-vigentes { max-width: 1000px; margin: 0 auto 48px; padding: 0 20px; text-align: center; }
.promos-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .promos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .promos-grid { grid-template-columns: repeat(4, 1fr); } }
.promo-card { text-align: left; }
.promo-card img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 18px; display: block; margin-bottom: 10px;
}
.promo-card h3 {
  font-family: 'Trirong', serif; font-weight: 300; font-style: italic;
  font-size: 1.05rem; color: var(--foreground); margin: 0 0 4px;
}
.promo-desc { font-size: 0.85rem; color: var(--muted); margin: 0 0 4px; }
.promo-precio { font-size: 0.95rem; color: var(--primary-soft); margin: 0; }
/* Tarjetas de promos clicables */
.promo-card { cursor: pointer; }
.promo-card h3 { margin-top: 2px; }

/* Corazón con dos líneas */
.promos-flourish {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: #b3a597; margin: 40px 0 8px;
}
.promos-flourish .pf-linea { width: 60px; height: 1px; background: #cfc3b4; }

/* Ventana flotante de promo */
.promo-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(43, 29, 21, 0.55);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.promo-modal.abierto { display: flex; }
.promo-modal-caja {
  background: var(--background);
  border-radius: 20px;
  max-width: 420px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding-bottom: 24px;
}
.promo-modal-cerrar {
  position: sticky; top: 8px;
  display: block; margin: 8px 12px -36px auto;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(242, 231, 213, 0.9);
  color: var(--foreground); font-size: 1.5rem; line-height: 1;
  cursor: pointer; z-index: 2;
}
.promo-modal-caja img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  display: block; border-radius: 20px 20px 0 0;
}
.promo-modal-cuerpo { padding: 18px 22px 0; text-align: left; }
.promo-modal-cuerpo h3 {
  font-family: 'Trirong', serif; font-weight: 300; font-style: italic;
  font-size: 1.4rem; color: var(--foreground); margin: 0 0 10px;
}
.promo-modal-cuerpo .promo-modal-desc {
  font-size: 0.92rem; color: var(--muted);
  white-space: pre-line; margin: 0 0 12px; line-height: 1.5;
}
.promo-modal-cuerpo .promo-modal-precio {
  font-size: 1rem; color: var(--primary-soft); margin: 0 0 16px;
}
.promo-modal-agenda {
  display: block; text-align: center;
  font-family: 'Trirong', serif; font-weight: 300;
  background: var(--brown); color: #fff; text-decoration: none;
  padding: 14px 24px; border-radius: 999px;
}
.logo-unas {
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.tagline-chica {
  font-size: 0.8em;
    margin-top: -14px;
}
