/* ============================================================
   CHINAMART — STYLES.CSS
   Light Premium · Orange + Cream · Outfit + Noto Serif JP
   ============================================================ */

:root {
  --primary:       #E85D5D; /* Gama Red (suave) */
  --primary-dark:  #C44545;
  --secondary:     #6B6B6B; /* Gama Gray (del logo) */
  --accent:        #F5F5F5;
  
  --bg-main:       #FFFFFF; /* Pure White */
  --bg-card:       #FFFFFF;
  --bg-section:    #FAFAFA; /* Subtle off-white for alternating */
  --bg-dark:       #2A2A2A; /* dark gray del logo */
  
  --ink:           #1F1F1F;
  --ink-light:     #666666;
  --border:        #E8E8E8;
  --white:         #FFFFFF;

  --font-main:    'Outfit', system-ui, sans-serif;
  --font-display: 'Noto Serif JP', Georgia, serif;

  --fs-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --fs-sm:   clamp(0.85rem, 0.8rem + 0.3vw,  0.95rem);
  --fs-base: clamp(1rem,    0.95rem + 0.3vw, 1.1rem);
  --fs-md:   clamp(1.1rem,  1rem + 0.5vw,    1.25rem);
  --fs-lg:   clamp(1.25rem, 1.15rem + 0.75vw, 1.5rem);
  --fs-xl:   clamp(1.5rem,  1.3rem + 1.5vw,   2.2rem);
  --fs-2xl:  clamp(2rem,    1.5rem + 2.5vw,   3.2rem);
  --fs-3xl:  clamp(2.5rem,  2rem + 3.5vw,     4rem);
  --fs-4xl:  clamp(3.2rem,  2.5rem + 5vw,     5.5rem);

  --section-py:    clamp(80px, 10vw, 140px);
  --container-max: 1240px;
  --container-px:  clamp(20px, 5vw, 40px);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-sm:  0 4px 12px rgba(0,0,0,0.05);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.12);
  --shadow-primary: 0 10px 40px rgba(214, 40, 40, 0.3);
  --shadow-red: 0 2px 12px rgba(214, 40, 40, 0.12);

  --ease:     cubic-bezier(0.23, 1, 0.32, 1);
  --duration: 0.4s;

  --z-sticky:    200;
  --z-overlay:   300;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  user-select: text;
  -webkit-user-select: text;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
input, textarea, select {
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  background: var(--white);
  width: 100%;
  transition: border-color var(--duration), box-shadow var(--duration);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.15);
}
input::placeholder, textarea::placeholder { color: var(--ink-5); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239c8878' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
::selection { background: rgba(var(--orange-rgb), 0.18); }

/* ── LAYOUT ── */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }

/* ── TYPOGRAPHY ── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}
.section-title { 
  font-family: var(--font-display);
  font-size: var(--fs-3xl); 
  font-weight: 700; 
  line-height: 1.15; 
  color: var(--bg-dark); 
  margin-bottom: 24px; 
  letter-spacing: -0.01em; 
}
.section-title-with-img {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}
.section-title-with-img .section-title { margin-bottom: 0; }
.section-title-img {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.text-red { color: var(--primary); }
.section-lead { font-size: var(--fs-md); color: var(--ink-light); max-width: 650px; line-height: 1.7; }
.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }
.section-header--center .section-lead { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  padding: 14px 32px;
  transition: all var(--duration) var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.btn .material-icons { font-size: 20px; }
.btn--red {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}
.btn--red:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: none;
}
.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: none;
}
.btn--whatsapp:hover {
  background: #20BA56;
  transform: translateY(-3px);
  box-shadow: none;
}
.btn--outline-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--bg-dark);
  border-color: var(--white);
  transform: translateY(-4px);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--bg-dark);
  color: var(--bg-dark);
}
.btn--outline:hover {
  background: var(--bg-dark);
  color: var(--white);
  transform: translateY(-3px);
}
.btn--dark {
  background: var(--bg-dark);
  color: var(--white);
  border: 2px solid var(--bg-dark);
}
.btn--dark:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn--sm  { padding: 8px 20px; font-size: var(--fs-xs); }
.btn--lg  { padding: 16px 36px; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  z-index: calc(var(--z-sticky) + 1);
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform-origin: left; transform: scaleX(0);
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* ── NAVBAR LOGO IMG ── */
.navbar__logo-img {
  height: 110px; /* Reduced from 180px */
  width: auto;
  display: block;
  object-fit: contain;
  transition: all var(--duration) var(--ease);
  transform: translateY(15px); /* Más arriba */
  filter: none; /* Sin sombra/neon */
  z-index: 10;
}
.navbar.scrolled .navbar__logo-img {
  height: 60px;
  transform: translateY(0px);
  filter: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; 
  top: 20px; left: 0; right: 0;
  margin: 0 auto;
  width: calc(100% - 40px);
  max-width: 1400px;
  z-index: var(--z-sticky);
  background: rgba(20, 20, 20, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  padding: 10px 24px;
  transition: all var(--duration) var(--ease);
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.navbar.scrolled { 
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  padding: 8px 24px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height var(--duration); }
.navbar.scrolled .navbar__inner { height: 64px; }
.navbar__brand { flex: 1; display: flex; align-items: center; }
.navbar__menu { flex: 2; display: flex; justify-content: center; }
.navbar__actions { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; transition: transform var(--duration); }
.navbar.scrolled .navbar__actions { transform: translateY(4px); }
.navbar__list { display: flex; gap: 8px; }
.navbar__link {
  padding: 10px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #FFFFFF !important;
  border-radius: var(--radius-md);
  transition: all var(--duration);
}
.navbar__link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}
.navbar.scrolled .navbar__link {
  color: var(--ink-light) !important;
}
.navbar.scrolled .navbar__link:hover {
  background: rgba(214, 40, 40, 0.08);
}
.navbar__link.active {
  color: var(--primary);
  font-weight: 700;
}
/* Removed redundant .navbar__actions rule */
.navbar__burger {
  display: none;
  width: 28px; height: 20px;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.navbar__burger span {
  display: block; height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: absolute; left: 0; right: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .navbar__burger span {
  background: var(--bg-dark);
}
.navbar__burger span:nth-child(1) { top: 0; }
.navbar__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.navbar__burger span:nth-child(3) { bottom: 0; }
.navbar__burger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; transform: translateY(-50%) scaleX(0); }
.navbar__burger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(0.8) contrast(1.1) blur(2px);
  /* Forzar estático: nada de parallax ni transforms residuales */
  transform: none !important;
  translate: none !important;
  will-change: auto !important;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.6) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  max-width: 900px;
  padding: 120px 0 100px;
}
.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  background: rgba(214, 40, 40, 0.15);
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(214, 40, 40, 0.3);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero__title-red { color: var(--primary); text-shadow: 0 0 20px rgba(214, 40, 40, 0.4); }
.hero__lead {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.9);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero__lider {
  display: inline-block;
  margin-top: 40px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero__lider strong { color: var(--secondary); }
.hero__scroll {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  color: var(--secondary);
  animation: scrollBounce 2.5s var(--ease) infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.3; }
  50%       { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

/* ── HIGHLIGHTS ── */
.highlights {
  padding: var(--section-py) 0;
  background: var(--bg-main);
}
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hl-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.hl-card:hover { 
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.hl-card__badge {
  position: absolute;
  top: 170px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 2;
  transition: transform 0.4s var(--ease);
}
.hl-card__badge .material-icons {
  font-size: 30px;
}
.hl-card:hover .hl-card__badge {
  transform: scale(1.1) rotate(-6deg);
}
.hl-card__body {
  padding: 40px 32px 36px;
}
.hl-card__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.hl-icon {
  width: 56px; height: 56px;
  color: var(--primary);
  flex-shrink: 0;
  stroke-width: 1.5;
  background: rgba(214, 40, 40, 0.08);
  padding: 12px;
  border-radius: var(--radius-md);
}
.hl-card h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--bg-dark);
  padding: 0;
  margin: 0 0 12px;
  line-height: 1.3;
}
.hl-card p {
  font-size: var(--fs-sm);
  color: var(--ink-light);
  line-height: 1.7;
  padding: 0;
  margin: 0;
}
.hl-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
  transition: transform 0.5s var(--ease);
}
.hl-card:hover .hl-card__img { transform: scale(1.06); }

/* ── PRODUCTOS LIDER ── */
.productos { padding: var(--section-py) 0; background: var(--cream2); }
.productos__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration), box-shadow var(--duration);
}
.prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}
.prod-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f9f9f9;
}
.prod-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s var(--ease);
}
.prod-card:hover .prod-card__img-wrap img { transform: scale(1.07); }
.prod-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  flex: 1;
}
.prod-card__brand {
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prod-card__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}
.prod-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--orange);
  margin-top: 8px;
}
.prod-card__cta .material-icons { font-size: 14px; }
.productos__footer { text-align: center; }

/* ── CONTACT LIDER BOX ── */
.contact__lider {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deeper));
  color: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
}
.contact__lider .material-icons { font-size: 28px; flex-shrink: 0; }
.contact__lider p { font-size: var(--fs-sm); line-height: 1.5; }
.contact__lider strong { color: #ffe0b2; }

/* ── CONTACT DETAIL TITLES ── */
.reservations__details > div strong {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

/* ── FOOTER LOGO IMG ── */
.footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
}

/* ── PRODUCTOS ── */
.carta { padding: var(--section-py) 0; background: var(--white); }
.carta__tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.carta__tab {
  padding: 12px 28px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration);
  cursor: pointer;
  background: transparent;
}
.carta__tab:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.carta__tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-red);
}
.carta__panel { display: none; max-width: 900px; margin: 0 auto; }
.carta__panel.active { display: block; }
.carta__item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--duration);
}
.carta__item:hover { transform: translateX(10px); }
.carta__item h4 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 6px;
}
.carta__item p { font-size: var(--fs-sm); color: var(--ink-light); line-height: 1.5; }
.carta__item > span {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* ── NOSOTROS ── */
.history { padding: var(--section-py) 0; background: var(--white); }
.history__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px; /* Reduced gap from 120px */
  align-items: center;
}
.history__content p {
  font-size: var(--fs-md);
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 24px;
}
.history__signature {
  display: flex; align-items: center; gap: 20px;
  margin-top: 40px; padding: 32px 0 40px 0;
  border-top: 1px solid var(--border);
}
.history__signature img {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  object-fit: contain;
  border: none;
  box-shadow: none;
}
.history__signature strong {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--bg-dark);
}
.history__signature span { font-size: var(--fs-sm); color: var(--primary); font-weight: 600; }
.history__img {
  position: relative;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}
.history__img img {
  width: 100%; height: 720px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  border: none;
  display: block;
  will-change: transform;
}

/* Sección Misión */
.mission {
  padding: var(--section-py) 0 40px;
  background: var(--white);
}
.mission__block {
  margin-bottom: 0 !important;
}

/* Sección Empresa profesional */
.company-intro {
  padding: 40px 0 var(--section-py);
  background: var(--white);
}
.company-intro__block {
  margin-bottom: 0 !important;
}
.company-intro__logo-wrap::before { display: none !important; }

