/* ============================================================
   CLICK ME CONDOMS — SITIO WEB
   Identidad: Editorial oscuro. Directo, adulto, elegante.
   ============================================================ */

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

:root {
  --black:     #0A0A0A;
  --surface:   #111111;
  --surface-2: #181818;
  --border:    rgba(255, 255, 255, 0.06);
  --white:     #FFFFFF;
  --gray:      #888888;
  --gray-2:    #555555;

  --red:    #C41E3A;
  --blue:   #1E5AC4;
  --yellow: #F5C518;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h:     90px;
  --container: 1280px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --speed:     0.3s;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.age-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

/* ============================
   UTILITY
   ============================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.accent-red { color: var(--red); }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 40px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #a0182e;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196, 30, 58, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray-2);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ============================
   AGE GATE
   ============================ */
.age-gate {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-gate.hidden { display: none; }

.age-gate-box {
  text-align: center;
  max-width: 400px;
}

.age-logo {
  height: 64px;
  width: auto;
  margin: 0 auto 40px;
  filter: brightness(0) invert(1);
}

.age-gate-box h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}

.age-gate-box p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 48px;
  line-height: 1.6;
}

.age-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--speed), border-color var(--speed);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.nav-logo .logo-img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--speed);
}
.nav-logo:hover .logo-img { opacity: 0.7; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--speed);
}
.nav-links a:hover { color: var(--white); }

.nav-links .nav-cta {
  color: var(--white);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--speed);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: var(--nav-h) 32px 100px;
  background-image: url('img/fotos-reales/4470.jpg');
  background-size: cover;
  background-position: center 30%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.68);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(to bottom, transparent, #0A0A0A);
  z-index: 2;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: min(900px, 120vw);
  height: min(900px, 120vw);
  background: radial-gradient(
    ellipse at center,
    rgba(196, 30, 58, 0.22) 0%,
    rgba(196, 30, 58, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero .scroll-indicator { z-index: 3; }

.hero-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
  animation: fadeInDown 0.9s var(--ease) both;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.55em;
  color: var(--gray);
  margin-bottom: 36px;
  animation: fadeInDown 0.9s var(--ease) 0.08s both;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeInUp 0.9s var(--ease) 0.16s both;
}

.hero-tagline-accent {
  color: var(--red);
}

.hero-body {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 52px;
  animation: fadeInUp 0.9s var(--ease) 0.24s both;
}

.hero .btn {
  animation: fadeInUp 0.9s var(--ease) 0.32s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ============================
   PRODUCTOS
   ============================ */
.productos {
  padding: 128px 0 120px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.product-card {
  position: relative;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }

.card-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}

.card-image {
  position: relative;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
}

.card-image img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.55s var(--ease);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
}
.product-card:hover .card-image img { transform: scale(1.07) translateY(-4px); }

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.product-card:hover .card-glow { opacity: 1; }

.card-content {
  padding: 32px 32px 28px;
  border-top: 1px solid var(--border);
}

.card-badge {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.75;
}

.btn-ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  color: var(--accent, var(--red));
  border: 1px solid var(--accent, var(--red));
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--speed), color var(--speed), transform var(--speed);
  margin-top: 22px;
}
.btn-ver-mas:hover,
.btn-ver-mas.active {
  background: var(--accent, var(--red));
  color: var(--black);
}

.icon-chevron {
  transition: transform var(--speed);
}
.btn-ver-mas.active .icon-chevron {
  transform: rotate(180deg);
}

.card-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding var(--speed);
  background: var(--surface-2);
  padding: 0 32px;
  border-top: none;
}
.card-detail.open {
  max-height: 400px;
  padding: 28px 32px 32px;
  border-top: 1px solid var(--border);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-2);
}

