/* ─── Aesthetic by Áurea — landing + reserva ────────────────────────────────── */

:root {
  --bg:          #0a0a0a;
  --bg-mid:      #111111;
  --bg-card:     #141414;
  --gold:        #C9A84C;
  --gold-ink:    #0a0a0a;
  --gold-pale:   rgba(201,168,76,0.12);
  --gold-border: rgba(201,168,76,0.25);
  --white:       #f5f0e8;
  --white-dim:   rgba(245,240,232,0.65);
  --white-faint: rgba(245,240,232,0.35);
  --border:      rgba(245,240,232,0.06);
  --topbar-bg:   rgba(10,10,10,0.85);
  --scheme:      dark;
  --error:       #e74c3c;
  --success:     #4a9e6b;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --max-w: 1100px;
}

/* Tema claro — se activa con data-theme="light" en <html> (switch del topbar) */
:root[data-theme="light"] {
  --bg:          #f6f1e9;
  --bg-mid:      #efe7d9;
  --bg-card:     #ffffff;
  --gold:        #9a7b2c;
  --gold-ink:    #ffffff;
  --gold-pale:   rgba(154,123,44,0.12);
  --gold-border: rgba(154,123,44,0.30);
  --white:       #241f1b;
  --white-dim:   rgba(36,31,27,0.72);
  --white-faint: rgba(36,31,27,0.48);
  --border:      rgba(36,31,27,0.12);
  --topbar-bg:   rgba(246,241,233,0.85);
  --scheme:      light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Scrollbar custom */
::-webkit-scrollbar         { width: 6px; height: 6px; }
::-webkit-scrollbar-track   { background: transparent; }
::-webkit-scrollbar-thumb   { background: rgba(201,168,76,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.45); }

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

img { max-width: 100%; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ─── Topbar ──────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--topbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand        { display: flex; align-items: center; gap: 10px; }
.brand-name   { font-family: var(--font-display); font-size: 18px; font-weight: 400; letter-spacing: 0.5px; color: var(--white); }
.brand-name em { color: var(--gold); font-style: italic; font-weight: 300; }
.topnav       { display: flex; gap: 22px; align-items: center; }
.topnav a     { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white-dim); }
.topnav a:hover { color: var(--gold); }
.cta-mini {
  padding: 8px 14px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold) !important;
}
.cta-mini:hover { background: var(--gold-pale); }

@media (max-width: 720px) {
  .topbar    { padding: 12px 16px; }
  .topnav    { gap: 14px; }
  .topnav a:not(.cta-mini) { display: none; }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 90px 28px 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(201,168,76,0.08) 0%, transparent 60%);
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.kicker {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  margin: 0 0 22px;
  color: var(--white);
}
.hero h1 em { color: var(--gold); font-style: italic; font-weight: 300; }
.lead { color: var(--white-dim); font-size: 15px; max-width: 580px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Botones */
.btn-primary, .btn-ghost {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(201,168,76,0.25); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold);
}
.btn-ghost:hover { background: var(--gold-pale); }

/* ─── Features ─────────────────────────────────────────────────────────────── */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 28px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
}
.feat-icon {
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 18px;
}
.feat h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.feat p  { color: var(--white-dim); font-size: 13.5px; margin: 0; }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; padding: 30px 16px 50px; gap: 16px; }
  .feat     { padding: 24px 20px; }
}

/* ─── Section heads ────────────────────────────────────────────────────────── */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  margin: 0;
}
.section-head h2 em { color: var(--gold); font-style: italic; }