/* Sección Testimonios */
.testimonials-custom {
  position: relative;
  padding: var(--section-py) 0;
  background: radial-gradient(ellipse at top, #1A1A1A 0%, #0F0F0F 50%, #050505 100%);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
/* Grid pattern sutil */
.testimonials-custom__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
/* Orbe principal grande */
.testimonials-custom__bg {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.18) 0%, rgba(232, 93, 93, 0.06) 35%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
  animation: orb-float 20s ease-in-out infinite;
}
/* Orbes adicionales */
.testimonials-custom__bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.testimonials-custom__bg-orb--1 {
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.15) 0%, transparent 70%);
  animation: orb-float 25s ease-in-out infinite reverse;
}
.testimonials-custom__bg-orb--2 {
  top: 30%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 69, 69, 0.12) 0%, transparent 70%);
  animation: orb-float 18s ease-in-out infinite;
  animation-delay: -5s;
}
.testimonials-custom__bg-orb--3 {
  top: 60%;
  left: 30%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  animation: orb-float 22s ease-in-out infinite;
  animation-delay: -10s;
}
/* Formas geométricas decorativas */
.testimonials-custom__shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.testimonials-custom__shape--1 {
  top: 10%;
  right: 8%;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(232, 93, 93, 0.2);
  border-radius: 30%;
  transform: rotate(25deg);
  animation: shape-rotate 40s linear infinite;
}
.testimonials-custom__shape--2 {
  bottom: 15%;
  left: 5%;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: shape-pulse 6s ease-in-out infinite;
}
/* Glow central sutil */
.testimonials-custom__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 93, 93, 0.08) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
@keyframes shape-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes shape-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.2; }
}
.testimonials-custom .container { position: relative; z-index: 1; }
.testimonials-custom .text-red {
  color: var(--white) !important;
}
.testimonials-custom .section-title {
  color: var(--white) !important;
}
.testimonials-custom .section-lead {
  color: rgba(255,255,255,0.9);
}
.testimonials-custom__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.testimonial-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 32px 36px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.5s var(--ease);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 93, 0.6), rgba(255,255,255,0.3), rgba(232, 93, 93, 0.6), transparent);
}
.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(232, 93, 93, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.testimonial-card:hover {
  background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  transform: translateY(-14px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3), 0 0 40px rgba(232, 93, 93, 0.1);
  border-color: rgba(232, 93, 93, 0.3);
}
.testimonial-card:hover::after {
  opacity: 1;
}
.testimonial-card__quote-icon {
  position: absolute;
  top: -12px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #C44545 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(232, 93, 93, 0.4), 0 0 0 4px rgba(15, 15, 15, 1);
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.testimonial-card:hover .testimonial-card__quote-icon {
  transform: scale(1.1) rotate(-10deg);
}
.testimonial-card__quote-icon .material-icons {
  font-size: 28px;
}
.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-card__stars .material-icons {
  font-size: 22px;
  color: #FFD700;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.4));
  transition: transform 0.3s var(--ease);
}
.testimonial-card:hover .testimonial-card__stars .material-icons {
  animation: star-bounce 0.6s var(--ease);
}
.testimonial-card:hover .testimonial-card__stars .material-icons:nth-child(1) { animation-delay: 0.0s; }
.testimonial-card:hover .testimonial-card__stars .material-icons:nth-child(2) { animation-delay: 0.05s; }
.testimonial-card:hover .testimonial-card__stars .material-icons:nth-child(3) { animation-delay: 0.1s; }
.testimonial-card:hover .testimonial-card__stars .material-icons:nth-child(4) { animation-delay: 0.15s; }
.testimonial-card:hover .testimonial-card__stars .material-icons:nth-child(5) { animation-delay: 0.2s; }
@keyframes star-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px) scale(1.15); }
}
.testimonial-card__text {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* Iniciales */
  background: linear-gradient(135deg, var(--primary) 0%, #a01f1f 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, sans-serif);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  user-select: none;
}
.testimonial-card__author-info strong {
  display: block;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 600;
}
.testimonial-card__author-info span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}
@media (max-width: 900px) {
  .testimonials-custom__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .testimonial-card { padding: 28px 24px; }
  .testimonial-card__quote-icon {
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
  }
  .testimonial-card__quote-icon .material-icons { font-size: 24px; }
}

/* Sección CTA Contacto */
.cta-section {
  padding: 60px 0;
  background: var(--white);
  color: var(--bg-dark);
}
.cta-section__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.cta-section__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin: 0 0 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.cta-section__btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 18px 42px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.cta-section__btn:hover {
  background: #b02020;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(214,40,40,0.3);
}
@media (max-width: 900px) {
  .cta-section__title { font-size: 1.8rem; }
  .cta-section__btn { padding: 16px 36px; font-size: 1rem; }
}
.company-intro__logo-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 28px;
  box-shadow: none;
  min-height: 480px;
  overflow: hidden;
}
.company-intro__logo-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(214,40,40,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.company-intro__logo-box::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  pointer-events: none;
}
.company-intro__logo {
  max-width: 520px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(214,40,40,0.22);
  box-shadow: none;
  padding: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
  object-fit: contain;
}
@media (max-width: 900px) {
  .company-intro__logo-box {
    min-height: 280px;
    padding: 40px 30px;
  }
  .company-intro__logo {
    max-width: 100%;
    border-radius: 22px;
    padding: 8px;
  }
}

/* ── PARTÍCULAS COMPLEJAS ── */
.company-intro__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 24px;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}
/* Partículas pequeñas rojas */
.particle--1  { width: 4px; height: 4px; background: rgba(214,40,40,0.9); top: 10%; left: 15%;  box-shadow: 0 0 8px rgba(214,40,40,0.8); animation: pFloat1 8s ease-in-out infinite; }
.particle--2  { width: 3px; height: 3px; background: rgba(255,255,255,0.85); top: 20%; left: 80%; box-shadow: 0 0 6px rgba(255,255,255,0.6); animation: pFloat2 10s ease-in-out infinite; }
.particle--3  { width: 5px; height: 5px; background: rgba(214,40,40,0.7); top: 75%; left: 10%;  box-shadow: 0 0 10px rgba(214,40,40,0.6); animation: pFloat3 12s ease-in-out infinite; }
.particle--4  { width: 2px; height: 2px; background: rgba(255,255,255,0.9); top: 40%; left: 90%; animation: pFloat1 9s ease-in-out infinite 1s; }
.particle--5  { width: 6px; height: 6px; background: rgba(214,40,40,0.5); top: 85%; left: 75%; box-shadow: 0 0 12px rgba(214,40,40,0.5); animation: pFloat2 14s ease-in-out infinite 2s; }
.particle--6  { width: 3px; height: 3px; background: rgba(255,200,200,0.8); top: 55%; left: 20%; animation: pFloat3 11s ease-in-out infinite 1.5s; }
.particle--7  { width: 4px; height: 4px; background: rgba(214,40,40,0.6); top: 15%; left: 50%; box-shadow: 0 0 8px rgba(214,40,40,0.5); animation: pFloat1 13s ease-in-out infinite 0.5s; }
.particle--8  { width: 2px; height: 2px; background: rgba(255,255,255,0.7); top: 65%; left: 60%; animation: pFloat2 7s ease-in-out infinite 2.5s; }
.particle--9  { width: 5px; height: 5px; background: rgba(214,40,40,0.8); top: 30%; left: 30%; box-shadow: 0 0 10px rgba(214,40,40,0.7); animation: pFloat3 15s ease-in-out infinite; }
.particle--10 { width: 3px; height: 3px; background: rgba(255,255,255,0.6); top: 90%; left: 45%; animation: pFloat1 10s ease-in-out infinite 3s; }
.particle--11 { width: 4px; height: 4px; background: rgba(214,40,40,0.7); top: 5%;  left: 65%; box-shadow: 0 0 8px rgba(214,40,40,0.6); animation: pFloat2 12s ease-in-out infinite 1s; }
.particle--12 { width: 2px; height: 2px; background: rgba(255,220,220,0.85); top: 45%; left: 8%; animation: pFloat3 9s ease-in-out infinite 2s; }
.particle--13 { width: 6px; height: 6px; background: rgba(214,40,40,0.4); top: 70%; left: 90%; box-shadow: 0 0 14px rgba(214,40,40,0.4); animation: pFloat1 14s ease-in-out infinite; }
.particle--14 { width: 3px; height: 3px; background: rgba(255,255,255,0.8); top: 25%; left: 5%; animation: pFloat2 11s ease-in-out infinite 1.5s; }
.particle--15 { width: 4px; height: 4px; background: rgba(214,40,40,0.9); top: 50%; left: 95%; box-shadow: 0 0 10px rgba(214,40,40,0.8); animation: pFloat3 13s ease-in-out infinite 0.8s; }

/* Bolas de luz grandes (glow) */
.particle--glow {
  filter: blur(10px);
  mix-blend-mode: screen;
}
.particle--glow-1 { width: 80px; height: 80px; background: radial-gradient(circle, rgba(214,40,40,0.5) 0%, transparent 70%); top: -10%; left: -10%; animation: pOrb1 18s ease-in-out infinite; }
.particle--glow-2 { width: 100px; height: 100px; background: radial-gradient(circle, rgba(255,100,100,0.35) 0%, transparent 70%); bottom: -15%; right: -10%; animation: pOrb2 22s ease-in-out infinite; }
.particle--glow-3 { width: 60px; height: 60px; background: radial-gradient(circle, rgba(214,40,40,0.45) 0%, transparent 70%); top: 40%; right: 20%; animation: pOrb1 16s ease-in-out infinite 4s; }

/* Anillos orbitales */
.particle--ring {
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(214,40,40,0.18);
}
.particle--ring-1 { width: 180px; height: 180px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: pRing 20s linear infinite; }
.particle--ring-2 { width: 260px; height: 260px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(255,255,255,0.08); border-style: dashed; animation: pRing 30s linear infinite reverse; }

@keyframes pFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  25% { transform: translate(20px, -15px) scale(1.2); opacity: 1; }
  50% { transform: translate(-10px, -30px) scale(0.8); opacity: 0.6; }
  75% { transform: translate(-20px, 10px) scale(1.1); opacity: 0.9; }
}
@keyframes pFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  33% { transform: translate(-25px, 20px) scale(1.3); opacity: 1; }
  66% { transform: translate(15px, -20px) scale(0.9); opacity: 0.5; }
}
@keyframes pFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  20% { transform: translate(30px, 10px) scale(0.7); opacity: 1; }
  50% { transform: translate(10px, -25px) scale(1.4); opacity: 0.6; }
  80% { transform: translate(-15px, 15px) scale(1); opacity: 0.9; }
}
@keyframes pOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(30px, 40px) scale(1.3); opacity: 1; }
}
@keyframes pOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-40px, -30px) scale(1.4); opacity: 1; }
}
@keyframes pRing {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .particle { animation: none !important; }
}

/* About blocks (zigzag Sobre Nosotros) */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  margin-bottom: 140px;
  position: relative;
}
.about-block:last-child { margin-bottom: 0; }
.about-block--reverse .about-block__content { order: 2; }
.about-block--reverse .about-block__img,
.about-block--reverse .about-block__img-wrap { order: 1; }

.about-block__content {
  position: relative;
  padding: 20px 0;
}
.about-block__num {
  display: inline-block;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(
    120deg,
    #e63946 0%,
    #ff6b6b 20%,
    #ff8a8a 45%,
    #ffffff 50%,
    #ff8a8a 55%,
    #ff6b6b 80%,
    #e63946 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  letter-spacing: 0;
  position: relative;
}
.about-block__num.animate {
  animation: aboutNumShimmer 4s linear forwards;
}

@keyframes aboutNumShimmer {
  0%   { background-position: 150% 50%; }
  100% { background-position: -150% 50%; }
}
.about-block__num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
}
.about-block__title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin: 0 0 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.about-block__content p {
  font-size: var(--fs-md);
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-block__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
}
.about-block__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--fs-base);
  color: var(--bg-dark);
  font-weight: 500;
  padding: 12px 18px;
  background: rgba(214, 40, 40, 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  transition: all 0.3s ease;
}
.about-block__list li:hover {
  background: rgba(214, 40, 40, 0.08);
  transform: translateX(6px);
}
.about-block__list .material-icons {
  color: var(--primary);
  font-size: 22px;
}
.about-block__img {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.5s ease;
  font-size: 0;
  line-height: 0;
}
.about-block__img:hover {
  transform: translateY(-8px);
}
.about-block__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  transition: transform 0.6s ease;
}
.about-block__img:hover img { transform: scale(1.05); }
/* Decoración de fondo detrás de imágenes */
.about-block {
  overflow: visible;
}
.about-block__img-wrap {
  position: relative;
}
.about-block__img-wrap::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: var(--primary);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.85;
}
.about-block--reverse .about-block__img-wrap::before {
  top: auto;
  right: auto;
  bottom: -24px;
  left: -24px;
  background: var(--bg-dark);
}

@media (max-width: 900px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 80px;
  }
  .about-block--reverse .about-block__content { order: 1; }
  .about-block--reverse .about-block__img,
  .about-block--reverse .about-block__img-wrap { order: 2; }
  .about-block__num { font-size: 4rem; }
  .about-block__num::after {
    bottom: 2px;
    width: 50px;
    height: 3px;
  }
  .about-block__title { font-size: 1.7rem; }
  .about-block__img-wrap {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  .about-block__img {
    border-radius: 20px;
  }
  .about-block__img img {
    border-radius: 20px;
  }
  .about-block__img-wrap::before { display: none; }
}