.detail-value {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ============================
   EDUCACIÓN
   ============================ */
.educacion {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.edu-card {
  background: var(--surface);
  padding: 44px 36px;
  transition: background var(--speed);
}
.edu-card:hover { background: var(--surface-2); }

.edu-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.edu-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.edu-body {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.edu-link {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--speed);
}
.edu-link:hover { opacity: 0.7; }

/* ============================
   CERTIFICACIONES
   ============================ */
.certificaciones {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cert-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(196,30,58,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cert-invima-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 32px;
  margin-bottom: 56px;
  border: 1px solid rgba(196,30,58,0.35);
  background: rgba(196,30,58,0.06);
  position: relative;
}

.cert-invima-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}

.cert-invima-hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 10px;
}

.cert-invima-hero-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--red);
}

.cert-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 56px;
}

.cert-card {
  background: var(--surface-2);
  padding: 44px 28px 36px;
  border-top: 3px solid var(--red);
  transition: background var(--speed), transform var(--speed);
  text-align: center;
}

.cert-card:hover {
  background: #1f1f1f;
  transform: translateY(-6px);
}

.cert-card-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 18px;
}

.cert-card-desc {
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.65;
}

.cert-footer {
  text-align: center;
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cert-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cert-cards { grid-template-columns: 1fr 1fr; }
}

/* ============================
   DÓNDE COMPRAR
   ============================ */
.donde-comprar {
  padding: 120px 0;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 48px;
}

.city-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background var(--speed);
}
.city-card:hover { background: var(--surface-2); }

.city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.city-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.city-tag {
  color: var(--gray-2);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.coming-soon {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}
.coming-soon a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--speed);
}
.coming-soon a:hover { color: var(--white); }

/* ============================
   PHOTO BREAK
   ============================ */
.photo-break {
  position: relative;
  height: 55vh;
  min-height: 320px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.photo-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #0A0A0A 0%,
    transparent 28%,
    transparent 72%,
    #0A0A0A 100%
  );
  z-index: 1;
}

/* ============================
   INSTAGRAM — FOTOS REALES
   ============================ */
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  filter: brightness(0.75) saturate(0.9);
}

.ig-post a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.ig-post a::after {
  content: '↗';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  opacity: 0;
  background: rgba(196,30,58,0.5);
  transition: opacity 0.3s ease;
}

.ig-post a:hover img {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(1.1);
}

.ig-post a:hover::after { opacity: 1; }

/* ============================
   WHATSAPP BUTTON
   ============================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--speed), box-shadow var(--speed);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

.whatsapp-btn svg { width: 32px; height: 32px; }

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .whatsapp-btn { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

/* ============================
   ALIADOS COMERCIALES
   ============================ */
.aliados {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.aliados-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 28px;
  text-align: center;
}

.aliados-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.aliado-card {
  background: var(--surface);
  padding: 20px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--speed);
  min-width: 180px;
  min-height: 80px;
}
.aliado-card:hover { background: var(--surface-2); }

.aliado-logo {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity var(--speed);
}
.aliado-card:hover .aliado-logo { opacity: 1; }

.aliado-fallback {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

/* ============================
   ALIADO PRINCIPAL
   ============================ */
.aliado-principal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  background: var(--surface);
  padding: 56px 56px;
  margin-bottom: 40px;
  border-top: 3px solid var(--red);
}

.aliado-principal-logo-wrap {
  background: radial-gradient(ellipse at center, #ffffff 30%, rgba(255,255,255,0.08) 75%, transparent 100%);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aliado-principal-logo-wrap img {
  width: 280px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.3));
}

.aliado-principal-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.aliado-principal-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.aliado-principal-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 24px;
}

.aliado-ciudades {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aliado-ciudades span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.1);
}

.proximos-aliados {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.proximos-label {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-2);
  margin-bottom: 8px;
}

.proximos-sub {
  color: var(--gray);
  font-size: 0.88rem;
}

.proximos-sub a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--speed);
}
.proximos-sub a:hover { color: var(--white); }

@media (max-width: 768px) {
  .aliado-principal {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
    text-align: center;
  }
  .aliado-principal-logo-wrap { margin: 0 auto; }
  .aliado-ciudades { justify-content: center; }
  .aliado-principal-desc { margin: 0 auto 24px; }
}

