/* ==========================================================================
   CREAKTIVE - HOJA DE ESTILOS PRINCIPAL
   Replicación en Vanilla CSS Moderno
   ========================================================================== */

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

/* --- Tokens de Diseño / Variables --- */
:root {
  --color-primary: #F9CF1E;
  --color-primary-hover: #e5bd15;
  --color-dark: #121212;
  --color-dark-surface: #1d1d1d;
  --color-dark-card: #242424;
  --color-text-main: #4B4B4B;
  --color-text-light: #777777;
  --color-heading: #111111;
  --color-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-card-bg: #f5f6f8;
  --color-border: #e2e4e8;
  --color-blue-badge: #3b82f6;
  --color-whatsapp: #25D366;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent: 'Montserrat', sans-serif;

  --container-width: 1200px;
  --header-height: 85px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* --- Reseteo y Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

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

.text-accent {
  color: var(--color-primary);
}

.text-white {
  color: var(--color-white);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-eyebrow, 18px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: #c4c4c4;
  margin-bottom: 8px;
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-dark);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 207, 30, 0.35);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.03);
}

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

.nav-link {
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Dropdown Menú de Servicios --- */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  padding: 6px 0;
  line-height: inherit;
  transition: color 0.2s ease;
}

.nav-dropdown-btn:hover,
.nav-item-dropdown:hover .nav-dropdown-btn {
  color: var(--color-primary);
}

.dropdown-chevron {
  width: 9px;
  height: 9px;
  fill: currentColor;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1px;
  opacity: 0.85;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-item-dropdown:hover .nav-dropdown-btn::after {
  width: 100%;
}

/* Panel desplegable */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 1000;
}

/* Puente invisible entre el botón y el desplegable */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 500;
  background: transparent;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-link:hover {
  background: transparent;
  color: var(--color-primary, #F9CF1E);
}

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

.social-icon-link {
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-icon-link:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
}

.menu-toggle-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Off-canvas móvil */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #1a1a1a;
  z-index: 1002;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-bottom: 30px;
  line-height: 1;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.mobile-dropdown-group {
  display: flex;
  flex-direction: column;
}

.mobile-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: inherit;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.mobile-dropdown-btn:hover {
  color: var(--color-primary);
}

.mobile-dropdown-chevron {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease;
  padding-left: 14px;
  border-left: 2px solid rgba(249, 207, 30, 0.35);
}

.mobile-submenu.open {
  max-height: 150px;
  margin-top: 14px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.mobile-submenu-link {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-submenu-link:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}

.mobile-nav-socials {
  margin-top: auto;
  display: flex;
  gap: 16px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: #0b0b0d;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: 60px;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(11, 11, 13, 0.95) 0%,
      rgba(11, 11, 13, 0.85) 35%,
      rgba(11, 11, 13, 0.4) 70%,
      rgba(11, 11, 13, 0.25) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto 0 0;
}

.hero-eyebrow {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 28px;
  font-family: var(--font-body);
}

.hero-title .rotating-word {
  color: var(--color-primary);
  font-weight: 800;
  display: inline-block;
  position: relative;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-desc-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.hero-dots-icon {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  margin-top: 4px;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.hero-description strong {
  color: #fff;
}

.hero-cta {
  display: inline-block;
}

.hero-cta-link {
  color: var(--color-white);
  font-size: 1.05rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.hero-cta-link:hover {
  color: var(--color-primary);
}

.hero-cta-link strong {
  font-weight: 800;
}

/* ==========================================================================
   MARQUEE TICKER (Franja Amarilla)
   ========================================================================== */
.marquee-ribbon {
  background-color: var(--color-primary);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  position: relative;
  z-index: 4;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 75s linear infinite;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  color: #000000;
  letter-spacing: 0.5px;
}

.marquee-content span {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SECCIÓN 2: "UNA MARCA ES MUCHO MÁS, ES UNA CONEXIÓN" (ESTATUA DE LA LIBERTAD)
   ========================================================================== */
.brand-emotion-section {
  padding: 100px 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.brand-emotion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.brand-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.statue-composition-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding-top: 255px;
}

/* 3 filas de NEW YORK escalonadas en forma de escalón detrás del cielo:
   z-index: 1 para que queden POR DETRÁS de la tarjeta del cielo (z-index: 2).
   Las 2 primeras quedan 100% visibles y la 3ª queda cortada a la mitad por el borde superior del cielo */
.ny-text-row {
  position: absolute;
  width: 512px;
  max-width: 88%;
  z-index: 1;
  pointer-events: none;
}

.ny-text-row img {
  width: 88%;
  max-width: 450px;
  height: auto;
  margin-left: auto;
  display: block;
  opacity: 0.95;
}

.ny-row-1 {
  top: 60px;
  left: -53px;
}

.ny-row-2 {
  top: 142px;
  left: 11px;
}

.ny-row-3 {
  top: 224px;
  left: 77px;
}

/* Tarjeta del cielo: esquinas redondeadas naturales, z-index: 2 para tapar la mitad inferior de la 3ª fila de New York */
.sky-bg-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  overflow: hidden;
}

.sky-bg-card .sky-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Estatua de la Libertad: z-index: 5 (por encima del cielo), y bottom: 0 para que su base
   comience y apoye exactamente en el borde inferior de la tarjeta del cielo */
.statue-img-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
  pointer-events: none;
}

.statue-img-wrapper .statue-img {
  width: 63%;
  max-width: 365px;
  height: auto;
  margin: 0 auto;
  display: block;
  vertical-align: bottom;
}

/* Columna de textos derecha */
.brand-text-col {
  padding-left: 10px;
}

.brand-eyebrow {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #c4c4c4;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: normal;
}

.brand-title {
  font-family: var(--font-display);
  font-size: var(--text-title-section);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.brand-title-first {
  display: block;
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: 700;
}

.brand-title-second {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: 700;
}

.brand-desc-wrapper {
  padding-left: 25px;
}

.brand-desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b4b4b;
  margin-bottom: 14px;
}

/* ==========================================================================
   SECCIÓN 3: "TRABAJAMOS ALREDEDOR DEL MUNDO, PARA TODO EL MUNDO"
   ========================================================================== */
.global-reach-section {
  padding: 100px 0;
  background-color: #fafbfc;
}

.global-reach-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.global-text-col .section-title {
  font-family: var(--font-display);
  font-size: var(--text-title-section);
  line-height: 1.25;
  color: var(--color-heading);
  margin-bottom: 24px;
  font-weight: 700;
}

.global-text-col .section-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-main);
  margin-bottom: 32px;
  max-width: 520px;
}

.global-globe-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.12));
}