@media (max-width: 480px) {
  .about-block__img { border-radius: 18px; }
  .about-block__img img { border-radius: 18px; }
}

/* ── GALLERY ── */
.gallery { padding: var(--section-py) 0; background: var(--white); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item { border-radius: var(--radius-lg); overflow: hidden; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ── TESTIMONIALS ── */
.testimonials { padding: var(--section-py) 0; background: var(--bg-section); position: relative; overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; z-index: 2; }

.testi-card {
  padding: 48px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.testi-card:hover { 
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--primary);
}

.testi-card__quote-icon {
  position: absolute;
  top: 30px; right: 40px;
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: rgba(0,0,0,0.05);
  pointer-events: none;
  transition: transform 0.5s var(--ease);
}

.testi-card:hover .testi-card__quote-icon {
  transform: translateY(-10px) rotate(-10px);
  color: rgba(214, 40, 40, 0.1);
}

.testi-card--orange {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testi-card--orange:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testi-card--orange .testi-card__quote-icon { color: rgba(255,255,255,0.15); }
.testi-card--orange .testi-card__stars { color: #FFD700; }
.testi-card--orange .testi-card__text { color: var(--white); font-weight: 500; }
.testi-card--orange strong { color: var(--white); }
.testi-card--orange span { color: var(--white); }
.testi-card--orange .testi-card__avatar { border: 2px solid rgba(255,255,255,0.4); }

.testi-card__stars { color: #FFB300; font-size: 14px; letter-spacing: 2px; margin-bottom: 24px; }

.testi-card__text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: var(--ink-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 32px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.testi-card__author { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px; }
.testi-card--orange .testi-card__author { border-top-color: rgba(255,255,255,0.1); }

.testi-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.testi-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card__meta strong { font-size: 1rem; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.testi-card__meta span { font-size: 0.8rem; color: var(--ink-light); font-weight: 500; }

/* ── CONTACTO ── */
.reservations { padding: var(--section-py) 0; background: #fffcf8; position: relative; }
.reservations::after {
  content: ''; position: absolute; bottom: 0; right: 0; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.05) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

.reservations__grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 120px; align-items: flex-start;
  position: relative; z-index: 1;
}

.reservations__details { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.reservations__details > div {
  background: var(--white);
  padding: 32px;
  border-radius: 20px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.reservations__details > div:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: var(--primary);
}

.reservations__details .material-icons {
  font-size: 26px; color: var(--primary); 
  background: rgba(214, 40, 40, 0.08);
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.reservations__details div:hover .material-icons {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.reservations__details strong { font-size: 0.85rem; text-transform: uppercase; color: var(--ink-light); letter-spacing: 0.05em; display: block; margin-bottom: 4px; }
.reservations__details p, .reservations__details a { font-size: 1.05rem; color: var(--bg-dark); font-weight: 500; }
.reservations__details a:hover { color: var(--primary); text-decoration: underline; }

.contact__lider {
  padding: 28px 32px; background: #0071CF;
  border-radius: 20px; display: flex; align-items: center; gap: 24px; margin-top: 48px;
  box-shadow: 0 4px 20px rgba(0,113,207,0.25); transition: all 0.4s var(--ease);
  border: none; text-decoration: none;
}
.contact__lider:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,113,207,0.32); }

.contact__lider-icon {
  width: 120px; height: 80px; background: transparent;
  border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding: 0;
}
.contact__lider-icon img {
  width: 100%; height: auto;
  object-fit: contain;
}

.contact__lider-text p { font-size: var(--fs-sm); color: rgba(255,255,255,0.9); line-height: 1.6; margin: 0; }
.contact__lider-text strong { color: var(--white); font-weight: 800; }
.lider-badge {
  display: inline-block; background: #FFD400; color: #0071CF; font-size: 0.68rem;
  font-weight: 900; text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px; letter-spacing: 0.1em;
}
.text-orange { color: #FFD400 !important; font-weight: 700; }

.reservations__form {
  padding: 64px;
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
}
.reservations__form::before {
  content: ''; position: absolute; top: -1px; left: -1px; width: 100%; height: 100%;
  border-radius: 36px; border: 1px solid rgba(255,255,255,0.5); z-index: -1;
}

.reservations__form h3 {
  font-family: var(--font-display); font-size: 2.2rem;
  font-weight: 800; color: var(--bg-dark); margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { margin-bottom: 32px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 800;
  margin-bottom: 12px; color: var(--bg-dark);
  text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7;
}

.form-group input, .form-group textarea {
  width: 100%; padding: 18px 24px;
  border: 1px solid #eef1f4; background: #fdfdfd;
  font-size: 1rem; color: var(--bg-dark);
  border-radius: 12px; transition: all 0.3s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 8px 16px rgba(214, 40, 40, 0.08);
}
.form-group textarea { resize: none; }

.reservations__form button {
  width: 100%; border-radius: 14px; padding: 20px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all 0.4s var(--ease);
}
.reservations__form button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
}

/* ── FOOTER ── */
.footer { padding: 100px 0 0; background: #0F0F0F; color: var(--white); position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% -20%, rgba(214, 40, 40, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.footer__inner {
  display: grid; grid-template-columns: 1.4fr 0.6fr 0.8fr 1.4fr;
  gap: 64px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative; z-index: 1;
}

.footer__brand-p { font-size: 0.95rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-top: 24px; }

.footer__socials { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(255,255,255,0.05);
}
.social-btn i { font-size: 20px; }
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 25px rgba(214, 40, 40, 0.4);
}
.social-btn--whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); }

.footer__links h5 {
  font-size: 0.85rem; font-weight: 800;
  color: var(--primary); margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 0.15em;
}

.footer__links a {
  display: flex; align-items: center; font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  padding: 8px 0; transition: all 0.3s var(--ease);
  gap: 12px;
}
.footer__links a i { font-size: 18px; color: var(--secondary); transition: transform 0.3s var(--ease); }
.footer__links a:hover { color: var(--white); transform: translateX(5px); }
.footer__links a:hover i { transform: scale(1.2); }

.footer__map { padding: 0; }
.footer__map iframe {
  border-radius: 18px;
  filter: none;
  transition: all 0.8s var(--ease);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  height: 220px; border: 1px solid rgba(255,255,255,0.1);
}
.footer__map:hover iframe { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 24px;
}

.footer__copyright {
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}

.footer__legal {
  display: flex; gap: 20px; align-items: center;
}

.footer__legal-link {
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
  padding: 6px 14px;
  border-radius: 40px;
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(255,255,255,0.05);
}

.footer__legal-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ── GSAP ANIMATION HELPERS ── */
#cursor-glow { pointer-events: none; z-index: 0; mix-blend-mode: normal; }
.sw { overflow: hidden; display: inline-block; vertical-align: bottom; }
.swi { display: inline-block; will-change: transform; }

/* 3D perspective for tilt cards */
.hl-card, .testi-card, .prod-card, .reservations__form {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
/* history__img NO lleva preserve-3d: cancela overflow:hidden en Chrome */
.history__img { overflow: hidden; border-radius: var(--radius-xl); }

/* Smooth initial state for animated elements */
.kicker, .section-title, .section-lead,
.historia__content p, .prod-card, .testi-card,
.contact__lider, .reservations__form, .reservations__info { will-change: transform, opacity; }

/* ── BACK TO TOP (eliminado) ── */

/* ── RESPONSIVE ── */

/* ─ TABLET (1024px) ─ */
@media (max-width: 1024px) {
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .productos__grid { grid-template-columns: repeat(3, 1fr); }
  .history__grid { grid-template-columns: 1fr; gap: 48px; }
  .testi-grid { grid-template-columns: 1fr; }
  .reservations__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__map { grid-column: span 2; }
  /* Cuando menú abierto: desactivar backdrop-filter del navbar (crea containing block) */
  body.menu-open .navbar,
  body.menu-open .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }
  .navbar__menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100dvh;
    margin: 0; padding: 0;
    background: linear-gradient(160deg, #1a1a1a 0%, #0f0f0f 60%, #1a1a1a 100%);
    z-index: var(--z-overlay);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .navbar__menu::before {
    content: '';
    position: absolute;
    top: -20%; right: -20%;
    width: 70%; height: 70%;
    background: radial-gradient(circle, rgba(232, 93, 93, 0.18) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }
  .navbar__menu::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -20%;
    width: 70%; height: 70%;
    background: radial-gradient(circle, rgba(232, 93, 93, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
  }
  .navbar__menu.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity 0.35s var(--ease);
  }
  .navbar__list {
    flex-direction: column; gap: 4px; align-items: stretch;
    width: 100%;
    padding: 0 24px;
    position: relative; z-index: 1;
  }
  .navbar__list li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .navbar__menu.open .navbar__list li { opacity: 1; transform: translateY(0); }
  .navbar__menu.open .navbar__list li:nth-child(1) { transition-delay: 0.08s; }
  .navbar__menu.open .navbar__list li:nth-child(2) { transition-delay: 0.14s; }
  .navbar__menu.open .navbar__list li:nth-child(3) { transition-delay: 0.2s; }
  .navbar__menu.open .navbar__list li:nth-child(4) { transition-delay: 0.26s; }
  .navbar__menu.open .navbar__list li:nth-child(5) { transition-delay: 0.32s; }
  .navbar__menu.open .navbar__list li:nth-child(6) { transition-delay: 0.38s; }
  .navbar__menu.open .navbar__list li:nth-child(7) { transition-delay: 0.44s; }
  .navbar__link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 14px 20px;
    color: #FFFFFF !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: left;
    transition: all 0.3s var(--ease);
    position: relative;
  }
  .navbar__link::before {
    content: '—';
    display: inline-block;
    margin-right: 14px;
    color: var(--primary);
    opacity: 0.6;
    transition: all 0.3s var(--ease);
  }
  .navbar__link:hover,
  .navbar__link.active {
    background: rgba(232, 93, 93, 0.12);
    border-color: rgba(232, 93, 93, 0.3);
    color: #FFFFFF !important;
    transform: translateX(4px);
  }
  .navbar__link:hover::before,
  .navbar__link.active::before {
    color: var(--primary);
    opacity: 1;
    margin-right: 18px;
  }
  .navbar.scrolled .navbar__link { color: #FFFFFF !important; }

  /* Hamburguesa mejorada en mobiles */
  .navbar__burger {
    display: block;
    position: relative;
    z-index: calc(var(--z-overlay) + 1);
    width: 44px; height: 44px; /* tap-target mínimo 44px */
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .navbar__burger span {
    background: #FFFFFF !important;
    width: 20px; height: 2px;
    left: 50%; transform: translateX(-50%);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .navbar__burger span:nth-child(1) { top: 14px; }
  .navbar__burger span:nth-child(2) { top: 50%; transform: translateX(-50%) translateY(-50%); }
  .navbar__burger span:nth-child(3) { bottom: 14px; }
  .navbar__burger.active {
    background: transparent;
    border-color: transparent;
  }
  .navbar__burger.active span { background: #FFFFFF !important; }
  .navbar__burger.active span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
  .navbar__burger.active span:nth-child(2) { opacity: 0; transform: translateX(-50%) translateY(-50%) scaleX(0); }
  .navbar__burger.active span:nth-child(3) { bottom: 50%; transform: translate(-50%, 50%) rotate(-45deg); }
  .navbar.scrolled .navbar__burger {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .navbar.scrolled .navbar__burger span { background: #0F0F0F !important; }

  /* Cuando el menú está abierto (burger.active), X siempre visible con position:fixed */
  .navbar__burger.active,
  .navbar.scrolled .navbar__burger.active {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 9999 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 44px !important;
    height: 44px !important;
  }
  .navbar__burger.active span,
  .navbar.scrolled .navbar__burger.active span {
    background: #FFFFFF !important;
  }
}

/* ─ MOBILE (768px) ─ */
@media (max-width: 768px) {
  :root { --section-py: 72px; }

  /* ── Navbar ── */
  .navbar {
    top: 10px;
    margin: 10px auto 0;
    width: calc(100% - 16px);
    padding: 6px 14px;
    border-radius: 18px;
  }
  .navbar.scrolled { padding: 4px 14px; border-radius: 16px; }
  .navbar__inner { height: 56px; }
  .navbar.scrolled .navbar__inner { height: 52px; }
  .navbar__logo-img { height: 48px; transform: translateY(0); }
  .navbar.scrolled .navbar__logo-img { height: 44px; transform: translateY(0); }
  .navbar__actions { gap: 10px; }

  /* ── Hero ── */
  .hero { padding: 150px 0 80px; text-align: center; }
  .hero__content { padding-left: 24px; padding-right: 24px; }
  .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.25em; padding: 7px 18px; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3rem); line-height: 1.12; margin-bottom: 20px; }
  .hero__lead { font-size: 0.95rem; line-height: 1.75; max-width: 100%; margin-bottom: 36px; }
  .hero__actions { flex-direction: column; align-items: center; gap: 14px; }

  .hero__actions .btn { width: 100%; max-width: 360px; justify-content: center; padding: 16px 28px; font-size: 0.95rem; }
  .hero__lider { font-size: 0.78rem; padding: 10px 20px; margin-top: 28px; }
  .hero__scroll { bottom: 28px; }

  /* ── Section headers ── */
  .section-header { text-align: center; }
  .section-header--left { text-align: left; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .section-lead { font-size: 0.95rem; line-height: 1.75; }

  /* ── Servicios ── */
  .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-radius: 0;
    overflow: visible;
  }
  .hl-card {
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0; border-right: none !important; border: none;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    background: var(--white);
  }
  .hl-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
  .hl-card__img {
    display: block !important;
    width: 100%; height: 130px;
    object-fit: cover; border-radius: 0;
    margin-bottom: 0; flex-shrink: 0;
  }
  .hl-card h3 { font-size: 0.9rem; font-weight: 700; padding: 14px 20px 6px; margin: 0; }
  .hl-card p { font-size: 0.8rem; line-height: 1.6; padding: 0 20px 18px; margin: 0; }

  /* ── Nosotros ── */
  .history { padding: var(--section-py) 0; }
  .history__grid { grid-template-columns: 1fr; gap: 40px; }
  .history__content { order: 1; }
  .history__img { order: 2; }
  .history__content p { font-size: 0.95rem; line-height: 1.8; }
  .history__img img { height: 300px; }
  .history__signature { flex-wrap: wrap; gap: 14px; margin-top: 28px; padding-top: 24px; }
  .history__signature img { width: 52px; height: 52px; }

  /* ── Productos ── */
  .productos__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .prod-card__img-wrap { height: 150px; }
  .prod-card__name { font-size: 0.82rem; }
  .prod-card__info { padding: 14px; }
  .productos__footer { margin-top: 8px; }
  .productos__footer .btn { width: 100%; max-width: 400px; justify-content: center; }

  /* ── Testimonios ── */
  .testi-grid { grid-template-columns: 1fr; gap: 20px; }
  .testi-card { padding: 36px 28px; border-radius: 20px; }
  .testi-card__quote-icon { font-size: 4rem; top: 20px; right: 24px; }
  .testi-card__text { font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; }
  .testi-card__stars { margin-bottom: 16px; }

  /* ── Contacto ── */
  .reservations__grid { grid-template-columns: 1fr; gap: 40px; }
  .reservations__info { order: 2; }
  .reservations__form { order: 1; padding: 36px 28px; border-radius: 24px; }
  .reservations__form h3 { font-size: 1.6rem; margin-bottom: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-group { margin-bottom: 20px; }
  .form-group input, .form-group textarea { padding: 15px 18px; font-size: 0.95rem; }
  .reservations__details { gap: 14px; margin-top: 0; }
  .reservations__details > div { padding: 20px 20px; gap: 16px; border-radius: 16px; }
  .reservations__details .material-icons { width: 46px; height: 46px; font-size: 22px; }
  .contact__lider { flex-direction: row; gap: 16px; padding: 20px 22px; margin-top: 20px; }
  .contact__lider-icon { width: 90px; height: 58px; }

  /* ── Footer ── */
  .footer { padding: 64px 0 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 48px; }
  .footer__map { grid-column: span 2; }
  .footer__map iframe { height: 190px; }
  .footer__socials { gap: 10px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 16px; }
  .footer__legal { justify-content: center; flex-wrap: wrap; gap: 12px; }

  /* ── Misc ── */
  .section-title-with-img { flex-direction: column; gap: 20px; }
  .back-to-top { bottom: 20px; right: 16px; width: 42px; height: 42px; }
}

/* ─ SMALL MOBILE (480px) ─ */
@media (max-width: 480px) {
  :root { --section-py: 60px; }

  /* ── Hero ── */
  .hero { padding: 130px 0 64px; }
  .hero__content { padding-left: 28px; padding-right: 28px; }
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero__lead { font-size: 0.88rem; }
  .hero__lider { display: none; }
  .hero__actions .btn { max-width: 100%; }

  /* ── Servicios ── */
  .highlights__grid { grid-template-columns: 1fr; gap: 14px; }
  .hl-card__img { height: 160px; }
  .hl-card h3 { font-size: 0.97rem; padding: 16px 22px 6px; }
  .hl-card p { font-size: 0.84rem; padding: 0 22px 18px; line-height: 1.58; }

  /* ── Nosotros ── */
  .history__img img { height: 240px; }
  .history__content p { font-size: 0.9rem; }

  /* ── Productos ── */
  .productos__grid { grid-template-columns: 1fr; gap: 14px; }
  .prod-card { flex-direction: row; align-items: stretch; }
  .prod-card__img-wrap { aspect-ratio: unset; height: 120px; width: 110px; flex-shrink: 0; border-radius: 16px 0 0 16px; }
  .prod-card__img-wrap img { padding: 8px; }
  .prod-card__info { padding: 14px 16px; gap: 4px; justify-content: center; }
  .prod-card__brand { font-size: 0.65rem; }
  .prod-card__name { font-size: 0.82rem; -webkit-line-clamp: 2; line-clamp: 2; }
  .prod-card__cta { font-size: 0.8rem; margin-top: 4px; }
  .prod-card:hover { transform: none; }

  /* ── Testimonios ── */
  .testi-card { padding: 28px 20px; border-radius: 18px; }
  .testi-card__text { font-size: 0.9rem; }
  .testi-card__quote-icon { font-size: 3rem; top: 16px; right: 18px; }

  /* ── Contacto ── */
  .reservations__form { padding: 28px 20px; border-radius: 20px; }
  .reservations__form h3 { font-size: 1.4rem; margin-bottom: 24px; }
  .reservations__form button { padding: 16px; font-size: 0.85rem; }
  .reservations__details > div { padding: 16px 18px; gap: 14px; }
  .contact__lider { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 22px 20px; }
  .contact__lider-icon { width: 130px; height: 76px; }
  .lider-badge { display: block; margin-bottom: 8px; }
  .contact__lider-text p { font-size: 0.88rem; }

  /* ── Footer ── */
  .footer { padding: 56px 0 0; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer__map { grid-column: span 1; }
  .footer__map iframe { height: 170px; border-radius: 14px; }
  .footer__links h5 { margin-bottom: 16px; }
  .footer__links a { padding: 6px 0; font-size: 0.88rem; }
  .footer__brand-p { font-size: 0.88rem; }
  .footer__socials { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 0; }
  .footer__legal { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .footer__copyright { font-size: 0.72rem; }

  /* ── Misc ── */
  .section-header { text-align: center; }
  .section-header--left { text-align: left; }
  .kicker { font-size: 0.68rem; padding: 6px 16px; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .section-lead { font-size: 0.88rem; }
  .btn--lg { padding: 14px 22px; font-size: 0.88rem; }
  .carta__tabs { gap: 6px; flex-wrap: wrap; }
  .carta__tab { padding: 9px 14px; font-size: 0.8rem; }
  .carta__item { flex-direction: column; gap: 12px; align-items: flex-start; padding: 20px 0; }
  .carta__item > span { align-self: flex-end; }
}

/* ──────────────────────────────────────────────
   HERO SPLIT (override) — texto izquierda + imagen derecha
   ────────────────────────────────────────────── */
.hero.hero--split {
  background: var(--bg-dark) !important;
  min-height: 80vh !important;
  padding: 180px 0 90px !important;
  text-align: left !important;
  display: block !important;
  overflow: hidden;
}
.hero.hero--split .container {
  max-width: 1600px;
}
.hero.hero--split .hero__bg { display: block; }
.hero.hero--split .hero__overlay { display: block; }

.hero__split-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 40px;
  align-items: center;
}

.hero.hero--split .hero__eyebrow {
  display: inline-block;
  color: var(--primary);
  background: rgba(232, 93, 93, 0.08);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  margin-bottom: 24px;
}

.hero.hero--split .hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
  text-shadow: none;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero.hero--split .hero__title-red {
  color: var(--primary);
  text-shadow: none;
}

.hero.hero--split .hero__lead {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 0 20px;
  line-height: 1.75;
}

.hero.hero--split .hero__actions {
  justify-content: flex-start;
  margin-bottom: 0;
}

.hero__img-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__feature-img {
  width: 1100px !important;
  height: 700px !important;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero.hero--split .hero__scroll { display: none; }

/* Navbar sobre fondo blanco: ajusta colores iniciales del nav */
.hero.hero--split ~ * .navbar__link,
body:has(.hero.hero--split) .navbar:not(.scrolled) .navbar__link { color: var(--ink); }
body:has(.hero.hero--split) .navbar:not(.scrolled) .navbar__burger span { background: var(--bg-dark); }

@media (max-width: 900px) {
  .hero__split-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero.hero--split { padding: 130px 0 60px; text-align: center; }
  .hero.hero--split .hero__lead { margin-left: auto; margin-right: auto; }
  .hero.hero--split .hero__actions { justify-content: center; }
  .hero__img-col { order: -1; }
  .hero__feature-img {
    width: 100% !important;
    max-width: 520px !important;
    height: 280px !important;
    object-fit: cover;
  }
}

/* ── PRICING / LISTA DE PRECIOS ── */
.pricing {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  overflow: hidden;
}
.pricing__bg-deco {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pricing .container { position: relative; z-index: 1; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  padding: 44px 36px 36px;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--border);
  transition: background var(--duration);
}
.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.pricing-card:hover::before {
  background: var(--primary);
}
.pricing-card--featured {
  background: linear-gradient(160deg, #2A2A2A 0%, #1A1A1A 100%);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-20px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
  z-index: 2;
}
.pricing-card--featured::before {
  background: var(--primary);
  height: 6px;
}
.pricing-card--featured:hover {
  transform: translateY(-28px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.pricing-card__ribbon {
  position: absolute;
  top: 24px;
  right: -42px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 50px;
  transform: rotate(40deg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.pricing-card__header {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card--featured .pricing-card__header {
  border-bottom-color: rgba(255,255,255,0.1);
}
.pricing-card__badge-plan {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(232, 93, 93, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.pricing-card--featured .pricing-card__badge-plan {
  background: rgba(232, 93, 93, 0.2);
  color: #FF8A8A;
}
.pricing-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--bg-dark);
}
.pricing-card--featured .pricing-card__title {
  color: var(--white);
}
.pricing-card__subtitle {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}
.pricing-card--featured .pricing-card__subtitle {
  color: rgba(255,255,255,0.65);
}
.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.pricing-card--featured .pricing-card__price {
  border-bottom-color: rgba(255,255,255,0.1);
}
.pricing-card__currency {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-light);
  margin-bottom: 4px;
}
.pricing-card--featured .pricing-card__currency {
  color: rgba(255,255,255,0.5);
}
.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-card--featured .pricing-card__amount {
  color: var(--white);
}
.pricing-card__period {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-top: 6px;
}
.pricing-card--featured .pricing-card__period {
  color: rgba(255,255,255,0.55);
}
/* Cotización personalizada */
.pricing-card__price--quote .pricing-card__quote-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: rgba(232, 93, 93, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.pricing-card__price--quote .pricing-card__quote-label .material-icons {
  font-size: 15px;
}
.pricing-card--featured .pricing-card__price--quote .pricing-card__quote-label {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}
.pricing-card__quote-main {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-card--featured .pricing-card__quote-main {
  background: linear-gradient(135deg, var(--white) 0%, #FFB8B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
}
.pricing-card__features li .material-icons {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-card--featured .pricing-card__features li {
  color: rgba(255,255,255,0.85);
}
.pricing-card--featured .pricing-card__features li .material-icons {
  color: #FF8A8A;
}
.pricing-card__feature--muted {
  opacity: 0.45;
  text-decoration: line-through;
}
.pricing-card__feature--muted .material-icons {
  color: var(--ink-light) !important;
}
.pricing-card__cta {
  width: 100%;
  justify-content: center;
}
.pricing-card--featured .btn--outline {
  border-color: var(--white);
  color: var(--white);
}
.pricing-card--featured .btn--outline:hover {
  background: var(--white);
  color: var(--bg-dark);
}

.pricing__footer {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.pricing__note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.98rem;
  color: var(--ink-light);
  background: linear-gradient(135deg, rgba(214,40,40,0.05) 0%, rgba(232,93,93,0.08) 100%);
  padding: 22px 36px;
  border-radius: 18px;
  width: 100%;
  max-width: 960px;
  line-height: 1.7;
  text-align: left;
  border: 1px solid rgba(214,40,40,0.12);
  box-shadow: 0 6px 24px rgba(214,40,40,0.06);
}
.pricing__note-text {
  flex: 1;
  display: block;
}
.pricing__note strong {
  color: var(--ink);
  font-weight: 700;
}
.pricing__note .material-icons {
  color: var(--primary);
  font-size: 24px;
  flex-shrink: 0;
  background: rgba(214,40,40,0.12);
  padding: 8px;
  border-radius: 50%;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card--featured {
    transform: translateY(0);
  }
  .pricing-card--featured:hover {
    transform: translateY(-10px);
  }
}
@media (max-width: 640px) {
  .pricing-card { padding: 32px 24px 28px; }
  .pricing-card__amount { font-size: 2.4rem; }
  .pricing-card__title { font-size: 1.25rem; }
  .pricing__note { font-size: 0.9rem; padding: 20px 24px; gap: 14px; line-height: 1.65; }
  .pricing__note .material-icons { font-size: 22px; padding: 7px; }
}

/* ═══════════════════════════════════════════
   SECCIÓN EQUIPOS EN ACCIÓN (VIDEOS)
   ═══════════════════════════════════════════ */
.equipos {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
}
.equipos__bg-deco {
  position: absolute;
  top: 20%;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.equipos .container { position: relative; z-index: 1; }

.equipo-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 100px;
}
.equipo-row--right .equipo-row__media {
  order: 2;
}
.equipo-row--right .equipo-row__content {
  order: 1;
}

/* Media (video wrapper) */
.equipo-row__media {
  position: relative;
}
.equipo-row__video-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: none;
  background: #0F0F0F;
  aspect-ratio: 9 / 14;
  max-height: 480px;
  transition: transform 0.5s var(--ease);
}
.equipo-row__video-wrap:hover {
  transform: translateY(-8px);
  box-shadow: none;
}
.equipo-row__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}
.equipo-row__video-bg { display: none; }
.equipo-row__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #C44545 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(232, 93, 93, 0.5);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 2;
}
.equipo-row__play::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(232, 93, 93, 0.4);
  animation: play-ring 2s ease-out infinite;
}
@keyframes play-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.equipo-row__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.equipo-row__play .material-icons {
  font-size: 44px;
  margin-left: 4px;
}
/* Botón fullscreen oculto — tocar el video directamente abre pantalla completa */
.equipo-row__video-wrap .equipo-row__play { opacity: 0; pointer-events: none; }
.equipo-row__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 30px;
  z-index: 2;
}
.equipo-row__badge .material-icons {
  font-size: 15px;
  color: #ff5b5b;
  animation: badge-blink 1.5s ease-in-out infinite;
}
@keyframes badge-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Content */
.equipo-row__content {
  position: relative;
}
.equipo-row__num {
  position: absolute;
  top: -40px;
  left: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(232, 93, 93, 0.06);
  letter-spacing: -0.05em;
  z-index: 0;
  user-select: none;
}
/* En mobile el número ahora es un elemento directo del grid (no absoluto) */
@media (max-width: 768px) {
  .equipo-row__num {
    position: static !important;
    top: auto !important;
    left: auto !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 1;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary) 0%, #c72c2c 100%);
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2 !important;
    width: fit-content;
    margin-bottom: 8px;
  }
}
.equipo-row__kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  background: rgba(232, 93, 93, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.equipo-row__title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bg-dark);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.equipo-row__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-light);
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}
.equipo-row__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  position: relative;
  z-index: 1;
}
.equipo-row__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.equipo-row__features .material-icons {
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .equipo-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 72px;
  }
  .equipo-row--right .equipo-row__media {
    order: 1;
  }
  .equipo-row--right .equipo-row__content {
    order: 2;
  }
  .equipo-row__video-wrap {
    aspect-ratio: 16 / 11;
    max-height: none;
  }
  .equipo-row__title { font-size: 1.7rem; }
  .equipo-row__num { font-size: 5rem; top: -30px; }
  .equipo-row__features { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   SECCIÓN GALERÍA DE TRABAJOS
   ═══════════════════════════════════════════ */
.galeria {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  overflow: hidden;
  isolation: isolate;
}
.galeria__bg-deco {
  position: absolute;
  top: 10%;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.galeria .container { position: relative; z-index: 1; }

/* ── CATEGORÍAS ── */
.galeria-cat {
  margin-top: 80px;
}
.galeria-cat:first-of-type { margin-top: 64px; }
.galeria-cat__header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(232, 93, 93, 0.15);
}
.galeria-cat__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #C44545 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  flex-shrink: 0;
}
.galeria-cat__icon .material-icons { font-size: 28px; }
.galeria-cat__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.galeria-cat__desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0;
}
.galeria-cat__count {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(232, 93, 93, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 30px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .galeria-cat__header {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }
  .galeria-cat__count {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 4px;
  }
  .galeria-cat__title { font-size: 1.25rem; }
  .galeria-cat__desc { font-size: 0.88rem; }
}

/* ── CARRUSEL AUTO-SCROLL CON INFO CARDS ── */
.galeria-carousel {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
  /* Forzar ancho completo del viewport rompiendo el padding del container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.galeria-carousel::-webkit-scrollbar { display: none; }
/* Fade overlays laterales que NO interfieren con clicks */
.galeria-carousel::before,
.galeria-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5%;
  pointer-events: none;
  z-index: 3;
}
.galeria-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg, #fff) 0%, transparent 100%);
}
.galeria-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg, #fff) 0%, transparent 100%);
}
.galeria-carousel__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 24px;
  animation: galeria-marquee 60s linear infinite;
}
.galeria-carousel--reverse .galeria-carousel__track {
  animation-direction: reverse;
}
.galeria-carousel:hover .galeria-carousel__track,
.galeria-carousel__track:hover {
  animation-play-state: paused;
}
@keyframes galeria-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Card con imagen + info — GLASSMORPHISM BLANCO iOS PREMIUM */
.galeria-carousel__card {
  flex: 0 0 auto;
  width: 320px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(250,250,253,0.82) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(0,0,0,0.03),
    0 6px 16px rgba(0,0,0,0.05),
    0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s, border-color 0.3s;
  grid-column: auto !important;
  grid-row: auto !important;
  position: relative;
}
.galeria-carousel__card::before,
.galeria-carousel__card::after { content: none !important; }
.galeria-carousel__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(214,40,40,0.08),
    0 10px 24px rgba(214,40,40,0.08),
    0 2px 5px rgba(0,0,0,0.04);
  border-color: rgba(255,255,255,1);
}

.galeria-carousel__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f2f2f5 0%, #e8e8ec 100%);
  border-radius: 22px 22px 0 0;
}
.galeria-carousel__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
  z-index: 1;
}
.galeria-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
  filter: saturate(1.05);
}
.galeria-carousel__card:hover .galeria-carousel__media img {
  transform: scale(1.1);
  filter: saturate(1.15);
}

.galeria-carousel__info {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.4) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
/* Línea acento superior tipo iOS pill */
.galeria-carousel__info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 20%, var(--primary) 80%, transparent 100%);
  border-radius: 2px;
  opacity: 0.8;
}
.galeria-carousel__info h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.galeria-carousel__info p {
  font-size: 0.83rem;
  color: rgba(40, 40, 45, 0.7);
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

/* ── Flechas del carrusel ── */
.galeria-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: background 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  mask-image: none;
  -webkit-mask-image: none;
}
.galeria-carousel__arrow:hover { background: var(--primary); color: #fff; }
.galeria-carousel__arrow:active { transform: translateY(-50%) scale(0.94); }
.galeria-carousel__arrow--prev { left: 10px; }
.galeria-carousel__arrow--next { right: 10px; }
.galeria-carousel__arrow .material-icons { font-size: 28px; }

/* ── Botón Ver todas ── */
.galeria-cat__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  margin-left: 10px;
}
.galeria-cat__view-all:hover { background: #a01f1f; transform: translateY(-2px); }
.galeria-cat__view-all .material-icons { font-size: 18px; }

/* ── Modal Grid (cascada) — FONDO BLANCO SIMPLE ── */
.galeria-grid-modal {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
  padding: 0;
  touch-action: pan-y;
  overscroll-behavior: contain;
}
.galeria-grid-modal.is-open { opacity: 1; visibility: visible; }
/* Bloquear scroll de la página cuando el modal grid está abierto */
body.grid-modal-open {
  overflow: hidden !important;
}

.galeria-grid-modal__header {
  display: none;
}
/* Botón cerrar flotante */
.galeria-grid-modal__close-float {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0,0,0,0.1);
  color: #1a1a1a;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99999;
  pointer-events: auto;
}
.galeria-grid-modal__close-float:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(90deg);
  border-color: var(--primary);
}
.galeria-grid-modal__close-float .material-icons { font-size: 24px; }
.galeria-grid-modal__title {
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  color: #0a0a0a;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.galeria-grid-modal__close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.04);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset;
}
.galeria-grid-modal__close:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08) rotate(90deg);
  border-color: var(--primary);
}
.galeria-grid-modal__close .material-icons { font-size: 22px; }

.galeria-grid-modal__grid {
  column-count: 4;
  column-gap: 16px;
  padding: 28px 28px 60px;
  position: relative;
  z-index: 1;
}
.galeria-grid-modal__item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 6px 20px rgba(0,0,0,0.06);
  position: relative;
}
.galeria-grid-modal__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galeria-grid-modal__item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 20px 50px rgba(214,40,40,0.18),
    0 0 0 1px rgba(214,40,40,0.2);
}
.galeria-grid-modal__item:hover::after { opacity: 1; }
.galeria-grid-modal__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.galeria-grid-modal__item:hover img { transform: scale(1.05); }
@media (max-width: 1024px) {
  .galeria-grid-modal__grid { column-count: 3; }
}
@media (max-width: 720px) {
  .galeria-grid-modal__grid { column-count: 2; padding: 16px; }
  .galeria-grid-modal__header { padding: 14px 18px; }
  .galeria-grid-modal__title { font-size: 1rem; }
}
@media (max-width: 420px) {
  .galeria-grid-modal__grid { column-count: 2; column-gap: 8px; }
  .galeria-grid-modal__item { margin-bottom: 8px; border-radius: 8px; }
}

@media (max-width: 720px) {
  .galeria-carousel__card { width: 260px; }
  .galeria-carousel__info { padding: 12px 14px 14px; }
  .galeria-carousel__info h5 { font-size: 0.92rem; }
  .galeria-carousel__info p { font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .galeria-carousel__card { width: 220px; }
}

/* ── MASONRY (conservado por si acaso, solo se aplica si se usa) ── */
.galeria__masonry {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
  gap: 14px;
}
.galeria__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  background: #eee;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.galeria__item::before {
  content: 'zoom_in';
  font-family: 'Material Icons';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.galeria__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
/* Carrusel: sombra aún más sutil, deja que la de carousel__card mande */
.galeria-carousel__card.galeria__item:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(214,40,40,0.06),
    0 8px 18px rgba(0,0,0,0.05);
}
.galeria__item:hover::after { opacity: 1; }
.galeria__item:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.galeria__item:hover img {
  transform: scale(1.08);
}
/* Tamaños variados para masonry */
.galeria__item { grid-column: span 2; grid-row: span 2; }
.galeria__item--tall { grid-column: span 2; grid-row: span 3; }
.galeria__item--wide { grid-column: span 3; grid-row: span 2; }

@media (max-width: 900px) {
  .galeria__masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
  }
  .galeria__item { grid-column: span 2; grid-row: span 2; }
  .galeria__item--tall { grid-column: span 2; grid-row: span 3; }
  .galeria__item--wide { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 560px) {
  .galeria__masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 10px;
  }
  .galeria__item { grid-column: span 1; grid-row: span 1; }
  .galeria__item--tall { grid-column: span 1; grid-row: span 2; }
  .galeria__item--wide { grid-column: span 2; grid-row: span 1; }
}

