/* ── FUENTES LOCALES ── */
@font-face {
  font-family: 'Finally';
  src: url('../fonts/Finally.woff2') format('woff2'),
       url('../fonts/Finally.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bacasime Antique';
  src: url('../fonts/BacasimeAntique-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('../fonts/Comfortaa-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('../fonts/Comfortaa-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── VARIABLES ── */
:root {
  /* ── PALETA DE MARCA ── */
  --rosa-claro: #f9d4e4;
  --rosa-suave: #f9d4e4;
  --rosa-medio: #f3a9ca;
  --rosa-fuerte: #ff61a6;
  --rosa-oscuro: #d85388;
  --crema: #fdf6f0;
  --modal-bg: #fafafa;

  /* ── COLORES FUNCIONALES ── */
  --texto: #2a1520;
  --muted: #7a5060;
  --borde: #f0c8d8;
  --wa-green: #25D366;
  --wa-dark: #1da851;

  /* ── TIPOGRAFÍA ── */
  --font-script: 'Finally', cursive;
  --font-serif: 'Bacasime Antique', serif;
  --font-body: 'Comfortaa', sans-serif;

  /* ── COMPONENTES ── */
  --radius-card: 20px;
  --radius-btn: 50px;
  --shadow-card: 0 16px 48px rgba(216, 83, 136, 0.12);
  --shadow-btn: 0 8px 24px rgba(216, 83, 136, 0.3);

  /* ── TIPOGRAFÍA — escala de 6 tamaños ── */
  --text-xs: 0.75rem;
  /* 12px — etiquetas, badges, hints */
  --text-sm: 0.875rem;
  /* 14px — texto secundario, descripciones */
  --text-base: 1rem;
  /* 16px — texto de cuerpo base */
  --text-md: 1.15rem;
  /* 18.4px — nombres, subtítulos */
  --text-lg: 1.3rem;
  /* 20.8px — precios, títulos de sección */
  --text-xl: 1.55rem;
  /* 24.8px — títulos principales */

  /* ── TOUCH TARGETS — mínimo 48×48px (Lighthouse/WCAG) ── */
  --touch-min: 48px;
  --btn-pad-y: 0.75rem;
  /* ~12px — padding vertical botones */
  --btn-pad-x: 1.25rem;
  /* ~20px — padding horizontal botones */
  --btn-pad-sm-y: 0.6rem;
  /* botones secundarios / compactos */
  --btn-pad-sm-x: 1rem;

  /* ── LAYOUT ── */
  --height-announcement: 40px;
  --height-navbar: 70px;
}

/* ── SCROLLBAR PERSONALIZADO ── */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--rosa-fuerte) var(--rosa-claro);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--rosa-claro);
}

::-webkit-scrollbar-thumb {
  background-color: var(--rosa-fuerte);
  border-radius: 10px;
  border: 1px solid var(--rosa-claro);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--rosa-oscuro);
}

/* ── RESET & GLOBAL ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: var(--height-navbar);
  }
}

body {
  background: var(--crema);
  color: var(--texto);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* Mobile base: padding mínimo */
section {
  padding: 3rem 1.2rem;
}

@media (min-width: 481px) {
  section {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 769px) {
  section {
    padding: 6rem 2rem;
  }
}

/* ── TIPOGRAFÍA UTILITARIA ── */
.section-label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--rosa-oscuro);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-title {
  color: var(--texto);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}

.section-title em {
  color: var(--rosa-fuerte);
  font-style: italic;
}

.section-desc {
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
}

/* ── BOTONES ── */
.agregar-btn {
  padding: var(--btn-pad-y) var(--btn-pad-x);
  background: var(--rosa-fuerte);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-btn);
  transition: background 0.2s, transform 0.15s;
  font-size: var(--text-sm);
  font-weight: 500;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .agregar-btn:hover {
    background: var(--rosa-oscuro);
    transform: scale(1.04);
  }
}

.agregar-btn:active {
  background: var(--rosa-oscuro);
  transform: scale(0.95);
}


/* ── NOSOTROS ── */
.nosotros {
  background: #ffffff;
}

.nosotros-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  gap: 2.5rem;
}

.nosotros-text .section-title {
  margin-bottom: 1.2rem;
}

.nosotros-text .section-desc {
  margin-bottom: 1.5rem;
}

.nosotros-text .section-desc:first-of-type {
  margin-bottom: 1.4rem;
}

.nosotros-text .section-desc:last-of-type {
  margin-bottom: 1.8rem;
}

.valores-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.valor-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--rosa-claro);
  border: 1px solid var(--borde);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: var(--text-sm);
  color: var(--texto);
  font-family: var(--font-body);
}

.valor-pill svg {
  flex-shrink: 0;
  stroke: var(--rosa-fuerte);
}


/* ── SOCIAL LINKS ── */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--rosa-claro);
  color: var(--rosa-fuerte);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(216, 83, 136, 0.15);
}

@media (hover: hover) {
  .social-link:hover {
    background: var(--rosa-fuerte);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(216, 83, 136, 0.3);
  }
}

.social-link svg {
  width: 22px;
  height: 22px;
}

/* ── UBICACIÓN ── */
.ubicacion {
  background: #ffffff;
}

/* Mobile: columna única */
.ubicacion-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .ubicacion-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.ubicacion-info .section-title {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--rosa-claro);
  color: var(--rosa-fuerte);
  border-radius: 12px;
  font-size: var(--text-md);
}

.info-label {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-value {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  color: var(--texto);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.info-value a {
  color: var(--texto);
}

.mapa-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  overflow: hidden;
  background: var(--rosa-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
}

.mapa-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  margin-top: 10px;
  background: #f0f0f0;
}

.cart-empty svg {
  margin-bottom: 1rem;
  opacity: 0.7;
}