/* ==========================================
     RESET Y BASE
     ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ananda Black Personal Use";
  src: url("./fonts/Ananda\ Personal\ Use.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* ==========================================
   ROOT - DESIGN TOKENS
   ========================================== */
:root {
  /* === COLORES === */
  --bg-primary:
    linear-gradient(180deg, #f3efe9 0%, #e6ded2 50%, #f5f2ed 100%),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.01) 0px,
      rgba(0, 0, 0, 0.01) 1px,
      transparent 1px,
      transparent 16px
    );
  --bg-white: #ffffff;

  --gradient-primary: linear-gradient(135deg, #052857 0%, #458988 100%);
  --gradient-light: linear-gradient(135deg, #1a3a6b 0%, #5a9f9e 100%);
  --gradient-lighter: linear-gradient(135deg, #2d4f85 0%, #6fb3b2 100%);

  --accent-primary: #5a9f9e;
  --accent-cyan: #6fb3b2;

  --text-primary: #1a1a1a;
  --text-secondary: rgba(0, 0, 0, 0.6);
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.1);

  /* === ESPACIADO === */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --container-max-width: 1480px;

  /* === BORDER RADIUS === */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* === SOMBRAS === */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-polaroid: 0 20px 60px rgba(0, 0, 0, 0.18);
  --shadow-navbar:
    0 20px 40px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  --shadow-navbar-scrolled:
    0 15px 35px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);

  /* === TIPOGRAFÍA === */
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Ananda Black Personal Use", cursive;

  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 18px;

  /* === NAVBAR === */
  --nav-width-expanded: 1480px;
  --nav-width-collapsed: 750px;
  --nav-height-default: 80px;
  --nav-height-scrolled: 60px;
  --nav-top-default: 24px;
  --nav-top-scrolled: 16px;

  /* === TRANSICIONES === */
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.2, 0.8, 0.2, 1);

  --transition-slow: 0.6s;
  --transition-medium: 0.5s;
  --transition-fast: 0.3s;
  --transition-quick: 0.2s;

  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* ==========================================
   UTILITIES
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.header {
  min-height: 130px;
}

/* ==========================================
   NAVBAR - ESTRUCTURA
   ========================================== */

.stage {
  perspective: 1000px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none;
}

.navbar-card {
  position: relative;
  top: var(--nav-top-default);
  left: 50%;
  transform: translateX(-50%);

  width: 92%;
  max-width: var(--nav-width-expanded);
  height: var(--nav-height-default);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--spacing-lg);

  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-navbar);

  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  pointer-events: auto;
  overflow: hidden;

  transition:
    width var(--transition-slow) var(--ease-smooth),
    height var(--transition-slow) var(--ease-smooth),
    top var(--transition-slow) var(--ease-smooth),
    min-width var(--transition-slow) var(--ease-smooth),
    max-width var(--transition-slow) var(--ease-smooth),
    padding var(--transition-slow) var(--ease-smooth),
    gap var(--transition-slow) var(--ease-smooth),
    background var(--transition-medium) var(--ease-smooth),
    border-radius var(--transition-slow) var(--ease-smooth),
    box-shadow var(--transition-medium) var(--ease-smooth);
}

.navbar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.navbar-card:hover::before {
  opacity: 1;
}

.navbar-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.navbar-card:hover::after {
  opacity: 1;
}

/* Estado scrolled */
body.scrolled .navbar-card {
  top: var(--nav-top-scrolled);
  width: auto;
  min-width: 640px;
  max-width: 75%;
  height: var(--nav-height-scrolled);
  padding: 0 28px;
  gap: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-light);
  box-shadow: var(--shadow-navbar-scrolled);
}

/* ==========================================
   NAVBAR - BRANDING
   ========================================== */
.brand-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
  flex-shrink: 0;
  transition: width var(--transition-slow) var(--ease-smooth);
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);

  overflow: hidden;

  transition:
    width var(--transition-slow) var(--ease-smooth),
    height var(--transition-slow) var(--ease-smooth),
    border-radius var(--transition-slow) var(--ease-smooth),
    transform var(--transition-slow) var(--ease-smooth),
    background var(--transition-quick) ease,
    box-shadow var(--transition-medium) var(--ease-smooth);
}

.logo-icon:hover {
  background: rgba(255, 255, 255, 0.25);
}

.logo-icon img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: brightness(1.2);
}

body.scrolled .logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transform: rotate(360deg);
}

.logo-text {
  color: var(--text-white);
  font-weight: 700;
  font-size: var(--font-size-lg);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);

  opacity: 1;
  transform: translateX(0);

  transition:
    opacity var(--transition-medium) var(--ease-smooth),
    transform var(--transition-medium) var(--ease-smooth),
    width var(--transition-medium) var(--ease-smooth);
}

body.scrolled .logo-text {
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

/* ==========================================
   NAVBAR - NAVIGATION LINKS
   ========================================== */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
  flex-shrink: 0;

  padding: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: gap var(--transition-slow) var(--ease-smooth);
}

.nav-link {
  position: relative;
  z-index: 2;

  padding: 10px 18px;

  color: var(--text-white);
  font-weight: 400;
  font-size: var(--font-size-base);
  text-decoration: none;
  white-space: nowrap;

  border-radius: var(--radius-full);

  transition:
    color var(--transition-fast) ease,
    padding var(--transition-slow) var(--ease-smooth),
    font-size var(--transition-slow) var(--ease-smooth);
}

.nav-link:hover {
  color: var(--text-white);
}

/* Scrolled: links más compactos pero con espacio suficiente */
body.scrolled .nav-link {
  padding: 7px 14px;
  font-size: var(--font-size-sm);
}

/* Indicador pill animado */
.nav-indicator {
  position: absolute;
  top: var(--spacing-xs);
  height: calc(100% - 8px);
  z-index: 1;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 100%
  );
  border-radius: var(--radius-full);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  opacity: 0;
  pointer-events: none;

  transition:
    width 0.5s var(--ease-bounce),
    transform 0.5s var(--ease-bounce),
    opacity var(--transition-quick) ease;
}

/* ==========================================
   NAVBAR - ACTIONS (WhatsApp + Conversemos)
   ========================================== */