/* ── DIVISOR ── */
.galeria__divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 80px auto 48px;
  max-width: 800px;
}
.galeria__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 93, 93, 0.3), transparent);
}
.galeria__divider-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  padding: 10px 22px;
  background: rgba(232, 93, 93, 0.08);
  border: 1px solid rgba(232, 93, 93, 0.2);
  border-radius: 30px;
  white-space: nowrap;
}
.galeria__divider-text .material-icons { font-size: 18px; }

/* ── MARQUEE ── */
.galeria__marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 -24px;
  /* sacar de container para full width */
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.galeria__marquee {
  overflow: hidden;
  width: 100%;
}
.galeria__marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
.galeria__marquee:hover .galeria__marquee-track {
  animation-play-state: paused;
}
.galeria__marquee--right .galeria__marquee-track {
  animation-direction: reverse;
  animation-duration: 55s;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.galeria__marquee-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  position: relative;
}
.galeria__marquee-item:hover {
  transform: scale(1.05);
  z-index: 2;
}
.galeria__marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.galeria__marquee-item:hover img {
  transform: scale(1.1);
}
@media (max-width: 640px) {
  .galeria__marquee-item { width: 200px; height: 150px; }
}

/* ── CTA ── */
.galeria__cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(232, 93, 93, 0.05) 0%, rgba(232, 93, 93, 0.02) 100%);
  border-radius: 24px;
  border: 1px solid rgba(232, 93, 93, 0.1);
}
.galeria__cta-text {
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */
.galeria-lightbox {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(214, 40, 40, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(90, 90, 255, 0.12) 0%, transparent 55%),
    rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s;
  padding: 40px;
}
.galeria-lightbox::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.galeria-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.galeria-lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}
.galeria-lightbox.is-open .galeria-lightbox__content {
  transform: scale(1);
  opacity: 1;
}
.galeria-lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 40px 100px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08);
  user-select: none;
}
.galeria-lightbox__caption {
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 720px;
  text-align: center;
  margin: 0;
  padding: 10px 22px;
  font-weight: 500;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.galeria-lightbox__counter {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
}
.galeria-lightbox__close,
.galeria-lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 10px 30px rgba(0,0,0,0.35);
}
.galeria-lightbox__close:hover,
.galeria-lightbox__nav:hover {
  background: rgba(214, 40, 40, 0.85);
  border-color: rgba(255,255,255,0.35);
  transform: scale(1.08);
}
.galeria-lightbox__close {
  top: 30px;
  right: 30px;
}
.galeria-lightbox__nav { top: 50%; transform: translateY(-50%); }
.galeria-lightbox__nav:hover { transform: translateY(-50%) scale(1.1); }
.galeria-lightbox__nav--prev { left: 30px; }
.galeria-lightbox__nav--next { right: 30px; }
.galeria-lightbox__nav .material-icons { font-size: 32px; }
.galeria-lightbox__close .material-icons { font-size: 26px; }

