﻿/* ============================================================
   ALTOMEDIC v2 — Design System 2026
   Tokens → Reset → Typography → Components → Pages → Responsive
   ============================================================ */

/* 1. DESIGN TOKENS */
:root {
  /* === ALTOMEDIC BRAND PALETTE (confirmed from altomedicperu.com) === */
  --br:      #005A75;   /* primary dark teal — main brand color */
  --br-dark: #004A62;   /* hover/active darkening of --br */
  --bm:      #007A9A;   /* medium teal */
  --bright:  #2BB5B5;   /* bright teal — logo cross color, CTAs */
  --mint:    #A8D5BA;   /* brand mint — confirmed secondary */
  --sage:    #8A9E7C;   /* sage — logo swoosh color */
  --cream:   #F4F9FB;   /* warm off-white background */
  --surface: #FFFFFF;
  --border:  #D8EAF0;
  --text:    #0D1F2D;   /* near-black with teal tint */
  --muted:   #5A7A8A;
  --dark:    #05141C;   /* deepest navy */

  /* Legacy alias kept for compat */
  --sa:      #005A75;   /* was coral, now primary teal */
  --accent:  #A8D5BA;   /* was teal accent, now brand mint */

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --r:    14px;
  --r-sm: 8px;
  --r-lg: 24px;
  --trans: .22s ease;

  --shadow-sm:   0 1px 4px rgba(0,90,117,.07);
  --shadow-md:   0 4px 20px rgba(0,90,117,.12);
  --shadow-lg:   0 12px 40px rgba(0,90,117,.18);
  --shadow-teal: 0 8px 24px rgba(0,90,117,.30);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -1.5px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); letter-spacing: -1px; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); }
p  { font-size: clamp(.9rem, 1.5vw, 1rem); line-height: 1.7; color: var(--muted); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 68px;
  background: rgba(247,250,251,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(0,90,117,.08); color: var(--br); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dd-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
}
.nav-dd-toggle:hover { background: rgba(0,90,117,.08); color: var(--br); }
.nav-dd-arrow { transition: transform var(--trans); }
.nav-dropdown:hover .nav-dd-arrow { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--trans), transform var(--trans);
}
.nav-dropdown:hover .nav-dd-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dd-menu a {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  transition: background var(--trans), color var(--trans);
}
.nav-dd-menu a:hover { background: var(--cream); color: var(--br); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-wa-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: #1a9a4a;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(37,211,102,.35);
  transition: all var(--trans);
}
.btn-wa-nav:hover { background: rgba(37,211,102,.08); border-color: #25D366; color: #1a9a4a; }
.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: all var(--trans);
}
.icon-btn:hover { background: var(--border); color: var(--br); }

/* Auth dropdown */
.nav-user-wrap { position: relative; }
.nav-user-btn { width:40px;height:40px;border-radius:50%;background:var(--br);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative; }
.nav-user-ini { color:#fff;font-size:.72rem;font-weight:800;font-family:var(--font-head); }
.nav-user-dot { position:absolute;bottom:1px;right:1px;width:10px;height:10px;background:#22c55e;border:2px solid #fff;border-radius:50%; }
.nav-user-drop { position:absolute;right:0;top:calc(100% + 8px);background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:8px;width:200px;box-shadow:0 12px 32px rgba(0,0,0,.12);display:none;z-index:500; }
.nav-user-wrap.open .nav-user-drop { display:block; }
.nav-user-info { padding:8px 10px 10px;border-bottom:1px solid var(--border);margin-bottom:4px; }
.nav-user-info strong { display:block;font-size:.85rem;font-weight:700;color:var(--text); }
.nav-user-info small { color:var(--muted);font-size:.75rem; }
.nav-user-drop a,.nav-user-drop button { display:block;width:100%;text-align:left;padding:8px 10px;border-radius:8px;font-size:.85rem;color:var(--text);text-decoration:none;background:none;border:none;cursor:pointer;transition:background var(--trans); }
.nav-user-drop a:hover,.nav-user-drop button:hover { background:var(--cream); }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--sa);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  font-family: var(--font-head);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 9px;
  transition: background var(--trans);
}
.hamburger:hover { background: var(--border); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .28s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 68px 0 0;
  background: var(--surface);
  z-index: 190;
  padding: 16px 24px 40px;
  display: none;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: block; }
