/* ====== MATA AI - ENHANCED STYLES.CSS WITH CONSISTENCY FIXES ====== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Colors */
  --bg: #0A0A0A;
  --text: #FFFFFF;
  --mute: #C5C5C5; /* MEJORADO: Mejor contraste (era #B3B3B3) */
  --border: #333333; /* MEJORADO: Más visible (era #222) */
  --accent: rgba(255, 255, 255, 0.04);
  
  /* Carousel - Expanded for better visual impact */
  --carousel-card-width: 480px; /* Increased from 360px to 480px */
  --carousel-card-height: 800px; /* Increased from 640px to 800px */
  --carousel-gap: 24px; /* Increased from 20px to 24px */
  --carousel-speed: 50s; /* Slightly slower for better viewing */
  --carousel-perspective: 1400px; /* Increased perspective */
  
  /* ISSUE-003 FIX: Layout consistency with fixed header */
  --header-height: 80px; /* FIXED: Consistent header height */
  --header-brand-height: 32px; /* FIXED: Consistent logo height */
  --container-padding: 6vw;
  --content-max-width: 1200px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ===== PREVENT INITIAL SCROLL ===== */
/* Ensure page loads at top without unwanted scroll */
#main-content,
#hero-content {
  scroll-margin-top: 0;
}

/* Prevent skip links from causing unwanted scroll on page load */
.skip-link:not(:focus) {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--text);
  text-decoration: none;
}

/* ===== IMPROVED FOCUS STATES FOR ACCESSIBILITY ===== */
*:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

/* ===== SKIP LINKS FOR ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--bg);
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10;
}

/* ===== HERO ALT SECTION (For Why Us, Shorts, etc.) ===== */
.hero-alt {
  position: relative;
  padding: 8vw var(--container-padding);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.hero-alt .section-head {
  margin-bottom: 24px; /* Same spacing as home hero between title and description */
}

.hero-alt .section-head h1 {
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
  margin: 0 0 16px 0; /* Same margin as home hero */
  font-weight: 900;
  text-wrap: balance;
  letter-spacing: -0.06em;
  font-kerning: auto;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.hero-alt .section-head h1 .line {
  display: block;
  letter-spacing: inherit;
}

.hero-description {
  max-width: 880px;
  color: var(--mute);
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 12px 0; /* Same spacing as home hero */
  line-height: 1.6;
}

.hero-kicker {
  color: var(--mute);
  font-size: clamp(14px, 1.8vw, 18px);
  font-style: italic;
  margin: 0 0 24px 0;
  opacity: 0.8;
}

.hero-cta {
  margin-top: 26px; /* Same as home hero .cta-row */
}

/* Why Us Specific Styles */
.differentiators-section,
.modes-section {
  padding: 72px var(--container-padding);
  border-bottom: 1px solid var(--border);
}

.differentiators-grid,
.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.differentiator-card,
.mode-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.differentiator-card:hover,
.mode-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.differentiator-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 12px;
  opacity: 0.7;
}

.differentiator-card h3,
.mode-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text);
}

.differentiator-card p,
.mode-card p {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.differentiator-note,
.mode-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin: 0;
}

.case:hover .audio-control {
  opacity: 0.7;
}

.audio-control:hover {
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.25);
}

.audio-icon {
  width: 14px;
  height: 14px;
  fill: rgba(255, 255, 255, 0.9);
  transition: fill 0.2s ease;
}

.audio-control.muted .audio-icon {
  fill: rgba(255, 255, 255, 0.5);
}

/* ===== SERVICES CAROUSEL - EXPANDED ===== */
.services-carousel {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 40px 0; /* Increased vertical padding from 20px to 40px */
  cursor: grab;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Ensure carousel takes full viewport width */
  min-height: calc(var(--carousel-card-height) + 80px); /* Minimum height based on card height */
}

/* ===== SOLUTION ITEMS WITH STATIC IMAGES (for collages) ===== */
.solution-item-image {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.solution-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.solution-item-image .solution-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.7) 80%,
      rgba(0, 0, 0, 0.85) 100%
  );
}

.solution-item-image:hover .solution-overlay {
  background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.9) 100%
  );
}