/* ─── Catálogo ─────────────────────────────────────────────────────────────── */
.catalogo {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 28px;
}
.cat-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-tabs button {
  padding: 9px 18px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: all 0.2s;
}
.cat-tabs button:hover { color: var(--gold); }
.cat-tabs button.active { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.loading { color: var(--white-faint); text-align: center; padding: 40px; grid-column: 1/-1; }

/* Estado de carga con spinner. Va aparte de .loading porque esa clase tambien
   viste los mensajes de error y de "sin resultados", donde no hay nada girando. */
.cargando {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.spinner {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid var(--gold-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: girar 0.7s linear infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }

/* Sin animacion, el aro queda como un anillo dorado quieto: sigue leyendose
   como "esperando" y no molesta a quien pidio menos movimiento. */
@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}

.card-trat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Cards con imagen principal: foto full-bleed arriba + cuerpo con padding. */
.card-trat.has-img { padding: 0; }
.card-trat .card-img { width: 100%; height: 170px; background: var(--bg-mid); }
.card-trat .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-trat .card-body { display: flex; flex-direction: column; flex: 1; }
.card-trat.has-img .card-body { padding: 22px; }
.card-trat .nombre {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
  margin: 0 0 10px;
}
.card-trat .desc {
  color: var(--white-dim);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.card-trat .price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0;
}
.card-trat .price-on-consult {
  color: var(--white-faint);
  font-size: 12px;
  font-style: italic;
}
.card-trat .meta {
  margin-top: 8px;
  font-size: 10px;
  color: var(--white-faint);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── Equipos ──────────────────────────────────────────────────────────────── */
.equipos {
  background: var(--bg-mid);
  padding: 70px 28px;
}
.equipos-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.eq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
}
.eq-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--gold);
  margin: 0 0 10px;
}
.eq-card p {
  color: var(--white-dim);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

/* ─── Reserva ──────────────────────────────────────────────────────────────── */
.reserva {
  max-width: 720px;
  margin: 0 auto;
  padding: 70px 28px;
}
.reserva-card {
  background: var(--bg-mid);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  padding: 36px 32px;
}
.step { display: none; }
.step.active { display: block; }
.step-num {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.step select, .step input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 300;
}
.step input { color-scheme: var(--scheme); }
.step select:focus, .step input:focus { outline: none; border-color: var(--gold); }
.step label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 500;
}
.step label input { margin-top: 6px; margin-bottom: 0; }
.form-row { display: flex; gap: 12px; margin-bottom: 16px; }
.form-row label { flex: 1; }
.step-hint { font-size: 11px; color: var(--white-faint); margin: -10px 0 18px; }
.step-actions { display: flex; gap: 12px; margin-top: 22px; }
.step-actions button { flex: 1; }
.summary {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--gold);
  font-size: 12.5px;
  color: var(--white-dim);
  line-height: 1.7;
}
.summary strong { color: var(--white); }
.error {
  color: var(--error);
  font-size: 12px;
  margin-top: 16px;
  text-align: center;
}

/* Slots calendario */
.slots-wrap { margin-bottom: 8px; }
.day-block {
  margin-bottom: 18px;
}
.day-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px;
}
.slot-btn {
  padding: 8px 6px;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--white-dim);
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.slot-btn .slot-hora { font-size: 13px; font-weight: 600; }
.slot-btn .slot-est  { font-size: 10px; opacity: 0.75; }
.slot-btn:hover { border-color: var(--gold); color: var(--gold); }
.slot-btn.selected { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.slot-btn.selected .slot-est { opacity: 0.85; }
.no-slots { color: var(--white-faint); text-align: center; padding: 28px; font-size: 13px; }

/* Progreso de pasos */
.reserva-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-bottom: 24px; flex-wrap: wrap;
}
.rs-dot {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white-faint); padding: 5px 10px; border-radius: 20px;
  border: 1px solid var(--border); transition: all 0.2s; white-space: nowrap;
}
.rs-dot.active { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); font-weight: 600; }
.rs-dot.done   { color: var(--gold); border-color: var(--gold-border); }
.rs-sep { width: 14px; height: 1px; background: var(--border); }

/* Pill de selección (tratamiento / día elegido) */
.sel-pill {
  display: inline-block; margin: 0 0 16px;
  font-size: 12px; color: var(--gold);
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  border-radius: 20px; padding: 6px 14px;
}

/* Paso 1 · buscador + lista de tratamientos por categoría */
.trat-search {
  width: 100%; padding: 13px 14px; margin-bottom: 16px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  color: var(--white); font-family: var(--font-body); font-size: 15px;
}
.trat-search:focus { outline: none; border-color: var(--gold); }
.trat-list { max-height: 380px; overflow-y: auto; }
.trat-cat { margin-bottom: 16px; }
.trat-cat-h {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.trat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; padding: 12px 14px; margin-bottom: 6px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  color: var(--white-dim); font-family: var(--font-body); cursor: pointer; transition: all 0.15s;
}
.trat-item:hover { border-color: var(--gold); color: var(--white); }
.trat-item-n { font-size: 14px; flex: 1; text-align: left; }
.trat-item-d { font-size: 11px; color: var(--white-faint); white-space: nowrap; }
.trat-item-img {
  width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: none;
  background: var(--bg-mid); border: 1px solid var(--border);
}