.actions-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-shrink: 0;
}

.btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 24px;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: var(--text-white);
  font-weight: 600;
  font-size: var(--font-size-md);
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  overflow: hidden;
  transform-origin: center;

  transition:
    background var(--transition-fast) ease,
    border-color var(--transition-fast) ease,
    padding var(--transition-slow) var(--ease-smooth),
    border-radius var(--transition-slow) var(--ease-smooth),
    font-size var(--transition-slow) var(--ease-smooth),
    box-shadow var(--transition-fast) ease,
    transform var(--transition-quick) ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

body.scrolled .btn-premium {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
}

/* Texto "Conversemos" */
.btn-label {
  font-size: inherit;
  font-weight: 600;
  white-space: nowrap;
}
/* ==========================================
   MOBILE / HAMBURGER — BASE (oculto en desktop)
   ========================================== */
.mobile-toggle,
.btn-icon-circle {
  display: none;
}

/* ==========================================
   NAV OVERLAY — siempre en DOM, nunca display:none
   ========================================== */
.nav-overlay {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 0 130px 0;
  z-index: 2000;
  background: linear-gradient(160deg, #052857 0%, #1a3a6b 40%, #458988 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  pointer-events: none;
}

.nav-overlay.active {
  bottom: 0;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay nav.mobile-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 32px;
}

.nav-link-mobile {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  align-self: center;
  text-align: center;
  width: 100%;
  padding: 0;
  margin-bottom: 28px;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.nav-link-mobile:last-child {
  margin-bottom: 0;
}

/* Eliminar los nth-child con distintos tamaños */
.nav-link-mobile:nth-child(1),
.nav-link-mobile:nth-child(2),
.nav-link-mobile:nth-child(3),
.nav-link-mobile:nth-child(4),
.nav-link-mobile:nth-child(5) {
  font-size: 2.4rem;
  margin-bottom: 37px;
  align-self: center;
  padding: 0;
}

.close-menu {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.close-menu:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%) scale(1.1);
}
/* ==========================================
   ELIMINAR TAP HIGHLIGHT MÓVIL
   ========================================== */

.hero-photo-stack,
.polaroid-stack-card,
.hero-photo-stack *,
.polaroid-stack-card *,
.nav-link-mobile,
.close-menu,
.mobile-toggle,
.btn-icon-circle,
.btn-premium {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.hero-photo-stack:focus,
.hero-photo-stack:focus-visible,
.polaroid-stack-card:focus,
.polaroid-stack-card:focus-visible {
  outline: none;
}

/* ==========================================
   RESPONSIVE NAVBAR - MOBILE
   ========================================== */

@media (max-width: 768px) {
  .header {
    min-height: unset;
  }

  /* Stage pegado al fondo */
  .stage {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  /* Navbar fija abajo */
  .navbar-card {
    top: auto !important;
    bottom: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 92% !important;
    min-width: auto !important;
    max-width: 92% !important;
    height: var(--nav-height-scrolled) !important;
    padding: 0 20px !important;
    border-radius: var(--radius-full) !important;
    background: var(--gradient-light) !important;
    box-shadow: var(--shadow-navbar-scrolled) !important;

    justify-content: space-between !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  /* Ocultar elementos desktop */
  .logo-text {
    display: none !important;
  }
  .nav-menu {
    display: none !important;
  }

  /* ==========================================
     ESTILO UNIFICADO PARA TODOS LOS BOTONES
     ========================================== */
  .logo-icon,
  .btn-premium,
  .btn-icon-circle,
  .mobile-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow:
      0 4px 15px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    transition:
      background 0.2s ease,
      transform 0.2s ease,
      box-shadow 0.2s ease !important;
    color: white;
    cursor: pointer;
    text-decoration: none;
  }

  .logo-icon:hover,
  .btn-premium:hover,
  .btn-icon-circle:hover,
  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
  }

  .mobile-toggle:active,
  .btn-icon-circle:active,
  .btn-premium:active {
    transform: scale(0.92) !important;
  }

  /* Ocultar texto del botón WhatsApp */
  .btn-label {
    display: none !important;
  }
  .btn-premium::before {
    display: none;
  }

  /* ==========================================
     HAMBURGER BARS
     ========================================== */
  .mobile-toggle {
    flex-direction: column !important;
    gap: 5px !important;
  }

  .mobile-toggle .bar {
    display: block;
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition:
      transform 0.4s var(--ease-smooth),
      opacity 0.3s ease,
      width 0.3s ease;
    transform-origin: center;
  }

  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
    width: 0;
  }

  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  main {
    padding-bottom: 100px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 0 100px 0;
  }
}
/* ==========================================
   HERO - HEADER---------------------------------------------------------------------------------------------------------
   ========================================== */
main {
  padding: 0px 65px;
}
@media (max-width: 768px) {
  main {
    padding: 0px;
  }
}
.hero-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-top: 0.25em;
  overflow: visible;
}

h2.hero-name {
  order: -1;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-family: var(--font-secondary);
  margin-bottom: 0.5rem;
  text-align: center;
  line-height: 1.3;
  padding-bottom: 0.2em;
  padding-top: 0.2em;
  overflow: visible;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

h1.hero-title {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-primary);
  font-weight: 500;
  margin: 0 auto;
  line-height: 1.5;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: none;
  display: block;
}
.cta-contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.9rem 1rem;
  text-align: center;
}