.floating-laptop {
  position: absolute;
  top: 5%;
  left: -8%;
  width: 130px;
  z-index: 4;
  animation: float-slow 4.5s ease-in-out infinite alternate;
}

.floating-satellite {
  position: absolute;
  bottom: 0%;
  right: -5%;
  width: 160px;
  z-index: 4;
  animation: float-counter 5s ease-in-out infinite alternate;
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-16px) rotate(3deg);
  }
}

@keyframes float-counter {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(14px) rotate(-4deg);
  }
}

/* ==========================================================================
   SECCIÓN 4: CATÁLOGO DE SERVICIOS
   ========================================================================== */
.services-section {
  padding: 120px 0;
  background-color: var(--color-white);
}

.services-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.services-header .section-title {
  font-family: var(--font-display);
  font-size: var(--text-title-section);
  line-height: 1.25;
  color: var(--color-heading);
  margin-bottom: 20px;
  font-weight: 700;
}

.services-header .section-desc {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

.services-section {
  padding: 100px 0 120px;
  background-color: var(--color-white);
  overflow: hidden;
}

.services-list-fullwidth {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.service-row {
  width: 100%;
  border-bottom: 1px solid #c2c2c2;
  transition: background-color 0.3s ease;
}

.service-row:first-child {
  border-top: 1px solid #c2c2c2;
}

.service-row:hover {
  background-color: #fafafa;
}

.service-row-inner {
  display: grid;
  grid-template-columns: 70px 280px 1fr;
  align-items: center;
  gap: 40px;
  padding: 34px 20px;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #232323;
  line-height: 1;
}

.service-title {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 700;
  color: #232323;
  line-height: 1.25;
  margin: 0;
}

.service-title-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-title-link:hover {
  color: var(--color-primary);
}

.service-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.65;
  color: #666666;
  margin: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.service-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  border: 2px solid #1E4CF9;
  color: #1E4CF9;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  background: transparent;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.service-tag:hover {
  background-color: #1E4CF9;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Animaciones de entrada al hacer scroll (fadeInLeft / fadeInRight) */
.service-row[data-anim="fadeInLeft"] {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.service-row[data-anim="fadeInRight"] {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.service-row[data-anim].animated {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   SECCIÓN 5: PORTFOLIO SHOWCASE
   ========================================================================== */
.portfolio-section {
  padding: 70px 0 90px;
  background-color: transparent;
  overflow: hidden;
}

.portfolio-slider-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.portfolio-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.portfolio-track-1 {
  animation: portfolio-scroll-left 40s linear infinite;
}

.portfolio-track-2 {
  animation: portfolio-scroll-right 40s linear infinite;
}

.portfolio-slider-container:hover .portfolio-track {
  animation-play-state: paused;
}

@keyframes portfolio-scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes portfolio-scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.portfolio-card {
  width: 300px;
  height: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  position: relative;
  background-color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   SECCIÓN 6: BANNER GALAXIA ("SÉ VISIBLE, SÉ REACTIVO")
   ========================================================================== */
.banner-cta-section.banner-galaxy {
  position: relative;
  background-color: #06070a;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(30, 24, 52, 0.45) 0%, rgba(6, 7, 10, 0.85) 65%, #06070a 100%),
    radial-gradient(circle at 20% 30%, rgba(249, 207, 30, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(70, 60, 120, 0.1) 0%, transparent 50%);
  padding: 135px 24px;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  cursor: default;
}

.galaxy-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.banner-cta-content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  pointer-events: none;
}

.banner-cta-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.6vw, 5.8rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.18;
  letter-spacing: -0.5px;
  margin: 0;
}

.banner-cta-title .banner-text-line {
  display: block;
}

.banner-cta-title .word-reactivo {
  color: var(--color-primary);
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  text-shadow: none;
}

/* ==========================================================================
   SECCIÓN 7: "POR QUÉ NUESTROS CLIENTES NOS ELIGEN"
   ========================================================================== */
.why-choose-us-section {
  padding: 120px 0 100px;
  background-color: var(--color-white);
}

.why-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
}

.why-header .section-title {
  font-family: var(--font-display);
  font-size: var(--text-title-section);
  line-height: 1.25;
  color: var(--color-heading);
  margin-bottom: 20px;
  font-weight: 700;
}

.why-header .section-desc {
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.7;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

/* ==========================================================================
   COMPONENTE MAESTRO: TARJETA DE SERVICIOS / PILARES (ESTÁNDAR CREAKTIVE)
   Diseño oficial inmutable:
   - Fondo: #f5f5f5 plano
   - Bordes: ninguno (border: none)
   - Esquinas: 100% rectas (border-radius: 0)
   - Padding interior: 44px 36px 48px
   - Número destacado: 2.2rem, font-weight 800, color #111111, margin-bottom 28px
   - Icono SVG de alta definición: 54px x 54px, margin-bottom 26px
   - Título: 1.25rem, font-weight 700, color #111111, margin-bottom 12px
   - Descripción: 0.92rem, color #555555, line-height 1.6
   - Hover: elevación translateY(-20px) con transición suave cubic-bezier
   ========================================================================== */
.why-card,
.pillar-card,
.service-card {
  background-color: #f5f5f5;
  border: none;
  border-radius: 0;
  padding: 44px 36px 48px;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.2, 0.85, 0.25, 1);
  will-change: transform;
}

.why-card:hover,
.pillar-card:hover,
.service-card:hover {
  transform: translateY(-20px);
}

.why-card-1,
.why-card-3 {
  margin-top: 0;
}

.why-card-2 {
  margin-top: 50px;
}

.why-card-number,
.pillar-number,
.service-card-number {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  line-height: 1;
  margin-bottom: 28px;
}

.why-card-icon,
.pillar-card-icon,
.service-card-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 26px;
  display: block;
}

.why-card-title,
.pillar-card-title,
.service-card-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-card-desc,
.pillar-card-desc,
.service-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.closing-statement {
  margin-top: 100px;
  text-align: center;
  overflow: hidden;
  padding: 30px 0;
}

.closing-statement h2 {
  font-family: var(--font-body);
  font-size: 50px;
  font-weight: 700;
  color: #232323;
  letter-spacing: -0.5px;
  margin: 0;
  display: inline-block;
  will-change: transform, opacity;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

/* ==========================================================================
   FOOTER & FORMULARIO DE CONTACTO
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: #0A0A0A;
  background-image: url('../images/footer-background.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding-top: 60px;
  padding-bottom: 25px;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.68);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
}

.footer-top-logo {
  text-align: center;
  margin-bottom: 45px;
}

.footer-top-logo img {
  width: 180px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 55px;
}

/* Columna izquierda con borde derecho separador */
.footer-info {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding-right: 50px;
}

.footer-info .footer-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 700;
  color: #ffffff;
}

.footer-info .footer-title .text-accent {
  color: #f9cf1e;
  font-weight: 600;
}

.footer-info .footer-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #ffffff;
  line-height: 1.65;
  max-width: 500px;
}

/* Columna derecha: formulario */
.footer-form-wrapper {
  padding-left: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

.form-input {
  width: 100%;
  padding: 12px 24px;
  border-radius: 50px;
  background-color: #ffffff;
  border: 1px solid transparent;
  color: #222222;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #767676;
  font-size: 0.9rem;
}

.form-input:focus {
  border-color: #f9cf1e;
  box-shadow: 0 0 0 3px rgba(249, 207, 30, 0.25);
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  margin: 3px 0 4px;
}

.form-checkbox-label input[type="checkbox"] {
  accent-color: #f9cf1e;
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 3px;
  margin: 0;
}

.btn-submit {
  width: 100%;
  padding: 14px 28px;
  border-radius: 50px;
  background-color: #f9cf1e;
  color: #111111;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.25s ease, transform 0.2s ease;
  margin-top: 4px;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  fill: #111111;
}

.btn-submit:hover {
  background-color: #be9e16;
  transform: translateY(-2px);
}

.form-feedback {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-feedback.error {
  display: block;
  background-color: rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* Barra inferior de copyright y enlaces */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #f9cf1e;
}

.footer-separator {
  color: rgba(255, 255, 255, 0.35);
  font-weight: bold;
}

/* ==========================================================================
   WIDGET FLOTANTE WHATSAPP
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-trigger-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.whatsapp-trigger-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-popup {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 310px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-popup-header {
  background-color: #075e54;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.whatsapp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.whatsapp-header-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.whatsapp-header-info span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.whatsapp-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
}

.whatsapp-popup-close:hover {
  opacity: 1;
}

.whatsapp-popup-body {
  padding: 20px 16px;
  background-color: #e5ddd5;
  background-image: radial-gradient(#d3c6b8 1px, transparent 1px);
  background-size: 12px 12px;
}

.whatsapp-msg-bubble {
  background-color: #fff;
  border-radius: 8px 8px 8px 0;
  padding: 12px 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  font-size: 0.88rem;
  color: #111;
  line-height: 1.45;
  margin-bottom: 16px;
}

.whatsapp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: var(--color-whatsapp);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition-fast);
}

.whatsapp-cta-btn:hover {
  background-color: #1ebc59;
}

.whatsapp-cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .brand-emotion-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .statue-container {
    max-width: 400px;
  }

  .global-reach-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .global-globe-col {
    order: -1;
  }

  .service-row-inner {
    grid-template-columns: 60px 220px 1fr;
    gap: 25px;
  }

  .service-title {
    font-size: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-info {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 0;
    padding-bottom: 30px;
    text-align: center;
  }

  .footer-info .footer-desc {
    margin: 0 auto;
  }

  .footer-form-wrapper {
    padding-left: 0;
  }

  .closing-statement h2 {
    font-size: 37px;
  }
}

@media (max-width: 768px) {

  .nav-menu,
  .nav-socials {
    display: none;
  }

  .menu-toggle-btn {
    display: block;
  }

  .why-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .why-card-1,
  .why-card-2,
  .why-card-3 {
    margin-top: 0;
  }

  .closing-statement h2 {
    font-size: 28px;
  }

  .service-row-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    padding: 24px 16px;
  }

  .portfolio-card {
    width: 240px;
    height: 240px;
  }

  .banner-cta-section {
    padding: 85px 20px;
    min-height: 280px;
  }

  .banner-cta-title {
    font-size: 2.7rem;
    line-height: 1.25;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* ==========================================================================
   HEADER SÓLIDO PARA SUBPÁGINAS SIN HERO
   ========================================================================== */
.site-header.site-header-solid {
  background-color: #121212;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   PÁGINAS LEGALES (DISEÑO SOBRIO, ESTRUCTURADO Y DIRECTO)
   ========================================================================== */
.legal-page {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 96px;
  background-color: var(--color-white);
  min-height: 80vh;
}

.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.legal-title {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.2;
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 8px;
}

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

.legal-section h2 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f0f0f0;
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-main);
  margin-bottom: 14px;
}

.legal-list {
  margin: 14px 0 18px 24px;
  padding: 0;
  list-style-type: disc;
}

.legal-list li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.legal-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.legal-table th {
  background-color: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-action-box {
  margin: 24px 0;
}

/* ==========================================================================
   SISTEMA DE COOKIES (BANNER Y MODAL SOBRIO)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #161616;
  color: #d1d5db;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  padding: 18px 0;
  z-index: 9999;
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cookie-banner-text p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #d1d5db;
  margin: 0;
}

.cookie-legal-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
  display: inline-block;
}

.cookie-btn-accept {
  background-color: var(--color-primary);
  color: #121212;
  border-color: var(--color-primary);
}

.cookie-btn-accept:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.cookie-btn-reject {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
  background-color: transparent;
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.16);
}

.cookie-btn-settings:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* En la página de cookies (fondo blanco), el botón de configuración destaca bien */
.legal-action-box .cookie-btn-settings {
  background-color: #121212;
  color: #ffffff;
  border-color: #121212;
  padding: 10px 22px;
}

.legal-action-box .cookie-btn-settings:hover {
  background-color: #242424;
  border-color: #242424;
}

.cookie-btn-secondary {
  background-color: #2e2e2e;
  color: #ffffff;
  border-color: #3e3e3e;
}

.cookie-btn-secondary:hover {
  background-color: #383838;
}

/* Modal de Preferencias de Cookies */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
}

.cookie-modal {
  background-color: #1a1a1a;
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cookie-modal-close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.cookie-modal-close:hover {
  color: #ffffff;
}

.cookie-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  max-height: calc(90vh - 150px);
}

.cookie-modal-intro {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #9ca3af;
  margin-bottom: 20px;
}

.cookie-category {
  background-color: #242424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-category-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.cookie-badge-required {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 2px;
}

.cookie-category-desc {
  font-size: 0.815rem;
  line-height: 1.5;
  color: #9ca3af;
  margin: 0;
}

/* Switch Toggle Sobrio */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #3b3b3b;
  border-radius: 24px;
  transition: 0.2s ease;
}

.cookie-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.2s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--color-primary);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
  background-color: #121212;
}