/* Paso 2 · calendario de mes */
.cal { margin-bottom: 8px; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.cal-title {
  font-family: var(--font-display); font-size: 20px; color: var(--white);
}
.cal-nav {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--gold-border); background: var(--bg);
  color: var(--gold); font-size: 20px; line-height: 1; cursor: pointer; transition: all 0.15s;
}
.cal-nav:hover { background: var(--gold-pale); }
.cal-dow, .cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.cal-dow {
  margin-bottom: 4px;
}
.cal-dow span {
  text-align: center; font-size: 10px; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--white-faint);
}
.cal-cell {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-family: var(--font-body);
}
.cal-cell.empty { border: none; background: transparent; }
.cal-cell.off {
  color: var(--white-faint); background: transparent; border: 1px solid transparent;
}
.cal-cell.avail {
  color: var(--gold); background: var(--gold-pale);
  border: 1px solid var(--gold-border); cursor: pointer; transition: all 0.15s;
}
.cal-cell.avail:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.cal-loading { grid-column: 1 / -1; padding: 30px; }
.cal-hint { font-size: 12px; color: var(--white-faint); text-align: center; margin: 14px 0 0; }

/* Paso 3 · grilla de horarios */
.slots-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px; max-height: 360px; overflow-y: auto;
}

/* Success */
.step.success { text-align: center; }
.check {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 38px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step.success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 10px;
}
.step.success p { color: var(--white-dim); margin-bottom: 8px; font-size: 14px; }
.success-note { font-size: 12px !important; color: var(--white-faint) !important; margin: 16px 0 22px !important; }

/* ─── Contacto ─────────────────────────────────────────────────────────────── */
.contacto {
  text-align: center;
  padding: 60px 28px;
  background: var(--bg-mid);
}
.contacto .dir       { color: var(--white-dim); margin: 0 0 8px; }
.contacto .instagram { margin: 0 0 8px; }
.contacto .instagram a { color: var(--gold); font-weight: 500; letter-spacing: 1px; }
.contacto .wa a {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 28px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 12px;
  text-transform: uppercase;
}
.contacto .wa a:hover { background: var(--gold-pale); }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 28px;
  color: var(--white-faint);
  font-size: 11px;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .form-row { flex-direction: column; gap: 0; }
}

/* ─── Control de tamaño de texto (A− / A+) ───────────────────────────────────── */
.fs-control {
  display: inline-flex; align-items: stretch; flex: none;
  border: 1px solid var(--gold-border); border-radius: 999px; overflow: hidden;
}
.fs-btn {
  padding: 0 11px; min-height: 32px;
  background: transparent; color: var(--gold);
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  transition: background 0.2s, opacity 0.2s;
}
.fs-btn:first-child { border-right: 1px solid var(--gold-border); }
.fs-btn:hover:not(:disabled) { background: var(--gold-pale); }
.fs-btn:disabled { opacity: 0.35; cursor: default; }

/* ─── Switch de tema claro/oscuro ────────────────────────────────────────────── */
.theme-toggle {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.theme-toggle:hover { background: var(--gold-pale); }
.theme-ico { width: 16px; height: 16px; display: block; position: relative; }
/* Luna (tema oscuro activo → ofrece pasar a claro) */
.theme-ico::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: inset -4px -3px 0 0 var(--gold);
  transform: rotate(-35deg);
}
/* Sol (tema claro activo → ofrece pasar a oscuro) */
:root[data-theme="light"] .theme-ico::before {
  inset: 3px; box-shadow: none;
  background: var(--gold);
}
:root[data-theme="light"] .theme-ico::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% -10%, var(--gold) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 50% 110%, var(--gold) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at -10% 50%, var(--gold) 0 1.4px, transparent 1.6px),
    radial-gradient(circle at 110% 50%, var(--gold) 0 1.4px, transparent 1.6px);
}