.cta-frase {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #052857;
  max-width: 520px;
  line-height: 1.7;
  margin: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #052857 0%, #458988 100%);
  color: #fff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #458988;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cta-btn:hover::before {
  opacity: 1;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-nota {
  font-size: 0.8rem;
  color: #999;
}

/* ==========================================
   PHOTO BENTO GRID
   ========================================== */

.photo-bento-grid {
  display: flex;
  flex-direction: column;
  gap: 3.125rem;
}

/* ==========================================
   BENTO ROW - PRINCIPAL (STACK + QUOTE)
   ========================================== */

.bento-row-principal {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.75rem;
  align-items: center;
  min-height: 31.25rem;
}

/* ==========================================
   HERO PHOTO STACK
   ========================================== */

.hero-photo-stack {
  position: relative;
  height: 34.375rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stack-photo {
  position: absolute;
  background: var(--bg-white);
  padding: 0.9375rem 0.9375rem 3rem 0.9375rem; /* ← más padding abajo para el caption */
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  will-change: transform;
}

/* Agregá esto nuevo */
.hero-stack-caption {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #052857;
  margin-top: 0.625rem;
}
.hero-stack-photo img {
  width: clamp(200px, 28vw, 380px);
  height: clamp(260px, 36vw, 480px);
  object-fit: cover;
  display: block;
  max-width: 100%;
}

/* Capas */
.photo-layer-3 {
  transform: rotate(-8deg) translate(-60px, 20px);
  z-index: 1;
  opacity: 0.9;
  /* GSAP maneja el timing */
}

.photo-layer-2 {
  transform: rotate(3deg) translate(40px, -10px);
  z-index: 2;
  opacity: 0.95;
  /* GSAP maneja el timing */
}

.photo-layer-1 {
  transform: rotate(-2deg) translate(-20px, 10px);
  z-index: 3;
  /* GSAP maneja el timing */
}

/* --- Cintas adhesivas decorativas --- */

/* ==========================================
   QUOTE CARD
   ========================================== */

.hero-quote-card {
  display: flex;
  position: relative;
  padding: 3.125rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
  flex-direction: column;
  align-items: flex-end;
}

.quote-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 35px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-quote-text {
  display: flex;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  align-items: center;
}

.quote-signature {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  color: var(--accent-cyan);
  text-align: right;
}

/* ==========================================
   BENTO ROW - SECONDARY (MINI CARDS)
   ========================================== */

.bento-row-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}

.mini-photo-card {
  background: var(--bg-white);
  border-radius: 0;
  padding: 0;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition-quick) ease;
}

.mini-photo-card:hover {
  transform: translateY(-5px);
}

.mini-card-photo {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.mini-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mini-photo-card:hover .mini-card-photo img {
  transform: scale(1.05);
}

.mini-card-content {
  padding: 1.875rem;
}

.mini-card-content h2 {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: #052857;
  margin-bottom: 0.9375rem;
}

.mini-card-content p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.mini-card-tags {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  list-style: none;
}

.mini-tag {
  background: #f5f5f5;
  color: #052857;
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  border: 1px solid var(--accent-cyan);
  transition: all var(--transition-quick) ease;
}

.mini-tag:hover {
  background: var(--accent-cyan);
  color: var(--bg-white);
}

/* ==========================================
   STATS GRID - EXPERIENCIA 
   ========================================== */

.card-experiencia {
  padding: 2.1875rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.experiencia-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.experiencia-content h3 {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #052857;
  margin-bottom: 1.5625rem;
  text-align: center;
  font-style: normal;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5625rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.125rem 0.625rem;
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.85) 0%,
    rgba(30, 90, 142, 0.85) 100%
  );
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.95) 0%,
    rgba(30, 90, 142, 0.95) 100%
  );
  box-shadow: 0 6px 20px rgba(5, 40, 87, 0.3);
}

.stat-number {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.375rem;
  font-style: normal;
}

.stat-label {
  font-size: clamp(0.625rem, 1vw, 0.6875rem);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  text-align: center;
  font-style: normal;
}

.experience-summary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
}

.experience-summary p {
  padding: 0.875rem;
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.08) 0%,
    rgba(30, 90, 142, 0.05) 100%
  );
  border-radius: 8px;
  border-left: 3px solid rgba(5, 40, 87, 0.3);
  color: #052857;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  transition: all 0.3s ease;
  font-style: normal;
  font-weight: 500;
}

.experience-summary p:hover {
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.12) 0%,
    rgba(30, 90, 142, 0.08) 100%
  );
  transform: translateX(3px);
  border-left-color: rgba(5, 40, 87, 0.6);
}

/* ==========================================
   POLAROID STACK CARD
   ========================================== */

.polaroid-stack-card {
  position: relative;
  height: 25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.polaroid-stack-card::after {
  content: "Toca para ver las fotos";
  position: absolute;
  bottom: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(5, 40, 87, 0.45);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-primary);
  transition: opacity 0.3s ease;
}

.polaroid-stack-card.expanded::after {
  content: "Toca para cerrar";
}

.polaroid {
  position: absolute;
  background: var(--bg-white);
  padding: 0.75rem 0.75rem 2.8125rem 0.75rem;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.06);
  /* Sin transition CSS — GSAP lo controla todo */
  max-width: 100%;
}

.polaroid img {
  width: clamp(120px, 15vw, 200px);
  height: clamp(150px, 19vw, 240px);
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: #052857;
  margin-top: 0.625rem;
}

.polaroid-1 {
  transform: rotate(-8deg) translate(-30px, -20px);
  z-index: 1;
}

.polaroid-2 {
  transform: rotate(5deg) translate(10px, 10px);
  z-index: 2;
}

.polaroid-3 {
  transform: rotate(-3deg) translate(40px, -10px);
  z-index: 3;
}

/* Hover desktop polaroid manejado por GSAP — ver JS */

/* ==========================================
   CARD DE NOVEDADES
   ========================================== */

.card-novedades {
  padding: 2.1875rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.novedades-header {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  margin-bottom: 1.5625rem;
  position: relative;
  z-index: 1;
}

.novedades-badge {
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.85) 0%,
    rgba(30, 90, 142, 0.85) 100%
  );
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(5, 40, 87, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.novedades-header h3 {
  font-family: var(--font-secondary);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #052857;
  margin: 0;
}

.novedades-preview {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.preview-item {
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.08) 0%,
    rgba(30, 90, 142, 0.05) 100%
  );
  border-left: 3px solid rgba(30, 90, 142, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.preview-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 100%
  );
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-item:hover {
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.12) 0%,
    rgba(30, 90, 142, 0.08) 100%
  );
  transform: translateX(2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-left-color: rgba(30, 90, 142, 0.7);
}

.preview-item:hover::before {
  opacity: 1;
}

