/* =============================================
   LAVANDERÍA SITE — ESTILOS GLOBALES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1A4FAD;
  --blue-lt: #EAF1FF;
  --blue-md: #3B72D4;
  --sky:     #C8DFF9;
  --white:   #FFFFFF;
  --off:     #F6F8FB;
  --ink:     #141921;
  --muted:   #5A6478;
  --border:  #D4DEEE;
  --radius:  12px;
  --radius-sm: 6px;
  --shadow:  0 2px 12px rgba(26,79,173,.08);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; font-family: 'DM Sans', sans-serif; font-weight: 600; }

p { color: var(--muted); }
a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* ─── BARRA DE NAVEGACIÓN ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--blue);
}
.nav-logo .dot { color: var(--ink); }
.nav-logo-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--blue-md); }

/* ─── PIE DE PÁGINA ─── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .8rem;
}
footer p, footer a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.9;
}
footer a:hover { color: var(--sky); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ─── BOTONES ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-md); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-lt); }

/* ─── ETIQUETA DE SECCIÓN ─── */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}

/* ─── CONTENEDOR ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── BURBUJAS DECORATIVAS (reutilizable en todas las páginas) ─── */
.page-bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.page-bubbles .bbl {
  position: absolute;
  border-radius: 50%;
}
.page-bubbles .bbl.ring {
  border: 2px solid var(--blue);
  opacity: .11;
}
.page-bubbles .bbl.dot {
  background: var(--blue);
  opacity: .07;
}
/* Posiciones para page-hero (páginas internas) */
.page-hero { position: relative; overflow: hidden; }
.page-hero .page-bubbles .bbl.ring { opacity: .10; border-color: var(--blue-md); }
.page-hero .page-bubbles .bbl.dot  { opacity: .07; background: var(--blue); }

/* ─── RESPONSIVE NAV ─── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all .3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; border-bottom: 1px solid var(--border); padding: .5rem 0; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .75rem 1.5rem; }
  .nav-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