@media (max-width: 640px) {
  .galeria-lightbox {
    padding: 0;
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .galeria-lightbox__content {
    max-width: 100%;
    max-height: none;
    width: 100%;
    padding: 64px 16px 24px;
    min-height: 100%;
    justify-content: center;
    gap: 12px;
  }
  .galeria-lightbox__img {
    max-height: 60vh;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
  }
  .galeria-lightbox__close {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: 14px;
    width: 44px; height: 44px;
    z-index: 10001;
    background: rgba(214,40,40,0.9);
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
  }
  .galeria-lightbox__close .material-icons { font-size: 24px; }
  .galeria-lightbox__nav {
    position: fixed !important;
    top: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    transform: none !important;
    width: 48px; height: 48px;
    z-index: 10001;
  }
  .galeria-lightbox__nav:hover { transform: none !important; }
  .galeria-lightbox__nav--prev { left: 16px; }
  .galeria-lightbox__nav--next { right: 16px; }
  .galeria-lightbox__nav .material-icons { font-size: 26px; }
  .galeria-lightbox__caption {
    font-size: 0.9rem;
    max-width: 100%;
    padding: 0 12px;
    line-height: 1.55;
    max-height: 22vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .galeria-lightbox__counter {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

}

/* Ocultar navbar cuando el lightbox o el grid modal están abiertos (todos los tamaños) */
body.lightbox-open .navbar,
body.grid-modal-open .navbar { display: none !important; }

/* ═══════════════════════════════════════════
   SECCIÓN CONTACTO & COTIZACIÓN
   ═══════════════════════════════════════════ */
.contacto {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
  overflow: hidden;
  isolation: isolate;
}
.contacto__bg-deco {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 93, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.contacto__bg-deco--2 {
  top: auto;
  bottom: -150px;
  right: auto;
  left: -200px;
  background: radial-gradient(circle, rgba(30, 30, 30, 0.06) 0%, transparent 70%);
}
.contacto .container { position: relative; z-index: 1; }

.contacto__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}

@media (max-width: 980px) {
  .contacto__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── FORMULARIO ── */
.contacto__form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
}
.contacto__form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.contacto__form-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #C44545 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(232, 93, 93, 0.3);
  flex-shrink: 0;
}
.contacto__form-icon .material-icons { font-size: 26px; }
.contacto__form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.contacto__form-subtitle {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin: 0;
}

.contacto-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .contacto-form__row { grid-template-columns: 1fr; }
}
.contacto-form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.contacto-form__row .contacto-form__group { margin-bottom: 0; }
.contacto-form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: 0.01em;
}
.contacto-form__group label .required { color: var(--primary); }
.contacto-form__group input,
.contacto-form__group select,
.contacto-form__group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--bg-dark);
  background: #fafafa;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contacto-form__group input:focus,
