/* ===========================================================
   PULSO MARKETING — hoja de estilos
   Paleta y tipografías tomadas del manual de rebranding.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Arapey:ital@0;1&display=swap');

@font-face {
  font-family: 'Bootzy TM';
  src: url('../assets/fonts/BootzyTM.woff2') format('woff2'),
       url('../assets/fonts/BootzyTM.woff') format('woff'),
       url('../assets/fonts/BootzyTM.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --brown-dark: #3D2722;
  --maroon-dark: #401F28;
  --black: #1A1A1A;
  --cream: #FBDE9C;
  --sky: #C8D9EC;
  --offwhite: #EFECEA;

  --bg-dark: var(--brown-dark);
  --bg-darker: var(--maroon-dark);
  --text-light: var(--offwhite);
  --text-muted: rgba(239, 236, 234, 0.7);

  --font-body: 'Poppins', sans-serif;
  --font-display: 'Arapey', serif;
  --font-title: 'Bootzy TM', 'Poppins', sans-serif;

  --container: 1180px;
  --radius: 18px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

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

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-title);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  color: var(--black);
}

.section-sub {
  max-width: 560px;
  color: #55473f;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-top: 16px;
}

section { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--cream);
  color: var(--brown-dark);
}
.btn-primary:hover { background: var(--offwhite); }

.btn-outline {
  border-color: rgba(239, 236, 234, 0.4);
  color: var(--offwhite);
}
.btn-outline:hover { border-color: var(--offwhite); background: rgba(239,236,234,0.08); }

.btn-dark {
  background: var(--brown-dark);
  color: var(--offwhite);
}
.btn-dark:hover { background: var(--maroon-dark); }

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader-logo-wrap {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: scale(0.88);
  animation: loaderPulse 1.4s ease forwards;
}
#loader img {
  width: min(480px, 75vw);
  display: block;
}
@keyframes loaderPulse {
  0% { opacity: 0; transform: scale(0.88); }
  60% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}
body.is-loaded #loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===================== HEADER ===================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
header .container { display: flex; align-items: center; justify-content: space-between; }
header.scrolled {
  background: rgba(61, 39, 34, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.logo img { height: 78px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  color: var(--offwhite);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--cream);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--offwhite);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--brown-dark);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
  mix-blend-mode: screen;
}
.blob-1 {
  width: 480px; height: 480px;
  background: var(--maroon-dark);
  top: -120px; left: -100px;
  animation-duration: 22s;
}
.blob-2 {
  width: 380px; height: 380px;
  background: var(--sky);
  opacity: 0.18;
  bottom: -100px; right: -60px;
  animation-duration: 26s;
  animation-delay: -6s;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--cream);
  opacity: 0.14;
  top: 30%; right: 20%;
  animation-duration: 20s;
  animation-delay: -3s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(0.95); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(239,236,234,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,236,234,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
  animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 46px 92px, 46px 92px; }
}

/* Líneas que se "encienden" y recorren la grilla */
.hero-scan {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 100%);
}
.hero-scan::before,
.hero-scan::after {
  content: '';
  position: absolute;
  mix-blend-mode: screen;
  filter: blur(1px);
}
.hero-scan::before {
  top: -20%;
  left: -40%;
  width: 60%;
  height: 140%;
  background: linear-gradient(100deg, transparent 30%, rgba(200, 217, 236, 0.5) 48%, rgba(251, 222, 156, 0.35) 52%, transparent 70%);
  animation: scanSweepX 9s ease-in-out infinite;
}
.hero-scan::after {
  left: -20%;
  top: -40%;
  height: 60%;
  width: 140%;
  background: linear-gradient(10deg, transparent 30%, rgba(251, 222, 156, 0.3) 48%, rgba(200, 217, 236, 0.4) 52%, transparent 70%);
  animation: scanSweepY 13s ease-in-out infinite;
  animation-delay: -4s;
}
@keyframes scanSweepX {
  0% { transform: translateX(-20%); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateX(160%); opacity: 1; }
  65% { opacity: 0; }
  100% { transform: translateX(160%); opacity: 0; }
}
@keyframes scanSweepY {
  0% { transform: translateY(-20%); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: translateY(160%); opacity: 1; }
  65% { opacity: 0; }
  100% { transform: translateY(160%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid { animation: none; }
  .hero-scan::before, .hero-scan::after { animation: none; opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-content .eyebrow { color: var(--sky); }
.hero-content h1 {
  font-family: var(--font-title);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--offwhite);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
}
.hero-content h1 span { color: var(--cream); }
.hero-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin-top: 22px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 34px;
  background: linear-gradient(var(--offwhite), transparent);
  animation: scrollLine 1.8s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--offwhite);
  padding: 130px 0 100px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.about-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  color: var(--brown-dark);
  margin-top: 20px;
}
.about-video {
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  box-shadow: 0 24px 50px rgba(61,39,34,0.18);
}
.about-video video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ===================== BENTO ===================== */
.bento {
  position: relative;
  background: var(--black);
  padding: 90px 0;
  overflow: hidden;
}
.bento .container { position: relative; z-index: 1; }
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(110px, auto);
  gap: 14px;
}
.bento-cell {
  background: #211f1e;
  border: 1px solid rgba(239,236,234,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.bento-photo-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
}
.bento-photo-main img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.bento-photo-main img.active {
  opacity: 1;
}
.bento-stat {
  grid-row: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.bento-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.bento-value {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--offwhite);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.bento-stat-wide { grid-column: span 2; }

.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3ddc6a;
  box-shadow: 0 0 0 rgba(61,220,106,0.6);
  animation: livePulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(61,220,106,0.6); }
  70% { box-shadow: 0 0 0 7px rgba(61,220,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(61,220,106,0); }
}
.bento-social {
  grid-column: 2 / 4;
  grid-row: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.bento-icons { display: flex; gap: 14px; }
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--offwhite);
  background: rgba(239,236,234,0.06);
  transition: transform var(--transition), background var(--transition);
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-icon:hover { transform: translateY(-2px); background: rgba(239,236,234,0.14); }
.bento-social p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 340px;
}
.bento-collage {
  grid-column: 4 / 6;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--black);
}
.bento-collage img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.bento-collage img:nth-child(2) { object-position: center 25%; }
.bento-collage img:nth-child(3) { object-position: 35% 15%; }
.collage-placeholder {
  width: 100%; height: 100%;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-photo-main { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 4/5; }
  .bento-stat { grid-row: auto; }
  .bento-social, .bento-collage { grid-column: 1 / 3; grid-row: auto; }
}

