/* ── BASE — variables CSS, reset, body, scrollbar ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Paleta base ── */
  --dark:  #070b14;
  --dark2: #0d1422;
  --dark3: #14203a;
  --red:   #C0152A;
  --red2:  #8A0E1F;
  --blue:  #1A56DB;
  --blue2: #1E40AF;
  --gold:  #D4AF37;
  --white: #ffffff;
  --gray:  #94a3b8;
  --light: #e2e8f0;
  --green: #25d366;
  --pink:  #ff5577;

  /* ── Colores semánticos frecuentes ── */
  --nav-bg:          rgba(7,11,20,.92);
  --nav-bg-full:     rgba(7,11,20,.97);
  --border-red:      rgba(192,21,42,.18);
  --border-red-md:   rgba(192,21,42,.2);
  --border-white:    rgba(255,255,255,.05);
  --white-subtle:    rgba(255,255,255,.06);
  --red-subtle:      rgba(192,21,42,.15);
  --gold-glow-sm:    rgba(212,175,55,.25);
  --gold-glow-lg:    rgba(212,175,55,.6);
  --gold-glow-mid:   rgba(212,175,55,.5);
  --red-glow:        rgba(192,21,42,.18);
  --black-overlay:   rgba(0,0,0,.45);

  /* ── Escala tipográfica ── */
  --fs-xs:   .65rem;
  --fs-sm:   .75rem;
  --fs-base: .85rem;
  --fs-md:   1rem;
  --fs-lg:   1.2rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2.2rem;
  --fs-hero: clamp(3rem,8vw,7rem);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
/* ── NAV — desktop + mobile, hamburguesa, nav-shop animation ── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%;
  background: var(--nav-bg); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-red);
  transition: padding .3s;
}
.nav-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.nav-logo  { height: 40px; width: auto; max-width: 48px; object-fit: contain; border-radius: 6px; }
.nav-name  { font-size: var(--fs-base); font-weight: 800; color: var(--white); }
.nav-sub   { font-size: var(--fs-xs); color: var(--pink); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-links li:not(:last-child):not(:has(.nav-shop))::after {
  content: '';
  display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.28); vertical-align: middle; flex-shrink: 0;
  margin-left: .15rem;
}
.nav-link  {
  padding: .45rem .9rem; border-radius: 6px; text-decoration: none;
  font-size: var(--fs-base); font-weight: 600; color: var(--gray);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: var(--white-subtle); }

/* Tienda active variant */
.nav-link.active.tienda-active { color: var(--red); background: var(--red-subtle); }

/* Link dorado — Diagnóstico en nav */
.nav-link-gold { color: var(--gold); font-weight: 700; }
.nav-link-gold:hover { color: var(--gold); background: var(--white-subtle); }

/* nav-shop glow button — especificidad elevada, sin !important */
.nav-links .nav-shop,
.nav-shop {
  position: relative;
  padding: .38rem .9rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 0 10px var(--gold-glow-sm);
  animation: shopGlow 2.5s ease-in-out infinite;
}
.nav-links .nav-shop:hover,
.nav-shop:hover {
  transform: scale(1.07);
  box-shadow: 0 0 24px var(--gold-glow-lg);
  color: var(--white);
}
.nav-shop-mobile {
  background: linear-gradient(135deg, var(--red), var(--gold));
  color: var(--white);
  font-weight: 700;
}
.shop-badge {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em;
  background: var(--black-overlay); color: var(--gold);
  border-radius: 4px; padding: 1px 5px;
  margin-left: .4rem; vertical-align: middle;
}

@keyframes shopGlow {
  0%,100% { box-shadow: 0 0 8px var(--gold-glow-sm); }
  50%      { box-shadow: 0 0 22px var(--gold-glow-mid), 0 0 38px var(--red-glow); }
}

/* nav CTA button */
.nav-cta {
  padding: .45rem 1.1rem; border-radius: 6px;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: var(--fs-base); text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--red2); }
.nav-right { display: flex; align-items: center; gap: .8rem; }

/* ── HAMBURGUESA ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .4rem; z-index: 201;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MENÚ MÓVIL ── */
.nav-mobile {
  display: none; position: fixed; top: 62px; left: 0; right: 0; z-index: 199;
  flex-direction: column; gap: .2rem; padding: 1rem 5% 1.5rem;
  background: var(--nav-bg-full); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-red-md);
}
.nav-mobile.open { display: flex; }
.nav-mobile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.nav-mobile .nav-link {
  padding: .85rem 1rem; font-size: var(--fs-md); font-weight: 600;
  border-bottom: 1px solid var(--border-white);
}
.nav-mobile li:last-child .nav-link { border-bottom: none; }
.nav-mobile .nav-cta {
  margin-top: .6rem; text-align: center;
  padding: .85rem; font-size: var(--fs-md);
}