.preview-date {
  display: block;
  font-size: 0.6875rem;
  color: rgba(5, 40, 87, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.preview-item p {
  color: #052857;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  main {
    padding: 0 15px;
  }

  .bento-row-principal {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-photo-stack {
    height: 28rem;
  }

  .bento-row-secondary {
    grid-template-columns: 1fr;
    gap: 1.88rem;
  }

  .polaroid-stack-card {
    height: 22rem;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   RESPONSIVE MÓVIL - PHOTO STACK
   ========================================== */

@media (max-width: 768px) {
  .hero-header {
    margin-bottom: 3rem;
  }

  .hero-photo-stack {
    height: auto;
    cursor: default;
  }

  .photo-layer-2,
  .photo-layer-3 {
    display: none !important;
  }

  .photo-layer-1 {
    position: relative;
    transform: none !important;
  }

  /* Desactivar hover desktop en móvil */
  .hero-photo-stack:hover .photo-layer-3,
  .hero-photo-stack:hover .photo-layer-2,
  .hero-photo-stack:hover .photo-layer-1 {
    transform: none;
  }

  .polaroid-stack-card {
    height: auto;
    min-height: 18rem;
    cursor: pointer;
  }

  /* Desactivar hover desktop en móvil para polaroid */
  .polaroid-stack-card:hover .polaroid-1,
  .polaroid-stack-card:hover .polaroid-2,
  .polaroid-stack-card:hover .polaroid-3 {
    transform: none;
  }

  /* ==========================================
     HINT VISUAL — unificado para ambos stacks
     ========================================== */

  .hero-quote-card {
    padding: 2rem 1.5rem;
  }

  .mini-card-photo {
    height: 200px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
  }
}

@media (max-width: 480px) {
  .hero-header {
    margin-bottom: 2rem;
  }

  .hero-photo-stack {
    height: 20rem;
  }

  .hero-quote-card {
    padding: 1.875rem 1.5rem;
  }

  .stats-grid {
    gap: 0.5rem;
  }

  .stat-item {
    padding: 0.625rem;
  }

  .polaroid-stack-card {
    min-height: 15rem;
  }
}
/* ==========================================
   EXPERIENCES SECTION - POLAROID GALLERY---------------------------------------------------------------------------------
   ========================================== */

.experiences-section {
  max-width: 1400px;
  padding: 60px 0px;
}

.experiences-header {
  text-align: center;
  margin-bottom: 80px;
}

.experiences-header h2 {
  font-family: "Ananda Black Personal Use", serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 15px;
  line-height: 1.6;
  padding-top: 1.5em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.experiences-intro {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #052857;
  line-height: 1.5;
}

/* ==========================================
   GALLERY GRID - 3 FILAS
   ========================================== */

.experiences-gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 0;
  list-style: none;
  position: relative;
}

/* ROW 1 - 3 Fotos */
.gallery-row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ROW 2 - Foto + Texto + Foto */
.gallery-row-2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ROW 3 - 3 Fotos */
.gallery-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================================
   POLAROID CARD - Estilo Foto Instantánea
   ========================================== */

.polaroid-card {
  position: relative;
  background: #fdfcfa;
  padding: 15px 15px 55px 15px;

  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 16px rgba(0, 0, 0, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(0, 0, 0, 0.02);

  border-radius: 2px;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease;
}

/* Variaciones de tonos beige/crema por card */
.gallery-row-1 .polaroid-item:nth-child(1) .polaroid-card {
  background: #faf8f5;
}

.gallery-row-1 .polaroid-item:nth-child(2) .polaroid-card {
  background: #f9f7f4;
}

.gallery-row-1 .polaroid-item:nth-child(3) .polaroid-card {
  background: #fdfcfa;
}

.gallery-row-2 .polaroid-item:nth-child(1) .polaroid-card {
  background: #f8f6f3;
}

.gallery-row-2 .polaroid-item:nth-child(3) .polaroid-card {
  background: #fbf9f6;
}

.gallery-row-3 .polaroid-item:nth-child(1) .polaroid-card {
  background: #fdfcf9;
}

.gallery-row-3 .polaroid-item:nth-child(2) .polaroid-card {
  background: #faf8f5;
}

.gallery-row-3 .polaroid-item:nth-child(3) .polaroid-card {
  background: #f9f7f3;
}

/* Hover effect */
.polaroid-card:hover {
  transform: rotate(0deg) translateY(-1.5px) scale(1);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.12);
  /* z-index: 10; */
}

/* ==========================================
   CHINCHES
   ========================================== */
.photo-tape {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  background: none;
  box-shadow: none;
  width: 38px;
  height: 52px;
  filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.3));
}

.photo-tape svg {
  width: 100%;
  height: 100%;
}

.tape-top-center {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}
/* ==========================================
   CONTENIDO DE POLAROID - MINIMALISTA CON SCROLL
   ========================================== */

.polaroid-content {
  position: relative;
  width: 100%;
  height: 320px;
  background: linear-gradient(to bottom, #f5f4f1 0%, #eeece8 100%);
  border-radius: 1px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px;
  padding-right: 25px;
  text-align: center;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.03);
}

/* Estilos para scrollbar en navegadores webkit (Chrome, Safari, Edge) */
.polaroid-content::-webkit-scrollbar {
  width: 8px;
}

.polaroid-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  margin: 8px 0;
}

.polaroid-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  min-height: 40px;
}

.polaroid-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.25);
}

.polaroid-content::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.35);
}

