:root {
  --rosa: #dcc49c;
  --rosa-oscuro: #85653f;
  --crema: #f6efe6;
  --tinta: #4a3527;
  --gris: #7b6758;
  --dorado: #c2a06b;
  --dorado-claro: #dcc49c;
  --marfil: #fcf9f4;
  --linea: #e8dccb;
  --titulos: #5b4030;
  --radio: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--titulos); }
a { color: inherit; }
.contenedor { width: min(1100px, 92%); margin: 0 auto; }

/* Aviso de supuestos */
.supuesto {
  display: inline-block;
  font-size: .7rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .03em;
  background: #fff3cd;
  color: #7a5a00;
  border: 1px dashed #d4a72c;
  border-radius: 6px;
  padding: 1px 6px;
  vertical-align: middle;
}
.banda-aviso {
  background: #fff3cd;
  color: #7a5a00;
  text-align: center;
  font-size: .85rem;
  padding: .5rem 1rem;
}

/* Encabezado */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 239, 230, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e8dccb;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: .9rem 0; gap: 1rem; }
.nav .logo { font-family: Georgia, serif; font-size: 1.5rem; text-decoration: none; color: var(--rosa-oscuro); }
.nav .logo span { color: var(--dorado); }
.nav ul { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a.activo { color: var(--rosa-oscuro); }

.boton {
  display: inline-block;
  background: var(--rosa-oscuro);
  color: #fff !important;
  text-decoration: none;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.boton:hover { background: #b02a59; transform: translateY(-1px); }
.boton.secundario { background: transparent; color: var(--rosa-oscuro) !important; border: 2px solid var(--rosa-oscuro); }
.boton.secundario:hover { background: #efe3d0; }

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at 85% 20%, #eadcc4 0, transparent 45%),
              radial-gradient(circle at 10% 90%, #f3e2c4 0, transparent 40%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 em { color: var(--rosa-oscuro); font-style: italic; }
.hero p { font-size: 1.1rem; color: var(--gris); margin-bottom: 2rem; max-width: 34rem; }
.hero .acciones { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-foto {
  aspect-ratio: 4/5;
  border-radius: 200px 200px var(--radio) var(--radio);
  background: linear-gradient(160deg, #f2c4d2, #d98aa3 55%, #c9a45c);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -20px rgba(133, 101, 63, .5);
  color: #fff; font-size: 4rem;
}

/* Secciones */
section { padding: 4.5rem 0; }
.titulo-seccion { text-align: center; margin-bottom: 2.8rem; }
.titulo-seccion h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .5rem; }
.titulo-seccion p { color: var(--gris); max-width: 38rem; margin: 0 auto; }

.ventajas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.ventaja { background: var(--marfil); border-radius: var(--radio); padding: 1.6rem; text-align: center; box-shadow: 0 6px 20px -12px rgba(74, 53, 39, .25); }
.ventaja .icono { font-size: 2rem; margin-bottom: .6rem; }
.ventaja h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.ventaja p { color: var(--gris); font-size: .95rem; }

/* Servicios */
.servicios { background: var(--marfil); }
.grid-servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.servicio {
  border: 1px solid #e8dccb; border-radius: var(--radio); padding: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: box-shadow .2s, transform .2s;
}
.servicio:hover { box-shadow: 0 14px 30px -18px rgba(133, 101, 63, .6); transform: translateY(-3px); }
.servicio h3 { font-size: 1.2rem; }
.servicio p { color: var(--gris); font-size: .93rem; flex: 1; }
.servicio .meta { display: flex; justify-content: space-between; align-items: center; margin-top: .4rem; }
.precio { font-weight: 700; color: var(--rosa-oscuro); font-size: 1.15rem; }
.duracion { font-size: .85rem; color: var(--gris); }

/* Vista previa de galería */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.foto {
  position: relative; aspect-ratio: 1; border-radius: var(--radio); overflow: hidden;
  display: flex; align-items: flex-end; padding: 1rem; color: #fff; cursor: pointer;
  box-shadow: 0 10px 25px -18px rgba(74, 53, 39, .6);
}
.foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(74, 53, 39, .65), transparent 55%);
}
.foto .etiqueta { position: relative; z-index: 1; }
.foto .etiqueta strong { display: block; font-size: 1.05rem; }
.foto .etiqueta small { opacity: .9; }
.foto .supuesto { position: absolute; top: .7rem; left: .7rem; z-index: 1; }
.foto .emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; opacity: .85; }
.foto.oculta { display: none; }
.g1 { background: linear-gradient(135deg, #f7c6d4, #d16d8d); }
.g2 { background: linear-gradient(135deg, #f3e2c4, #c9a45c); }
.g3 { background: linear-gradient(135deg, #e2d4f0, #9a7bbf); }
.g4 { background: linear-gradient(135deg, #fbd9c9, #e07a5f); }
.g5 { background: linear-gradient(135deg, #d5ece6, #6fae9c); }
.g6 { background: linear-gradient(135deg, #f9e0e8, #b5526f); }
.g7 { background: linear-gradient(135deg, #fde8c8, #e3a35a); }
.g8 { background: linear-gradient(135deg, #dfe6f5, #6f86c4); }
.g9 { background: linear-gradient(135deg, #2e2228, #8a5a6c); }

.filtros { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.filtro {
  border: 1px solid var(--rosa); background: #fff; color: var(--tinta);
  padding: .45rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: .9rem;
}
.filtro.activo, .filtro:hover { background: var(--rosa-oscuro); border-color: var(--rosa-oscuro); color: #fff; }

/* Lightbox */
.visor {
  position: fixed; inset: 0; background: rgba(20, 12, 16, .85); z-index: 50;
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.visor.abierto { display: flex; }
.visor-caja { width: min(520px, 100%); background: #fff; border-radius: var(--radio); overflow: hidden; }
.visor-imagen { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 6rem; }
.visor-texto { padding: 1.2rem 1.4rem; }
.visor-texto h3 { margin-bottom: .3rem; }
.visor-texto p { color: var(--gris); }
.visor-cerrar { position: absolute; top: 1rem; right: 1.2rem; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; }

/* Testimonios */
.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.3rem; }
.testimonio { background: var(--crema); border-radius: var(--radio); padding: 1.5rem; border-left: 4px solid var(--rosa); }
.testimonio p { font-style: italic; margin-bottom: .8rem; }
.testimonio span { font-size: .88rem; color: var(--gris); }

/* Contacto */
.contacto { background: var(--titulos); color: #f6efe6; }
.contacto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.contacto h3 { color: var(--rosa); margin-bottom: .6rem; font-size: 1.2rem; }
.contacto p, .contacto li { color: #e8dccb; font-size: .95rem; }
.contacto ul { list-style: none; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.cta-final p { color: var(--gris); margin-bottom: 1.6rem; }

.pie { background: #fcf9f4; border-top: 1px solid #e8dccb; color: #7b6758; padding: 2.2rem 0 1.6rem; font-size: .85rem; text-align: center; }
.pie .medios-pago h2 { font-size: 1.05rem; color: #4a3527; margin: 0 0 .9rem; }
.pie .medios { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.pie .medios li { background: #fff; border: 1.5px solid #dcc49c; color: #4a3527; border-radius: 999px; padding: .3rem .9rem; font-weight: 600; font-size: .82rem; }
.pie .medios-pago p { margin-top: .8rem; }
.pie .medios-pago p b { color: #85653f; }
.pie .legales { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; margin: 1.3rem 0 .6rem; }
.pie .legales a { color: #4a3527; }
.pie .copy { opacity: .8; }

/* Página Nuestro trabajo */
.cabecera-pagina { padding: 3.5rem 0 1rem; text-align: center; }
.cabecera-pagina h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .6rem; }
.cabecera-pagina p { color: var(--gris); max-width: 40rem; margin: 0 auto; }
.proceso { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.3rem; counter-reset: paso; }
.paso { background: var(--crema); border-radius: var(--radio); padding: 1.4rem; position: relative; }
.paso::before {
  counter-increment: paso; content: counter(paso);
  display: inline-flex; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--rosa); color: #fff; font-weight: 700;
  align-items: center; justify-content: center; margin-bottom: .6rem;
}
.paso h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.paso p { color: var(--gris); font-size: .93rem; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--tinta); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-foto { max-width: 320px; margin: 0 auto; }
  .menu-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--crema); padding: 1rem 0 1.4rem;
    border-bottom: 1px solid #e8dccb;
  }
  .nav ul.abierto { display: flex; }
}

/* Fotos reales */
.foto img, .hero-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto { background: #e8dccb; }
.hero-foto { position: relative; overflow: hidden; padding: 0; }
.visor-imagen { width: 100%; display: block; object-fit: cover; }
.grupo-servicios { font-size: 1.5rem; margin: 2rem 0 .3rem; color: var(--rosa-oscuro); }
.grupo-servicios:first-of-type { margin-top: 0; }
.nota-grupo { color: var(--gris); font-size: .9rem; margin-bottom: 1rem; }

/* Identidad Brila Nails: crema, champagne y café */
.nav .logo { display: inline-flex; align-items: center; gap: .45rem; color: var(--titulos); font-size: 1rem; }
.nav .logo .logo-b { font-family: "Great Vibes", cursive; font-size: 2.3rem; line-height: 1; color: var(--dorado); }
.nav .logo .logo-texto { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.2rem; letter-spacing: .14em; color: var(--titulos); }
.boton { background: linear-gradient(135deg, #9a7850, #76583a); color: #fff !important; box-shadow: 0 8px 18px -10px rgba(118, 88, 58, .7); }
.boton:hover { background: linear-gradient(135deg, #8b6b46, #664b31); }
.boton.secundario { background: transparent; color: var(--rosa-oscuro) !important; border: 2px solid var(--dorado); box-shadow: none; }
.boton.secundario:hover { background: #efe3d0; }
.hero h1 { font-weight: 600; }
.hero h1 .script { display: block; font-family: "Great Vibes", cursive; font-weight: 400; color: var(--dorado); font-size: 1.3em; line-height: 1.1; }
.subtitulo-hero { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem !important; color: var(--rosa-oscuro) !important; margin-bottom: .6rem !important; }
.hero-foto { background: linear-gradient(160deg, #e7d3ae, #c9a874); box-shadow: 0 25px 50px -20px rgba(118, 88, 58, .55); border: 6px solid var(--marfil); }
.servicio { background: var(--marfil); border-color: var(--linea); }
.precio { display: inline-block; background: linear-gradient(135deg, #e7d3ae, #c9a874); color: var(--titulos); padding: .25rem .9rem; border-radius: 999px; font-size: 1rem; }
.grupo-servicios { color: var(--rosa-oscuro); }
.filtro { border-color: var(--dorado-claro); background: var(--marfil); }
.filtro.activo, .filtro:hover { background: linear-gradient(135deg, #9a7850, #76583a); border-color: #85653f; color: #fff; }
.testimonio { border-left-color: var(--dorado); }
.paso::before { background: linear-gradient(135deg, #e7d3ae, #c9a874); color: var(--titulos); }
.contacto h3 { color: var(--dorado-claro); }
.contacto a { color: #fcf9f4; }
