/* =====================================================
   Pía Jara-Quemada G. Spa — Estilos principales
   Desarrollo web: alvarocofre.dev
   ===================================================== */

/* ---------- Variables — Paleta Premium Pía Jara-Quemada G. ---------- */
:root {
  /* Navy — solo para links y detalles funcionales */
  --primary:       #203671;
  --primary-dark:  #162550;
  --primary-mid:   #2D4A8A;
  --primary-light: #5B7EC4;
  /* Dorado — protagonista visual */
  --gold:          #C9963A;   /* dorado premium */
  --gold-dark:     #A87828;   /* dorado hover/oscuro */
  --gold-light:    #F0D898;   /* dorado claro */
  --gold-pale:     #FDF5E0;   /* fondo dorado muy suave */
  /* Salmón / acento cálido de marca */
  --accent:        #FFDBB5;
  --accent-dark:   #E8B98A;
  --accent-light:  #FFF3E8;
  /* Oscuro premium — reemplaza al navy en fondos */
  --premium:       #0F0D0A;   /* negro cálido — navbar, overlays, CTAs */
  --premium-2:     #1C1A16;   /* oscuro secundario */
  --premium-3:     #2A2720;   /* oscuro suave */
  /* Fondos */
  --cream:         #FBF9ED;
  --cream-alt:     #F5F2E5;
  /* Footer */
  --footer-bg:     #0F0D0A;
  --footer-accent: #C9963A;
  /* Textos y neutros */
  --dark:          #0F0D0A;
  --dark-2:        #1C1A16;
  --text:          #242420;
  --text-muted:    #7A7A72;
  --bg:            #FBF9ED;
  --bg-alt:        #F5F2E5;
  --white:         #FFFFFF;
  --border:        #E8D8B8;
  --shadow-sm:     0 1px 4px rgba(15, 13, 10, 0.08);
  --shadow-md:     0 4px 18px rgba(15, 13, 10, 0.12);
  --shadow-lg:     0 12px 44px rgba(15, 13, 10, 0.18);
  /* Aliases */
  --rose-50:       #FFF3E8;
  --rose-100:      #FFE4CC;
  --rose-200:      #FFDBB5;
  --radius:        4px;
  --radius-md:     8px;
  --radius-lg:     14px;
  --radius-xl:     20px;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-h:         72px;
  --ease:          0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}
img        { max-width: 100%; height: auto; display: block; }
a          { text-decoration: none; color: inherit; }
ul         { list-style: none; }
button     { cursor: pointer; font-family: inherit; }
blockquote { margin: 0; padding: 0; border: none; background: transparent; quotes: none; }
blockquote::before, blockquote::after { content: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-family: var(--font-body); }

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
section { padding: 5.5rem 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--gold);
  color: var(--premium);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(201, 150, 58, 0.40);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--premium);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--rose-50);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #B8935A;
  border-color: #B8935A;
  transform: translateY(-1px);
}

/* ---------- Animaciones ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.44s; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(15, 13, 10, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 150, 58, 0.35), 0 4px 32px rgba(0,0,0,0.28);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--primary-light);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-btn {
  padding: 0.45rem 1.1rem;
  background: var(--gold);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border: 1px solid var(--gold) !important;
}
.nav-btn:hover {
  background: #B8800A !important;
  border-color: #B8800A !important;
}
.nav-btn::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s 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); }

@media (max-width: 920px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(26, 13, 20, 0.98);
    flex-direction: column;
    padding: 2rem 1.75rem;
    gap: 1.25rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.32s ease;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1rem; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(15, 13, 10, 0.90) 0%,
    rgba(15, 13, 10, 0.68) 52%,
    rgba(201, 150, 58, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--nav-h) + 0.5rem) 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(220, 154, 14, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(220, 154, 14, 0.5);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 900;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--primary-light);
}

.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
}
.hero-stat span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.hero-stat-sep {
  width: 1px; height: 30px;
  background: rgba(255,255,255,0.2);
}

/* Hero side card */
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hero-card-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.875rem;
}
.hero-card-item:last-child { margin-bottom: 0; }
.hci-icon {
  width: 34px; height: 34px;
  background: rgba(160,41,88,0.35);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary-light);
}
.hci-icon svg { width: 16px; height: 16px; }
.hci-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.hci-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.58);
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card  { display: none; }
}

/* =====================================================
   BANNER TEST PRIVADO VIH
   ===================================================== */
.test-banner {
  background: var(--premium-2);
  padding: 0;
}

.test-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
}

.test-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(255,219,181,0.2);
  border: 1px solid rgba(255,219,181,0.4);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.test-banner-text h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.test-banner-text p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.test-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 0;
}
.test-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}
.test-item svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