/* ============================
   INSTAGRAM
   ============================ */
.instagram-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.ig-header {
  text-align: center;
  margin-bottom: 52px;
}

.ig-handle {
  display: inline-block;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-top: 20px;
  transition: color var(--speed);
}
.ig-handle:hover { color: var(--red); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  margin-bottom: 52px;
}

.ig-post { aspect-ratio: 1; overflow: hidden; }

.ig-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  background: var(--surface-2);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--speed);
}
.ig-placeholder:hover { background: #202020; }

.ig-placeholder span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gray-2);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-display);
}

.behold-wrapper {
  margin-bottom: 48px;
}

.ig-cta {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.footer-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.footer-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.25) saturate(0.6);
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.85) 100%);
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 48px;
}

.footer-cta {
  text-align: center;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 48px;
}

.footer-logo-big {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(1);
  margin: 0 auto 16px;
}

.footer-hashtag-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 32px;
}

.footer-social-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: all var(--speed);
}
.footer-social-btn:hover {
  border-color: var(--red);
  background: rgba(196,30,58,0.1);
}

.footer-links-row {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  justify-content: center;
}

.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--speed);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-legal,
.footer-disclaimer,
.footer-copy {
  color: var(--gray-2);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.footer-logo,
.footer-hashtag,
.footer-social { display: none; }

/* ============================
   FADE-IN ANIMATIONS
   ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--delay, 0s);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.1; transform: scaleY(0.3); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

/* ============================
   TABLET  (≤ 1024px)
   ============================ */
@media (max-width: 1024px) {
  .products-grid,
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* ============================
   MOBILE  (≤ 768px)
   ============================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-logo { height: 56px; }
  .hero-tagline { font-size: clamp(2.6rem, 14vw, 4rem); }

  /* Products */
  .products-grid,
  .edu-grid,
  .cities-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Instagram */
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: span 1; }

  /* Certs */
  .cert-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================
   BLOG — INDEX
   ============================ */
.blog-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  border-bottom: 1px solid var(--border);
}

.blog-hero .section-title { margin-bottom: 12px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 80px;
}

.blog-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background var(--speed);
}
.blog-card:hover { background: var(--surface-2); }

.blog-card-accent { height: 3px; width: 100%; flex-shrink: 0; }

.blog-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }

.blog-card-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 16px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  flex: 1;
}

.blog-card-excerpt {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.blog-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity var(--speed);
  align-self: flex-start;
}
.blog-card:hover .blog-card-link { opacity: 0.7; }

/* ============================
   BLOG — ARTÍCULO
   ============================ */
.article-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.article-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gray-2);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.article-breadcrumb a {
  color: var(--gray-2);
  text-decoration: none;
  transition: color var(--speed);
}
.article-breadcrumb a:hover { color: var(--white); }
.article-breadcrumb span { margin: 0 10px; }

.article-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}

.article-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto 24px;
}

.article-intro {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}

.article-body p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 48px 0 16px;
}

.pull-quote {
  border-left: 3px solid var(--accent-color, var(--red));
  padding: 20px 28px;
  margin: 40px 0;
  background: var(--surface);
}
.pull-quote p {
  font-size: 1.15rem !important;
  font-weight: 600;
  color: var(--white) !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}

.article-hashtag {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-product {
  background: var(--surface);
  border-top: 3px solid var(--accent-color, var(--red));
  padding: 32px;
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.article-product img {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.article-product-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-product-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-2);
}
.article-product-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.article-product-desc {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.6;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 64px;
  gap: 16px;
}

.article-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: color var(--speed);
}
.article-nav a:hover { color: var(--white); }

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { padding: 48px 20px 64px; }
  .article-product { flex-direction: column; text-align: center; }
  .article-nav { flex-direction: column; text-align: center; }
}

/* ============================
   SMALL MOBILE (≤ 480px)
   ============================ */
@media (max-width: 480px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-tagline {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
}