.solution-item-image .solution-header h3,
.solution-item-image p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.services-carousel:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
  will-change: transform;
  transition: transform 0.3s ease-out;
  user-select: none;
  transform: translate3d(0, 0, 0);
}

.carousel-track--auto-scroll {
  animation: carousel-scroll var(--carousel-speed) linear infinite;
  transform: translate3d(0, 0, 0);
}

@keyframes carousel-scroll {
  from {
      transform: translate3d(0, 0, 0);
  }
  to {
      transform: translate3d(calc(-380px * 8), 0, 0);
  }
}

.service-card {
  flex: 0 0 var(--carousel-card-width);
  height: var(--carousel-card-height);
  position: relative;
  background: #0d0d0d;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  /* Clean approach */
  transform: translate3d(0, 0, 0);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  pointer-events: none;
  z-index: 20;
  transition: border-color 0.25s ease;
}

.service-card:hover {
  transform: translate3d(0, -4px, 0) scale(1.01);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.service-card:hover::before {
  border-color: #2a2a2a;
}

.service-card__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 14px;
}

/* Service cards - FULL BACKGROUND IMAGE */
.service-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  border-radius: 14px;
}

.service-card:hover .service-card__image {
  transform: scale(1.05);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.02) 25%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.3) 75%, 
    rgba(0, 0, 0, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.service-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.service-card__title {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 140px;
  justify-content: flex-end;
}

.service-card__description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  font-weight: 400;
  height: 4.2em;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.service-card__tags .tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.98);
  font-size: 12px; /* Increased from 10px to 12px */
  font-weight: 600;
  backdrop-filter: saturate(130%) blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ===== APPROACH SECTION ===== */
.steps {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: start;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.founder-photo {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.founder-photo:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  filter: grayscale(10%) contrast(1.05);
}

.founder-photo:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}

.founder-info {
  text-align: center;
  margin-top: 8px;
}

.founder-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.founder-info span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.studio-info {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
}