.test-panel {
  min-width: 240px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.test-panel-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.test-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(220, 154, 14, 0.15);
  gap: 1rem;
}
.test-panel-row:last-of-type { border-bottom: none; }
.test-panel-row span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.test-panel-row strong { font-size: 0.9rem; color: var(--gold); white-space: nowrap; }
.test-panel .btn { width: 100%; justify-content: center; margin-top: 1.25rem; }

@media (max-width: 780px) {
  .test-banner-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .test-panel { min-width: 0; }
}

/* =====================================================
   SERVICIOS
   ===================================================== */
.servicios { background: var(--bg); }

.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-desc {
  margin: 0 auto;
}

/* Línea dorada decorativa bajo heading */
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 0.875rem;
}
.section-header.centered h2::after {
  margin: 0.875rem auto 0;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.7;
  margin-top: 0.75rem;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 1.5rem;
}

.servicio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  transition: all var(--ease);
}
.servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.servicio-img {
  height: 200px;
  overflow: hidden;
}
.servicio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.servicio-card:hover .servicio-img img { transform: scale(1.06); }

.servicio-body { padding: 1.5rem; }
.servicio-body h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.servicio-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.servicio-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.servicio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--ease);
}
.servicio-link svg { width: 14px; height: 14px; }
.servicio-link:hover { gap: 0.55rem; }

/* =====================================================
   POR QUE NOSOTRAS
   ===================================================== */
.porque { background: var(--bg-alt); }

.porque-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.porque-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.porque-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}
.porque-img-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(21, 20, 20, 0.88);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
}
.porque-img-badge strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.porque-img-badge span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.porque-text h2 { margin-bottom: 0.875rem; }
.porque-text > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 42px; height: 42px;
  background: rgba(220, 154, 14, 0.12);
  border: 1px solid rgba(220, 154, 14, 0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-body h4 {
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.feature-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .porque-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .porque-img-wrap img { height: 320px; }
}

/* =====================================================
   DESTACADOS (Vitamin Shot + Dermocoaching)
   ===================================================== */
.destacados { background: var(--premium); }

.destacados .section-header h2 { color: var(--white); }
.destacados .label { color: var(--accent); }

.destacados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover img { transform: scale(1.04); }

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(26, 13, 20, 0.88) 0%,
    rgba(26, 13, 20, 0.25) 55%,
    transparent 100%
  );
}
.dest-body {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.dest-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255,219,181,0.2);
  border: 1px solid rgba(255,219,181,0.45);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.dest-body h3 { color: var(--white); margin-bottom: 0.5rem; }
.dest-body p  { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .destacados-grid { grid-template-columns: 1fr; }
  .dest-card { min-height: 340px; }
}

/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonios {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
}

.testimonios .label { color: var(--primary); }
.testimonios .section-header h2 { color: var(--dark); }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonio {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--ease);
}
.testimonio:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.t-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}
.t-stars svg { width: 16px; height: 16px; fill: #F5A623; color: #F5A623; }

.t-text {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.875rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}
.t-name  { font-weight: 600; font-size: 0.875rem; color: var(--dark); }
.t-date  { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }

@media (max-width: 900px) {
  .testimonios-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--premium) 0%, var(--premium-2) 60%, rgba(201,150,58,0.12) 100%);
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid rgba(201, 150, 58, 0.25);
  border-bottom: 1px solid rgba(201, 150, 58, 0.25);
}
.cta-section h2  { color: var(--white); margin-bottom: 0.875rem; }
.cta-section p   { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 500px; margin: 0 auto 2.25rem; }
.cta-actions     { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   UBICACION
   ===================================================== */
.ubicacion { background: var(--bg-alt); }

.ubicacion-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}

.ubi-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.ubi-item  { display: flex; gap: 1rem; align-items: flex-start; }
.ubi-icon {
  width: 42px; height: 42px;
  background: rgba(220, 154, 14, 0.12);
  border: 1px solid rgba(220, 154, 14, 0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.ubi-icon svg { width: 18px; height: 18px; }
.ubi-body h4  { font-size: 0.85rem; color: var(--dark); margin-bottom: 0.2rem; }
.ubi-body p, .ubi-body a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.ubi-body a:hover { color: var(--primary); }

.ubi-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}
.ubi-map iframe { width: 100%; height: 100%; border: none; display: block; }

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

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(220, 154, 14, 0.25);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.72;
  max-width: 230px;
  margin-top: 0.75rem;
}
.footer-brand .nav-logo { margin-bottom: 0.25rem; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); opacity: 0.85; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.55rem;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a     { color: var(--primary-light); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stat-sep { display: none; }
}

/* =====================================================
   WHATSAPP FLOTANTE
   ===================================================== */
.wa-float {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 998;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.38);
  transition: all var(--ease);
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* =====================================================
   PAGES INTERIORES — hero
   ===================================================== */
.page-hero {
  position: relative;
  background: var(--premium);
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 150, 58, 0.3);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--primary-light); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; color: rgba(255,255,255,0.3); }