/* ─── Avatares de esteticistas ───────────────────────────────────────────────── */
.avatar-img, .avatar-ph {
  border-radius: 50%; object-fit: cover; flex: none; display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  color: var(--gold); font-family: var(--font-body); font-weight: 600;
}

/* Avatares del profesional en cada tratamiento (lista de reserva) */
.trat-item-avs { display: inline-flex; align-items: center; flex: none; }
.trat-item-avs .trat-item-av { width: 26px; height: 26px; font-size: 10px; }
.trat-item-avs .trat-item-av + .trat-item-av { margin-left: -8px; }
.trat-item-avs .trat-item-av { box-shadow: 0 0 0 2px var(--bg-card); }

/* Avatar del profesional en las tarjetas del catálogo */
.card-prof {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-avs { display: inline-flex; align-items: center; flex: none; }
.card-avs .card-av { width: 30px; height: 30px; font-size: 11px; box-shadow: 0 0 0 2px var(--bg-card); }
.card-avs .card-av + .card-av { margin-left: -9px; }
.card-prof-n { font-size: 12px; color: var(--white-dim); }

/* ─── Sección "Nuestro equipo" (fichas de esteticistas) ──────────────────────── */
.equipo {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 28px;
}
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.est-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.est-head { display: flex; align-items: center; gap: 16px; }
.est-av { width: 60px; height: 60px; font-size: 18px; }
.est-info { min-width: 0; }
.est-nombre {
  font-family: var(--font-display);
  font-weight: 400; font-size: 20px;
  color: var(--white); margin: 0 0 4px;
}
.est-cats {
  font-size: 11px; letter-spacing: 0.5px;
  color: var(--gold); margin: 0;
}
.est-bio {
  font-size: 13px; line-height: 1.6;
  color: var(--white-dim); margin: 0;
  white-space: pre-line;
}
.est-galeria {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.est-foto {
  width: 66px; height: 66px; border-radius: 10px; flex: none;
  background-size: cover; background-position: center;
  border: 1px solid var(--border); cursor: pointer; padding: 0;
  transition: transform 0.15s, border-color 0.15s;
}
.est-foto:hover { transform: translateY(-2px); border-color: var(--gold); }
.est-redes { display: flex; gap: 10px; margin-top: 2px; }
.est-red {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-border); color: var(--gold);
  transition: background 0.2s;
}
.est-red:hover { background: var(--gold-pale); }

/* Lightbox de galería */
.foto-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: none; align-items: center; justify-content: center; padding: 24px;
  cursor: zoom-out;
}
.foto-lightbox.open { display: flex; }
.foto-lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   Mismo componente que el home de aesthetic.ar. El z-index queda POR DEBAJO del
   lightbox de galería (1000) para que no se superponga cuando hay una foto
   abierta, y se esconde al imprimir.
   ============================================ */

.wa-float {
  position: fixed;
  right: 30px;
  bottom: 32px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  box-shadow:
    0 0 22px rgba(37,211,102,0.5),
    0 4px 14px rgba(0,0,0,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  animation: wa-pulse 2.4s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 26px rgba(37,211,102,0.62),
    0 6px 16px rgba(0,0,0,0.3);
  animation-play-state: paused;
}

.wa-float:active { transform: scale(0.96); }

.wa-float svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
}

@keyframes wa-pulse {
  0%, 100% {
    box-shadow:
      0 0 22px rgba(37,211,102,0.5),
      0 4px 14px rgba(0,0,0,0.28),
      0 0 0 0 rgba(37,211,102,0.5);
  }
  50% {
    box-shadow:
      0 0 22px rgba(37,211,102,0.5),
      0 4px 14px rgba(0,0,0,0.28),
      0 0 0 12px rgba(37,211,102,0);
  }
}

@media (max-width: 640px) {
  .wa-float { right: 24px; bottom: 28px; width: 56px; height: 56px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Con el teclado abierto en un celular el flotante tapa los campos del form. */
@media (max-height: 520px) {
  .wa-float { display: none; }
}

@media print { .wa-float { display: none; } }