.mobile-links { display: flex; flex-direction: column; }
.mobile-links a {
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-cat-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 20px 4px 8px;
}
.mobile-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.mobile-cat-grid a {
  font-size: .85rem;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: var(--r-sm);
  border: none;
  color: var(--text);
  display: block;
}
.mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--r);
  margin-top: 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #002D45 0%, #005A75 55%, #007A9A 100%);
  min-height: 82vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 95% 50%, rgba(224,92,53,.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(0,191,165,.12), transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.95);
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  letter-spacing: .04em;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.08;
}
.hero-title em {
  font-style: normal;
  color: var(--sa);
  position: relative;
}
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  transition: all var(--trans);
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background: var(--br-dark); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,90,117,.40); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: 14px 28px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.28);
  transition: all var(--trans);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); }

/* Hero stats */
.hero-stats { display: flex; gap: 36px; }
.stat {}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-num span { color: var(--sa); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* Hero visual — glassmorphism product grid */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glass {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}
.hero-glass-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.hero-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-pcard {
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.hero-pcard-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-pcard-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pcard-icon.teal   { background: rgba(0,90,117,.1); color: var(--br); }
.hero-pcard-icon.coral  { background: rgba(168,213,186,.2); color: var(--sa); }
.hero-pcard-icon.mint   { background: rgba(0,191,165,.1); color: var(--accent); }
.hero-pcard-icon.blue   { background: rgba(0,122,154,.1); color: var(--bm); }
.hero-pcard-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  font-family: var(--font-head);
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.hero-pcard-name {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}
.hero-pcard-price {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 800;
  color: var(--sa);
}
.hero-glass-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px 14px;
}
.hgf-text {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  font-family: var(--font-head);
}
.hgf-text strong { color: #fff; font-weight: 700; }
.hgf-btn {
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--trans);
}
.hgf-btn:hover { background: var(--br-dark); }

/* ============================================================
   BENEFITS STRIP
   ============================================================ */
.benefits {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.benefits-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
  transition: background var(--trans);
}
.benefit:last-child { border-right: none; }
.benefit:hover { background: var(--cream); }
.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0,90,117,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--br);
}
.benefit-title {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.benefit-sub { font-size: .7rem; color: var(--muted); margin-top: 1px; }

/* ============================================================
   SECTIONS LAYOUT
   ============================================================ */
.section { padding: 80px 0; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--dark); }

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-badge {
  display: inline-block;
  background: rgba(0,90,117,.08);
  color: var(--br);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-badge.coral { background: rgba(0,90,117,.06); color: var(--sa); }
.section-title { color: var(--text); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 560px; font-size: .98rem; }
.section-header.center .section-sub { margin: 0 auto; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.see-all-link {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--br);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap var(--trans);
  flex-shrink: 0;
}
.see-all-link:hover { gap: 8px; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
  position: relative;
  cursor: pointer;
}
.pcard:hover {
  box-shadow: 0 16px 48px rgba(224,92,53,.14), 0 0 0 1.5px rgba(224,92,53,.25);
  transform: translateY(-5px);
  border-color: transparent;
}
.pcard-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.pcard-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  z-index: 1;
  letter-spacing: .03em;
}
.pcard-badge.mint  { background: var(--accent); color: #fff; }
.pcard-badge.coral { background: var(--sa);     color: #fff; }
.pcard-badge.teal  { background: var(--br);     color: #fff; }
.pcard-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,248,245,.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: none;
  transition: all var(--trans);
  z-index: 1;
}
.pcard-wish:hover { background: #fff; color: var(--sa); transform: scale(1.1); }
.pcard-body { padding: 14px; }
.pcard-cat {
  font-size: .7rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--br);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}
.pcard-name {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}
.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.price-sale {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text);
}
.price-orig {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: line-through;
}
.price-disc {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--sa);
  background: rgba(0,90,117,.07);
  padding: 2px 7px;
  border-radius: 50px;
}
.pcard-actions { display: flex; gap: 8px; }
.btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  transition: all var(--trans);
}
.btn-cart:hover { background: var(--br-dark); }
.btn-detail {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,90,117,.07);
  color: var(--br);
  border: none;
  transition: all var(--trans);
  flex-shrink: 0;
}
.btn-detail:hover { background: rgba(0,90,117,.14); }

