:root {
  --cream: #f5ece7;
  --rose: #b3888c;
  --rose-dark: #6f4d51;
  --rose-light: #f5ece7;
  --ink: #3a2e2c;
  --muted: #8a7370;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(111, 77, 81, 0.12);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
  touch-action: pan-y;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--rose-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111, 77, 81, 0.1);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  padding: 10px 24px;
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand-icon { height: 46px; width: auto; display: block; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rose-dark);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav {
  display: flex;
  gap: 24px;
}
.nav a {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.nav a:hover { color: var(--rose-dark); }
.instagram-icon {
  display: flex;
  color: var(--muted);
  transition: color 0.15s ease;
}
.instagram-icon:hover { color: var(--rose-dark); }
.nav-cta { padding: 10px 24px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  color: var(--rose-dark);
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid rgba(111, 77, 81, 0.1);
    box-shadow: 0 12px 24px rgba(111, 77, 81, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(111, 77, 81, 0.08);
  }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero {
  padding: 36px 0;
  position: relative;
  z-index: 1;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .hero-split { grid-template-columns: 1fr; gap: 24px; text-align: center; }
}
.hero-flyer {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow:
    var(--shadow),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -2px 4px rgba(111, 77, 81, 0.3),
    inset 2px 0 4px rgba(111, 77, 81, 0.12),
    inset -2px 0 4px rgba(111, 77, 81, 0.12);
}
.hero-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--rose-dark);
  margin: 0 0 18px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}
.hero-highlights {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}
@media (max-width: 780px) {
  .hero-quote, .hero-highlights { margin-left: auto; margin-right: auto; }
}

/* Fondo con foco progresivo al bajar: el logo se va nitidizando */
.scroll-bg {
  position: fixed;
  inset: -30px;
  z-index: -2;
  background-color: var(--cream);
  background-image: url('/img/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40vmin;
  filter: blur(22px);
  transition: filter 0.05s linear;
}

/* Sections */
.section { padding: 70px 0; position: relative; z-index: 1; }
@media (max-width: 600px) {
  .section { padding: 50px 0; }
  .container { padding: 0 18px; }
}
.section-alt { background: transparent; }
.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--rose-dark);
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}
.section-title.left { text-align: left; }
.icono-corazon { color: var(--rose); vertical-align: -1px; margin-left: 2px; }
.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-top: -10px;
  margin-bottom: 30px;
  font-size: 15px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

/* Cards / servicios */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.card {
  background: var(--white);
  border: 1px solid #eee0dc;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.servicio-card {
  background: var(--white);
  border: 1px solid #eee0dc;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(111, 77, 81, 0.18);
  border-color: var(--rose);
}
.servicio-estrella {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--rose);
}
.servicio-card h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.servicio-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 16px;
}
.servicio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f1e2dd;
  margin-top: auto;
}
.servicio-duracion {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.servicio-precio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--rose-dark);
}

.deco-title {
  text-align: center;
  font-size: 22px;
  color: var(--rose-dark);
  margin: 48px 0 20px;
}
.deco-lista {
  list-style: none;
  margin: 0 auto;
  padding: 12px 24px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid #eee0dc;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.deco-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px dashed #e6d3d8;
  font-size: 14.5px;
}
.deco-item:last-child { border-bottom: none; }
.deco-nombre { color: var(--ink); }
.deco-duracion { color: var(--muted); font-size: 12.5px; }
.deco-precio { color: var(--rose-dark); font-weight: 600; white-space: nowrap; }

/* Galeria */
.instagram-link {
  display: block;
  text-align: center;
  margin-top: 36px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.instagram-link:hover { color: var(--ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; max-width: 420px; }
}
.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.gallery-item:nth-child(odd):last-child {
  grid-column: 1 / -1;
  max-width: 360px;
  margin: 0 auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item img.obj-left { object-position: 25% center; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(135deg, #f1e2dd, #f1e2dd 10px, #ecd6d0 10px, #ecd6d0 20px);
  color: var(--rose-dark);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

/* Turnos */
.turnos-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}
@media (max-width: 860px) {
  .turnos-layout { grid-template-columns: 1fr; }
}
.turnos-info {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 30px;
}
@media (max-width: 600px) {
  .turnos-info, .form-turno { padding: 22px; }
}
.info-list { list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); }
.info-list li { margin-bottom: 10px; }

.form-turno {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 34px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rose-dark);
}

.recomendador {
  background: rgba(179, 136, 140, 0.1);
  border: 1px dashed var(--rose);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recomendador textarea {
  border: 1px solid #d9c3bd;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--white);
}

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-fieldset legend {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rose-dark);
  padding: 0;
  margin-bottom: 2px;
}
.opciones-lista { display: flex; flex-wrap: wrap; gap: 10px; }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; width: 0; height: 0; }
.opcion span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid #d9c3bd;
  font-size: 13.5px;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.opcion:hover span { border-color: var(--rose); }
.opcion input:checked + span {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}
.opcion input:disabled + span { opacity: 0.4; cursor: not-allowed; }
input, select, textarea {
  padding: 8px 2px;
  border: none;
  border-bottom: 1px solid #d9c3bd;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.2s ease;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--rose-dark);
}
input::placeholder, textarea::placeholder { color: #b7a19c; }

.resumen-turno {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #e6d3d8;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.resumen-vacio {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.resumen-lista {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.resumen-lista li {
  font-size: 13px;
  color: var(--ink);
}

.btn-limpiar {
  display: block;
  margin: 4px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.btn-limpiar:hover { color: var(--rose-dark); }

.form-mensaje { min-height: 20px; font-size: 14px; margin: 0; }
.form-mensaje.ok { color: #2f7a4f; }
.form-mensaje.error { color: #b0323f; }

/* Footer */
.site-footer {
  background: linear-gradient(to bottom, transparent 0%, var(--rose-dark) 30%);
  color: #f0e2e0;
  padding: 130px 0 32px;
  margin-top: -60px;
  position: relative;
  z-index: 1;
}
.footer-logo-wrap {
  text-align: center;
  margin-bottom: 44px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.02em;
}
.footer-tagline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin: 6px 0 0;
}
.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  text-align: left;
}
.footer-bottom p { letter-spacing: 0.03em; margin: 0; }
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0e2e0;
  font-size: 13.5px;
}
.footer-icon { color: #d9c0bd; flex-shrink: 0; }
.footer-social {
  display: flex;
  color: #f0e2e0;
  margin-top: 2px;
  transition: color 0.15s ease;
}
.footer-social:hover { color: var(--white); }
.footer-copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: #d9c0bd;
  letter-spacing: 0.03em;
}
.footer-copyright p { margin: 0; }
.footer-map {
  width: 180px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  aspect-ratio: 4 / 3;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-map { width: 140px; }
}