/* Variaciones sutiles de fondo por card */
.gallery-row-1 .polaroid-item:nth-child(1) .polaroid-content {
  background: linear-gradient(to bottom, #f7f6f3 0%, #f0eee9 100%);
}

.gallery-row-1 .polaroid-item:nth-child(2) .polaroid-content {
  background: linear-gradient(to bottom, #f4f3f0 0%, #edebe6 100%);
}

.gallery-row-1 .polaroid-item:nth-child(3) .polaroid-content {
  background: linear-gradient(to bottom, #f6f5f2 0%, #efede8 100%);
}

.gallery-row-2 .polaroid-item:nth-child(1) .polaroid-content {
  background: linear-gradient(to bottom, #f5f3f0 0%, #eeecea 100%);
}

.gallery-row-2 .polaroid-item:nth-child(3) .polaroid-content {
  background: linear-gradient(to bottom, #f8f7f4 0%, #f1efe9 100%);
}

.gallery-row-3 .polaroid-item:nth-child(1) .polaroid-content {
  background: linear-gradient(to bottom, #f6f4f1 0%, #efeee9 100%);
}

.gallery-row-3 .polaroid-item:nth-child(2) .polaroid-content {
  background: linear-gradient(to bottom, #f7f5f2 0%, #f0ede8 100%);
}

.gallery-row-3 .polaroid-item:nth-child(3) .polaroid-content {
  background: linear-gradient(to bottom, #f5f4f0 0%, #edecea 100%);
}

.card-badge {
  background: transparent;
  color: #999;
  padding: 0;
  border-radius: 0;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: none;
  margin-bottom: 20px;
  position: relative;
  flex-shrink: 0;
}

/* Línea divisora sutil */
.card-badge::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

.polaroid-content h3 {
  display: none;
  color: #2a2a2a;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.polaroid-parrafo {
  color: black;
  font-style: italic;
  font-size: 13px;
  /* font-weight: 600; */
  line-height: 1.5;
  text-align: left;
  flex-shrink: 0;
}

.polaroid-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  border: none;
  margin-top: 25px;
  flex-shrink: 0;
}

.polaroid-author strong {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.polaroid-author span {
  color: #888;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.polaroid-caption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  text-align: center;
  font-family: "Ananda Black Personal Use", serif;
  font-size: 13px;
  color: #666;
  opacity: 0.8;
  letter-spacing: 0.3px;
}

/* ==========================================
   TEXTO CENTRAL (ROW 2)
   ========================================== */

.center-text-item {
  text-align: center;
  padding: 40px 30px;
}

.center-text {
  font-family: var(--font-secondary);
  font-size: 23px;
  line-height: 1.6;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   EXPERIENCES - RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .gallery-row-1,
  .gallery-row-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .gallery-row-1 .polaroid-item:nth-child(3),
  .gallery-row-3 .polaroid-item:nth-child(3) {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .gallery-row-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .polaroid-content {
    height: 280px;
  }

  .center-text {
    font-size: 28px;
  }
}

/* ==========================================
   EXPERIENCES - MOBILE (768px)
   Unifica grid + carousel en un solo bloque
   ========================================== */
@media (max-width: 768px) {
  .experiences-section {
    padding: 0;
  }

  .hanging-line-container {
    overflow: hidden;
    padding: 20px 0 50px 0;
    margin: -20px 0 -20px 0;
  }

  /* Carousel horizontal infinito */
  .experiences-gallery {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    overflow: visible !important;
    cursor: grab;
    will-change: transform;
    width: max-content !important;
    align-items: stretch;
  }

  .experiences-gallery:active {
    cursor: grabbing;
  }

  /* Las rows desaparecen como contenedores grid */
  .gallery-row-1,
  .gallery-row-2,
  .gallery-row-3 {
    display: contents !important;
  }

  /* Cards individuales como slides */
  .polaroid-item,
  .center-text-item {
    min-width: 75vw;
    width: 75vw;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .center-text-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60vw;
    width: 60vw;
  }

  .polaroid-card {
    transform: none !important;
    width: 92%;
  }

  .polaroid-content {
    height: 300px;
  }

  .center-text {
    font-size: 24px;
    padding: 30px 20px;
  }

  /* Ocultar dots en modo carousel continuo */
  .carousel-dots {
    display: none;
  }
}

/* ==========================================
   EXPERIENCES - MOBILE SMALL (480px)
   ========================================== */
@media (max-width: 480px) {
  .experiences-header h2 {
    margin: 30px 0;
  }

  .polaroid-item {
    min-width: 82vw;
    width: 82vw;
  }

  .polaroid-card {
    padding: 12px 12px 45px 12px;
  }

  .polaroid-content {
    height: 280px;
    padding: 20px;
    padding-right: 15px;
  }

  .polaroid-content h3 {
    font-size: 20px;
  }

  .polaroid-content p {
    font-size: 13px;
  }

  .center-text {
    font-size: 22px;
  }
}
/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  margin: 90px auto;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-family: "Ananda Black Personal Use", serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.6;
  padding-top: 0.2em;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #052857;
  text-align: left;
  margin: 0 auto;
  line-height: 1.5;
}

/* ---- Accordion Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
  align-items: start;
}

/* ---- Service Card (accordion trigger) ---- */
.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(69, 137, 136, 0.2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(5, 40, 87, 0.12);
  border-color: rgba(69, 137, 136, 0.38);
}

.service-card.is-open {
  border-color: rgba(69, 137, 136, 0.45);
  box-shadow: 0 10px 36px rgba(5, 40, 87, 0.15);
}

/* Card header — the always-visible part */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  position: relative;
  user-select: none;
}

.service-card-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: rgba(69, 137, 136, 0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card.is-open .service-card-header::after {
  transform: scaleX(1);
}

.service-card-flag {
  width: 56px;
  height: 40px;
  border-radius: 6px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-icon {
  width: 56px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(
    135deg,
    rgba(5, 40, 87, 0.08),
    rgba(69, 137, 136, 0.08)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #458988;
  flex-shrink: 0;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.service-card.is-open .service-icon {
  background: linear-gradient(135deg, #052857, #1e5a8e);
  color: #f3efe9;
}

.service-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.service-card-chevron {
  color: #458988;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.service-card.is-open .service-card-chevron {
  transform: rotate(180deg);
}

/* Accordion body */
/* Accordion body — sin transition CSS, GSAP lo maneja */
.service-card-body {
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.service-card-body-inner {
  padding: 20px 24px 24px;
}
.flag-img.is-globe {
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border: none;
  width: 40px;
  height: 40px;
}
/* Personal advisory note */
.service-advisory-note {
  display: none;
  font-size: 13.5px;
  color: #444;
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(5, 40, 87, 0.04);
  border-left: 3px solid #458988;
  border-radius: 0 8px 8px 0;
  margin-bottom: 18px;
  font-style: italic;
}

/* Services list */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: 14px;
  font-weight: 500;
  color: #2e2e2e;
  padding: 9px 0 9px 26px;
  position: relative;
  line-height: 1.45;
  border-bottom: 1px solid rgba(69, 137, 136, 0.1);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✈";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #458988;
  font-size: 12px;
}

/* ---- International Network ---- */
.international-network h3 {
  font-family: "Ananda Black Personal Use", serif;
  font-size: 40px;
  text-align: center;
  line-height: 1.6;
  padding-top: 0.2em;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.network-intro {
  color: #052857;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.country-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 15px;
  transition: transform 0.3s ease;
}

.country-item:hover {
  transform: translateY(-3px);
}

.flag-img {
  width: 48px;
  height: 36px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.globe-icon {
  color: #458988;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.network-footer {
  color: #052857;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
  margin-bottom: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .countries-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .services-header h2 {
    font-size: 32px;
  }
  .international-network h3 {
    font-size: 26px;
  }
  .countries-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
}
/* ==========================================================================
   FAQ SECTION - 
   ========================================================================== */

.faq-section {
  margin-top: 60px;
}
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-section h2 {
  font-family: var(--font-secondary);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 15px;
  line-height: 1.6;
  padding-top: 0.2em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-intro {
  font-weight: 500;
  color: #052857;
  text-align: left;
  margin: 0 auto;
  line-height: 1.6;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.faq-intro a {
  font-weight: 600;
  text-decoration: none;
  background-color: #198b91;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition:
    transform 0.4s ease,
    background-color 0.4s ease;
  display: inline-block;
}

.faq-intro a:hover {
  background-color: #266d72;
  transform: scale(1.01);
}

.faq-container {
  margin-top: 40px;
  padding: 0px 80px;
}

.faq-item {
  overflow: hidden;
  /* CORRECCIÓN: Quitamos el "all" para que no pelee con GSAP en la altura */
  transition:
    background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin-bottom: 12px;
}

.faq-item:hover {
  background: linear-gradient(
    90deg,
    rgba(228, 219, 203, 0.2) 0%,
    rgba(228, 219, 203, 0.08) 100%
  );
  border-bottom-color: rgba(69, 137, 136, 0.25);
  box-shadow: 0 2px 12px rgba(5, 40, 87, 0.06);
  transform: translateX(4px);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: padding 0.3s ease;
}

.faq-item summary:hover {
  padding-left: 32px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  background: linear-gradient(135deg, #052857 0%, #0a4a8f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.01em;
  flex: 1;
  pointer-events: none;
  line-height: 1.5;
}

.faq-arrow {
  background: linear-gradient(135deg, #458988 0%, #6bc5c3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
  font-weight: bold;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.6s ease;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(69, 137, 136, 0.2));
}

.faq-item[open] {
  background: linear-gradient(
    243deg,
    rgba(177, 166, 147, 0.25) 0%,
    rgba(228, 219, 203, 0.08) 100%
  );
  border-bottom-color: rgba(69, 137, 136, 0.35);
  box-shadow:
    0 6px 16px rgba(5, 40, 87, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateX(0);
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg) scale(1.1);
  background: linear-gradient(135deg, #8b4513 0%, #d2691e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(139, 69, 19, 0.3));
}

.faq-item[open] .faq-question {
  background: linear-gradient(135deg, #052857 0%, #458988 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-answer {
  line-height: 1.9;
  padding: 0 60px 40px 32px;
  opacity: 1;
}

.faq-answer p {
  color: #1a3a54;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 13px;
  letter-spacing: 0.01em;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Ajustes Responsive */

/* ==========================================
   FAQ - RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
  .faq-section {
    padding: 50px 0px;
  }

  .faq-container {
    padding: 40px 0;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-answer p {
    font-size: 15.5px;
  }
}

@media (max-width: 768px) {
  .faq-question {
    font-size: 17px;
  }

  .faq-item summary {
    padding: 28px 18px;
  }

  .faq-item summary:hover {
    padding-left: 24px;
  }

  .faq-answer {
    padding: 0 18px 30px 24px;
  }

  .faq-answer p {
    font-size: 15px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .faq-section {
    padding: 30px 0px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-item summary {
    padding: 24px 16px;
  }

  .faq-item summary:hover {
    padding-left: 20px;
  }

  .faq-answer {
    padding: 0 16px 28px 20px;
  }

  .faq-answer p {
    font-size: 14.5px;
    line-height: 1.75;
  }

  .faq-arrow {
    font-size: 24px;
  }
}

/* ==========================================================================
   SOBRE MI ---- SECTION
   ========================================================================== */

.about-editorial {
  margin: 0 auto 100px;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 40px;
}

/* ---------- TÍTULO ---------- */

.about-title h2 {
  font-family: "Ananda Black Personal Use", serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  text-align: center;
  line-height: 1.5;
  padding-top: 0.2em;
  margin: 15px 0px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-paragraph-header {
  margin-bottom: 80px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: #052857;
  text-align: left;
  line-height: 1.5;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   EXPERIENCIA COLLAGE
=========================== */

.about-experience {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 550px;
  margin-top: 40px;
}

.experience-stack {
  position: relative;
  width: 520px;
  height: 420px;
}

.experience-photo {
  position: absolute;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease;
}

.experience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-back {
  width: 270px;
  height: 360px;
  transform: translateX(-140px) translateY(-101px);
  z-index: 1;
}

.photo-front {
  width: 450px;
  transform: translateX(306px);
  z-index: 2;
  border: none;
}

.experience-text {
  display: flex;
  position: absolute;
  bottom: -421px;
  left: -220px;
  background: linear-gradient(180deg, #f3efe9 0%, #e6ded2 100%);
  padding: 40px;
  max-width: 670px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  z-index: 3;
  color: #052857;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  flex-direction: column;
  align-items: center;
}

.experience-text p {
  font-size: 15px;
  color: #052857;
  line-height: 1.7;
}

/* ===========================
   TRAVELS / RECORRIDO
=========================== */

.about-travels {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 550px;
  margin-top: 40px;
}

.travels-stack {
  position: relative;
  width: 520px;
  height: 420px;
}

.travels-photo {
  position: absolute;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease;
}

.travels-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Foto grande — izquierda (espejo de photo-front) */
.travels-front {
  width: 450px;
  height: 420px;
  transform: translateX(-306px);
  z-index: 2;
}

/* Foto chica — derecha (espejo de photo-back) */
.travels-back {
  height: 600px;
  transform: translateX(310px) translateY(-101px);
  z-index: 1;
}

.travels-text-box {
  display: flex;
  position: absolute;
  bottom: -421px;
  right: -220px;
  background: linear-gradient(180deg, #f3efe9 0%, #e6ded2 100%);
  padding: 40px;
  max-width: 670px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(3px);
  z-index: 3;
  color: #052857;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  flex-direction: column;
  align-items: center;
}

.travels-text-box p {
  font-size: 15px;
  color: #052857;
  line-height: 1.7;
}

/* ===========================
   FONDO EDITORIAL REVISTA
=========================== */

.about-editorial::before {
  content: "";
  position: absolute;
  top: 25%;
  left: 247px;
  width: 66%;
  height: 821px;
  background: #f1ede6;
  z-index: -1;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
  .about-editorial {
    gap: 40px;
    margin-bottom: 100px;
    overflow: clip;
  }

  .about-paragraph-header {
    padding: 0 40px;
    margin-bottom: 200px;
  }

  /* EXPERIENCIA - Mobile */
  .about-experience {
    margin-bottom: 0;
    padding: 0;
    min-height: 400px;
    margin-top: 20px;
  }

  .experience-stack {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .experience-text {
    position: relative;
    left: 0;
    bottom: -120px;
    margin: 40px 20px 0;
    padding: 35px 30px;
    max-width: calc(100% - 40px);
    width: auto;
  }

  .photo-back {
    width: 240px;
    height: 320px;
    transform: translateX(-177px) translateY(-243px);
  }

  .photo-front {
    width: 350px;
    transform: translateX(190px) translateY(-185px);
  }

  .experience-text p {
    text-align: left;
  }

  /* TRAVELS - Mobile */
  .about-travels {
    margin-bottom: 130px;
    padding: 0;
    min-height: 400px;
    margin-top: 20px;
  }

  .travels-stack {
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .travels-front {
    width: 350px;
    height: 350px;
    transform: translateX(-190px) translateY(-185px);
  }

  .travels-back {
    width: 240px;
    height: 320px;
    transform: translateX(177px) translateY(-243px);
  }

  .travels-text-box {
    position: relative;
    right: 0;
    bottom: -120px;
    margin: 40px 20px 0;
    padding: 35px 30px;
    max-width: calc(100% - 40px);
    width: auto;
  }

  .travels-text-box p {
    font-size: 15px;
    text-align: left;
  }

  /* Fondo editorial */
  .about-editorial::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-paragraph-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .about-experience {
    margin-top: 620px;
    height: auto;
  }

  .experience-stack {
    height: 300px;
  }

  .photo-back {
    width: 200px;
    height: 270px;
    transform: translateX(-170px) translateY(-524px);
  }

  .photo-front {
    transform: translateX(70px) translateY(-541px);
  }

  .about-travels {
    margin-top: 620px;
    height: auto;
  }

  .travels-stack {
    height: 300px;
  }

  .travels-front {
    width: 200px;
    height: 270px;
    transform: translateX(-70px) translateY(-434px);
  }

  .travels-back {
    width: 200px;
    height: 270px;
    transform: translateX(79px) translateY(-562px);
  }

  .experience-text,
  .travels-text-box {
    padding: 30px 25px;
    bottom: 0;
  }
}

/* ==========================================================================
                                    CONTACT SECTION - ------------------------------------------------------------------------
   ========================================================================== */
.contact-section {
  max-width: 900px;
  margin: 100px auto;
}

.contact-container {
  background: linear-gradient(180deg, #f3efe9 0%, #e6ded2 100%);
  box-shadow:
    0 6px 16px rgba(5, 40, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 80px 90px;
  border-radius: var(--radius-lg);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h2 {
  font-family: "Ananda Black Personal Use", serif;
  font-size: 35px;
  line-height: 1.6;
  padding-top: 0.2em;
  text-align: center;
  margin: 15px 0px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-header p {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 40px;
  color: #052857;
  text-align: left;
  line-height: 1.5;
  margin: 0 auto;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto 50px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Estilos para el dropdown del select */
.form-group select option {
  background-color: #f3efe9;
  color: #000000;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
}

/* Opción seleccionada o hover */
.form-group select option:hover,
.form-group select option:checked {
  background: linear-gradient(135deg, #e6ded2 0%, #f3efe9 100%);
  color: #052857;
  font-weight: 500;
}

/* Para navegadores que soportan ::backdrop en select */
.form-group select:focus {
  outline: none;
}
/* INPUTS: Líneas y textos marcados */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;

  /* Línea base: más oscura y visible (1.5px) */
  border-bottom: 1.5px solid #6b665c;

  padding: 12px 0;
  font-size: 15px; /* Un punto más grande para mejor lectura */
  font-family: "Montserrat", sans-serif;
  color: #000000; /* Texto del usuario en negro absoluto */
  font-weight: 500; /* Texto con más peso */
  transition: all 0.3s ease;
  outline: none;
  border-radius: 0;
}

/* Placeholders (Nombres de los inputs): Bien visibles */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: #5e5a50; /* Gris oscuro sólido */
  font-weight: 400; /* Letra semigruesa */
  opacity: 1; /* Asegura que el navegador no lo aclare */
}

/* Estado Focus: Línea negra y gruesa */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom: 2px solid #000000; /* Negro total al seleccionar */
  background: transparent;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
  margin-top: 20px;
}

/* Flecha del select oscura */
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

/* Estilo para opción placeholder del select cuando es required */
.form-group select:invalid {
  color: #5e5a50;
  font-weight: 500;
}

/* Mensaje de error */
.error-message {
  display: none;
  color: #b00000; /* Rojo oscuro fuerte */
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}

.form-group input.invalid {
  border-bottom-color: #b00000;
  color: #b00000;
}

.form-submit {
  width: auto;
  min-width: 220px;
  display: block;
  margin: 50px auto 0;
  padding: 16px 40px;

  background: var(--gradient-light); /* NO TOCAMOS */
  color: #f3efe9;
  border: 1px solid #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  border-radius: var(--radius-full);

  position: relative;
  overflow: hidden;
  transform-origin: center;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

/* Shine premium */
.form-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.form-submit:hover::before {
  left: 100%;
}
.form-submit:hover {
  border-color: rgba(0, 0, 0, 0.6);
  transform: scale(1.02) translateY(-2px);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Click */
.form-submit:active {
  transform: scale(0.98);
  box-shadow: none;
}
/* ── Teléfono con código de país ── */
.phone-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0;
  border-bottom: 1.5px solid #6b665c;
  transition: border-color 0.3s ease;
}

.phone-wrapper:focus-within {
  border-bottom: 2px solid #000000;
}

/* Input de número sin línea propia */
.phone-wrapper input[type="tel"] {
  border-bottom: none !important;
  flex: 1;
  padding-left: 10px;
}

/* Separador vertical */
.phone-wrapper::before {
  content: "";
  display: block;
  width: 1px;
  height: 20px;

  flex-shrink: 0;
  margin-bottom: 13px;
  order: 2;
}

/* ── Custom select container ── */
.custom-phone-select {
  position: relative;
  flex-shrink: 0;
  order: 1;
}

/* Trigger (lo que se ve siempre) */
.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 12px 12px 0;
  cursor: pointer;
  user-select: none;
}

.custom-select-trigger .select-flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
}

.custom-select-trigger .select-code {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  font-family: "Montserrat", sans-serif;
  min-width: 32px;
}

.select-arrow {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.custom-phone-select.open .select-arrow {
  transform: rotate(180deg);
}

/* ── Dropdown ── */
.custom-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 999;
  background: #f3efe9;
  border-radius: 10px;
  box-shadow:
    0 8px 30px rgba(5, 40, 87, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 210px;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0;

  /* Scrollbar sutil */
  scrollbar-width: thin;
  scrollbar-color: #c8bfb3 transparent;
}

.custom-select-dropdown::-webkit-scrollbar {
  width: 4px;
}
.custom-select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #c8bfb3;
  border-radius: 4px;
}

.custom-phone-select.open .custom-select-dropdown {
  display: block;
  animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Cada opción ── */
.dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: "Montserrat", sans-serif;
}

.dropdown-option:hover {
  background: #e6ded2;
}

.dropdown-option.selected {
  background: #e0d7cc;
}

.dropdown-option img {
  width: 22px;
  height: auto;
  border-radius: 2px;
  flex-shrink: 0;
}

.option-code {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
  min-width: 36px;
}

.option-name {
  font-size: 13px;
  font-weight: 500;
  color: #3a3630;
}

/* Footer */
.contact-info-footer {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-top: 40px;
  text-decoration: none;
}

.info-item a {
  font-size: 15px;
  letter-spacing: 0.05em;
  margin: 0;
  font-weight: 600;
  text-align: center;
  margin: 15px 0px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    padding: 60px 30px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-info-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
.g-recaptcha {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

@media (max-width: 480px) {
  .contact-header h2 {
    font-size: 28px;
  }
}
/* --------SECTION FOOTER---------------------------------------------------- */
/* FOOTER CARD */
.footer-card {
  max-width: 900px;
  margin: 60px auto;
  background: #e4dbcb;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* box-shadow: rgba(5, 40, 87, 0.15) 0px 0px 20px -3px; */
  gap: 30px;
  background: linear-gradient(180deg, #f3efe9 0%, #e6ded2 100%);
  box-shadow:
    0 6px 16px rgba(5, 40, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  /* padding: 80px 90px; */
  border-radius: var(--radius-lg);

  z-index: 1;
}

.footer-top-nav {
  display: flex;
  justify-content: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(69, 137, 136, 0.2);
}

.footer-top-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.footer-top-nav ul li {
  position: relative;
}

.footer-top-nav ul li a {
  text-decoration: none;
  color: #052857;
  font-size: 15px;
  letter-spacing: -0.06em;
  opacity: 0.8;
  transition:
    letter-spacing 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
  padding-bottom: 5px;
  font-weight: 500;
}

.footer-top-nav ul li a:hover {
  opacity: 1;
  letter-spacing: -0.03em;
}

.footer-top-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #458988;
  transition: width 0.3s ease-in-out;
}

.footer-top-nav ul li a:hover::after {
  width: 100%;
}

.footer-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
}

.footer-main h2 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.6;
  padding-top: 0.2em;
  font-family: var(--font-secondary);
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-social {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.footer-social a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-social a svg {
  width: 26px;
  height: 26px;
  fill: url(#icon-gradient);
  transition: filter 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.15);
}

.footer-social a:hover svg {
  filter: brightness(1.2);
}

.footer-bottom-info {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid rgba(69, 137, 136, 0.2);
}

.footer-bottom-info p {
  font-size: 13px;
  color: #666;
}

.accent {
  color: #458988;
}
.footer-asociados {
  font-size: clamp(1.4rem, 2.7vw, 1.6rem);
  font-family: var(--font-secondary);
  text-align: center;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -18px; /* lo acerca al h2 */
  letter-spacing: 0.05em;
  padding: 15px;
}
/* ==========================================
   FOOTER - RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
  .footer-card {
    margin: 40px 16px;
    padding: 25px 20px;
  }

  .footer-top-nav ul {
    gap: 25px;
  }

  .footer-top-nav ul li a {
    font-size: 14px;
  }

  .footer-main {
    padding: 20px;
  }

  .footer-bottom-info {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-card {
    margin: 20px 12px;
    padding: 20px 15px;
  }

  .footer-top-nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-top-nav ul li a {
    font-size: 13px;
  }

  .footer-social {
    gap: 20px;
  }

  .footer-social svg {
    width: 20px;
    height: 20px;
  }

  .footer-bottom-info p {
    font-size: 12px;
  }
}
/* FIN DEL FOOTER */