/* See all products */
.products-footer { text-align: center; margin-top: 40px; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--br);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  padding: 13px 30px;
  border-radius: var(--r);
  border: 2px solid var(--br);
  transition: all var(--trans);
}
.btn-outline:hover { background: var(--br); color: #fff; gap: 12px; }

/* ============================================================
   CATEGORIES BENTO
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bcat {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
}
.bcat:hover { transform: scale(1.018); box-shadow: var(--shadow-lg); }
.bcat:nth-child(1) { grid-column: span 2; min-height: 260px; }
.bcat.tall        { grid-row: span 2; min-height: 100%; }
.bcat-bg {
  position: absolute;
  inset: 0;
  transition: transform .4s ease;
}
.bcat:hover .bcat-bg { transform: scale(1.04); }
.bcat-bg img { width: 100%; height: 100%; object-fit: cover; }
.bcat-c1 { background: linear-gradient(135deg, #002D45 0%, #005A75 100%); }
.bcat-c2 { background: linear-gradient(135deg, #004D40 0%, #00897B 100%); }
.bcat-c3 { background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%); }
.bcat-c4 { background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%); }
.bcat-c5 { background: linear-gradient(135deg, #BF360C 0%, #E64A19 100%); }
.bcat-c6 { background: linear-gradient(135deg, #1A237E 0%, #3949AB 100%); }
.bcat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,14,22,.75) 0%, rgba(5,14,22,.2) 50%, transparent 100%);
}
.bcat-icon-bg {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  z-index: 1;
}
.bcat-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  width: 100%;
}
.bcat-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 3px;
}
.bcat-count { font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.bcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-family: var(--font-head);
  font-size: .76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all var(--trans);
}
.bcat:hover .bcat-btn { background: var(--sa); border-color: var(--sa); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  transition: box-shadow var(--trans), transform var(--trans);
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tcard-quote {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--accent);
  opacity: .25;
  font-size: 4.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}
.tcard-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.star { color: #F59E0B; font-size: 1rem; }
.tcard-text {
  font-size: .96rem;
  line-height: 1.78;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.tcard-author { display: flex; align-items: center; gap: 14px; }
.tcard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--br), var(--bm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.tcard-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}
.tcard-role { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.tcard-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-head);
  margin-top: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-wrap { padding: 0 24px 80px; max-width: 1280px; margin: 0 auto; }
.cta-banner {
  background: linear-gradient(135deg, #002D45 0%, var(--br) 60%, #007A9A 100%);
  border-radius: 28px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(224,92,53,.22) 0%, transparent 65%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: 40%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0,191,165,.12) 0%, transparent 65%);
}
.cta-content { position: relative; z-index: 1; }
.cta-tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.15;
}
.cta-sub { color: rgba(255,255,255,.65); font-size: .98rem; max-width: 440px; }
.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 16px 32px;
  border-radius: var(--r);
  border: none;
  transition: all var(--trans);
  box-shadow: var(--shadow-teal);
  white-space: nowrap;
}
.btn-cta:hover { background: var(--br-dark); transform: translateY(-2px); }
.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 15px 24px;
  border-radius: var(--r);
  border: 1.5px solid rgba(255,255,255,.25);
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.18); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding-top: 64px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.footer-desc { font-size: .875rem; line-height: 1.75; margin-bottom: 24px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--trans);
}
.social-btn:hover { background: var(--br); color: #fff; border-color: var(--br); transform: translateY(-2px); }
.footer-col-title {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  padding: 5px 0;
  transition: color var(--trans);
}
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.fcontact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.fcontact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.footer-bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color var(--trans); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim {
  animation: fadeUp .65s ease both;
  animation-timeline: view();
  animation-range: entry 0% entry 28%;
}
.anim-d1 { animation-delay: .05s; }
.anim-d2 { animation-delay: .12s; }
.anim-d3 { animation-delay: .18s; }
.anim-d4 { animation-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .benefits-inner { grid-template-columns: repeat(3, 1fr); }
  .benefit:nth-child(3) { border-right: none; }
  .benefit:nth-child(4),
  .benefit:nth-child(5),
  .benefit:nth-child(6) { border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-inner > div:last-child { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .btn-wa-nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: 70vh; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcat:nth-child(1) { grid-column: span 2; }
  .bcat.tall { grid-row: auto; min-height: 200px; }
  .cta-banner { flex-direction: column; padding: 40px 32px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-cta, .btn-cta-ghost { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero-inner { padding: 56px 24px; }
  .hero-stats { gap: 24px; }
  .benefits-inner { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2) { border-right: none; }
  .benefit:nth-child(3),
  .benefit:nth-child(4),
  .benefit:nth-child(5),
  .benefit:nth-child(6) { border-top: 1px solid var(--border); }
  .benefit:nth-child(4) { border-right: none; }
  .benefit:nth-child(6) { border-right: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .bento { grid-template-columns: 1fr; }
  .bcat:nth-child(1) { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .cta-wrap { padding: 0 16px 60px; }
  .cta-banner { padding: 36px 24px; border-radius: 20px; }
  .section-inner { padding: 0 16px; }
  .pcard-body { padding: 12px; }
}

/* ============================================================
   PAGE HERO BAND (shared for inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #002D45 0%, var(--br) 60%, var(--bm) 100%);
  padding: 56px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(224,92,53,.15), transparent);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
  font-family: var(--font-head);
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--trans); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb svg { color: rgba(255,255,255,.35); }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.page-hero-sub { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 520px; }

/* ============================================================
   FILTER PILLS
   ============================================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
}
.filter-pill:hover { border-color: var(--br); color: var(--br); }
.filter-pill.active { background: var(--br); color: #fff; border-color: var(--br); }
.filter-count {
  font-size: .75rem;
  color: var(--muted);
  font-family: var(--font-head);
  margin-left: auto;
}
@media (max-width: 640px) {
  .filter-bar { gap: 6px; }
  .filter-pill { padding: 7px 14px; font-size: .78rem; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow var(--trans), transform var(--trans);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cc-teal   { background: rgba(0,90,117,.1); color: var(--br); }
.cc-green  { background: rgba(37,211,102,.1); color: #1a9a4a; }
.cc-coral  { background: rgba(168,213,186,.2); color: var(--sa); }
.cc-mint   { background: rgba(0,191,165,.1); color: var(--accent); }
.contact-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 6px;
}
.contact-card-sub { font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 16px; }
.contact-card a.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--br);
  transition: gap var(--trans);
}
.contact-card a.cc-link:hover { gap: 9px; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--br);
  box-shadow: 0 0 0 3px rgba(0,90,117,.1);
  background: var(--surface);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 8px;
}
.btn-submit:hover { background: var(--br-dark); transform: translateY(-1px); }
.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
}
.info-card-title {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 12px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.info-item:last-child { margin-bottom: 0; }
.info-item svg { color: var(--br); flex-shrink: 0; margin-top: 1px; }
.info-item strong { color: var(--text); display: block; font-size: .82rem; font-family: var(--font-head); font-weight: 700; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: background var(--trans);
  user-select: none;
}
.faq-q:hover { background: var(--cream); }
.faq-q.open { color: var(--br); }
.faq-icon { flex-shrink: 0; transition: transform var(--trans); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
}
.faq-a.open { max-height: 300px; padding: 0 20px 18px; }

@media (max-width: 900px) {
  .contact-channels { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-channels { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ============================================================
   NOSOTROS PAGE
   ============================================================ */
.nosotros-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin: 48px 0;
}
.nos-stat {
  background: var(--surface);
  padding: 32px 20px;
  text-align: center;
}
.nos-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--br);
  line-height: 1;
  margin-bottom: 6px;
}
.nos-stat-label { font-size: .85rem; color: var(--muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0,90,117,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--br);
  margin-bottom: 14px;
}
.value-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 6px;
}
.value-desc { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 64px;
}
.mv-card {
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.mv-card.mision { background: linear-gradient(135deg, var(--br), var(--bm)); color: #fff; }
.mv-card.vision { background: var(--surface); border: 1px solid var(--border); }
.mv-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.mv-card.mision .mv-label { color: rgba(255,255,255,.65); }
.mv-card.vision .mv-label { color: var(--br); }
.mv-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.mv-card.mision .mv-title { color: #fff; }
.mv-card.vision .mv-title { color: var(--text); }
.mv-text { font-size: .9rem; line-height: 1.75; }
.mv-card.mision .mv-text { color: rgba(255,255,255,.75); }
.mv-card.vision .mv-text { color: var(--muted); }
@media (max-width: 768px) {
  .nosotros-stats { grid-template-columns: repeat(2, 1fr); }
  .mv-grid, .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
}
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.login-logo img { height: 56px; }
.login-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.login-sub { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.login-divider {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  margin: 18px 0;
  position: relative;
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: .82rem;
}
.login-links a { color: var(--br); font-weight: 600; font-family: var(--font-head); }
.login-register {
  text-align: center;
  margin-top: 24px;
  font-size: .88rem;
  color: var(--muted);
}
.login-register a { color: var(--br); font-weight: 700; font-family: var(--font-head); }
.footer-minimal {
  padding: 16px 24px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: var(--dark);
}
.footer-minimal a { color: rgba(255,255,255,.4); margin: 0 10px; }
.footer-minimal a:hover { color: rgba(255,255,255,.7); }
@media (max-width: 480px) {
  .login-card { padding: 32px 24px; }
}

/* ============================================================
   PORTAL PAGE
   ============================================================ */
.portal-header {
  background: linear-gradient(135deg, #002D45, var(--br));
  padding: 48px 0;
}
.portal-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.portal-greeting { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: #fff; }
.portal-email { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.portal-tabs-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 10;
}
.portal-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
}
.ptab {
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.ptab:hover { color: var(--br); }
.ptab.active { color: var(--br); border-bottom-color: var(--br); }
.portal-content { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.orders-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.orders-empty svg { color: var(--border); margin: 0 auto 16px; }
.orders-empty h3 { margin-bottom: 8px; }
.profile-form { max-width: 600px; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.cart-items-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-name {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.cart-item-cat { font-size: .78rem; color: var(--muted); }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
}
.qty-btn:hover { background: var(--br); color: #fff; border-color: var(--br); }
.qty-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  min-width: 24px;
  text-align: center;
}
.cart-item-price {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}
.cart-item-remove {
  display: block;
  font-size: .75rem;
  color: var(--muted);
  cursor: pointer;
  text-align: right;
  margin-top: 4px;
  font-family: var(--font-head);
  transition: color var(--trans);
}
.cart-item-remove:hover { color: var(--sa); }
.cart-empty {
  padding: 80px 40px;
  text-align: center;
  color: var(--muted);
}
.cart-empty svg { margin: 0 auto 16px; color: var(--border); }
.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.summary-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.summary-row.total {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.summary-row.total span:last-child { color: var(--sa); }
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--sa);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover { background: var(--br-dark); transform: translateY(-1px); }
.summary-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }
.wa-order-btn {
  width: 100%;
  padding: 12px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--trans);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wa-order-btn:hover { background: #1a9a4a; }
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 480px) {
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item-img { width: 64px; height: 64px; }
}

/* ============================================================
   RECLAMACIONES PAGE
   ============================================================ */
.reclamo-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--br);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.reclamo-intro p { color: var(--muted); font-size: .9rem; line-height: 1.75; }
.reclamo-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
}
.reclamo-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.reclamo-section:last-child { border-bottom: none; margin-bottom: 0; }
.reclamo-section-title {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ============================================================
   LOGIN PAGE — ADDITIONAL
   ============================================================ */
.login-body { background: var(--cream); }
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}
.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.login-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.login-sub { font-size: .88rem; color: var(--muted); text-align: center; margin-bottom: 28px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  margin-top: 12px;
}
.login-forgot {
  font-size: .8rem;
  color: var(--br);
  font-family: var(--font-head);
  font-weight: 600;
}
.login-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: .8rem;
}
.login-or::before, .login-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.btn-wa-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: 13px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: all var(--trans);
}
.btn-wa-login:hover { background: #1a9a4a; color: #fff; }
.login-register { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.login-register a { color: var(--br); font-weight: 700; }
.form-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--sa);
  margin-bottom: 8px;
}
.footer-minimal {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  background: var(--dark);
  flex-wrap: wrap;
}
.footer-minimal img { filter: brightness(0) invert(1); opacity: .5; }
.footer-minimal a { color: rgba(255,255,255,.4); }
.footer-minimal a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   PORTAL PAGE — ADDITIONAL
   ============================================================ */
.portal-user-info { flex: 1; }
.portal-user-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.portal-user-email { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.portal-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--trans);
  margin-left: auto;
}
.portal-logout:hover { background: rgba(255,255,255,.18); color: #fff; }
.ptab { display: flex; align-items: center; gap: 7px; }
.portal-panel-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.orders-empty-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.orders-empty-sub { font-size: .88rem; color: var(--muted); }
.orders-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.order-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px 130px 100px 40px;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  transition: background var(--trans);
}
.order-row:last-child { border-bottom: none; }
.order-row:hover { background: var(--cream); }
.order-row-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--br);
}
.order-row-product { color: var(--text); font-weight: 500; }
.order-row-date { color: var(--muted); font-size: .82rem; }
.order-row-total { font-family: var(--font-head); font-weight: 700; color: var(--text); }
.order-row-detail {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
}
.order-row-detail:hover { background: var(--br); color: #fff; border-color: var(--br); }
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
}
.status-delivered { background: rgba(0,191,165,.1); color: var(--accent); }
.status-transit { background: rgba(0,122,154,.12); color: var(--bm); }
.status-pending { background: rgba(168,213,186,.2); color: var(--sa); }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.address-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  position: relative;
}
.default-address { border-color: var(--br); }
.address-card-tag {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--br);
  margin-bottom: 10px;
}
.address-card-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  margin-bottom: 6px;
}
.address-card-detail { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.address-card-actions { margin-top: 16px; display: flex; gap: 8px; }
.addr-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--br);
  background: rgba(0,90,117,.07);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--trans);
}
.addr-btn:hover { background: rgba(0,90,117,.14); }
.address-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed var(--border);
  border-radius: var(--r);
  padding: 32px;
  cursor: pointer;
  background: none;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--trans);
  min-height: 140px;
}
.address-add-btn:hover { border-color: var(--br); color: var(--br); }
@media (max-width: 768px) {
  .order-row { grid-template-columns: 1fr auto; gap: 8px; }
  .order-row-num, .order-row-date, .order-row-status { display: none; }
  .address-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CART PAGE — ADDITIONAL
   ============================================================ */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.cart-empty-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 16px 0 6px;
}
.cart-empty-sub { font-size: .88rem; color: var(--muted); }
.cart-items-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-items-count {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text);
}
.cart-clear-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--trans);
}
.cart-clear-btn:hover { color: var(--sa); }
.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 68px;
  height: 68px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cart-item-info { min-width: 0; }