/* ===================== SERVICES ===================== */
.services { padding: 130px 0 100px; background: var(--offwhite); }
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.services-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(61,39,34,0.08);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(61,39,34,0.12);
  background: var(--brown-dark);
}
.service-card:hover h3,
.service-card:hover p { color: var(--offwhite); }
.service-card:hover .service-num { color: var(--cream); opacity: 1; }

.service-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--maroon-dark);
  opacity: 0.35;
  transition: color var(--transition), opacity var(--transition);
}
.service-card h3 {
  margin-top: 22px;
  font-size: 1.15rem;
  font-weight: 600;
  transition: color var(--transition);
}
.service-card p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #6b5c53;
  line-height: 1.55;
  transition: color var(--transition);
}

/* ===================== MARCAS (marquee) ===================== */
.brands {
  padding: 90px 0;
  background: var(--maroon-dark);
  overflow: hidden;
}
.brands .container { text-align: center; }
.brands .eyebrow { color: var(--sky); }
.brands .section-title { color: var(--offwhite); }

.marquee {
  margin-top: 56px;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  animation: scrollX 34s linear infinite;
  flex-shrink: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-card {
  flex-shrink: 0;
  width: 190px;
  height: 100px;
  background: var(--offwhite);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 26px;
}
/* Logos blancos/claros sobre fondo transparente necesitan un fondo oscuro para verse */
.brand-card.invert {
  background: rgba(239, 236, 234, 0.08);
  border: 1px solid rgba(239, 236, 234, 0.2);
}
/* Logos delicados/oscuros necesitan blanco puro (no off-white) para resaltar más */
.brand-card.white-bg {
  background: #ffffff;
}
/* Logos angostos/verticales (icono arriba + texto abajo) necesitan más alto
   para pesar visualmente igual que los logos anchos tipo RUPI/Coverline */
.brand-card.boost { padding: 8px 20px; }
.brand-card.boost img { max-height: 80px; }
.brand-card img { max-height: 42px; width: auto; margin: 0 auto; }
.brand-card.text-badge span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brown-dark);
  text-align: center;
}

/* ===================== NUESTRO TRABAJO (celulares) ===================== */
.work {
  padding: 130px 0 110px;
  background: var(--offwhite);
  text-align: center;
}
.work .section-title { max-width: 700px; margin: 0 auto; }

.phones-row {
  margin-top: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 0 24px;
}