/* Mobile phone rows */
.nav-mobile-phones {
  display: flex; flex-direction: column; gap: .4rem;
  padding: .6rem 0; border-top: 1px solid var(--border-white); margin-top: .4rem;
}
.nav-mobile-phone-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .4rem 1rem; border-radius: 8px; font-size: var(--fs-base);
}
.nav-mobile-phone-label { color: var(--gray); font-size: var(--fs-sm); }
.nav-mobile-phone-num   { color: var(--white); font-weight: 600; }
.nav-mobile-phone-wa    { color: var(--green); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
}
/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(192,21,42,.1);
  padding: 2.5rem 5%;
}
.footer-inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { font-size: var(--fs-base); font-weight: 800; color: var(--white); }
.footer-sub   { font-size: var(--fs-xs); color: var(--gray); margin-top: .2rem; }
.footer-loc   {
  font-size: var(--fs-sm); color: var(--gray);
  display: flex; align-items: flex-start; gap: .4rem; margin-top: .4rem;
}
.footer-loc .material-icons { font-size: var(--fs-base); color: var(--red); margin-top: 1px; }
.footer-copy  {
  width: 100%;
  border-top: 1px solid var(--border-white);
  margin-top: 1.5rem; padding-top: 1.2rem;
  font-size: var(--fs-sm); color: var(--gray);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-nav-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-nav-links a { font-size: var(--fs-sm); color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-nav-links a:hover { color: var(--red); }

/* agencia.html uses a centered footer variant */
footer.footer-centered { text-align: center; }
.footer-logo {
  display: flex; align-items: center; gap: .7rem;
  justify-content: center; margin-bottom: 1.2rem; text-decoration: none;
}
.footer-logo img  { height: 36px; border-radius: 7px; }
.footer-logo span { font-size: var(--fs-base); font-weight: 800; color: var(--white); }
.footer-links {
  display: flex; justify-content: center; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.footer-links a { font-size: var(--fs-base); color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy-center { font-size: var(--fs-sm); color: rgba(255,255,255,.2); text-align: center; }
/* ── SHARED — back-top, wa-float, .btn-primary, .section-tag, .social-chip, .badge-pill, .reveal, animations ── */

/* ── WA FLOAT BUTTON ── */
/* WA en IZQUIERDA, chat widget en DERECHA — sin conflicto visual */
.wa-float {
  position: fixed; bottom: 92px; left: 24px; right: auto; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .2s;
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 162px; left: 24px; right: auto; z-index: 199;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(7,11,20,.9); border: 1px solid rgba(192,21,42,.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, background .2s, transform .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--red); transform: translateY(-2px); }

/* ── SECTION TAGS ── */
.section-tag {
  display: inline-block;
  border: 1px solid rgba(192,21,42,.35); color: var(--pink);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.section-tag.blue { border-color: rgba(26,86,219,.4); color: #6ea8ff; }
.section-tag.gold { border-color: rgba(212,175,55,.4); color: var(--gold); }

/* ── SOCIAL CHIPS ── */
.social-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .85rem; border-radius: 999px;
  border: 1px solid rgba(26,86,219,.25);
  font-size: var(--fs-sm); font-weight: 600; color: var(--white);
  text-decoration: none; transition: border-color .2s, background .2s;
}
.social-chip:hover { border-color: var(--blue); background: rgba(26,86,219,.08); }
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }

/* ── BADGE PILL ── */
.badge-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(192,21,42,.1); border: 1px solid rgba(192,21,42,.3);
  padding: .45rem 1.1rem; border-radius: 999px;
  font-size: var(--fs-sm); color: var(--red); font-weight: 600; margin-bottom: 1.8rem;
}

/* ── BTN PRIMARY ── */
.btn-primary {
  padding: .9rem 2.1rem; border-radius: 8px;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: var(--fs-md);
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 0 30px rgba(192,21,42,.35);
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red2); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s, transform .6s;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── KEYFRAMES ── */
@keyframes fadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft  { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight { to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn   { to { opacity: 1; transform: scale(1); } }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%     { box-shadow: 0 4px 35px rgba(37,211,102,.7); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Mobile: realign floating buttons to match chat widget (bottom:16px right:16px) ── */
@media (max-width: 480px) {
  .wa-float  { bottom: 84px;  left: 16px; }
  .back-top  { bottom: 154px; left: 16px; }
}

/* ── INDEX.HTML — page-specific styles ── */

/* ── VIDEO SCROLL HERO ── */
#video-section { position: relative; height: 220vh; }
.video-sticky  { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#hero-video    { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-exit-veil {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(to bottom, transparent 0%, rgba(7,11,20,.7) 60%, var(--dark) 100%);
  pointer-events: none; z-index: 5;
}
#scroll-prog-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.08); z-index: 10; }
#scroll-prog      { height: 100%; width: 0%; background: linear-gradient(90deg, var(--red), var(--gold)); transition: none; }
.video-overlay {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(to bottom, rgba(7,11,20,.6) 0%, rgba(7,11,20,.1) 45%, transparent 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; transition: opacity .06s linear;
}
.video-overlay img { height: 88px; width: auto; border-radius: 12px; margin-bottom: 1.5rem; box-shadow: 0 8px 48px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.video-overlay h1  { font-size: clamp(3rem,8vw,7rem); font-weight: 900; line-height: .95; letter-spacing: -.04em; }
.video-overlay h1 span { color: var(--red); display: block; }
.video-overlay p   { font-size: var(--fs-lg); color: rgba(255,255,255,.6); margin-top: 1rem; letter-spacing: .05em; }
.scroll-hint {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: var(--fs-sm); color: rgba(255,255,255,.4); letter-spacing: .15em; text-transform: uppercase;
  transition: opacity .3s;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(192,21,42,.6); border-bottom: 2px solid rgba(192,21,42,.6);
  transform: rotate(45deg); animation: bounce 1s infinite alternate;
}
@keyframes bounce { to { transform: rotate(45deg) translateY(6px); } }

/* ── SECTIONS GENERIC ── */
section { padding: 7rem 5%; }
.section-title { font-size: clamp(2rem,4vw,3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; max-width: 640px; }
.section-title span { color: var(--pink); }
.section-title span.blue { color: #6ea8ff; }
.section-desc  { margin-top: .9rem; max-width: 520px; font-size: var(--fs-md); color: var(--gray); line-height: 1.75; }
.text-center { text-align: center; }
.text-center .section-title, .text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ── INTRO STRIP ── */
.intro-strip {
  position: relative; z-index: 10;
  background: linear-gradient(135deg, rgba(192,21,42,.08), rgba(26,86,219,.08));
  border-top: 1px solid rgba(192,21,42,.15); border-bottom: 1px solid rgba(26,86,219,.15);
  padding: 3rem 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.strip-stat   { text-align: center; }
.strip-num    { font-size: var(--fs-2xl); font-weight: 900; color: var(--red); }
.strip-lbl    { font-size: var(--fs-sm); color: var(--gray); text-transform: uppercase; letter-spacing: .1em; margin-top: .2rem; }
.strip-divider { width: 1px; height: 50px; background: rgba(255,255,255,.08); }

/* ── STAR SERVICE ── */
.star-section { background: var(--dark2); }
.star-card {
  margin-top: 3rem;
  background: linear-gradient(135deg, #0d1422, #070b14);
  border: 1px solid rgba(192,21,42,.3); border-radius: 18px; padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 80px rgba(192,21,42,.07);
  opacity: 0; transform: translateY(40px);
}
.star-card.visible { animation: fadeUp .7s forwards; }
.star-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,21,42,.1) 0%, transparent 70%);
}
.star-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--red); color: var(--white);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
}
.star-card h3       { font-size: var(--fs-2xl); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; }
.star-card h3 span  { color: var(--red); }
.star-card p        { font-size: var(--fs-md); color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem; }
.star-features      { display: flex; flex-direction: column; gap: .55rem; }
.star-feat          { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-base); }
.star-feat .material-icons { color: var(--red); font-size: 1rem; }
.star-visual        { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.star-vi {
  aspect-ratio: 1; border-radius: 12px;
  background: rgba(192,21,42,.07); border: 1px solid rgba(192,21,42,.15);
  cursor: pointer; perspective: 600px; position: relative;
  transition: border-color .3s;
}
.star-vi:hover { border-color: rgba(192,21,42,.4); }
.star-vi-inner {
  position: absolute; inset: 0; border-radius: 12px;
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.star-vi.flipped .star-vi-inner { transform: rotateY(180deg); }
.star-vi-front, .star-vi-back {
  position: absolute; inset: 0; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem; padding: .8rem; text-align: center;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.star-vi-front .material-icons         { color: var(--red); font-size: 2rem; }
.star-vi-front span:not(.material-icons){ font-size: var(--fs-sm); color: var(--gray); }
.star-vi-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(192,21,42,.18), rgba(192,21,42,.08));
  border: 1px solid rgba(192,21,42,.35);
}
.star-vi-back .material-icons { color: var(--red); font-size: var(--fs-lg); }
.star-vi-back h4 { font-size: var(--fs-sm); font-weight: 800; color: var(--white); margin: .1rem 0; line-height: 1.2; }
.star-vi-back p  { font-size: var(--fs-xs); color: var(--gray); line-height: 1.5; }
@media (max-width: 768px) { .star-card { grid-template-columns: 1fr; } .star-visual { display: none; } }

/* ── SERVICES ── */
.services { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.2rem; margin-top: 3rem; }
.service-card {
  background: var(--dark3); border: 1px solid rgba(26,86,219,.12); border-radius: 14px;
  transition: border-color .3s, box-shadow .3s;
  opacity: 0; transform: translateY(40px);
  cursor: pointer; perspective: 1000px;
}
.service-card.visible { animation: fadeUp .6s forwards; }
.service-card:hover   { border-color: rgba(192,21,42,.4); box-shadow: 0 20px 50px rgba(192,21,42,.1); }
.service-card .card-inner {
  position: relative;
  transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.service-card.flipped .card-inner { transform: rotateY(180deg); }
.card-front {
  padding: 1.6rem; border-radius: 14px; min-height: 190px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
}
.card-back {
  position: absolute; inset: 0; padding: 1.6rem; border-radius: 14px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(192,21,42,.12), rgba(192,21,42,.04));
  border: 1px solid rgba(192,21,42,.3);
  display: flex; flex-direction: column; justify-content: space-between;
}
.service-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(26,86,219,.12); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; flex-shrink: 0; }
.service-icon .material-icons { color: var(--blue); font-size: 1.4rem; }
.card-front h3      { font-size: var(--fs-md); font-weight: 700; margin-bottom: .2rem; }
.card-tap-hint      { font-size: var(--fs-xs); color: rgba(255,255,255,.28); margin-top: auto; }
.card-back-icon     { width: 34px; height: 34px; border-radius: 8px; background: rgba(192,21,42,.15); display: flex; align-items: center; justify-content: center; margin-bottom: .6rem; flex-shrink: 0; }
.card-back-icon .material-icons { color: var(--red); font-size: var(--fs-lg); }
.card-back h3       { font-size: var(--fs-md); font-weight: 800; margin-bottom: .4rem; color: var(--white); }
.card-back p        { font-size: var(--fs-base); color: var(--gray); line-height: 1.6; flex: 1; }
.card-flip-back-hint{ font-size: var(--fs-xs); color: rgba(255,255,255,.25); margin-top: .6rem; text-align: right; }

/* ── TIENDA PROMO SECTION (inline in index.html) ── */
@keyframes tienda-pulse {
  0%,100% { transform: scale(1); opacity: .5; }
  50%     { transform: scale(1.08); opacity: 1; }
}
@keyframes tienda-badge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-4px); }
}
@keyframes tienda-shine {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
.tienda-btn-cta {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .9rem 2.2rem; border-radius: 12px;
  background: var(--red); color: var(--white);
  font-size: var(--fs-md); font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 32px rgba(192,21,42,.5);
  transition: transform .2s, box-shadow .2s, background .2s;
  position: relative; overflow: hidden;
}
.tienda-btn-cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: tienda-shine 2.5s linear infinite;
}
.tienda-btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(192,21,42,.7); background: #a01020; }
.tienda-btn-wa {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 2rem; border-radius: 12px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35);
  color: var(--green); font-size: var(--fs-md); font-weight: 700; text-decoration: none;
  transition: background .2s, transform .2s;
}
.tienda-btn-wa:hover { background: rgba(37,211,102,.22); transform: translateY(-2px); }
.tienda-badge-nuevo {
  display: inline-flex; align-items: center; gap: .4rem;
  background: linear-gradient(90deg, var(--red), #ff4d63);
  color: var(--white); font-size: var(--fs-sm); font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 20px;
  box-shadow: 0 4px 16px rgba(192,21,42,.5);
  animation: tienda-badge 2s ease-in-out infinite;
}
.tienda-feature {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-base); font-weight: 600; color: rgba(255,255,255,.8);
}
.tienda-feature .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@media (max-width: 640px) {
  #apertura-tienda .inner-promo { padding: 4rem 5%; }
  #apertura-tienda h2           { font-size: clamp(2rem,9vw,3rem); }
  .tienda-features-row          { flex-direction: column; gap: .5rem; }
  .tienda-btns-row              { flex-direction: column; }
}

/* ── WHY ── */
.why { background: var(--dark2); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.2rem; margin-top: 3rem; }
.why-card {
  background: var(--dark3); border: 1px solid rgba(212,175,55,.12);
  border-radius: 14px; padding: 2rem; text-align: center;
  opacity: 0; transform: translateY(40px); transition: border-color .3s;
}
.why-card.visible { animation: fadeUp .6s forwards; }
.why-card:hover   { border-color: rgba(212,175,55,.35); }
.why-icon { width: 58px; height: 58px; border-radius: 50%; background: rgba(212,175,55,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.why-icon .material-icons { color: var(--gold); font-size: 1.8rem; }
.why-card h3 { font-size: var(--fs-lg); font-weight: 700; color: var(--gold); margin-bottom: .5rem; }
.why-card p  { font-size: var(--fs-base); color: var(--gray); line-height: 1.65; }
.banner {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(192,21,42,.1), rgba(26,86,219,.07));
  border: 1px solid rgba(192,21,42,.25); border-radius: 14px; padding: 1.6rem 2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; text-align: center;
  opacity: 0; transform: translateY(30px);
}
.banner.visible { animation: fadeUp .6s .2s forwards; }
.banner .material-icons { color: var(--red); font-size: 1.8rem; }
.banner-text { font-size: var(--fs-lg); font-weight: 600; }
.banner-text span { color: var(--red); }

/* ── FORMULARIO COTIZACIÓN ── */
.quote-section { background: var(--dark); }
.quote-grid    { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3rem; align-items: start; }
@media (max-width: 768px) { .quote-grid { grid-template-columns: 1fr; gap: 2rem; } }
.quote-info { opacity: 0; transform: translateX(-30px); }
.quote-info.visible { animation: fadeLeft .6s forwards; }
.quote-info h3      { font-size: var(--fs-xl); font-weight: 800; margin-bottom: .8rem; }
.quote-info h3 span { color: var(--red); }
.quote-info p       { font-size: var(--fs-base); color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem; }
.q-points { display: flex; flex-direction: column; gap: .7rem; }
.q-point  { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-md); color: var(--light); }
.q-point .material-icons { color: var(--red); font-size: 1rem; }
.quote-form {
  background: var(--dark3); border: 1px solid rgba(192,21,42,.18); border-radius: 16px; padding: 2.2rem;
  opacity: 0; transform: translateX(30px);
}
.quote-form.visible { animation: fadeRight .6s forwards; }
.quote-form h4 { font-size: var(--fs-lg); font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--gray);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: .8rem 1rem; color: var(--white);
  font-family: 'Inter', sans-serif; font-size: var(--fs-base);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,21,42,.12); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.btn-submit {
  width: 100%; padding: .95rem; border-radius: 8px;
  background: var(--red); color: var(--white); font-weight: 700; font-size: var(--fs-md);
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  transition: background .2s, transform .2s; margin-top: .5rem;
}
.btn-submit:hover    { background: var(--red2); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-success {
  display: none; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.3);
  border-radius: 12px; padding: 1.4rem; text-align: center; margin-top: .8rem;
}
.form-success.show { display: block; }
.form-success .material-icons { color: var(--green); font-size: 2rem; margin-bottom: .5rem; display: block; }
.form-success h5 { font-size: var(--fs-md); font-weight: 700; color: var(--green); margin-bottom: .3rem; }
.form-success p  { font-size: var(--fs-base); color: var(--gray); line-height: 1.6; }

/* ── PORTFOLIO ── */
.portfolio { background: var(--dark2); }

/* Tabs */
.port-tabs  { display:flex; gap:.5rem; margin-top:1.8rem; flex-wrap:wrap; }
.port-tab   { padding:.52rem 1.4rem; border-radius:50px; border:1.5px solid rgba(255,255,255,.2); background:rgba(255,255,255,.05); color:rgba(255,255,255,.65); font-size:var(--fs-base); font-weight:700; cursor:pointer; font-family:inherit; transition:all .25s; }
.port-tab.active { background:var(--red); border-color:var(--red); color:#fff; box-shadow:0 0 18px rgba(192,21,42,.55), 0 0 36px rgba(192,21,42,.25); animation: tab-pulse 2.4s ease-in-out infinite; }
.port-tab:hover:not(.active) { border-color:rgba(255,255,255,.45); color:#fff; background:rgba(255,255,255,.1); }
@keyframes tab-pulse {
  0%,100% { box-shadow: 0 0 18px rgba(192,21,42,.55), 0 0 36px rgba(192,21,42,.25); }
  50%      { box-shadow: 0 0 26px rgba(192,21,42,.8),  0 0 52px rgba(192,21,42,.4); }
}
.port-panel { display:none; }
.port-panel.active { display:block; }

/* Tarjetas digitales */
.dig-section-label { font-size:var(--fs-xs); font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:.12em; margin:2rem 0 1rem; padding-bottom:.5rem; border-bottom:1px solid rgba(255,255,255,.06); }
.dig-grid  { display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:1rem; }
.dig-card  { background:var(--dark3); border:1px solid rgba(255,255,255,.07); border-radius:14px; padding:1.3rem 1.4rem; display:flex; flex-direction:column; gap:.75rem; transition:border-color .25s,transform .2s; }
.dig-card:hover          { border-color:rgba(26,86,219,.35); transform:translateY(-2px); }
.dig-card.privado:hover  { border-color:rgba(255,255,255,.14); transform:none; }
.dig-card-head  { display:flex; align-items:center; gap:.8rem; }
.dig-card-icon  { width:42px; height:42px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; background:rgba(26,86,219,.12); border:1px solid rgba(26,86,219,.22); }
.dig-card.privado .dig-card-icon { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.1); }
.dig-card-title { font-size:var(--fs-md); font-weight:800; color:var(--white); }
.dig-card-desc  { font-size:var(--fs-sm); color:var(--gray); line-height:1.6; flex:1; }
.dig-card-tags  { display:flex; flex-wrap:wrap; gap:.3rem; }
.dig-tag        { font-size:var(--fs-xs); padding:.16rem .55rem; border-radius:50px; background:rgba(26,86,219,.1); color:rgba(147,197,253,.85); font-weight:600; border:1px solid rgba(26,86,219,.2); }
.dig-card.privado .dig-tag { background:rgba(255,255,255,.04); color:var(--gray); border-color:rgba(255,255,255,.1); }
.dig-card-foot  { display:flex; justify-content:flex-end; }
.dig-link       { display:inline-flex; align-items:center; gap:.35rem; font-size:var(--fs-sm); font-weight:700; color:#60a5fa; text-decoration:none; padding:.38rem .85rem; border-radius:6px; border:1px solid rgba(26,86,219,.3); transition:background .2s; }
.dig-link:hover { background:rgba(26,86,219,.12); }
.dig-link-priv  { color:var(--gray); border-color:rgba(255,255,255,.1); cursor:default; font-size:var(--fs-sm); }
.dig-link-priv:hover { background:transparent; }
@media (max-width: 640px) { .dig-grid { grid-template-columns:1fr; } }

.port-cases { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2.5rem; }
.port-case  {
  background: var(--dark3); border: 1px solid rgba(255,255,255,.07); border-radius: 18px; overflow: hidden;
  transition: border-color .3s, opacity .55s, transform .55s;
  opacity: 0; transform: translateY(24px);
}
.port-case.visible { opacity: 1; transform: none; }
.port-case:hover   { border-color: rgba(192,21,42,.28); }
.port-case-head {
  padding: 1.6rem 2rem; border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: flex-start; gap: 1.2rem; flex-wrap: wrap;
}
.port-case-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; background: rgba(192,21,42,.12); border: 1px solid rgba(192,21,42,.22); }
.port-case-meta { flex: 1; min-width: 200px; }
.port-case-title { font-size: var(--fs-lg); font-weight: 800; color: var(--white); margin-bottom: .3rem; }
.port-case-sub   { font-size: var(--fs-base); color: var(--gray); line-height: 1.55; }
.port-case-tags  { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.port-case .port-case-sub,
.port-case .port-case-tags,
.port-case .port-toggle { display: none; }
.port-case.open .port-case-sub { display: block; }
.port-case.open .port-case-tags { display: flex; }
.port-case.open .port-toggle    { display: inline-flex; }
.port-tag        { font-size: var(--fs-xs); padding: .22rem .65rem; border-radius: 50px; background: rgba(192,21,42,.1); color: rgba(255,190,190,.85); font-weight: 600; border: 1px solid rgba(192,21,42,.22); }
.port-done-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem 1rem; border-radius: 50px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.28); color: #4ade80; font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; flex-shrink: 0; align-self: flex-start; }
/* ── Colapsable ── */
.port-case-head  { cursor: pointer; user-select: none; transition: opacity .15s; }
.port-case-head:hover { opacity: .85; }
.port-case-head::after {
  content: '›';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1.4rem;
  color: rgba(255,255,255,.3);
  transition: transform .3s, color .2s;
  font-style: normal;
}
.port-case { position: relative; }
.port-case.open .port-case-head::after {
  transform: translateY(-50%) rotate(90deg);
  color: var(--red);
}
.port-toggle     {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem;
  font-size: var(--fs-sm); font-weight: 700; color: var(--red);
  background: rgba(192,21,42,.1); border: 1px solid rgba(192,21,42,.25);
  padding: .3rem .85rem; border-radius: 50px; transition: background .2s;
}
.port-toggle:hover  { background: rgba(192,21,42,.2); }
.port-toggle-arrow  { display: inline-block; transition: transform .3s; font-style: normal; }
.port-case.open .port-toggle-arrow { transform: rotate(90deg); }
.port-collapsible   { display: none; }
.port-case.open .port-collapsible  { display: block; }
.port-steps      { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; padding: .85rem 2rem; border-bottom: 1px solid rgba(255,255,255,.04); background: rgba(0,0,0,.15); }
.port-step       { font-size: var(--fs-sm); font-weight: 600; color: rgba(255,255,255,.35); }
.port-step.done  { color: var(--red); }
.port-arrow      { font-size: var(--fs-xs); color: rgba(255,255,255,.15); flex-shrink: 0; }
.port-grid-wrap  { padding: 1.4rem 2rem 1.8rem; }
.port-grid       { display: grid; grid-template-columns: repeat(auto-fill,minmax(165px,1fr)); gap: .85rem; }
.port-item       { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 4/3; background: var(--dark); }
.port-item img   { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.port-item:hover img { transform: scale(1.07); }
.port-item-lbl   { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,rgba(0,0,0,.84)); padding: .65rem .6rem .4rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .05em; }
.lbl-proc { color: var(--gray); }
.lbl-done { color: #4ade80; }
@media (max-width: 640px) {
  .port-case-head  { flex-direction: column; gap: .8rem; padding: 1.2rem 1.3rem; }
  .port-grid-wrap  { padding: 1.1rem 1.3rem 1.5rem; }
  .port-steps      { padding: .7rem 1.3rem; }
  .port-grid       { grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: .65rem; }
}

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.93); backdrop-filter: blur(8px); align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img  { max-width: 90vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 0 60px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: white; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,.22); }

/* ── CONTACT ── */
.contact { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 3rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info-card { background: var(--dark3); border: 1px solid rgba(26,86,219,.15); border-radius: 14px; padding: 2rem; opacity: 0; transform: translateX(-30px); }
.contact-info-card.visible { animation: fadeLeft .6s forwards; }
.contact-section-label { font-size: var(--fs-xs); font-weight: 700; color: var(--blue); letter-spacing: .14em; text-transform: uppercase; margin: 1.2rem 0 .5rem; }
.contact-section-label:first-child { margin-top: 0; }
.contact-person {
  display: flex; align-items: flex-start; gap: .9rem;
  padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.contact-person:last-of-type { border-bottom: none; }
.contact-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); font-weight: 800; }
.contact-avatar.ventas  { background: rgba(192,21,42,.15); color: var(--red); }
.contact-avatar.soporte { background: rgba(26,86,219,.15); color: var(--blue); }
.contact-person-name { font-size: var(--fs-base); font-weight: 700; margin-bottom: .05rem; }
.contact-person-role { font-size: var(--fs-sm); color: var(--gray); margin-bottom: .45rem; }
.contact-person-nums { display: flex; flex-wrap: wrap; gap: .4rem; }
.contact-num-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .7rem; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.contact-num-link.tel       { background: rgba(255,255,255,.06); color: var(--white); }
.contact-num-link.tel:hover { background: rgba(255,255,255,.1); }
.contact-num-link.wa        { background: rgba(37,211,102,.1); color: var(--green); }
.contact-num-link.wa:hover  { background: rgba(37,211,102,.18); }
.contact-num-link .material-icons { font-size: var(--fs-sm); }
.contact-detail { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail .material-icons { color: var(--blue); font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.contact-detail-text .lbl { font-size: var(--fs-xs); color: var(--gray); text-transform: uppercase; letter-spacing: .1em; }
.contact-detail-text .val { font-size: var(--fs-md); font-weight: 600; margin-top: .1rem; line-height: 1.4; }
.contact-detail-text .sub { font-size: var(--fs-sm); color: var(--gray); margin-top: .12rem; }
.badge-calls-only {
  display: inline-block; background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25);
  color: var(--gold); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .12rem .5rem; border-radius: 999px; margin-left: .4rem;
  vertical-align: middle;
}
.cta-box { background: linear-gradient(135deg,var(--red),var(--red2)); border-radius: 14px; padding: 2.4rem; opacity: 0; transform: translateX(30px); }
.cta-box.visible { animation: fadeRight .6s forwards; }
.cta-box h3 { font-size: var(--fs-xl); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: .7rem; }
.cta-box p  { font-size: var(--fs-md); color: rgba(255,255,255,.75); margin-bottom: 1.6rem; line-height: 1.65; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; }
.cta-btn { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.4rem; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-md); transition: transform .2s, box-shadow .2s; }
.cta-btn:hover     { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.3); }
.cta-btn-dark      { background: var(--dark); color: var(--white); }
.cta-btn-dark .material-icons  { color: var(--red); }
.cta-btn-white     { background: var(--white); color: var(--dark); }
.cta-btn-white .material-icons { color: #25d366; }
.cta-btn-label { display: flex; flex-direction: column; gap: .05rem; }
.cta-btn-label span:first-child { font-size: var(--fs-sm); font-weight: 500; opacity: .7; }
.cta-btn-label span:last-child  { font-size: var(--fs-md); font-weight: 700; }

/* ── VENTAS HERO CARD ── */
.ventas-hero-card {
  background: linear-gradient(135deg, rgba(192,21,42,.1), rgba(192,21,42,.04));
  border: 1.5px solid rgba(192,21,42,.45); border-radius: 18px; padding: 1.6rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 0 50px rgba(192,21,42,.1), inset 0 1px 0 rgba(255,255,255,.05);
  position: relative; overflow: hidden;
}
.ventas-hero-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,21,42,.15) 0%, transparent 70%);
}
.ventas-hero-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--red); color: var(--white);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 999px; margin-bottom: 1rem;
}
.ventas-hero-info   { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.ventas-hero-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red2));
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-lg); font-weight: 900; color: var(--white);
  box-shadow: 0 0 20px rgba(192,21,42,.4);
}
.ventas-hero-name  { font-size: var(--fs-md); font-weight: 800; }
.ventas-hero-role  { font-size: var(--fs-sm); color: var(--gray); margin-top: .1rem; }
.ventas-hero-phone { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; color: var(--white); margin-bottom: .9rem; line-height: 1; }
.ventas-hero-btns  { display: flex; gap: .6rem; flex-wrap: wrap; }
.ventas-hero-btn-tel {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: var(--white); padding: .55rem 1.2rem; border-radius: 999px;
  font-size: var(--fs-base); font-weight: 700; text-decoration: none; transition: background .2s;
}
.ventas-hero-btn-tel:hover { background: rgba(255,255,255,.14); }
.ventas-hero-btn-tel .material-icons { font-size: .9rem; color: var(--red); }
.ventas-hero-btn-wa {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: var(--white); padding: .55rem 1.4rem; border-radius: 999px;
  font-size: var(--fs-base); font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.35); transition: background .2s, box-shadow .2s;
}
.ventas-hero-btn-wa:hover { background: #1ebe5a; box-shadow: 0 6px 28px rgba(37,211,102,.5); }

/* ── REDES SOCIALES ── */
.social-section       { background: var(--dark); padding-top: 0; }
.social-section-inner { background: var(--dark2); border-radius: 24px; padding: 5rem 5%; }
.social-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.4rem; margin-top: 3rem; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  border-radius: 20px; padding: 2.6rem 1.8rem;
  text-decoration: none; color: var(--white); text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  opacity: 0; transform: translateY(30px); position: relative; overflow: hidden;
}
.social-card::before {
  content: ''; position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%; opacity: .08;
  background: radial-gradient(circle, currentColor 0%, transparent 70%);
  transition: opacity .3s;
}
.social-card:hover::before { opacity: .16; }
.social-card > * { position: relative; z-index: 1; }
.social-card.visible { animation: fadeUp .6s forwards; }
.social-card:hover   { transform: translateY(-10px); }
.social-card.fb { background: linear-gradient(150deg,#0e1b38,#0d1422); border: 1.5px solid rgba(24,119,242,.38); box-shadow: 0 8px 30px rgba(24,119,242,.1); color: #1877f2; }
.social-card.ig { background: linear-gradient(150deg,#1e0d20,#0d1422); border: 1.5px solid rgba(225,48,108,.38); box-shadow: 0 8px 30px rgba(225,48,108,.1); color: #e1306c; }
.social-card.tt { background: linear-gradient(150deg,#0a1d1f,#0d1422); border: 1.5px solid rgba(105,201,208,.38); box-shadow: 0 8px 30px rgba(105,201,208,.1); color: #69c9d0; }
.social-card.fb:hover { border-color: rgba(24,119,242,.7); box-shadow: 0 24px 60px rgba(24,119,242,.22); }
.social-card.ig:hover { border-color: rgba(225,48,108,.7); box-shadow: 0 24px 60px rgba(225,48,108,.22); }
.social-card.tt:hover { border-color: rgba(105,201,208,.7); box-shadow: 0 24px 60px rgba(105,201,208,.22); }
.social-card-icon {
  width: 76px; height: 76px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
}
.social-card.fb .social-card-icon { background: rgba(24,119,242,.18); box-shadow: 0 0 30px rgba(24,119,242,.2); }
.social-card.ig .social-card-icon { background: rgba(225,48,108,.18); box-shadow: 0 0 30px rgba(225,48,108,.2); }
.social-card.tt .social-card-icon { background: rgba(105,201,208,.18); box-shadow: 0 0 30px rgba(105,201,208,.2); }
.social-card-icon svg { width: 34px; height: 34px; }
.social-card.fb .social-card-icon svg { fill: #1877f2; }
.social-card.ig .social-card-icon svg { fill: #e1306c; }
.social-card.tt .social-card-icon svg { fill: #69c9d0; }
.social-card-platform { font-size: var(--fs-sm); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.social-card.fb .social-card-platform { color: #1877f2; }
.social-card.ig .social-card-platform { color: #e1306c; }
.social-card.tt .social-card-platform { color: #69c9d0; }
.social-card-handle { font-size: var(--fs-lg); font-weight: 800; color: var(--white); line-height: 1.3; }
.social-card-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-sm); font-weight: 700; color: var(--white);
  padding: .5rem 1.4rem; border-radius: 999px; margin-top: .2rem; transition: all .2s;
}
.social-card.fb .social-card-cta { background: rgba(24,119,242,.2); border: 1px solid rgba(24,119,242,.45); }
.social-card.ig .social-card-cta { background: rgba(225,48,108,.2); border: 1px solid rgba(225,48,108,.45); }
.social-card.tt .social-card-cta { background: rgba(105,201,208,.2); border: 1px solid rgba(105,201,208,.45); }
.social-card:hover .social-card-cta { transform: scale(1.05); }

/* ── EFEMÉRIDE ── */
.efemeride-section { background: var(--dark3); }
.efemeride-inner   { max-width: 860px; margin: 0 auto; }
.efemeride-header  { text-align: center; margin-bottom: 2.8rem; }
.efemeride-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1.5px solid rgba(192,21,42,.3);
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04);
  opacity: 0; transform: translateY(30px);
}
.efemeride-wrap.visible { animation: fadeUp .7s forwards; }
.efemeride-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  pointer-events: none; user-select: none; -webkit-user-drag: none; display: block;
}
.efemeride-badge {
  display: inline-flex; align-items: center;
  background: var(--red); color: var(--white);
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .38rem 1rem; border-radius: 999px; flex-shrink: 0;
}
.efemeride-overlay { position: absolute; inset: 0; cursor: default; z-index: 2; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #video-section   { height: 100svh; height: calc(var(--vh,1vh)*100); }
  .video-sticky    { height: 100svh; height: calc(var(--vh,1vh)*100); position: relative; top: auto; }
  .video-overlay h1 { font-size: clamp(2.4rem,10vw,4rem); }
  .video-overlay img { height: 60px; margin-bottom: 1rem; }
  .video-overlay p   { font-size: var(--fs-base); }
  #scroll-prog-wrap  { display: none; }
}
@media (max-width: 640px) { .hero-cta { flex-direction: column; align-items: center; } }
@media (max-width: 640px) {
  .ventas-hero-phone    { font-size: 1.3rem; }
  .ventas-hero-btns     { gap: .5rem; }
  .ventas-hero-btn-tel,
  .ventas-hero-btn-wa   { padding: .5rem 1rem; font-size: var(--fs-sm); }
  .social-section-inner { padding: 3rem 1.2rem; border-radius: 16px; }
  .social-cards         { grid-template-columns: 1fr; gap: 1rem; }
  .social-card          { padding: 1.8rem 1.4rem; flex-direction: row; align-items: center; text-align: left; gap: 1rem; }
  .social-card::before  { display: none; }
  .social-card-icon     { width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; }
  .social-card-icon svg { width: 24px; height: 24px; }
  .social-card-cta      { display: none; }
}

/* ── PLAN TRANQUILIDAD ── */
.tranq-section {
  background: linear-gradient(135deg, #0a0f1c 0%, #070b14 100%);
  padding: 3rem 5%;
  position: relative;
  overflow: hidden;
}
.tranq-card {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(192,21,42,.1), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 16px;
  padding: 2rem;
}
.tranq-left { flex: 1; min-width: 220px; }
.tranq-right {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.tranq-tag { margin-bottom: .8rem; display: inline-block; }
.tranq-promo { font-size: var(--fs-sm); font-weight: 700; color: #4ade80; margin-bottom: .3rem; }
.tranq-price { font-size: var(--fs-2xl); font-weight: 900; color: var(--white); line-height: 1; }
.tranq-price-unit { font-size: var(--fs-md); color: var(--gray); font-weight: 500; }
.tranq-note { font-size: var(--fs-sm); color: var(--gray); margin-top: .6rem; line-height: 1.55; }
.tranq-note-strong { color: rgba(255,255,255,.75); }
.tranq-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  background: var(--green);
  color: #063318;
  font-weight: 700;
  text-decoration: none;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  font-size: var(--fs-base);
  transition: transform .2s, box-shadow .2s;
}
.tranq-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.tranq-includes-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .3rem;
}
.tranq-item { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-base); color: rgba(255,255,255,.82); }
.tranq-check { color: var(--gold); font-size: var(--fs-md); flex-shrink: 0; }
@media (max-width: 640px) {
  .tranq-card { padding: 1.5rem 1.2rem; }
  .tranq-price { font-size: var(--fs-xl); }
}

/* ── FB PREVIEW CARD ── */
.fb-preview-card {
  background: linear-gradient(145deg, rgba(66,103,178,.12), rgba(66,103,178,.06));
  border: 1.5px solid rgba(66,103,178,.35);
  border-radius: 18px;
  padding: 2rem 2.2rem;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.fb-preview-header { display: flex; align-items: center; gap: 1rem; }
.fb-preview-avatar {
  width: 52px;
  height: 52px;
  background: #4267B2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fb-preview-name { font-weight: 800; font-size: var(--fs-lg); color: var(--white); line-height: 1.2; }
.fb-preview-handle { font-size: var(--fs-sm); color: rgba(255,255,255,.45); margin-top: .15rem; }
.fb-preview-stats {
  display: flex;
  align-items: center;
  gap: .8rem;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  padding: .9rem 1.1rem;
}
.fb-preview-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.fb-stat-num { font-weight: 800; font-size: var(--fs-md); color: var(--white); white-space: nowrap; }
.fb-stat-lbl { font-size: var(--fs-xs); color: rgba(255,255,255,.4); margin-top: .15rem; white-space: nowrap; }
.fb-preview-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.fb-preview-desc { font-size: var(--fs-base); color: rgba(255,255,255,.6); line-height: 1.6; margin: 0; }
.fb-preview-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #4267B2;
  color: var(--white);
  text-decoration: none;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  font-size: var(--fs-md);
  font-weight: 700;
  transition: background .2s, transform .2s;
  align-self: flex-start;
}
.fb-preview-cta:hover { background: #3b5998; transform: translateY(-1px); }
@media (max-width: 480px) {
  .fb-preview-card { padding: 1.4rem 1.2rem; }
  .fb-preview-stats { gap: .5rem; padding: .7rem .8rem; }
  .fb-stat-num { font-size: var(--fs-sm); }
}