.cart-item-name {
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: .82rem; color: var(--muted); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.qty-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  min-width: 22px;
  text-align: center;
}
.cart-item-subtotal {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  white-space: nowrap;
}
.cart-item-remove {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
  flex-shrink: 0;
}
.cart-item-remove:hover { background: rgba(168,213,186,.2); border-color: var(--sa); color: var(--sa); }
.order-summary-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.order-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.order-summary-total {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.order-summary-total span:last-child { color: var(--sa); }
.order-summary-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--muted);
  font-size: .8rem;
}
.order-summary-divider::before, .order-summary-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-btn {
  flex-shrink: 0;
  padding: 0 14px;
  background: var(--br);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--trans);
}
.coupon-btn:hover { background: var(--bm); }
.order-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  color: var(--muted);
}
@media (max-width: 768px) {
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-item-qty, .cart-item-subtotal { display: none; }
}

/* ============================================================
   RECLAMACIONES PAGE — ADDITIONAL
   ============================================================ */
.reclamo-legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,90,117,.05);
  border: 1px solid rgba(0,90,117,.15);
  border-left: 4px solid var(--br);
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}
.reclamo-legal-notice svg { flex-shrink: 0; margin-top: 1px; }
.reclamo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  margin-bottom: 20px;
}
.reclamo-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 20px;
}
.reclamo-section-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--br);
  color: #fff;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reclamo-empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reclamo-empresa-item { display: flex; flex-direction: column; gap: 3px; }