.phone-mockup {
  width: 220px;
  aspect-ratio: 9 / 19.5;
  background: var(--black);
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(26, 26, 26, 0.18);
  position: relative;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.phone-mockup:nth-child(even) { transform: translateY(-22px); }
.phone-mockup:hover { transform: translateY(-30px); }

.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 18px;
  background: var(--black);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--maroon-dark), var(--brown-dark));
  position: relative;
}
.phone-screen video,
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.mute-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(4px);
  color: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.mute-toggle:hover { background: rgba(26,26,26,0.75); transform: scale(1.06); }
.mute-toggle svg { width: 20px; height: 20px; }
.mute-toggle .icon-sound { display: none; }
.mute-toggle.unmuted .icon-muted { display: none; }
.mute-toggle.unmuted .icon-sound { display: block; }
.phone-empty {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .phone-mockup:nth-child(even) { transform: none; }
  .phone-mockup { width: 160px; }
}

/* Carrusel de un solo celular grande */
.phone-carousel {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.phone-mockup-lg {
  width: 280px;
  transform: none !important;
}
.phone-mockup-lg:hover { transform: none !important; }

.phone-nav {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,26,0.15);
  background: #fff;
  color: var(--brown-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.phone-nav:hover {
  background: var(--brown-dark);
  color: var(--offwhite);
  transform: scale(1.06);
}

.work-caption {
  margin-top: 30px;
  text-align: center;
  font-weight: 600;
  color: var(--brown-dark);
}

.work-dots {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.work-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(61,39,34,0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.work-dots span.active {
  background: var(--maroon-dark);
  transform: scale(1.3);
}

@media (max-width: 560px) {
  .phone-carousel { gap: 14px; }
  .phone-mockup-lg { width: 210px; }
  .phone-nav { width: 42px; height: 42px; font-size: 1.4rem; }
}

/* ===================== TEAM ===================== */
.team { padding: 0 0 100px; background: var(--offwhite); }

.team-intro {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brown-dark);
  margin-bottom: 90px;
}
.team-intro-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.team-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(61,39,34,0.75), rgba(61,39,34,0.9));
}
.team-intro-content {
  position: relative;
  z-index: 2;
  padding: 90px 24px;
}
.team-intro .eyebrow { color: var(--sky); }
.team-intro .section-title { color: var(--offwhite); max-width: 780px; }
.team-intro .section-sub { color: var(--text-muted); max-width: 620px; }
.team-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--maroon-dark), var(--brown-dark));
  overflow: hidden;
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(100%); }
.team-photo .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--offwhite);
  opacity: 0.55;
  font-size: 0.95rem;
  text-align: center;
  padding: 20px;
}
.team-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
}
.team-card p {
  font-size: 0.85rem;
  color: var(--maroon-dark);
  margin-top: 3px;
}

/* ===================== CONTACT ===================== */
.contact {
  padding: 130px 0 100px;
  background: var(--brown-dark);
  position: relative;
  overflow: hidden;
}
.contact .container { position: relative; z-index: 1; text-align: center; }
.contact .eyebrow { color: var(--sky); }
.contact .section-title { color: var(--offwhite); max-width: 760px; margin: 0 auto; }
.contact p.section-sub { margin: 20px auto 0; text-align: center; color: var(--text-muted); }
.contact-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-links {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--offwhite);
  font-size: 0.95rem;
  opacity: 0.85;
  border-bottom: 1px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
}
.contact-links a svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-links a:hover { opacity: 1; border-color: var(--cream); }

/* ===================== FOOTER ===================== */
footer {
  background: var(--maroon-dark);
  padding: 40px 0;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .logo img { height: 110px; }
footer p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .burger { display: flex; }
  header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--brown-dark);
    padding: 26px 24px;
    gap: 20px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 2.4rem; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ===================== ANIMACIÓN AL HACER SCROLL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== BOTÓN FLOTANTE WHATSAPP ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

@media (max-width: 560px) {
  .whatsapp-float {
    width: 50px; height: 50px;
    bottom: 18px; right: 18px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 560px) {
  footer .container { justify-content: center; text-align: center; }
  footer .logo img { height: 56px; }
}

@media (max-width: 760px) {
  .hero { padding: 100px 0 60px; }
  .about,
  .services,
  .work,
  .team,
  .contact { padding-top: 80px; padding-bottom: 60px; }
  .bento,
  .brands { padding-top: 60px; padding-bottom: 60px; }
  .team-intro { min-height: 46vh; margin-bottom: 60px; }
  .team-intro-content { padding: 60px 24px; }
}