.contacto-form__group select:focus,
.contacto-form__group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(232, 93, 93, 0.1);
}
.contacto-form__group input::placeholder,
.contacto-form__group textarea::placeholder {
  color: #9ca3af;
}
.contacto-form__group textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
  line-height: 1.55;
}
.contacto-form__group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.contacto-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contacto-form__submit,
.contacto-form__wa {
  flex: 1;
  min-width: 200px;
  justify-content: center;
  padding: 14px 24px !important;
  font-weight: 700;
}
.contacto-form__divider {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0 8px;
}
@media (max-width: 640px) {
  .contacto-form__actions { flex-direction: column; }
  .contacto-form__submit,
  .contacto-form__wa { width: 100%; flex: none; }
  .contacto-form__divider { width: 100%; text-align: center; }
}
.btn--wa {
  background: linear-gradient(135deg, #25D366 0%, #1ebd5a 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.btn--wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  color: var(--white);
}
.contacto-form__privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.5;
}
.contacto-form__privacy .material-icons { font-size: 16px; color: var(--primary); }

/* Estados de validación */
.contacto-form__group.has-error input,
.contacto-form__group.has-error select,
.contacto-form__group.has-error textarea {
  border-color: #ef4444;
  background: #fef2f2;
}
.contacto-form__group.has-success input,
.contacto-form__group.has-success select,
.contacto-form__group.has-success textarea {
  border-color: #22c55e;
}

/* ── INFO CARDS ── */
.contacto__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacto-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
a.contacto-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  border-color: rgba(232, 93, 93, 0.2);
}
.contacto-info-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(232, 93, 93, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.contacto-info-card__icon .material-icons { font-size: 24px; }
a.contacto-info-card:hover .contacto-info-card__icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
}
.contacto-info-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.contacto-info-card p {
  font-size: 0.85rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.5;
}
.contacto-info-card p small {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* Card destacada */
.contacto-info-card--highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #C44545 100%);
  border: none;
  box-shadow: 0 10px 28px rgba(232, 93, 93, 0.28);
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.contacto-info-card--highlight .contacto-info-card__icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.contacto-info-card--highlight h4 {
  color: var(--white);
  font-size: 1.1rem;
}
.contacto-info-card--highlight p {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
}

/* Card WhatsApp */
.contacto-info-card--wa .contacto-info-card__icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}
a.contacto-info-card--wa:hover .contacto-info-card__icon {
  background: #25D366;
  color: var(--white);
}

/* Card social */
.contacto-info-card--social {
  flex-direction: column;
  align-items: flex-start;
}
.contacto-info-card--social h4 { margin-bottom: 10px; }
.contacto-info-card__social {
  display: flex;
  gap: 10px;
}
.contacto-info-card__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(232, 93, 93, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}
.contacto-info-card__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}
.contacto-info-card__social .material-icons { font-size: 20px; }

