/* ============ MOSAICO — estilos ============ */
:root {
  --arena: #f3d4a4;      /* fondo del logo */
  --crema: #fbf3e6;
  --blanco: #fffdf9;
  --salvia: #8fb196;
  --salvia-osc: #5f8a69;
  --mostaza: #dfa83a;
  --terracota: #d1714f;
  --terracota-osc: #b0563a;
  --marron: #8a4a33;
  --texto: #5a3a2c;
  --texto-suave: #8a6c5c;
  --wp: #25d366;
  --radio: 22px;
  --sombra: 0 10px 30px rgba(138, 74, 51, 0.10);
  --ancho: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Quicksand", system-ui, sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Fredoka", "Quicksand", sans-serif; color: var(--marron); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

.contenedor { width: min(var(--ancho), 92%); margin-inline: auto; }
.seccion { padding: 90px 0; }
.seccion--blanca { background: var(--blanco); }
.seccion--arena { background: var(--arena); }
.etiqueta {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terracota); margin-bottom: 10px;
}
.titulo-seccion { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.titulo-seccion p { color: var(--texto-suave); margin-top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-family: inherit;
  font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--terracota); color: #fff; box-shadow: 0 6px 16px rgba(209,113,79,.3); }
.btn--primario:hover { background: var(--terracota-osc); }
.btn--secundario { background: transparent; color: var(--marron); border-color: var(--marron); }
.btn--secundario:hover { background: var(--marron); color: #fff; }
.btn--wp { background: var(--wp); color: #fff; }
.btn--wp:hover { background: #1eb457; }
.btn--gris { background: #efe5d8; color: var(--texto-suave); }
.btn--bloque { width: 100%; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 243, 230, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(138,74,51,.08);
}
.header .contenedor { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca__formas { width: 40px; height: 40px; }
.marca__texto { font-family: "Fredoka", sans-serif; font-size: 1.6rem; font-weight: 600; color: var(--marron); line-height: 1; }
.marca__texto small { display: block; font-family: "Quicksand", sans-serif; font-size: .62rem; font-weight: 600; color: var(--terracota); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav a { text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(223,168,58,.2); }
.nav a.activo { background: var(--arena); color: var(--marron); }
.nav .btn { padding: 9px 20px; margin-left: 6px; }
.nav .btn:hover { background: var(--terracota-osc); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 26px; height: 3px; background: var(--marron); border-radius: 3px; margin: 5px 0; transition: .3s; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--crema); padding: 16px 4%; gap: 4px; box-shadow: var(--sombra);
    display: none;
  }
  .nav.abierto { display: flex; }
  .nav a { padding: 12px 16px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; background: var(--arena); }
.hero .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero p.bajada { font-size: 1.2rem; margin: 20px 0 32px; max-width: 520px; }
.hero__botones { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ilustracion { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hero__ilustracion svg { width: 100%; height: 100%; }
.forma-flota { animation: flotar 6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.forma-flota:nth-child(2) { animation-delay: -2s; }
.forma-flota:nth-child(3) { animation-delay: -4s; }
@keyframes flotar { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(3deg); } }
.hero--chico { padding: 70px 0 60px; text-align: center; }
.hero--chico .contenedor { display: block; }
.hero--chico p.bajada { margin: 16px auto 0; }

@media (max-width: 860px) {
  .hero .contenedor { grid-template-columns: 1fr; text-align: center; }
  .hero p.bajada { margin-inline: auto; }
  .hero__botones { justify-content: center; }
  .hero__ilustracion { max-width: 300px; order: -1; }
}

/* ---------- Tarjetas genéricas ---------- */
.grilla { display: grid; gap: 26px; }
.grilla--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grilla--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tarjeta {
  background: var(--blanco); border-radius: var(--radio); padding: 32px 28px;
  box-shadow: var(--sombra); transition: transform .2s;
}
.tarjeta:hover { transform: translateY(-4px); }
.tarjeta p { color: var(--texto-suave); margin-top: 8px; }
.icono {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: 18px;
}
.icono--salvia { background: rgba(143,177,150,.25); }
.icono--mostaza { background: rgba(223,168,58,.22); }
.icono--terracota { background: rgba(209,113,79,.18); }

/* ---------- Disciplinas ---------- */
.disciplina { border-top: 6px solid var(--salvia); display: block; text-decoration: none; color: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s; }
a.disciplina:hover { box-shadow: 0 16px 36px rgba(138, 74, 51, 0.16); }
.disciplina__ver { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--terracota); }
a.disciplina:hover .disciplina__ver { text-decoration: underline; }
.disciplina:nth-child(2) { border-color: var(--mostaza); }
.disciplina:nth-child(3) { border-color: var(--terracota); }
.disciplina:nth-child(4) { border-color: var(--marron); }

/* ---------- Bloque dividido ---------- */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dividido ul { list-style: none; margin: 22px 0 30px; }
.dividido li { padding: 8px 0 8px 34px; position: relative; }
.dividido li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--salvia);
}
.dividido li:nth-child(3n+2)::before { background: var(--mostaza); border-radius: 4px; }
.dividido li:nth-child(3n)::before { background: var(--terracota); border-radius: 0 0 18px 18px; }
.foto-placeholder {
  border-radius: 30px; aspect-ratio: 4/3; background:
    radial-gradient(circle at 30% 35%, var(--salvia) 0 18%, transparent 18.5%),
    radial-gradient(circle at 70% 60%, var(--mostaza) 0 14%, transparent 14.5%),
    var(--arena);
  display: grid; place-items: end start; padding: 20px; color: var(--marron); font-weight: 600;
}
.foto-espacio { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 30px; box-shadow: var(--sombra); }
@media (max-width: 860px) { .dividido { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Filtros ---------- */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filtro {
  font-family: inherit; font-weight: 700; font-size: .95rem; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--arena); background: var(--blanco); color: var(--texto); cursor: pointer;
}
.filtro.activo, .filtro:hover { background: var(--marron); border-color: var(--marron); color: #fff; }

/* ---------- Tarjeta profesional ---------- */
.profesionales { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px; }
.pro {
  background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra);
  overflow: hidden; display: flex; flex-direction: column;
}
.pro__cabecera { position: relative; padding: 30px 24px 18px; text-align: center; background: var(--arena); }
.pro[data-area="fonoaudiologia"] .pro__cabecera { background: #dfe9df; }
.pro[data-area="psicologia"] .pro__cabecera { background: #f5e0c0; }
.pro[data-area="psicopedagogia"] .pro__cabecera { background: #f4d6c9; }
.pro__foto {
  width: 130px; height: 130px; border-radius: 50%; margin: 0 auto; object-fit: cover;
  border: 5px solid var(--blanco); box-shadow: 0 6px 18px rgba(0,0,0,.08);
  background: var(--salvia); color: #fff; font-family: "Fredoka", sans-serif; font-size: 2.6rem;
  display: grid; place-items: center;
}
.pro[data-area="psicologia"] .pro__foto { background: var(--mostaza); }
.pro[data-area="psicopedagogia"] .pro__foto { background: var(--terracota); }
.estado {
  position: absolute; top: 14px; right: 14px; font-size: .78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
}
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.estado--libre { background: #e3f3e6; color: #2f7d45; }
.estado--completa { background: #fbe3dc; color: #b0412a; }
.pro__cuerpo { padding: 20px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pro__nombre { text-align: center; }
.pro__profesion { text-align: center; color: var(--terracota); font-weight: 700; }
.pro__matricula { text-align: center; font-size: .85rem; color: var(--texto-suave); margin-bottom: 12px; }
.pro__desc { font-size: .95rem; color: var(--texto-suave); text-align: center; margin-bottom: 18px; }
.pro__temas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 14px; }
.pro__temas span { font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: #f4ece1; color: var(--marron); }
.pro__ficha { font-size: .88rem; margin-bottom: 16px; display: grid; gap: 6px; }
.pro__ficha div { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.pro__ficha dt { font-weight: 700; color: var(--marron); }
.pro__ficha dd { color: var(--texto-suave); overflow-wrap: anywhere; }
.pro[data-area="otras"] .pro__cabecera { background: #ece3f0; }
.pro[data-area="otras"] .pro__foto { background: var(--marron); }
/* Tarjeta: solo los días que atiende */
.dias-atencion { margin-bottom: 18px; text-align: center; }
.dias-atencion__titulo { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--texto-suave); margin-bottom: 8px !important; }
.dias-atencion ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dias-atencion li { font-size: .85rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--salvia); color: #fff; }
.pro__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.perfil__texto { white-space: pre-line; }
.cargando { grid-column: 1 / -1; text-align: center; color: var(--texto-suave); padding: 40px 0; }

/* Redes con logo */
.red { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--texto); overflow-wrap: anywhere; }
/* Iconos de redes y mapa: monocromáticos (negro, o blanco sobre fondo oscuro) */
.red svg { width: 20px; height: 20px; flex-shrink: 0; fill: #1f1f1f; }
.red:hover span { text-decoration: underline; }
.pro__acciones .red { font-size: .9rem; }
.footer .red { color: inherit; justify-content: flex-start; align-items: flex-start; }
.footer .red svg { fill: #fff; margin-top: 2px; }
.icono--svg { background: #f1f1f1; }
.icono--svg svg { width: 26px; height: 26px; fill: #1f1f1f; }
.btn__icono { display: inline-flex; }
.btn__icono svg { width: 20px; height: 20px; fill: currentColor; }

/* Fotos sin fondo: se apoyan sobre un fondo suave del color del área */
img.pro__foto, img.perfil__foto {
  background: radial-gradient(circle at 50% 35%, #fffdf9 0%, var(--tono-foto, #f3d4a4) 100%) !important;
  object-position: center top;
}
[data-area="fonoaudiologia"] { --tono-foto: #b9d0bd; }
[data-area="psicologia"] { --tono-foto: #f0cf8c; }
[data-area="psicopedagogia"] { --tono-foto: #eab7a2; }
[data-area="otras"] { --tono-foto: #d9c6e0; }
.horarios { list-style: none; font-size: .9rem; margin-bottom: 20px; }
.horarios li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #eadccb; font-size: 1rem; }
.horarios li:last-child { border-bottom: 0; }
.horarios li span { text-align: right; color: var(--texto-suave); font-weight: 600; }
.horarios li strong { color: var(--marron); }
.pro__acciones { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.pro__ig { text-align: center; font-size: .88rem; color: var(--texto-suave); text-decoration: none; font-weight: 600; }
.pro__ig:hover { color: var(--terracota); }
.nota-completa { font-size: .82rem; text-align: center; color: var(--texto-suave); }
.leyenda { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin-bottom: 30px; font-size: .9rem; color: var(--texto-suave); }
.leyenda span { display: inline-flex; align-items: center; gap: 8px; }
.leyenda i { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }

.pro--clic { cursor: pointer; transition: transform .2s, box-shadow .2s; }
.pro--clic:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(138, 74, 51, 0.16); }
.pro__nombre a { text-decoration: none; }
.pro__nombre a:hover { color: var(--terracota); }
.pro__ver { text-align: center; font-weight: 700; color: var(--terracota); text-decoration: none; font-size: .92rem; }
.pro__ver:hover { text-decoration: underline; }

/* ---------- Perfil completo ---------- */
.perfil__cabecera { background: var(--arena); padding: 34px 0 60px; }
.perfil__cabecera[data-area="fonoaudiologia"] { background: #dfe9df; }
.perfil__cabecera[data-area="psicologia"] { background: #f5e0c0; }
.perfil__cabecera[data-area="psicopedagogia"] { background: #f4d6c9; }
.perfil__cabecera[data-area="otras"] { background: #ece3f0; }
.perfil__volver { display: inline-block; font-weight: 700; text-decoration: none; color: var(--marron); margin-bottom: 26px; }
.perfil__volver:hover { color: var(--terracota); }
.perfil__intro { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; }
.perfil__foto {
  width: 240px; height: 240px; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; object-fit: cover;
  border: 7px solid var(--blanco); box-shadow: var(--sombra);
  background: var(--salvia); color: #fff; font-family: "Fredoka", sans-serif; font-size: 4.5rem;
  display: grid; place-items: center;
}
.perfil__cabecera[data-area="psicologia"] .perfil__foto { background: var(--mostaza); }
.perfil__cabecera[data-area="psicopedagogia"] .perfil__foto { background: var(--terracota); }
.perfil__cabecera[data-area="otras"] .perfil__foto { background: var(--marron); }
.perfil__intro .estado { position: static; display: inline-flex; margin-bottom: 14px; }
.perfil__profesion { font-size: 1.25rem; font-weight: 700; color: var(--terracota); margin-top: 8px; }
.perfil__matricula { color: var(--texto-suave); margin-bottom: 16px; }
.perfil__intro .pro__temas { justify-content: flex-start; }
.perfil__intro .pro__temas span { background: rgba(255,253,249,.8); }
.perfil__grilla { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.perfil__principal { display: grid; gap: 24px; }
.perfil__bloque:hover, .perfil__lateral:hover { transform: none; }
.perfil__bloque h2 { font-size: 1.5rem; margin-bottom: 16px; }
.perfil__bloque .pro__ficha { font-size: 1rem; gap: 12px; margin: 0; }
.perfil__bloque .pro__ficha div { grid-template-columns: 170px 1fr; padding-bottom: 12px; border-bottom: 1px dashed #eadccb; }
.perfil__bloque .pro__ficha div:last-child { border: 0; padding: 0; }
.perfil__bloque .dias { max-width: 420px; }
.perfil__bloque .horarios { margin: 0; max-width: 420px; }
.perfil__lateral { position: sticky; top: 100px; display: grid; gap: 14px; }
.perfil__lateral p { margin: 0; }
.perfil__redes { display: grid; gap: 8px; border-top: 1px solid #eadccb; padding-top: 14px; }
.perfil__redes .red { justify-content: flex-start; }
.perfil__vacio { text-align: center; padding: 100px 0; }
.perfil__vacio .btn { margin-top: 26px; }
@media (max-width: 860px) {
  .perfil__intro { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .perfil__foto { width: 190px; height: 190px; margin: 0 auto; }
  .perfil__intro .pro__temas { justify-content: center; }
  .perfil__grilla { grid-template-columns: 1fr; }
  .perfil__lateral { position: static; }
  .perfil__bloque .pro__ficha div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Planes de alquiler ---------- */
.plan { text-align: center; position: relative; border: 3px solid transparent; }
.plan--destacado { border-color: var(--mostaza); transform: scale(1.03); }
.plan--destacado:hover { transform: scale(1.03) translateY(-4px); }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--mostaza); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
/* Mismo estilo que las etiquetas de sección ("MÓDULOS"), en más tamaño */
.plan h3 {
  font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.15rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terracota);
}
.plan__precio { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--marron); margin-top: 8px; letter-spacing: .01em; }
.plan__unidad { font-size: .9rem; color: var(--texto-suave); }
.plan ul { list-style: none; margin: 20px 0 26px; text-align: left; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--salvia-osc); font-weight: 700; }
.grilla--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin: 0 auto; }
.plan__turnos li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px dashed #eadccb; }
.plan__turnos li:last-child { border-bottom: 0; }
.plan__turnos li::before { content: none; }
.plan__turnos strong { color: var(--marron); }
.disponibilidad:hover { transform: none; }
.disponibilidad h3 { text-align: center; margin-bottom: 14px; }
/* Nombre del consultorio: botón redondeado que lleva a su página */
.consultorio__titulo {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 13px 24px; border-radius: 999px; background: var(--terracota); color: #fff; text-decoration: none;
  font-family: "Fredoka", sans-serif; font-size: 1.25rem; font-weight: 600;
  box-shadow: 0 8px 20px rgba(209, 113, 79, .3); transition: transform .2s, background .2s, box-shadow .2s;
}
.consultorio__titulo span { transition: transform .2s; }
.consultorio__titulo:hover { background: var(--terracota-osc); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(209, 113, 79, .35); }
.consultorio__titulo:hover span { transform: translateX(4px); }
.consultorio__ver { text-align: center; font-size: .82rem; color: var(--texto-suave); margin: 8px 0 10px !important; }
.consultorio__sin-fotos { background: #faf4ec; border-radius: 16px; padding: 40px 20px; text-align: center; color: var(--texto-suave); }

/* Página de cada consultorio */
.hero--chico .perfil__volver { display: block; text-align: left; }
.fotos-consultorio { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.fotos-consultorio button { padding: 0; border: 0; border-radius: var(--radio); overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: #f4ece1; box-shadow: var(--sombra); }
.fotos-consultorio button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.fotos-consultorio img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.fotos-consultorio button:hover img { transform: scale(1.04); }
.consultorio__grilla { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.consultorio__grilla h2 { font-size: 1.5rem; margin-bottom: 10px; }
.consultorio__grilla .tabla-disp { max-width: 480px; }
.consultorio__otro { text-align: center; font-weight: 700; color: var(--terracota); text-decoration: none; }
.consultorio__otro:hover { text-decoration: underline; }
@media (max-width: 800px) { .consultorio__grilla { grid-template-columns: 1fr; } }
.visor { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; margin: auto; }
.visor::backdrop { background: rgba(40, 24, 16, .8); }
.visor img { max-width: 92vw; max-height: 86vh; border-radius: 14px; }
.visor button { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }
.disponibilidad table { width: 100%; border-collapse: separate; border-spacing: 6px; }
.disponibilidad th { font-size: .9rem; color: var(--marron); text-align: left; }
.disponibilidad thead th { text-align: center; }
.disponibilidad td { text-align: center; }
.disponibilidad td span { display: block; font-size: .82rem; font-weight: 700; padding: 7px 6px; border-radius: 10px; }
.libre { background: #e3f3e6; color: #2f7d45; }
.ocupado { background: #f4ece1; color: #c4b2a2; }

/* ---------- Formulario ---------- */
.formulario {
  background: var(--blanco); border-radius: var(--radio); padding: 40px; box-shadow: var(--sombra);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo--doble { grid-column: 1 / -1; }
.campo label { font-weight: 700; font-size: .92rem; color: var(--marron); }
.campo input, .campo select, .campo textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 16px; border-radius: 14px;
  border: 2px solid #eadccb; background: var(--crema); color: var(--texto);
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--salvia); background: #fff; }
.chequeos { display: flex; flex-wrap: wrap; gap: 8px; }
.chequeos label {
  font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 2px solid #eadccb;
  cursor: pointer; color: var(--texto); user-select: none;
}
.chequeos input { display: none; }
.chequeos input:checked + span { color: #fff; }
.chequeos label:has(input:checked) { background: var(--salvia); border-color: var(--salvia); color: #fff; }
.chequeos label { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25; }
.chequeos label small { font-size: .72rem; font-weight: 700; opacity: .85; }
.chequeos label small:empty { display: none; }
.chequeos label.disponible { border-color: var(--salvia); }
.chequeos label.disponible small { color: var(--salvia-osc); }
.chequeos label.disponible:has(input:checked) small { color: #fff; }
.chequeos label.sin-lugar { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.chequeos label.sin-lugar small { text-decoration: none; }
.disp-info { margin-top: 12px; background: #faf4ec; border-radius: 14px; padding: 12px 16px; font-size: .92rem; color: var(--texto-suave); }
.disp-info p { margin: 0 !important; }
.disp-info ul { list-style: none; margin-top: 8px; display: grid; gap: 6px; }
.disp-info strong { color: var(--marron); }
.disp-info__cons { font: inherit; font-weight: 700; font-size: .88rem; border: 2px solid var(--salvia); background: #e3f3e6; color: #2f5e3a; border-radius: 999px; padding: 3px 12px; cursor: pointer; margin: 2px 4px 2px 0; }
.disp-info__cons small { font-weight: 600; }
.disp-info__cons.activo, .disp-info__cons:hover { background: var(--salvia); color: #fff; }
@media (max-width: 700px) { .formulario { grid-template-columns: 1fr; padding: 26px; } }

/* ---------- Galería / espacio ---------- */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.galeria figure {
  border-radius: 20px; overflow: hidden; position: relative; background: var(--arena);
  display: flex; align-items: flex-end;
}
/* El diseño se repite cada 6 fotos */
.galeria { grid-auto-flow: dense; }
.galeria figure:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; background: #dfe9df; }
.galeria figure:nth-child(6n+2) { background: #f5e0c0; }
.galeria figure:nth-child(6n+3) { background: #f4d6c9; }
.galeria figure:nth-child(6n+4) { grid-column: span 2; background: #efe3d0; }
.galeria figure:nth-child(6n+5) { grid-column: span 2; background: #e6d7c6; }
.galeria figure:nth-child(6n) { grid-column: span 2; background: #dfe9df; }
.galeria figure > button { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galeria figure > button img { transition: transform .3s; }
.galeria figure > button:hover img { transform: scale(1.04); }
.galeria figcaption { pointer-events: none; }
.galeria img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption {
  position: relative; z-index: 1; margin: 14px; background: rgba(255,253,249,.92);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--marron);
}
@media (max-width: 760px) {
  .galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .galeria figure:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .galeria figure:nth-child(3n+1) { grid-column: span 2; }
}

/* ---------- Contacto ---------- */
.contacto-datos { list-style: none; display: grid; gap: 18px; }
.contacto-datos li { display: flex; gap: 16px; align-items: flex-start; }
.contacto-datos .icono { margin: 0; flex-shrink: 0; width: 32px; height: 32px; font-size: 1.4rem; background: none; border-radius: 0; }
/* Sin los puntitos de colores de las listas */
.dividido .contacto-datos li { padding: 0; }
.dividido .contacto-datos li::before { content: none; }
.contacto-datos strong { display: block; color: var(--marron); }
.enlace-mapa { text-decoration: none; }
.enlace-mapa:hover { color: var(--terracota); text-decoration: underline; }
.mapa { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); min-height: 340px; background: var(--arena); }
.mapa iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Banda CTA ---------- */
.banda {
  background: var(--marron); color: #fff; border-radius: 32px; padding: 56px 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.banda h2 { color: #fff; }
.banda p { opacity: .85; margin-top: 8px; max-width: 520px; }
.banda::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px;
  background: var(--terracota); border-radius: 0 0 200px 200px; opacity: .5;
}
.banda .btn { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--blanco); border-radius: 18px; padding: 18px 24px; box-shadow: var(--sombra); }
.faq summary { font-weight: 700; color: var(--marron); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--terracota); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--texto-suave); }

/* ---------- Footer ---------- */
.footer { background: #4a2e22; color: #f3e3cf; padding: 60px 0 26px; margin-top: 0; }
.footer .contenedor > div:first-child { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: "Fredoka", sans-serif; color: var(--arena); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; opacity: .85; }
.footer a:hover { opacity: 1; color: var(--mostaza); }
.footer .marca__texto { color: var(--arena); }
.footer__legal { border-top: 1px solid rgba(243,227,207,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; opacity: .7; text-align: center; }
@media (max-width: 760px) { .footer .contenedor > div:first-child { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wp-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wp); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(37,211,102,.4);
  transition: transform .2s;
}
.wp-flotante:hover { transform: scale(1.08); }
.wp-flotante svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Panel de agendas ---------- */
.panel { max-width: 720px; }
.panel__ingreso { max-width: 440px; margin: 0 auto; display: grid; gap: 18px; }
.panel__ingreso:hover, .agenda:hover { transform: none; }
.panel__error { color: #b0412a; font-weight: 600; min-height: 1em; margin: 0 !important; }
.panel__aviso { background: #fbe3dc; color: #8a3520; padding: 14px 20px; border-radius: 14px; margin-bottom: 24px; text-align: center; }
.panel__barra { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.panel__barra .btn { padding: 8px 18px; }
.panel__lista { display: grid; gap: 16px; }
.panel__botones { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.panel__ok { color: var(--salvia-osc); font-weight: 700; min-height: 1.2em; margin: -8px 0 14px !important; }
.agenda__dias { color: var(--marron); font-weight: 600; }
.agenda__editar { margin-top: 12px; padding: 7px 16px !important; font-size: .88rem; }

/* Editor de profesionales (secretaría) */
.editor { display: grid; gap: 22px; }
.editor:hover { transform: none; }
.editor__cabecera { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.editor__cabecera h2 { font-size: 1.5rem; margin: 0; }
.editor__cabecera .btn { padding: 8px 18px; }
.editor__foto { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.editor__vista {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--salvia); color: #fff;
  display: grid; place-items: center; font-family: "Fredoka", sans-serif; font-size: 2.4rem; flex-shrink: 0;
}
.editor__vista img { width: 100%; height: 100%; object-fit: cover; object-position: center top; background: radial-gradient(circle at 50% 35%, #fffdf9 0%, var(--tono-foto, #f3d4a4) 100%); }
.editor__vista.procesando { animation: latido 1s ease-in-out infinite alternate; }
@keyframes latido { to { opacity: .45; } }
.editor__check--chico { font-size: .88rem; margin: 0; }
.editor__opciones-foto { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }
.editor__subir { cursor: pointer; padding: 8px 18px; }
.editor__quitar, .editor__eliminar { background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; color: #b0412a; padding: 8px 12px; }
.editor__quitar:hover, .editor__eliminar:hover { text-decoration: underline; }
.editor__ayuda { font-size: .85rem; color: var(--texto-suave); margin: 6px 0 0 !important; }
.editor__grupo { border: 1px solid #eadccb; border-radius: 16px; padding: 18px 20px 20px; margin: 0; }
.editor__grupo legend { font-family: "Fredoka", sans-serif; font-weight: 600; color: var(--marron); padding: 0 8px; font-size: 1.05rem; }
.editor__campos { max-width: none; margin: 0; padding: 0; box-shadow: none; background: none; }
.editor__dias { display: grid; gap: 8px; margin-top: 12px; }
.editor__dia { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; background: #faf4ec; }
.editor__dia.activo { background: #e3f3e6; }
.editor__dia label { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.editor__dia input[type=text] { padding: 9px 12px; border-radius: 10px; border: 2px solid #eadccb; font: inherit; background: #fff; }
.editor__dia input[type=text]:disabled { background: transparent; border-color: transparent; }
.panel__alquiler { margin-top: 40px; }
.panel__alquiler h2 { font-size: 1.5rem; margin-bottom: 14px; }
.panel__alquiler .agenda { grid-template-columns: 1fr; border-left-color: var(--mostaza); }
.editor__lista { display: grid; gap: 14px; }
.editor__item { border-bottom: 1px dashed #eadccb; padding-bottom: 10px; }
.editor__item:last-child { border-bottom: 0; }
.editor__item .editor__eliminar, .editor__grupo > .editor__eliminar { padding-left: 0; margin-top: 6px; }
.editor__sumar { margin-top: 12px; padding: 8px 18px; justify-self: start; }
.editor__subtitulo { font-weight: 700; color: var(--marron); margin: 16px 0 8px !important; }
.editor__turnos { width: 100%; max-width: 460px; border-collapse: separate; border-spacing: 6px; margin-top: 10px; }
.editor__turnos th { text-align: left; font-size: .9rem; color: var(--marron); }
.editor__turnos thead th { text-align: center; }
.editor__turnos label { display: block; cursor: pointer; }
.editor__turnos input { position: absolute; opacity: 0; }
.editor__turnos span { display: block; text-align: center; font-size: .82rem; font-weight: 700; padding: 7px 6px; border-radius: 10px; }
.editor__turnos .si { display: none; background: #e3f3e6; color: #2f7d45; }
.editor__turnos .no { background: #f4ece1; color: #c4b2a2; }
.editor__turnos input:checked ~ .si { display: block; }
.editor__turnos input:checked ~ .no { display: none; }
.editor__turnos input:focus-visible ~ span { outline: 3px solid var(--mostaza); }
.editor__miniaturas { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-bottom: 10px; }
.editor__miniaturas div { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.editor__miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.editor__miniaturas button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #b0412a; font-weight: 700; cursor: pointer; }
.editor__inicio { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.editor__inicio img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.editor__galeria { display: grid; gap: 10px; margin-top: 12px; }
.editor__foto-fila { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: #faf4ec; }
.editor__foto-fila img { width: 110px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.editor__foto-fila input { padding: 9px 12px; border-radius: 10px; border: 2px solid #eadccb; font: inherit; background: #fff; min-width: 0; }
.editor__flechas { display: flex; gap: 4px; }
.editor__flechas button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #eadccb; background: #fff; cursor: pointer; font-weight: 700; color: var(--marron); }
.editor__flechas button:disabled { opacity: .35; cursor: default; }
.editor__flechas [data-sacar] { color: #b0412a; }
@media (max-width: 560px) {
  .editor__foto-fila { grid-template-columns: 80px 1fr; }
  .editor__foto-fila img { width: 80px; }
  .editor__flechas { grid-column: 1 / -1; justify-content: flex-end; }
}
.editor__check { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; cursor: pointer; }
.editor__acciones { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.editor__eliminar { margin-left: auto; }
@media (max-width: 560px) {
  .editor__dia { grid-template-columns: 1fr; gap: 6px; }
  .editor__eliminar { margin-left: 0; }
}
.agenda { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px; border-left: 8px solid var(--salvia); padding: 24px 26px; }
.agenda--completa { border-left-color: var(--terracota); }
.agenda__info p { margin-top: 2px; }
.agenda__meta { font-size: .82rem; }
.agenda__estado { grid-column: 1 / -1; font-size: .88rem; font-weight: 700; min-height: 1.2em; margin: 0 !important; }
.agenda__estado.ok { color: var(--salvia-osc); }
.agenda__estado.error { color: #b0412a; }
.interruptor { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-align: center; }
.interruptor input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.interruptor__pista { width: 64px; height: 36px; border-radius: 999px; background: var(--terracota); position: relative; transition: background .2s; }
.interruptor__bola { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.interruptor input:checked + .interruptor__pista { background: var(--salvia-osc); }
.interruptor input:checked + .interruptor__pista .interruptor__bola { transform: translateX(28px); }
.interruptor input:focus-visible + .interruptor__pista { outline: 3px solid var(--mostaza); outline-offset: 2px; }
.interruptor input:disabled + .interruptor__pista { opacity: .6; }
.interruptor__texto { font-size: .82rem; font-weight: 700; max-width: 130px; line-height: 1.2; }
@media (max-width: 560px) {
  .agenda { grid-template-columns: 1fr; text-align: center; }
  .interruptor { justify-self: center; }
}

/* ---------- Animación de aparición ---------- */
.aparecer { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.aparecer.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aparecer { opacity: 1; transform: none; }
  .forma-flota { animation: none; }
}
