/* ================================================================
   BLACK & WHITE VISUAL — style.css
   Brand: #000000 black + #FFFFFF white + #8B0000 deep red accent
   Fonts: Bebas Neue (display) + Archivo (body)
   
   HOW TO EDIT COLORS:
   Search for the CSS custom properties below and change values.
   
   HOW TO EDIT FONTS:
   Change --font-display and --font-body, then update the
   Google Fonts CDN link in index.html to match.
================================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* ★ Brand colors — edit here to change the whole site */
  --black:       #000000;
  --white:       #FFFFFF;
  --red:         #8B0000;
  --red-bright:  #A00000;
  --gray-100:    #0a0a0a;
  --gray-200:    #111111;
  --gray-300:    #1a1a1a;
  --gray-400:    #333333;
  --gray-500:    #555555;
  --gray-600:    #888888;
  --gray-700:    #aaaaaa;
  --gray-800:    #cccccc;

  /* ★ Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Archivo', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   8rem;

  /* Layout */
  --max-w:      1200px;
  --nav-h:      72px;
  --radius:     4px;
  --radius-lg:  12px;

  /* Transitions */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --dur-fast:   0.2s;
  --dur-med:    0.4s;
  --dur-slow:   0.7s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ================================================================
   UTILITY CLASSES
================================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-bright);
  border-color: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn-nav:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
}

.btn-full {
  width: 100%;
}

/* ---- Section typography ---- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.label-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 0.25rem 0.75rem;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400; /* Bebas Neue is already bold */
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

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

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

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

/* ---- Scroll-reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur-med) var(--ease),
              border-color var(--dur-med) var(--ease);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 2px;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn) {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--red);
  transition: right var(--dur-fast) var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--white);
}

.nav-links a:not(.btn):hover::after {
  right: 0;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--dur-fast) var(--ease);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease);
}

.mobile-link:hover {
  color: var(--red);
}

.mobile-cta {
  margin-top: var(--space-sm);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding-top: var(--nav-h);
}

/* Background video */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* bias toward upper frame — reduces head-cropping on wide screens */
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1; /* ensure overlay stays above video */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,1) 100%
  );
}

/* Desktop: soften the vertical video so cropping is invisible and it reads as ambient background */
@media (min-width: 1024px) {
  .hero-video {
    filter: blur(2px) brightness(0.85);
  }
}

/* Content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  max-width: 900px;
}

.hero-wordmark {
  width: min(320px, 70vw);
  margin: 0 auto var(--space-md);
  filter: invert(1) brightness(2);
  /* Makes the black wordmark white on dark background */
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-700);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto var(--space-lg);
}

.br-desktop {
  display: none;
}

@media (min-width: 768px) {
  .br-desktop {
    display: block;
  }
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

.scroll-label {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   SERVICIOS
================================================================ */
.servicios {
  background: var(--gray-100);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: var(--space-lg);
}

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

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  background: var(--gray-200);
  padding: 2.5rem 2rem;
  transition: background var(--dur-fast) var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--red);
  transition: right var(--dur-med) var(--ease);
}

.service-card:hover {
  background: var(--gray-300);
}

.service-card:hover::before {
  right: 0;
}

.service-card--featured {
  background: var(--gray-300);
  border: 1px solid rgba(139, 0, 0, 0.4);
}

.service-num {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--red);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.services-cta {
  text-align: center;
}

/* ================================================================
   PORTFOLIO
================================================================ */
.portfolio {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* Featured image */
.portfolio-featured {
  width: 100%;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  padding: 0 var(--space-md);
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: var(--gray-300);
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.featured-img-wrap:hover .featured-img {
  transform: scale(1.03);
}

.featured-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.featured-client {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-title {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.featured-type {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

/* Visualizer (16:9 video) */
.portfolio-visualizer {
  margin-bottom: var(--space-lg);
}

.visualizer-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-300);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.visualizer-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.tag-pill {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 0.125rem 0.5rem;
  border-radius: 20px;
  font-size: 0.6875rem;
}

/* Play overlay */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  transition: background var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
}

.play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding-left: 4px; /* optical center for play triangle */
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.play-overlay:hover .play-icon {
  transform: scale(1.1);
  background: rgba(139, 0, 0, 0.6);
  border-color: var(--red);
}

/* Reels grid — phone mockup cards */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  justify-items: center;
}

@media (max-width: 768px) {
  .reels-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .reels-grid {
    grid-template-columns: 1fr;
    max-width: 260px;
    margin: 0 auto;
  }
}

.reel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 240px;
}

/* Phone frame mockup */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 9 / 19.5;
  background: var(--gray-200);
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 24px 48px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  cursor: pointer;
}

.phone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  z-index: 3;
  pointer-events: none;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 8px;
  background: rgba(0,0,0,0.8);
  border-radius: 4px;
  z-index: 4;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
  text-align: center;
}

/* ================================================================
   PROCESO
================================================================ */
.proceso {
  background: var(--gray-100);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

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

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

.proceso-step {
  background: var(--gray-200);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background var(--dur-fast) var(--ease);
}

.proceso-step:hover {
  background: var(--gray-300);
}

.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.step-line {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}

.step-title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ================================================================
   SOBRE BWV
================================================================ */
.sobre {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .sobre-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.sobre-title {
  text-align: left;
}

.sobre-p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.sobre-p strong {
  color: var(--white);
  font-weight: 700;
}

/* Stats */
.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  margin-top: var(--space-md);
}

.stat {
  background: var(--gray-200);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* Visual column */
.sobre-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sobre-img {
  width: 100%;
  border-radius: var(--radius);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
  background: var(--gray-300);
}

.sobre-img:hover {
  opacity: 1;
}

.sobre-reel-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
  background: var(--gray-300);
}

.sobre-reel {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-reel-label {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ================================================================
   CONTACTO
================================================================ */
.contacto {
  background: var(--gray-100);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 900px) {
  .contacto-inner {
    grid-template-columns: 1fr;
  }
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gray-200);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--gray-300);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--gray-300);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
}

/* Contact info sidebar */
.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

.info-block:first-child {
  border-top: none;
  padding-top: 0;
}

.info-block h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.info-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--dur-fast) var(--ease);
  word-break: break-all;
}

.info-link:hover {
  color: var(--red);
}

/* Social links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: color var(--dur-fast) var(--ease);
  padding: 0.5rem 0;
}

.social-link:hover {
  color: var(--white);
}

/* Response badge */
.info-response p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.badge-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: #00cc66;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 204, 102, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0, 204, 102, 0); }
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--gray-200);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.5);
  transition: opacity var(--dur-fast) var(--ease);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-style: italic;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color var(--dur-fast) var(--ease);
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-600);
  transition: color var(--dur-fast) var(--ease);
}

.footer-social a:hover {
  color: var(--red);
}

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--gray-600);
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}

.footer-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ================================================================
   ACCESSIBILITY & FOCUS
================================================================ */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ================================================================
   PRINT
================================================================ */
@media print {
  .navbar,
  .hero-video-wrap,
  .scroll-indicator {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
