/* ===== Nail Boutique · Brand New Days — sistema de diseño del hub ===== */
/* Paleta y tipografía: Branding Book Nail Boutique Panamá V3 */

@font-face {
  font-family: 'Marvin';
  src: url('fonts/Marvin-demo.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nicolas Cochin';
  src: url('fonts/NicolasCochin-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Nicolas Cochin';
  src: url('fonts/NicolasCochin-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

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

:root {
  --mauve:       #C39893; /* NB Mauve — primario */
  --sage:        #8FA39A; /* Sage Professional — secundario/educativo */
  --ivory:       #F7F3F0; /* Ivory Gel — neutro claro */
  --charcoal:    #3A3331; /* Charcoal Cocoa — neutro oscuro / texto */
  --wine:        #6F2E2D; /* Wine CTA — botones, precios, urgencia */
  --blush:       #EADAD6; /* Blush Mist — fondos suaves y marcos */
  --white:       #ffffff;
  --muted:       #8a7d78; /* gris neutro derivado, para texto secundario */
  --muted-light: #a89c97;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(58,51,49,.07), 0 4px 16px rgba(58,51,49,.06);
  --shadow-md:   0 8px 32px rgba(58,51,49,.14), 0 2px 8px rgba(58,51,49,.06);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.22);
  --font-heading:'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, 'Iowan Old Style', serif;
  --transition:  220ms cubic-bezier(.4,0,.2,1);
}

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  min-height: 100dvh;
}

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

/* ── EYEBROW / WELCOME ───────────────────────── */
.welcome {
  text-align: center;
  font-family: var(--font-body);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wine);
  padding: 34px 20px 24px;
}
.welcome-line1 {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.welcome-line2 {
  display: block;
  margin-top: 9px;
  font-size: 18px;
  font-weight: 700;
}

.page-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 6vw, 40px);
  color: var(--charcoal);
  padding: 0 20px 30px;
}

/* ── HERO SPLIT (landing: 2 heroes lado a lado) ─ */
.heroes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
@media (min-width: 760px) {
  .heroes { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  aspect-ratio: 1 / 1;
  width: 80%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
@media (min-width: 760px) {
  .hero-card { padding: 44px 24px; }
}
.hero-card:active { transform: scale(.99); }
@media (hover: hover) {
  .hero-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
}

.hero-card--ks {
  padding: 0;
  background: var(--ivory);
}

.hero-card-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--bnd {
  padding: 0;
  background: var(--charcoal);
  color: var(--white);
}

/* ── BRAND PAGE HEADER (páginas internas) ───────── */
.brand-header {
  background: var(--white);
  border-bottom: 1px solid var(--blush);
  padding: 16px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-header a.back {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-header a.back:hover { color: var(--wine); }

.brand-hero {
  padding: 40px 20px 20px;
  text-align: center;
}
.brand-hero-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .3em;
  line-height: 20px;
  text-transform: uppercase; color: var(--wine); margin-bottom: 10px;
}
.brand-hero-eyebrow--bnd { margin-bottom: 25px; }
.brand-hero-logo { width: min(70vw, 380px); height: auto; }
.brand-hero-title { color: var(--charcoal); }
.brand-hero-title-main {
  display: block;
  font-family: 'Marvin', var(--font-heading), sans-serif;
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1.2;
  font-size: clamp(20px, 6.3vw, 56px);
  white-space: nowrap;
  text-transform: uppercase;
}
.brand-hero-title-sub {
  display: block;
  margin-top: 8px;
  font-family: 'Nicolas Cochin', Times, serif;
  font-weight: 400;
  letter-spacing: .4em;
  font-size: clamp(16px, 3.2vw, 24px);
  text-transform: uppercase;
}

/* ── CATEGORY TILES (idéntico patrón visual a Mayo Sale) ── */
.cats-section {
  padding: 20px 14px 48px;
  max-width: 560px; margin: 0 auto;
}
.cats-section--bnd { padding-top: 5px; }
.cats-stack { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.cats-stack--bnd { gap: 25px; }

.cat-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--blush);
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-tile:active { transform: scale(.99); }
@media (hover: hover) { .cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); } }

.cat-tile-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--blush);
}
.cat-tile--banner .cat-tile-img-wrap { aspect-ratio: 1/1; }
.cat-tile--banner { width: 70%; margin: 0 auto; }
.cat-tile-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.4,0,.2,1);
}
.cat-tile:hover .cat-tile-img-wrap img { transform: scale(1.04); }

.cat-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(58,51,49,.35) 70%, rgba(58,51,49,.82) 100%);
}

.cat-tile-label {
  position: absolute;
  bottom: 92px; left: 0; right: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: clamp(18px, 4.6vw, 23px);
  font-weight: 700;
  color: rgba(255,255,255,.95);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
  padding: 0 20px;
}
.cat-tile:not(:has(.cat-tile-sub)) .cat-tile-label { bottom: 68px; }
.cat-tile-sub {
  position: absolute;
  bottom: 66px; left: 0; right: 0;
  padding: 0 20px;
  font-size: 12px;
  color: rgba(255,255,255,.9);
}

.cat-tile-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
  background: rgba(58,51,49,.65);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 5px 10px;
}

.cat-tile-btn-wrap {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: center;
}
.cat-tile-btn {
  font-size: 14px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--charcoal);
  border: 1.5px solid rgba(58,51,49,.3);
  border-radius: 3px;
  padding: 12px 28px;
  text-align: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
  width: 100%;
}
.cat-tile:hover .cat-tile-btn { background: var(--wine); color: #fff; }

.section-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted-light); text-align: center;
  margin-bottom: 14px;
}
.section-label--bnd { margin-bottom: 25px; }

footer.hub-footer {
  text-align: center;
  padding: 30px 20px 50px;
  font-size: 11px;
  color: var(--muted-light);
}
