/* ===========================
   CONTACTO — LABRIEGO
   =========================== */

*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

:root {
  --white:   #FFFFFF;
  --gray-900:#0F0F0E;
  --coral:   #E8593C;
  --green:   #25D366;
  --font:    'Space Grotesk', system-ui, -apple-system, sans-serif;
  --nav-h:   56px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-900);
  overflow-x: hidden;
}

/* ===========================
   ACTIVE LINK INDICATOR
   =========================== */

.active-link {
  color: var(--white) !important;
}

.active-link::after {
  width: 100% !important;
}

/* ===========================
   MAIN CONTACTO
   =========================== */

#contacto-main {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}

/* ─── Fondo ──────────────────────────────── */

.contacto-bg {
  position: absolute;
  inset: 0;
  background: #090909;
}

.cta-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.cta-glow-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,211,102,0.10) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: glowDrift 14s ease-in-out infinite;
}

.cta-glow-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,89,60,0.08) 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
  animation: glowDrift 18s ease-in-out 4s infinite reverse;
}

@keyframes glowDrift {
  0%,100% { transform: translate(0, 0); }
  33%      { transform: translate(30px, -20px); }
  66%      { transform: translate(-20px, 30px); }
}

/* ─── Contenido ──────────────────────────── */

.contacto-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Top block */
.contacto-top {
  margin-bottom: 48px;
}

.cta-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 20px;
}

.cta-title {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.97;
  color: var(--white);
  margin-bottom: 24px;
}

.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 auto;
}

/* ─── WhatsApp CTA ───────────────────────── */

.cta-wsp-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 20px 40px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cta-wsp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s ease;
}

.cta-wsp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.35);
}

.cta-wsp-btn:hover::before {
  background: rgba(255,255,255,0.06);
}

.cta-wsp-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.cta-wsp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.cta-wsp-btn:hover .cta-arrow {
  transform: translateX(4px);
}

/* ─── Trust ──────────────────────────────── */

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  margin-bottom: 56px;
}

.trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
  animation: dotPulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}

/* ─── Redes ──────────────────────────────── */

.cta-redes {
  width: 100%;
}

.redes-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 16px;
}

.redes-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.red-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  border: 1.5px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.red-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.red-btn:hover {
  transform: translateY(-2px);
  color: var(--white);
}

/* Instagram — gradiente en hover */
.red-ig:hover {
  border-color: #E1306C;
  background: rgba(225, 48, 108, 0.08);
  color: #E1306C;
}

/* Facebook — azul en hover */
.red-fb:hover {
  border-color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  color: #1877F2;
}

/* TikTok — blanco en hover */
.red-tt:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

/* ─── Watermark ──────────────────────────── */

.cta-watermark {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(70px, 13vw, 180px);
  font-weight: 700;
  letter-spacing: -6px;
  color: rgba(255,255,255,0.018);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* ===========================
   FOOTER
   =========================== */

.cta-footer {
  background: #060606;
  padding: 24px;
  text-align: center;
}

.cta-footer p {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.5px;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 600px) {
  .cta-title {
    font-size: 60px;
    letter-spacing: -3px;
  }

  .cta-wsp-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 15px;
  }

  .redes-btns {
    gap: 10px;
  }

  .red-btn {
    padding: 12px 20px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .cta-title { font-size: 48px; letter-spacing: -2px; }
  .red-btn span { display: none; }
  .red-btn { padding: 14px 20px; }
}