.page-hero h1   { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .sub { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 560px; line-height: 1.7; }

/* =====================================================
   BLOG / PRODUCTO — layout
   ===================================================== */
.product-section { background: var(--bg); padding: 4.5rem 0; }

.product-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* Sticky sidebar */
.product-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sc-head {
  background: linear-gradient(135deg, var(--premium) 0%, var(--premium-2) 100%);
  padding: 1.5rem;
  border-bottom: 2px solid var(--gold);
}
.sc-head h3  { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-family: var(--font-body); font-weight: 500; margin-bottom: 0.4rem; }
.sc-price    { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; color: var(--gold); line-height: 1; }
.sc-price-note { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }

.sc-body { padding: 1.25rem 1.5rem; }
.sc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  gap: 1rem;
}
.sc-row:last-child { border-bottom: none; }
.sc-row span   { color: var(--text-muted); }
.sc-row strong { color: var(--dark); text-align: right; }

.sc-foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sc-foot .btn { width: 100%; justify-content: center; }
.sc-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; line-height: 1.45; }

/* Blog content */
.blog-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin: 2.75rem 0 0.875rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
  color: var(--dark);
}
.blog-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.blog-content p {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.78;
  margin-bottom: 1rem;
}
.blog-content p:last-child { margin-bottom: 0; }

.blog-content h3 {
  font-size: 1.05rem;
  margin: 1.75rem 0 0.625rem;
  color: var(--dark);
}

.benefit-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
}
.benefit-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}
.benefit-list li:last-child { border-bottom: none; }
.benefit-list svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.compare-box {
  background: var(--rose-50);
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.compare-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.compare-col .val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.compare-col span { font-size: 0.8rem; color: var(--text-muted); }

/* Product item cards */
.product-cards { display: grid; gap: 1rem; margin: 1.25rem 0; }
.pc {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  background: var(--white);
  transition: all var(--ease);
}
.pc:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.pc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.pc-name  { font-family: var(--font-heading); font-size: 1rem; color: var(--dark); }
.pc-price { font-weight: 700; color: var(--gold); font-size: 0.95rem; white-space: nowrap; }
.pc-desc  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Mobile: sidebar al tope */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-sidebar { position: static; order: -1; }
}

/* =====================================================
   PAGINA CONTACTO
   ===================================================== */
.contacto-section { background: var(--bg); padding: 5rem 0; }

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.cc {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--ease);
}
.cc:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.cc-icon {
  width: 42px; height: 42px;
  background: rgba(220, 154, 14, 0.12);
  border: 1px solid rgba(220, 154, 14, 0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.cc-icon svg { width: 18px; height: 18px; }
.cc-body h4  { font-size: 0.85rem; color: var(--dark); margin-bottom: 0.2rem; }
.cc-body p, .cc-body a {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.cc-body a:hover { color: var(--primary); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 500px;
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

@media (max-width: 768px) {
  .contacto-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-map { height: 320px; }
}

/* =====================================================
   UTILITARIOS
   ===================================================== */
.text-center { text-align: center; }
.mt-sm  { margin-top: 1rem; }
.mt-md  { margin-top: 2rem; }
.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;
}

/* Año dinámico */
#anio { font-variant-numeric: tabular-nums; }

/* =====================================================
   QUIÉNES SOMOS
   ===================================================== */
.quienes { background: var(--bg); }

.quienes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.quienes-text h2 { margin-bottom: 1rem; }
.quienes-text > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.quienes-text > p:last-of-type { margin-bottom: 0; }

.quienes-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.quienes-val {
  background: var(--cream-alt);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
}
.quienes-val h4 {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.quienes-val p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Foto quiénes somos — imagen única */
.quienes-fotos {
  display: block;
}

.quienes-foto {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 560px;
}
.quienes-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}
.quienes-foto:hover img { transform: scale(1.04); }

/* Acento decorativo inferior */
.quienes-foto::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}

@media (max-width: 1024px) {
  .quienes-inner { grid-template-columns: 1fr; gap: 3rem; }
  .quienes-fotos { order: -1; }
  .quienes-foto { height: 420px; }
}

@media (max-width: 600px) {
  .quienes-foto { height: auto; aspect-ratio: 3 / 4; }
  .quienes-values { grid-template-columns: 1fr; }
}

/* =====================================================
   HERO — acento salmón en badge y stat sep
   ===================================================== */
.hero-badge::before { background: var(--accent); }
.hero-stat-sep { background: rgba(255,219,181,0.35); }

/* Footer — colores corporativos */
footer { background: var(--premium); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom a    { color: var(--gold); }
.footer-bottom a:hover { color: var(--white); }

/* Separador dorado en footer brand */
.footer-brand { border-right: 1px solid rgba(201, 150, 58, 0.2); padding-right: 2rem; }