.studio-est {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 24px;
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.04) 0%, 
      rgba(255, 255, 255, 0.02) 50%,
      rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.studio-est:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.est-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.est-year {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.studio-locations {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 130px;
}

.location-link {
  text-decoration: none;
  color: inherit;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  min-height: 32px;
}

.location:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.flag-emoji {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.location span:last-child {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Portfolio disclaimer */
.portfolio-disclaimer {
  margin-top: 24px !important;
  font-size: 12px !important;
  font-style: italic !important;
  color: rgba(179, 179, 179, 0.8) !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ===== CONTACT SECTION ===== */
.contact-form {
  max-width: 840px;
}

.contact-form .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 240px;
}

input, textarea {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  caret-color: var(--text);
  transition: all 0.25s ease;
  position: relative;
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

input:focus, textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.01);
  box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.4);
}

textarea {
  resize: vertical;
}

.contact-form textarea {
  margin-bottom: 14px;
}

.contact-form .row.buttons {
  margin-top: 10px;
}

.contact-form button {
  cursor: pointer;
}

.fine {
  margin-top: 12px;
  color: #BEBEBE;
  font-size: 14px;
  opacity: 0.95;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 70vw;
  max-width: 800px;
  max-height: 80vh;
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.modal-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal-controls {
  position: absolute;
  top: -50px;
  right: 0;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.modal-btn {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.modal-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.modal-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.9);
}

.modal-info {
  position: relative;
  margin-top: 20px;
  background: transparent;
  padding: 16px 0;
  text-align: left;
}

.modal-info h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.modal-disclaimer {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin: 12px 0 0 0 !important;
  font-style: italic !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 8px !important;
}

/* ===== FOOTER ===== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--container-padding);
  color: #9b9b9b;
  gap: 14px;
}

.site-footer .socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer .socials a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.site-footer .socials a:hover {
  opacity: 1;
}

.site-footer .socials a[aria-current="page"] {
  opacity: 1;
  color: var(--text);
  font-weight: 500;
}

.site-footer .dot {
  opacity: 0.4;
}

.to-top {
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  color: #888;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.to-top:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== LINKEDIN LINKS STYLES ===== */
.linkedin-link {
  color: #FFFFFF;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  font-weight: inherit;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.linkedin-link:hover {
  color: #0077B5;
  transform: translateY(-1px);
}

.linkedin-link::after {
  content: "↗";
  font-size: 0.8em;
  opacity: 0.7;
  transition: all 0.3s ease;
  transform: translateY(-1px);
  color: currentColor;
}

.linkedin-link:hover::after {
  opacity: 1;
  transform: translateY(-2px) scale(1.1);
}

.linkedin-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, #0077B5, #00A0DC);
  transition: width 0.3s ease;
}

.linkedin-link:hover::before {
  width: calc(100% - 12px);
}

.founder-info .linkedin-link {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.founder-info .linkedin-link:hover {
  color: #0077B5;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  :root {
      --carousel-card-width: 400px; /* Increased from 300px to 400px */
      --carousel-card-height: 720px; /* Increased from 580px to 720px */
  }
  
  .service-card {
    height: var(--carousel-card-height) !important;
    min-height: var(--carousel-card-height);
    max-height: var(--carousel-card-height);
    display: flex;
    flex-direction: column;
  }
  
  .service-card__overlay {
    padding: 16px;
  }
  
  .service-card__title {
    font-size: 20px;
  }
  
  .service-card__content {
    padding: 16px;
    min-height: 120px;
    gap: 8px;
  }
  
  .service-card__description {
    font-size: 14px;
    line-height: 1.4;
    height: 4em;
  }
  
  .service-card__tags .tag {
    font-size: 11px; /* Increased from 9px to 11px */
    padding: 4px 8px;
  }
  
  .about-grid {
      grid-template-columns: 1fr;
      gap: 40px;
  }
  
  .about-visual {
      order: -1;
  }
  
  .founder-section {
      gap: 24px;
  }
  
  .founder-photo {
      width: 160px;
      height: 160px;
  }
  
  .founder-info h3 {
      font-size: 14px;
  }
  
  .founder-info span {
      font-size: 12px;
  }
  
  .studio-est {
      padding: 16px 20px;
      margin-top: 16px;
  }
  
  .est-year {
      font-size: 28px;
  }
  
  .studio-info {
      flex-direction: column;
      gap: 12px;
      align-items: center;
  }
  
  .studio-locations {
      flex-direction: row;
      gap: 12px;
      max-width: none;
  }
  
  .location {
      padding: 10px 14px;
      min-height: 36px;
  }
  
  .location span:last-child {
      font-size: 14px;
  }
  
  .flag-emoji {
      font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* FORCE MOBILE MENU VISIBILITY */
  .nav {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important; /* Force display with !important */
  }

  /* DEBUGGING: Show hamburger on slightly larger screens too */
  @media (max-width: 900px) {
    .mobile-menu-toggle {
      display: flex !important;
    }
    .nav {
      display: none !important;
    }
  }

  .site-header {
    padding: 0 20px; /* MANTENER padding consistente */
  }
  
  .legal-page {
    padding: 20px 20px 60px; /* Reducir padding en mobile */
  }
  
  .legal-container {
    max-width: 100%;
  }
  
  .legal-header h1 {
    font-size: clamp(28px, 8vw, 36px);
  }
  
  .breadcrumb-list {
    font-size: 13px;
  }
  
  .legal-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .legal-section {
    margin-bottom: 32px;
  }
  
  .legal-section h2 {
    font-size: 20px;
  }
  
  .legal-section h3 {
    font-size: 16px;
  }
  
  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }
  
  .contact-info {
    padding: 16px;
  }
  
  .btn-liquid,
  .button.primary.btn-liquid,
  button.btn-liquid {
      padding: 14px 28px;
      font-size: 15px;
  }
  
  .modal-content {
      width: 90vw;
      max-width: 500px;
  }
  
  .modal-controls {
      top: -40px;
      right: 0;
      gap: 8px;
  }
  
  .modal-btn {
      width: 40px;
      height: 40px;
  }
  
  .site-footer {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
      padding: 20px var(--container-padding);
  }
  
  .site-footer p {
      margin: 0;
      order: 1;
  }
  
  .site-footer .socials {
      order: 2;
      justify-content: center;
      gap: 8px;
  }
  
  .to-top {
      order: 3;
      padding: 8px 12px;
      font-size: 14px;
  }
}

@media (max-width: 640px) {
  :root {
      --carousel-card-width: 360px; /* Increased from 280px to 360px */
      --carousel-card-height: 680px; /* Increased from 520px to 680px */
  }
  
  .service-card {
    height: var(--carousel-card-height) !important;
    min-height: var(--carousel-card-height);
    max-height: var(--carousel-card-height);
  }
  
  .service-card__overlay {
    padding: 14px;
  }
  
  .service-card__title {
    font-size: 18px;
  }
  
  .service-card__content {
    padding: 14px;
    min-height: 110px;
    gap: 6px;
  }
  
  .service-card__description {
    font-size: 13px;
    line-height: 1.35;
    height: 3.8em;
  }
  
  .service-card__tags .tag {
    font-size: 10px; /* Increased from 8px to 10px */
    padding: 3px 6px;
  }
  
  .legal-page {
    padding: 16px 16px 40px;
  }
  
  .legal-header {
    margin-bottom: 32px;
  }
  
  .legal-section {
    margin-bottom: 24px;
  }
  
  .back-to-top-container {
    margin-top: 40px;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== HIGH CONTRAST MODE SUPPORT ===== */
@media (prefers-contrast: high) {
  :root {
    --border: #555555;
    --mute: #DDDDDD;
  }
  
  .site-header {
    background: rgba(0, 0, 0, 0.95);
  }
  
  .btn-liquid {
    border-width: 2px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
      animation: none !important;
  }
  
  .service-card {
      transform: none !important;
  }
  
  .service-card:hover {
      transform: translateY(-2px) !important;
  }
  
  .hero-copy,
  .hero h1 .line,
  .hero p,
  .cta-row,
  .cta-row > * {
      animation: simpleFadeIn 0.8s ease-out forwards;
      animation-delay: 0.2s;
  }
  
  @keyframes simpleFadeIn {
      from {
          opacity: 0;
          transform: translateY(10px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.hero-video,
.case-video {
  will-change: filter, transform;
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .mobile-menu,
  .mobile-menu-overlay,
  .mobile-menu-toggle,
  .video-modal,
  .back-to-top,
  .site-footer .socials {
    display: none !important;
  }
  
  .legal-page {
    padding: 0;
  }
  
  .legal-container {
    max-width: 100%;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}000;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 6px;
}

/* ===== HEADER - GLASSMORPHISM LIQUID GLASS EFFECT ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  
  /* Fixed header dimensions prevent CLS */
  height: var(--header-height);
  min-height: var(--header-height);
  max-height: var(--header-height);
  
  /* Layout perfecto */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  
  /* GLASSMORPHISM LIQUID GLASS EFFECT */
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(255, 255, 255, 0.06) 75%,
    rgba(255, 255, 255, 0.03) 100%
  );
  
  /* Enhanced backdrop filters for liquid glass */
  backdrop-filter: blur(24px) saturate(150%) brightness(1.1) contrast(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(150%) brightness(1.1) contrast(1.05);
  
  /* Glass-like borders and shadows */
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 1px 0 0 rgba(255, 255, 255, 0.05) inset,
    0 8px 32px rgba(0, 0, 0, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1);
  
  /* Performance optimizations */
  will-change: background, backdrop-filter, transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
  
  /* Transition for scroll effects */
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced liquid glass effect when scrolling */
.site-header.scrolled {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.08) 25%,
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.10) 75%,
    rgba(255, 255, 255, 0.06) 100%
  );
  
  backdrop-filter: blur(32px) saturate(180%) brightness(1.15) contrast(1.1);
  -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.15) contrast(1.1);
  
  border-bottom-color: rgba(255, 255, 255, 0.18);
  
  box-shadow: 
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset,
    0 12px 48px rgba(0, 0, 0, 0.2),
    0 6px 24px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(255, 255, 255, 0.05);
}

/* Liquid glass refraction animation on hover */
.site-header:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.08) 75%,
    rgba(255, 255, 255, 0.05) 100%
  );
  
  backdrop-filter: blur(28px) saturate(160%) brightness(1.12) contrast(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(160%) brightness(1.12) contrast(1.08);
}

/* FIJO: Brand siempre centrado verticalmente */
.site-header .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0; /* FIJO: Sin padding adicional */
  margin: 0; /* FIJO: Sin margen */
}