/* Mensaje de éxito */
.contacto-form__success {
  display: none;
  padding: 20px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: var(--white);
  border-radius: 12px;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  animation: fadeInUp 0.5s ease-out;
}
.contacto-form__success.is-visible { display: block; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ CONTACTO — RESPONSIVE MOBILE ═══ */
@media (max-width: 768px) {
  .contacto { padding: 64px 0; }
  .contacto__bg-deco { width: 320px; height: 320px; right: -120px; top: -60px; }
  .contacto__bg-deco--2 { left: -120px; bottom: -100px; }
  .contacto__grid { margin-top: 36px; gap: 20px; }

  .contacto__form-wrap {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .contacto__form-header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
  .contacto__form-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .contacto__form-icon .material-icons { font-size: 22px; }
  .contacto__form-title { font-size: 1.15rem; }
  .contacto__form-subtitle { font-size: 0.8rem; }

  .contacto-form__row { gap: 12px; margin-bottom: 12px; }
  .contacto-form__group { gap: 6px; margin-bottom: 12px; }
  .contacto-form__group label { font-size: 0.82rem; }
  .contacto-form__group input,
  .contacto-form__group select,
  .contacto-form__group textarea {
    padding: 11px 13px;
    font-size: 0.9rem;
    border-radius: 9px;
  }
  .contacto-form__group textarea { min-height: 96px; }

  .contacto-form__actions {
    gap: 12px;
    margin-top: 6px;
  }
  .contacto-form__submit,
  .contacto-form__wa {
    min-width: 0;
    width: 100%;
    flex: none;
    padding: 13px 20px !important;
    font-size: 0.9rem;
  }
  .contacto-form__actions .btn { font-size: 0.9rem; }
  .contacto-form__actions .material-icons { font-size: 18px; }
  .contacto-form__divider {
    width: 100%;
    text-align: center;
    padding: 2px 0;
    font-size: 0.72rem;
  }
  .contacto-form__privacy {
    margin-top: 14px;
    padding: 10px 12px;
    font-size: 0.76rem;
    line-height: 1.45;
  }
  .contacto-form__privacy .material-icons { font-size: 14px; }

  .contacto__info { gap: 12px; }
  .contacto-info-card {
    padding: 16px;
    gap: 14px;
    border-radius: 14px;
  }
  .contacto-info-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .contacto-info-card__icon .material-icons { font-size: 20px; }
  .contacto-info-card h4 { font-size: 0.9rem; }
  .contacto-info-card p { font-size: 0.8rem; }
  .contacto-info-card p small { font-size: 0.72rem; }
  .contacto-info-card--highlight { padding: 20px; }
  .contacto-info-card--highlight h4 { font-size: 1rem; }
  .contacto-info-card--highlight p { font-size: 0.82rem; }
  .contacto-info-card__social a { width: 36px; height: 36px; }
  .contacto-info-card__social .material-icons { font-size: 18px; }
}

@media (max-width: 480px) {
  .contacto { padding: 52px 0; }
  .contacto__form-wrap { padding: 20px 16px; border-radius: 18px; }
  .contacto__form-header {
    flex-wrap: wrap;
    gap: 10px;
  }
  .contacto__form-header > div { flex: 1 1 100%; min-width: 0; }
  .contacto__form-title { font-size: 1.05rem; }
  .contacto__form-subtitle { font-size: 0.75rem; }

  .contacto-form__group input,
  .contacto-form__group select,
  .contacto-form__group textarea {
    font-size: 16px; /* evita zoom en iOS */
    padding: 11px 12px;
  }
  .contacto-info-card {
    padding: 14px;
    gap: 12px;
  }
  .contacto-info-card h4 { font-size: 0.88rem; }
  .contacto-info-card p {
    font-size: 0.78rem;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE GLOBAL — TODAS LAS SECCIONES
   ═══════════════════════════════════════════ */

/* ─ TABLET (1024px) extras ─ */
@media (max-width: 1024px) {
  .pricing__grid { gap: 24px; }
  .equipo-row { gap: 32px; }
  .testimonials-custom__grid { gap: 24px; }
  .galeria-cat { margin-top: 64px; }
  .hero.hero--split { padding: 160px 0 70px !important; }
  .hero__split-grid { gap: 40px; }
}

/* ─ MOBILE (768px) extras ─ */
@media (max-width: 768px) {
  :root { --container-px: clamp(16px, 4vw, 24px); }

  /* Container más compacto y sin overflow */
  .container { padding-left: 20px; padding-right: 20px; }

  /* Section padding/margen global */
  .section-header { margin-bottom: 40px; }
  .kicker { font-size: 0.7rem; margin-bottom: 14px; }

  /* Hero-split: fix feature-img en mobile */
  .hero.hero--split {
    padding: 150px 0 64px !important;
    min-height: auto !important;
  }
  .hero__feature-img {
    width: 100% !important;
    max-width: 460px !important;
    height: 240px !important;
    object-fit: cover;
    /* Usar el efecto de corte suave original del desktop en mobiles */
    animation: none;
  }

  /* Ajustar fade del hero overlay en mobiles - corte suave en los lados */
  .hero__overlay {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
  }

  /* Navbar list gap ya manejado por el bloque 1024px */

  /* WhatsApp en navbar: oculto en mobile (ya existe FAB flotante) */
  .navbar__wa { display: none !important; }
}

@media (max-width: 768px) {
  /* placeholder para cerrar la media-query continuada */

  /* Mission / Company-intro */
  .mission, .company-intro { padding: var(--section-py) 0; }
  .company-intro__block { gap: 40px; }
  .company-intro__logo-box { padding: 48px 32px; min-height: 280px; }
  .company-intro__logo { max-width: 220px; }

  /* Cta-section (banda roja entre servicios y equipos) */
  .cta-section { padding: 48px 0; }
  .cta-section__title { font-size: 1.6rem; margin-bottom: 24px; }
  .cta-section__btn { padding: 14px 28px; font-size: 0.95rem; }

  /* Equipos */
  .equipos { padding: var(--section-py) 0; }
  .equipo-row {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 56px;
  }
  .equipo-row__num { font-size: 4.5rem; top: -24px; left: -6px; }
  .equipo-row__title { font-size: 1.55rem; line-height: 1.2; }
  .equipo-row__text { font-size: 0.95rem; margin-bottom: 20px; }
  .equipo-row__features { grid-template-columns: 1fr; gap: 8px 0; margin-bottom: 24px; }
  .equipo-row__features li { font-size: 0.9rem; }
  .equipo-row__kicker { font-size: 0.7rem; margin-bottom: 14px; }
  .equipo-row__video-wrap {
    aspect-ratio: 9 / 14;
    max-height: 520px;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2420 50%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
  }
  .equipo-row__video {
    object-fit: contain !important;
    position: relative;
    z-index: 1;
  }
  /* Video duplicado como fondo blurreado (agregado via JS) */
  .equipo-row__video-bg {
    display: block;
    position: absolute;
    inset: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    filter: blur(28px) saturate(1.3) brightness(0.7);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
  }
  /* Video horizontal (Central Hidráulica): crop con cover, sin blur bg */
  .equipo-row__video-wrap--horizontal {
    aspect-ratio: 16 / 10;
    max-width: 100%;
    max-height: none;
  }
  .equipo-row__video-wrap--horizontal .equipo-row__video {
    object-fit: cover !important;
  }
  .equipo-row__video-wrap--horizontal .equipo-row__video-bg {
    display: none;
  }
  .equipo-row__play { width: 68px; height: 68px; }
  .equipo-row__play .material-icons { font-size: 36px; }
  .equipo-row__badge { top: 12px; left: 12px; font-size: 0.68rem; padding: 6px 10px; }

  /* Testimonials-custom */
  .testimonials-custom__grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-card { padding: 24px 20px; border-radius: 18px; }
  .testimonial-card__text { font-size: 0.92rem; line-height: 1.65; }
  .testimonial-card__quote-icon {
    width: 36px;
    height: 36px;
    top: 16px;
    right: 16px;
  }
  .testimonial-card__quote-icon .material-icons { font-size: 20px; }

  /* Pricing */
  .pricing__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }
  .pricing-card { padding: 32px 24px 28px; border-radius: var(--radius-lg); }
  .pricing-card--featured { transform: translateY(0); }
  .pricing-card--featured:hover { transform: translateY(-6px); }
  .pricing-card__title { font-size: 1.2rem; }
  .pricing-card__amount { font-size: 2.2rem; }
  .pricing-card__quote-main { font-size: 1.35rem; }
  .pricing-card__features li { font-size: 0.88rem; padding: 10px 0; }
  .pricing__note { font-size: 0.85rem; padding: 18px 20px; gap: 12px; border-radius: 16px; }
  .pricing__note .material-icons { font-size: 20px; padding: 6px; }
  .pricing__bg-deco { width: 320px; height: 320px; top: -120px; right: -100px; }

  /* Galería */
  .galeria { padding: var(--section-py) 0; }
  .galeria-cat { margin-top: 48px; }
  .galeria-cat:first-of-type { margin-top: 40px; }
  .galeria-cat__header {
    margin-bottom: 22px;
    padding-bottom: 18px;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "count viewall";
    gap: 10px 12px;
  }
  .galeria-cat__header .galeria-cat__icon { grid-area: icon; }
  .galeria-cat__header > div:not([class]) { grid-area: text; }
  .galeria-cat__count { grid-area: count; justify-self: start; }
  .galeria-cat__view-all { grid-area: viewall; justify-self: end; margin-left: 0; }
  .galeria-cat__icon { width: 44px; height: 44px; border-radius: 12px; }
  .galeria-cat__icon .material-icons { font-size: 22px; }
  .galeria-carousel {
    overflow: hidden;
  }
  .galeria-carousel__track {
    padding: 0 20px;
    gap: 14px;
    animation-duration: 45s;
    width: max-content;
  }
  .galeria__divider { margin: 48px auto 32px; gap: 14px; }
  .galeria__divider-text { font-size: 0.72rem; padding: 8px 16px; letter-spacing: 0.1em; }
  .galeria__cta { padding: 28px 20px; margin-top: 40px; border-radius: 18px; }
  .galeria__cta-text { font-size: 0.98rem; margin-bottom: 16px; }
  .galeria__bg-deco { width: 300px; height: 300px; left: -120px; }

  /* Section title global en mobile */
  .section-title-with-img { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-title-img { width: 96px; height: 96px; }
}

/* ─ SMALL MOBILE (480px) extras ─ */
@media (max-width: 480px) {
  :root { --container-px: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }

  /* Hero-split */
  .hero.hero--split { padding: 135px 0 48px !important; }
  .hero.hero--split .hero__title { font-size: clamp(1.85rem, 9vw, 2.3rem); margin-bottom: 20px; }
  .hero.hero--split .hero__lead { font-size: 0.92rem; }
  .hero__feature-img {
    width: 100% !important;
    max-width: 380px !important;
    height: 200px !important;
    object-fit: cover;
  }
  .hero__eyebrow { font-size: 0.68rem; padding: 6px 14px; }

  /* Company-intro */
  .company-intro__logo-box { padding: 36px 20px; min-height: 220px; border-radius: 20px; }
  .company-intro__logo { max-width: 170px; }

  /* Equipos */
  .equipo-row__num { font-size: 3.5rem; top: -18px; }
  .equipo-row__title { font-size: 1.35rem; }
  .equipo-row__text { font-size: 0.9rem; }
  .equipo-row__play { width: 58px; height: 58px; }
  .equipo-row__play .material-icons { font-size: 30px; }

  /* Testimonials-custom */
  .testimonial-card { padding: 22px 18px; }
  .testimonial-card__text { font-size: 0.88rem; }

  /* Pricing */
  .pricing-card { padding: 28px 20px 24px; }
  .pricing-card__amount { font-size: 2rem; }
  .pricing-card__title { font-size: 1.1rem; }
  .pricing-card__ribbon { font-size: 0.65rem; padding: 5px 14px; }

  /* Galería */
  .galeria-cat__title { font-size: 1.1rem; }
  .galeria-cat__desc { font-size: 0.82rem; }
  .galeria-cat__icon { width: 40px; height: 40px; }
  .galeria-cat__icon .material-icons { font-size: 20px; }
  .galeria-cat__count { font-size: 0.68rem; padding: 5px 11px; }
  .galeria-carousel__card { width: 210px; }
  .galeria__marquee-item { width: 180px; height: 130px; }
  .galeria__cta { padding: 24px 16px; }
  .galeria__cta-text { font-size: 0.9rem; }
  .galeria__divider { margin: 36px auto 24px; }
  .galeria-lightbox { padding: 12px; }
  .galeria-lightbox__close { width: 40px; height: 40px; top: 12px; right: 12px; }
  .galeria-lightbox__close .material-icons { font-size: 22px; }
  .galeria-lightbox__nav { width: 40px; height: 40px; }
  .galeria-lightbox__nav .material-icons { font-size: 26px; }
  .galeria-lightbox__caption { font-size: 0.85rem; padding: 0 10px; }

  /* CTA section */
  .cta-section { padding: 40px 0; }
  .cta-section__title { font-size: 1.35rem; margin-bottom: 20px; }
  .cta-section__btn { padding: 12px 24px; font-size: 0.9rem; }

  /* Mission */
  .mission, .company-intro { padding: 52px 0; }
}

/* ─ EXTRA SMALL (360px) — evitar desbordes en iPhone SE / pantallas tiny ─ */
@media (max-width: 360px) {
  :root { --container-px: 14px; }
  .section-title { font-size: clamp(1.5rem, 8vw, 1.8rem); }
  .hero.hero--split .hero__title { font-size: clamp(1.7rem, 9vw, 2rem); }
  .equipo-row__title { font-size: 1.2rem; }
  .galeria-carousel__card { width: 190px; }
  .galeria__marquee-item { width: 160px; height: 120px; }
  .pricing-card__amount { font-size: 1.8rem; }
}

/* ══════════════════════════════════════════════════════════════
   EQUIPOS — Reestructuración completa en mobile
   Video a la IZQUIERDA con fade en bordes, features a la DERECHA
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .equipos { padding: 60px 0 !important; }

  .equipo-row {
    display: grid !important;
    grid-template-columns: 180px 1fr !important;
    grid-template-areas:
      "num      num"
      "kicker   kicker"
      "title    title"
      "text     text"
      "media    features"
      "btn      btn" !important;
    gap: 6px 16px !important;
    align-items: start !important;
    margin-top: 64px;
    padding: 0 !important;
  }
  .equipo-row:first-of-type { margin-top: 40px; }

  /* Anular cualquier reorder desktop */
  .equipo-row--right .equipo-row__media,
  .equipo-row--right .equipo-row__content { order: unset !important; }

  /* Colapsar el content: sus hijos pasan a ser items del grid padre */
  .equipo-row__content { display: contents; }

  /* KICKER — alineado al lado del número */
  .equipo-row__kicker {
    grid-area: kicker;
    margin: 0 !important;
    font-size: 0.68rem !important;
    align-self: center;
  }

  /* TÍTULO — ancho completo */
  .equipo-row__title {
    grid-area: title;
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin: 8px 0 8px !important;
  }

  /* TEXTO — ancho completo */
  .equipo-row__text {
    grid-area: text;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin: 0 0 18px !important;
  }

  /* MEDIA (video) — columna izquierda, alineado al centro */
  .equipo-row__media {
    grid-area: media;
    align-self: center;
    justify-self: start;
    padding-right: 8px;
  }
  .equipo-row__video-wrap {
    aspect-ratio: 9 / 14 !important;
    max-width: 150px !important;
    max-height: 220px !important;
    width: 100% !important;
    border-radius: 18px !important;
    margin: 0 !important;
    overflow: hidden;
    position: relative;
    box-shadow: none !important;
  }
  .equipo-row__video-wrap--horizontal {
    aspect-ratio: 16 / 11 !important;
    max-width: 180px !important;
    max-height: none !important;
  }
  /* Eliminar franjas negras — video llena el marco */
  .equipo-row__video {
    object-fit: cover !important;
  }

  /* Botón CTA — debajo de video y features, centrado */
  .equipo-row__content > .btn {
    grid-area: btn;
    justify-self: center;
    margin: 12px 0 0 !important;
  }

  /* Botón play — visible en mobile (no hay autoplay) */
  .equipo-row__play {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255,255,255,0.92) !important;
    color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  }
  .equipo-row__play .material-icons { font-size: 26px !important; }
  .equipo-row__play::before { display: none !important; }

  /* Badge — oculto en mobile (no cabe bien) */
  .equipo-row__badge { display: none !important; }

  /* Video-bg blur de fondo — desactivado (ya no hace falta con el mask) */
  .equipo-row__video-bg { display: none !important; }

  /* FEATURES — columna derecha, alineados al centro vertical del video */
  .equipo-row__features {
    grid-area: features;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px !important;
  }
  .equipo-row__features li {
    font-size: 0.82rem !important;
    line-height: 1.35;
    gap: 8px !important;
    color: var(--ink) !important;
  }
  .equipo-row__features .material-icons {
    font-size: 16px !important;
    margin-top: 1px;
  }
}

/* ═══ SMALL MOBILE (480px) ═══ */
@media (max-width: 480px) {
  .equipo-row {
    grid-template-columns: 130px 1fr !important;
    gap: 4px 14px !important;
  }
  .equipo-row__video-wrap {
    max-width: 130px !important;
    max-height: 190px !important;
  }
  .equipo-row__video-wrap--horizontal {
    max-width: 130px !important;
  }
  .equipo-row__num { font-size: 2.2rem !important; }
  .equipo-row__title { font-size: 1.2rem !important; }
  .equipo-row__text { font-size: 0.85rem !important; }
  .equipo_row__features li { font-size: 0.78rem !important; }
}

/* ═══ EXTRA SMALL (360px) ═══ */
@media (max-width: 360px) {
  .equipo-row {
    grid-template-columns: 115px 1fr !important;
    gap: 4px 10px !important;
  }
  .equipo-row__video-wrap {
    max-width: 115px !important;
    max-height: 170px !important;
  }
  .equipo-row__video-wrap--horizontal {
    max-width: 115px !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   SKELETON LOADERS — imágenes y texto
   ══════════════════════════════════════════════════════════════ */
@keyframes skelShimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Skeleton para imágenes aún no cargadas (con delay: solo si tarda > 250ms) */
img:not(.skel-loaded) {
  background-color: rgba(0, 0, 0, 0.06);
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0)     0%,
    rgba(0, 0, 0, 0.08) 50%,
    rgba(0, 0, 0, 0)   100%
  );
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skelShimmer 1.4s ease-in-out infinite;
  animation-delay: 0.25s; /* evita parpadeo en cargas rápidas */
  color: transparent; /* ocultar alt-text mientras carga */
}
img.skel-loaded {
  background-image: none;
  background-color: transparent;
  animation: none;
  color: inherit;
  transition: opacity 0.35s ease;
}
/* Fade-in al cargar */
img.skel-fade-in {
  animation: skelFadeIn 0.4s ease forwards;
}
@keyframes skelFadeIn {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* Variante oscura para secciones con fondo oscuro */
.hero img:not(.skel-loaded),
.testimonials-custom img:not(.skel-loaded),
.cta-section img:not(.skel-loaded),
[data-skel-dark] img:not(.skel-loaded) {
  background-color: rgba(255, 255, 255, 0.06);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0)     0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0)   100%
  );
}