.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .cookie-banner-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .legal-page {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   POP-UP MODAL DE CONTACTO RÁPIDO DIRECTO (DISEÑO CREAKTIVE)
   ========================================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-modal-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.contact-modal-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.contact-modal.is-active .contact-modal-card {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  color: #888888;
  font-size: 2rem;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-modal-close:hover {
  background: none;
  color: #111111;
  transform: scale(1.15);
}

.contact-modal-header {
  margin-bottom: 24px;
}

.contact-modal-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d8aa00;
  margin-bottom: 8px;
}

.contact-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  margin-bottom: 10px;
}

.contact-modal-title .text-accent {
  color: #d8aa00;
}

.contact-modal-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #555555;
  line-height: 1.6;
  margin: 0;
}

.contact-modal-form .form-input {
  background-color: #f7f8fa;
  border: 1px solid #e2e4e8;
  color: #111111;
}

.contact-modal-form .form-input:focus {
  background-color: #ffffff;
  border-color: #f9cf1e;
  box-shadow: 0 0 0 3px rgba(249, 207, 30, 0.25);
}

.contact-modal-form .form-input::placeholder {
  color: #888888;
}

.contact-modal-form .form-checkbox-label {
  color: #555555;
}

.form-textarea {
  border-radius: 16px !important;
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.contact-modal-legal-link {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
}

.contact-modal-legal-link:hover {
  color: #d8aa00;
}

@media (max-width: 576px) {
  .contact-modal-card {
    padding: 32px 22px 28px;
  }

  .contact-modal-form .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================================================
   NORMALIZACIÓN UNIVERSAL DE PREGUNTAS FAQ (SEO INDEPENDIENTE DEL DISEÑO)
   Permite usar <h2>, <h3>, <p> o <span> sin alterar el diseño visual
   ========================================================================= */
.faq-question-btn > :is(h1, h2, h3, h4, h5, h6, p, span):not(.faq-toggle-icon) {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  flex: 1;
}