.site-header .brand img {
  display: block;
  vertical-align: middle;
  margin: 0;
  height: var(--header-brand-height); /* ISSUE-003 FIX: Consistent logo size */
  width: auto;
  /* ISSUE-003 FIX: Perfect centering */
  transform: none;
}

/* REMOVIDO: Efecto de animación problemático del header */
.site-header::after {
  display: none;
}

/* ===== NAVIGATION - MEJORADA PARA CONSISTENCIA ===== */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  height: 100%; /* FIJO: Altura completa del header */
}

.nav a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: 0;
  position: relative;
  white-space: nowrap;
  
  /* FIJO: Altura y alineación consistente */
  display: flex;
  align-items: center;
  height: 100%;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
}

/* Solo Shorts en Space Grotesk */
.nav a[href*="shorts"],
.nav a.active[href*="shorts"] {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.nav a.cta {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s ease;
  font-family: Inter, system-ui, sans-serif;
  height: auto; /* FIJO: Altura automática para el botón */
}

.nav a.cta:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===== MOBILE MENU - CLEAN DESIGN ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 99999;
  /* Clean design - just the button */
  background: transparent;
  border-radius: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  margin: 4px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  /* Clean lines - no shadows or effects */
  border-radius: 1px;
}

/* Animación hamburguesa → X */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay oscuro */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9990;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Menú mobile centrado */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9995;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.8);
  pointer-events: none;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-item {
  margin: 20px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

/* Animación escalonada */
.mobile-menu.active .mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-item:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu-item:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-menu-item:nth-child(6) { transition-delay: 0.6s; }

.mobile-menu-item a {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 15px 30px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.mobile-menu-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.mobile-menu-item a.cta {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 24px;
  padding: 18px 36px;
  border-radius: 50px;
}

.mobile-menu-item a.cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ===== LEGAL PAGES STYLES ===== */
.legal-page {
  min-height: calc(100vh - var(--header-height));
  padding: 40px var(--container-padding) 80px;
  background: var(--bg);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Breadcrumb Navigation */
.breadcrumb {
  margin-bottom: 32px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item:not(:last-child)::after {
  content: "→";
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

.breadcrumb-item a {
  color: var(--mute);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--text);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--text);
  font-weight: 500;
}

/* Legal Header */
.legal-header {
  margin-bottom: 48px;
  text-align: left;
}

.legal-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  flex-wrap: wrap;
}

.legal-meta .separator {
  color: rgba(255, 255, 255, 0.3);
}

.legal-meta time {
  color: var(--text);
}

/* Legal Content */
.legal-content {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: var(--text);
  letter-spacing: -0.01em;
  font-family: 'Space Grotesk', sans-serif;
}

.legal-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px 0;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.legal-section p {
  margin: 0 0 16px 0;
  font-size: 16px;
  line-height: 1.7;
}

.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.legal-section li::marker {
  color: var(--mute);
}

/* Contact Info in Legal Pages */
.contact-info {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.contact-info p {
  margin: 0 0 8px 0;
}

.contact-info p:last-child {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

.email-link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.email-link:hover {
  color: #0077B5;
}

.email-link::after {
  content: "↗";
  font-size: 0.8em;
  opacity: 0.7;
  margin-left: 4px;
  transition: all 0.3s ease;
}

.email-link:hover::after {
  opacity: 1;
  transform: translateY(-1px) scale(1.1);
}

/* Back to Top for Legal Pages */
.back-to-top-container {
  margin-top: 60px;
  text-align: center;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
  transform: translateY(-2px);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 0 var(--container-padding);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  mix-blend-mode: normal;
}

.hero:hover .hero-video {
  filter: grayscale(0%);
}

/* Hero Overlay - Menos oscuro para mejor contraste */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    repeating-linear-gradient(
        0deg, 
        transparent, 
        transparent 2px, 
        rgba(0, 255, 255, 0.008) 2px, 
        rgba(0, 255, 255, 0.008) 4px
    ),
    repeating-linear-gradient(
        90deg, 
        transparent, 
        transparent 2px, 
        rgba(255, 0, 128, 0.008) 2px, 
        rgba(255, 0, 128, 0.008) 4px
    ),
    radial-gradient(80% 80% at 50% 40%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.75));
  
  background-size: 
    3px 3px,
    4px 4px,
    4px 4px,
    100% 100%;
    
  opacity: 0;
  animation: screenBoot 2s ease-out 0.5s forwards;
}

@keyframes screenBoot {
  0% {
    opacity: 0;
    filter: brightness(2) contrast(0.5);
  }
  50% {
    opacity: 0.7;
    filter: brightness(1.5) contrast(0.8);
  }
  100% {
    opacity: 1;
    filter: brightness(1) contrast(1);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 8vw 0;
  max-width: 1100px;
  text-align: left;
  opacity: 0;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroFadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Improved H1 Kerning */
h1 {
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.98;
  margin: 0 0 16px;
  font-weight: 900;
  text-wrap: balance;
  letter-spacing: -0.06em;
  white-space: normal;
  text-transform: none;
  overflow: visible;
  font-kerning: auto;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

.hero h1 .line {
  display: block;
  letter-spacing: inherit;
  opacity: 0;
  transform: scale(1.05);
  transform-origin: center;
  animation: aiGenerate 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow: visible;
  padding-bottom: 2px;
  margin-bottom: -2px;
  filter: blur(20px) contrast(0.3) brightness(1.5);
}

.hero h1 .line.dim {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.30);
  animation: aiGenerateDim 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  letter-spacing: -0.02em;
}

.hero h1 .line.dim:nth-child(1) {
  animation-delay: 0.2s;
}

.hero h1 .line.dim:nth-child(2) {
  animation-delay: 0.6s;
}

.hero h1 .line.strong {
  color: #fff;
  animation: aiGenerateStrong 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.0s;
  position: relative;
  overflow: visible;
  padding-bottom: 4px;
  letter-spacing: -0.03em;
  font-weight: 950;
}

/* Animaciones generativas tipo AI/Diffusion */
@keyframes aiGenerate {
  0% {
      opacity: 0;
      transform: scale(1.05);
      filter: blur(20px) contrast(0.3) brightness(1.5);
  }
  15% {
      opacity: 0.1;
      transform: scale(1.03);
      filter: blur(15px) contrast(0.4) brightness(1.4);
  }
  30% {
      opacity: 0.3;
      transform: scale(1.02);
      filter: blur(12px) contrast(0.6) brightness(1.3);
  }
  50% {
      opacity: 0.6;
      transform: scale(1.01);
      filter: blur(8px) contrast(0.8) brightness(1.2);
  }
  70% {
      opacity: 0.8;
      transform: scale(1.005);
      filter: blur(4px) contrast(0.9) brightness(1.1);
  }
  85% {
      opacity: 0.95;
      transform: scale(1.002);
      filter: blur(2px) contrast(0.95) brightness(1.05);
  }
  100% {
      opacity: 1;
      transform: scale(1);
      filter: blur(0px) contrast(1) brightness(1);
  }
}

@keyframes aiGenerateDim {
  0% {
      opacity: 0;
      transform: scale(1.05);
      filter: blur(20px) contrast(0.3) brightness(1.5);
  }
  15% {
      opacity: 0.1;
      transform: scale(1.03);
      filter: blur(15px) contrast(0.4) brightness(1.4);
  }
  30% {
      opacity: 0.25;
      transform: scale(1.02);
      filter: blur(12px) contrast(0.6) brightness(1.3);
  }
  50% {
      opacity: 0.5;
      transform: scale(1.01);
      filter: blur(8px) contrast(0.8) brightness(1.2);
  }
  70% {
      opacity: 0.7;
      transform: scale(1.005);
      filter: blur(4px) contrast(0.9) brightness(1.1);
  }
  85% {
      opacity: 0.8;
      transform: scale(1.002);
      filter: blur(2px) contrast(0.95) brightness(1.05);
  }
  100% {
      opacity: 0.55;
      transform: scale(1);
      filter: blur(0px) contrast(1) brightness(1);
  }
}

@keyframes aiGenerateStrong {
  0% {
      opacity: 0;
      transform: scale(1.08);
      filter: blur(25px) contrast(0.2) brightness(1.8);
  }
  10% {
      opacity: 0.05;
      transform: scale(1.06);
      filter: blur(22px) contrast(0.3) brightness(1.7);
  }
  20% {
      opacity: 0.15;
      transform: scale(1.04);
      filter: blur(18px) contrast(0.4) brightness(1.6);
  }
  35% {
      opacity: 0.35;
      transform: scale(1.03);
      filter: blur(14px) contrast(0.6) brightness(1.4);
  }
  50% {
      opacity: 0.55;
      transform: scale(1.02);
      filter: blur(10px) contrast(0.7) brightness(1.3);
  }
  65% {
      opacity: 0.75;
      transform: scale(1.01);
      filter: blur(6px) contrast(0.85) brightness(1.15);
  }
  80% {
      opacity: 0.9;
      transform: scale(1.005);
      filter: blur(3px) contrast(0.95) brightness(1.08);
  }
  95% {
      opacity: 0.98;
      transform: scale(1.002);
      filter: blur(1px) contrast(0.98) brightness(1.02);
  }
  100% {
      opacity: 1;
      color: #fff;
      transform: scale(1);
      filter: blur(0px) contrast(1) brightness(1);
  }
}

.hero p {
  max-width: 880px;
  color: var(--mute);
  font-size: clamp(16px, 2vw, 20px);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(20px);
  animation: paragraphReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 3.7s forwards;
}

.typewriter-cursor {
  opacity: 1;
  animation: blink 1s infinite;
  color: var(--text);
  font-weight: 400;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes paragraphReveal {
  0% {
      opacity: 0;
      transform: translateY(20px);
      filter: blur(8px);
  }
  60% {
      opacity: 0.7;
      transform: translateY(5px);
      filter: blur(2px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
  }
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  opacity: 0;
  transform: translateY(30px);
  animation: ctaReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 5.1s forwards;
}

@keyframes ctaReveal {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.cta-row > * {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: buttonPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.cta-row > *:nth-child(1) {
  animation-delay: 5.3s;
}

.cta-row > *:nth-child(2) {
  animation-delay: 5.5s;
}

@keyframes buttonPop {
  0% {
      opacity: 0;
      transform: translateY(20px) scale(0.95);
  }
  70% {
      transform: translateY(-2px) scale(1.02);
  }
  100% {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

/* ===== MATA AI ELEGANT GLASS BUTTONS ===== */
.btn-liquid {
  position: relative;
  padding: 16px 32px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn-liquid:hover {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.25),
    0 12px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-liquid:active {
  transform: translateY(0px) scale(0.98);
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.1s ease;
}

.button.primary.btn-liquid,
button.btn-liquid {
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 1) !important;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.15) !important;
  padding: 14px 28px !important;
  min-width: 140px !important;
}

.button.primary.btn-liquid:hover,
button.btn-liquid:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

/* ===== REGULAR BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button.primary {
  background: #fff;
  color: #000;
  font-weight: 700;
}

.button.ghost {
  background: transparent;
  color: var(--text);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== NAVIGATION ACTIVE STATES ===== */
.nav a.active {
  opacity: 1;
  position: relative;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #6366f1;
  border-radius: 50%;
  opacity: 0.8;
}

/* ===== SECTIONS - EXPANDED FOR SERVICES ===== */
.section {
  padding: 72px var(--container-padding);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: var(--header-height); /* Align section tops with header bottom */
}

.section.services {
  padding: 90px var(--container-padding); /* Expanded padding for services section */
  scroll-margin-top: var(--header-height); /* Align section tops with header bottom */
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 28px;
  margin: 0;
}

.kicker {
  color: var(--mute);
  margin: 0;
}

/* ===== CLIENTS MARQUEE ===== */
.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  padding-left: 24px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.9;
  filter: grayscale(100%) contrast(1.05);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.logo img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.logo-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trusted-by-disclaimer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* ===== WORK SECTION ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.grid-cases {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card.case {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.card.case:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.case .media {
  position: relative;
  background: #0d0d0d;
}

/* Videos sin filtro gris */
.case-video {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
  filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  mix-blend-mode: normal;
}

.case:hover .case-video {
  opacity: 1;
  transform: scale(1.01);
}

.card-body {
  padding: 20px;
  flex: 1;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.case-notes {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.case-notes p {
  margin: 0;
  color: #C8C8C8;
  font-size: 14px;
  line-height: 1.6;
}

.case-notes strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Audio controls */
.audio-control {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
}

.case:hover .audio-control {
  opacity: 0.7;
}

.audio-control:hover {
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.25);
}

.audio-icon {
  width: 14px;
  height: 14px;
  fill: rgba(255, 255, 255, 0.9);
  transition: fill 0.2s ease;
}

.audio-control.muted .audio-icon {
  fill: rgba(255, 255, 255, 0.5);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--container-padding);
  background: rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(20px) saturate(200%) brightness(110%);
  -webkit-backdrop-filter: blur(20px) saturate(200%) brightness(110%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(24px) saturate(220%) brightness(115%);
  -webkit-backdrop-filter: blur(24px) saturate(220%) brightness(115%);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  z-index: 110;
  margin-left: -20px; /* Mueve el logo más hacia la izquierda */
}

.brand img {
  height: var(--header-brand-height);
  width: auto;
  transition: opacity 0.2s ease;
}

.brand:hover img {
  opacity: 0.9;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.nav a:hover {
  color: rgba(255, 255, 255, 1);
}

.nav a.cta {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav a.cta:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
  margin: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translateY(0px);
}

.mobile-menu-toggle span:nth-child(2) {
  transform: translateY(0px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(0px);
}

/* Active state (X) */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MOBILE MENU (FULLSCREEN) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 100px 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.mobile-menu-item {
  margin: 0;
  width: 100%;
  max-width: 300px;
}

.mobile-menu-item a {
  display: block;
  padding: 16px 32px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.mobile-menu-item a:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-item a.cta {
  margin: 20px 32px 0 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.mobile-menu-item a.cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== MOBILE MENU (FULLSCREEN) ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.8);
  overflow-y: auto;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mobile-menu-item {
  margin: 20px 0;
  width: 100%;
  max-width: 300px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-menu-item {
  opacity: 1;
  transform: translateY(0);
}

/* Animación escalonada */
.mobile-menu.active .mobile-menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-item:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu-item:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-menu-item:nth-child(6) { transition-delay: 0.6s; }
.mobile-menu.active .mobile-menu-item:nth-child(7) { transition-delay: 0.7s; }

.mobile-menu-item a {
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 15px 30px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.mobile-menu-item a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.mobile-menu-item a.cta {
  margin: 20px 0 0 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-align: center;
  font-size: 24px;
  padding: 18px 36px;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-menu-item a.cta:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE ADJUSTMENTS FOR HEADER ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
  }
  
  /* Ajustar tamaño de las líneas en móvil */
  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    margin: 3px 0;
  }
  
  /* Ajustar el padding del header en móvil */
  .site-header {
    padding: 0 16px; /* Padding aún más conservador */
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%) brightness(105%);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(105%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center; /* Asegurar que todo esté centrado verticalmente */
    height: var(--header-height);
  }
  
  /* Ajustar el logo en móvil */
  .brand {
    margin-left: 0; /* Resetear margen en móvil */
    display: flex;
    align-items: center;
    height: 100%;
  }
  
  .site-header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(24px) saturate(200%) brightness(110%);
    -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(110%);
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }
  
  /* Enhance hamburger visibility */
  .mobile-menu-toggle span {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-menu-toggle.active span:nth-child(1),
  .mobile-menu-toggle.active span:nth-child(3) {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  }
  
  /* Adjust body padding for fixed header */
  body {
    padding-top: var(--header-height);
  }
  
  /* Adjust hero for mobile with header */
  .hero {
    min-height: calc(100vh - var(--header-height));
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  /* Solo en desktop, mover el menú hacia la derecha */
  .nav {
    margin-right: -20px;
  }
  
  /* Adjust body padding for fixed header */
  body {
    padding-top: var(--header-height);
  }
  
  /* Adjust hero for desktop with header */
  .hero {
    min-height: calc(100vh - var(--header-height));
  }
}

/* ===== IMPROVED FOCUS STATES FOR MOBILE MENU ===== */
.mobile-menu-toggle:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 4px;
  border-radius: 4px;
}

.mobile-menu-item a:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
  background: rgba(255, 215, 0, 0.1);
}

/* ===== PREVENT SCROLL WHEN MOBILE MENU IS OPEN ===== */
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu,
  .mobile-menu-overlay,
  .mobile-menu-toggle span {
    transition: none;
  }
}