/* Evitar shimmer en iconos inline SVG/material ya visibles */
.material-icons, .material-symbols-outlined { background: none !important; animation: none !important; }

/* Texto: fade suave mientras se cargan las fuentes */
html.fonts-loading h1,
html.fonts-loading h2,
html.fonts-loading h3,
html.fonts-loading h4,
html.fonts-loading h5,
html.fonts-loading h6,
html.fonts-loading p,
html.fonts-loading a,
html.fonts-loading span,
html.fonts-loading li {
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
html.fonts-loaded h1,
html.fonts-loaded h2,
html.fonts-loaded h3,
html.fonts-loaded h4,
html.fonts-loaded h5,
html.fonts-loaded h6,
html.fonts-loaded p,
html.fonts-loaded a,
html.fonts-loaded span,
html.fonts-loaded li {
  opacity: 1;
}

/* Skeleton genérico de texto para bloques dinámicos marcados manualmente */
.skel-text {
  display: inline-block;
  min-width: 60%;
  height: 1em;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.08);
  background-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0)     0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0)   100%
  );
  background-size: 200% 100%;
  animation: skelShimmer 1.4s ease-in-out infinite;
  color: transparent;
}

/* ══════════════════════════════════════════════════════════════
   FAB WhatsApp flotante (solo mobile)
   ══════════════════════════════════════════════════════════════ */
.fab-wa {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
  box-shadow: none;
  transition: transform 0.25s ease;
}
.fab-wa:hover, .fab-wa:active { transform: scale(1.08); }
.fab-wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: fabPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  80%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}
@media (max-width: 768px) {
  .fab-wa { display: flex; }
}
/* Ocultar si el lightbox está abierto */
body.lightbox-open .fab-wa { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   PERFORMANCE MOBILE — aligerar efectos GPU pesados
   (mantiene el mismo look, reduce blur de 20px → 10px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .navbar {
    -webkit-backdrop-filter: blur(10px) saturate(1.2);
    backdrop-filter: blur(10px) saturate(1.2);
  }
  .navbar.scrolled {
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    backdrop-filter: blur(12px) saturate(1.2);
  }
  .testimonial-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* Tap highlight transparente en todo Safari iOS */
  a, button, [role="button"], .btn, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
  }
  /* Mejoras sutiles de scroll performance */
  body { -webkit-overflow-scrolling: touch; }
}

/* Accesibilidad: respeta prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  img:not(.skel-loaded),
  .skel-text { animation: none !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════
   VIDEO PROMO SECTION
   ═══════════════════════════════════════════ */
.video-promo {
  position: relative;
  padding: calc(var(--section-py) + 40px) 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(214,40,40,0.18) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(232,93,93,0.12) 0%, transparent 50%),
    linear-gradient(180deg, #0A0A0A 0%, #141414 50%, #0A0A0A 100%);
  overflow: hidden;
  isolation: isolate;
  /* Diagonal cruzada: arriba inclinado derecha, abajo inclinado izquierda */
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin: -20px 0;
}
.video-promo__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,93,93,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,93,93,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 0;
  opacity: 0.6;
}
.video-promo__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  z-index: 0;
}
.video-promo__orb--1 {
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214,40,40,0.35) 0%, transparent 70%);
  animation: orb-float 22s ease-in-out infinite;
}
.video-promo__orb--2 {
  bottom: -250px;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(232,93,93,0.22) 0%, transparent 70%);
  animation: orb-float 28s ease-in-out infinite reverse;
  animation-delay: -8s;
}
.video-promo__orb--3 {
  top: 40%;
  left: 45%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,100,100,0.08) 0%, transparent 70%);
  animation: orb-float 35s ease-in-out infinite;
  animation-delay: -4s;
}
.video-promo .container { position: relative; z-index: 1; }

.video-promo__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.video-promo__kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: #E85D5D !important;
  background: rgba(232,93,93,0.12);
  border: 1px solid rgba(232,93,93,0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.video-promo__kicker .material-icons { font-size: 18px; }

.video-promo__title {
  color: white !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.15;
  margin-bottom: 24px;
}
.video-promo__title .text-red { color: #E85D5D !important; }

.video-promo__lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.video-promo__lead strong { color: white; }

.video-promo__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.video-promo__list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.video-promo__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(214,40,40,0.25), rgba(232,93,93,0.1));
  border: 1px solid rgba(232,93,93,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E85D5D;
  box-shadow: 0 4px 20px rgba(214,40,40,0.15);
}
.video-promo__icon .material-icons { font-size: 24px; }
.video-promo__list h4 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.video-promo__list p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.video-promo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.video-promo__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-promo__tap-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.92);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(214,40,40,0.35);
  animation: tapHintPulse 2.4s ease-in-out infinite;
  user-select: none;
  width: fit-content;
}
.video-promo__tap-hint .material-icons { font-size: 18px; }
@keyframes tapHintPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 20px rgba(214,40,40,0.35); }
  50%      { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(214,40,40,0.5); }
}
/* Ocultar cuando el usuario ya desmuteó */
.video-promo__media.audio-on .video-promo__tap-hint { display: none; }

.video-promo__player {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(214,40,40,0.15),
    0 0 0 1px rgba(255,255,255,0.1);
  background: #000;
  aspect-ratio: 9/16;
  max-width: 360px;
  transition: transform 0.5s var(--ease);
}
.video-promo__player::before {
  display: none;
}
.video-promo__player:hover {
  transform: scale(1.02);
}
.video-promo__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
  pointer-events: auto;
}
/* Ocultar controles nativos (Safari/Firefox a veces los muestran) */
.video-promo__video::-webkit-media-controls,
.video-promo__video::-webkit-media-controls-enclosure,
.video-promo__video::-webkit-media-controls-panel,
.video-promo__video::-webkit-media-controls-play-button,
.video-promo__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Botón "Toca para activar audio" */
.video-promo__unmute {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.4s var(--ease), background 0.25s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.video-promo__unmute:hover {
  background: rgba(232,93,93,0.85);
  transform: translateX(-50%) translateY(-2px);
}
.video-promo__unmute .material-icons { font-size: 18px; }
.video-promo__unmute.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
}

/* Overlay central play/pause */
.video-promo__play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.video-promo__play-overlay .material-icons {
  font-size: 72px;
  color: white;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  padding: 18px;
  border: 2px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  transform: scale(0.8);
  transition: transform 0.3s var(--ease);
}
.video-promo__player.is-paused .video-promo__play-overlay {
  opacity: 1;
  background: rgba(0,0,0,0.25);
}
.video-promo__player.is-paused .video-promo__play-overlay .material-icons {
  transform: scale(1);
}
.video-promo__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(232,93,93,0.15);
  color: #E85D5D;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(232,93,93,0.3);
  margin-top: 12px;
}
.video-promo__badge .material-icons {
  font-size: 16px;
}

@media (max-width: 960px) {
  .video-promo {
    padding: calc(var(--section-py) + 20px) 0;
    clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
    margin: -10px 0;
  }
  .video-promo__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .video-promo__content {
    display: flex;
    flex-direction: column;
  }
  /* El video (media) se inserta por JS entre la lista y los botones */
  .video-promo__media {
    margin: 32px 0 36px;
  }
  .video-promo__player {
    max-width: 280px;
    border-radius: 10px;
  }
  .video-promo__title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    margin-bottom: 18px;
  }
  .video-promo__lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }
  .video-promo__list { gap: 16px; margin-bottom: 28px; }
  .video-promo__list h4 { font-size: 1rem; }
  .video-promo__list p { font-size: 0.88rem; }
}
@media (max-width: 600px) {
  .video-promo {
    padding: 60px 0;
    clip-path: none;
    margin: 0;
  }
  .video-promo__list li { gap: 12px; }
  .video-promo__icon { width: 38px; height: 38px; }
  .video-promo__icon .material-icons { font-size: 20px; }
  .video-promo__actions { flex-direction: column; gap: 10px; }
  .video-promo__actions .btn { width: 100%; justify-content: center; }
  .video-promo__kicker {
    font-size: 0.75rem;
    padding: 6px 12px;
    margin-bottom: 18px;
  }
  .video-promo__player {
    max-width: 240px;
    border-radius: 10px;
  }
  .video-promo__unmute {
    font-size: 0.75rem;
    padding: 8px 12px;
    bottom: 10px;
  }
  .video-promo__unmute .material-icons { font-size: 16px; }
  .video-promo__badge {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
}