.re-label { font-family: var(--font-head); font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.re-val { font-size: .88rem; color: var(--text); }
.reclamo-tipo-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.reclamo-tipo-option { cursor: pointer; }
.reclamo-tipo-option input[type="radio"] { display: none; }
.reclamo-tipo-card {
  border: 2px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
  transition: all var(--trans);
  background: var(--surface);
}
.reclamo-tipo-option input[type="radio"]:checked + .reclamo-tipo-card {
  border-color: var(--br);
  background: rgba(0,90,117,.05);
}
.reclamo-tipo-card svg { margin: 0 auto 10px; }
.reclamo-tipo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 5px;
}
.reclamo-tipo-desc { font-size: .8rem; color: var(--muted); }
.reclamo-declaracion {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 20px;
}
.reclamo-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}
.reclamo-check-label input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; accent-color: var(--br); }
@media (max-width: 640px) {
  .reclamo-empresa-grid { grid-template-columns: 1fr; }
  .reclamo-tipo-group { grid-template-columns: 1fr; }
}

/* ============================================================
   NAV DROPDOWN (shared)
   ============================================================ */
.nav-dropdown { position: relative; }
.nav-dd-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: .9rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  padding: 6px 0;
  transition: color var(--trans);
}
.nav-dd-toggle:hover { color: var(--br); }
.nav-dd-arrow { transition: transform var(--trans); }
.nav-dropdown:hover .nav-dd-arrow { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform-origin: top center;
  z-index: 1000;
}
.nav-dropdown:hover .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  display: block;
  padding: 9px 18px;
  font-size: .88rem;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  transition: background var(--trans), color var(--trans);
}
.nav-dd-menu a:hover { background: var(--cream); color: var(--br); }

/* Mobile nav extras */
.mobile-cat-label {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  padding: 12px 0 4px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 4px;
}
.mobile-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mobile-cat-grid a {
  font-size: .82rem !important;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

/* Section alt bg */
.section-alt { background: var(--cream); }

/* cc-link for span (non-anchor) */
.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--br);
  transition: gap var(--trans);
  cursor: default;
}
