/* =================== VARIABLES =================== */
:root {
  --primary-gold: #C9A34E;
  --gold-hover: #E1B965;
  --dark-gray: #1C1C1C;
  --neutral-gray: #2A2A2A;
  --white: #FFFFFF;
  --light-gray: #DDDDDD;
  --circuit-blue: #00C3FF;
  --circuit-glow: rgba(0, 195, 255, 0.5);
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--dark-gray);
  color: var(--white);
}

/* =================== CONTAINERS =================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* =================== Banner =====================*/

/* =================== COOKIE BANNER =================== */

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0; /* bottom fixed full width */
  background-color: rgba(28, 28, 28, 0.90); /* similar al header-box */
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--light-gray);
  color: var(--white);
  padding: 16px;
  z-index: 9999;
  display: none; /* se muestra por JS */
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.4);
  font-family: 'Segoe UI', sans-serif;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--light-gray);
}

.cookie-banner__links a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

/* Botón Aceptar: usa tu dorado principal */
.cookie-btn--accept {
  background-color: var(--primary-gold);
  color: var(--dark-gray);
}
.cookie-btn--accept:hover {
  background-color: var(--gold-hover);
  box-shadow: 0 0 12px rgba(201, 163, 78, 0.6);
  transform: translateY(-1px);
}

/* Botón Rechazar: estilo neutro consistente con tu UI */
.cookie-btn--reject {
  background-color: var(--neutral-gray);
  color: var(--white);
  border: 1px solid #3a3a3a;
}
.cookie-btn--reject:hover {
  box-shadow: 0 0 8px rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* Botón Preferencias: visualmente más ligero */
.cookie-btn--prefs {
  background: transparent;
  color: var(--light-gray);
  text-decoration: underline;
}
.cookie-btn--prefs:hover {
  color: var(--white);
}

/* Enlace para reabrir preferencias (por ejemplo en el footer) */
.cookie-settings-link {
  color: var(--light-gray);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-settings-link:hover {
  color: var(--white);
}

/* === Mobile === */
@media (max-width: 768px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cookie-actions {
    justify-content: center;
  }
}

/* =================== HEADER =================== */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background: transparent;
}

.header-box {
  width: 90%;
  max-width: 1200px;
  background-color: rgba(28, 28, 28, 0.75);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 40px;
}

nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-hover);
}
/* CALL NOW BOTTON*/

.nav-call {
  display: flex;
  align-items: center;
}

.call-now-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-gold);
  color: var(--dark-gray);
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s, background-color 0.2s;
}

.call-now-nav:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/*HIDDEN ONLY FULL SCREEN*/
.call-now-icon {
  display: none;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* SUBMENU ESTILO TRANSPARENTE */

.dropdown {
  position: relative; /* <== Clave para que el submenu se alinee bien */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(28, 28, 28, 0.9); /* transparente como el header */
  top: 100%;
  left: -100px;
  min-width: 160px;
  border-radius: 6px;
  z-index: 999;
  padding: 10px 0;
  backdrop-filter: blur(6px);
}

.dropdown-content li {
  padding: 8px 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* === MOBILE HEADER === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  }

.nav-links {
  flex-direction: column;
  background-color: rgba(28, 28, 28, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 0 0 12px 12px;
  display: none;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  margin: 0 auto; /* Esto centra el menú en pantallas pequeñas */
}

  .nav-links.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    padding-left: 0;
  }

  .dropdown-content li {
    padding: 6px 0;
  }

  /*VISIBLE MOBILE*/
  .nav-call {
    display: none;
  }
}
/*BOTTON VISIBLE ON MOBILE*/
@media (max-width: 768px) {
  /* En mobile, el header-box ahora centra controles */
  .header-box {
    gap: 10px;
  }

  /* Mostrar icono */
  .call-now-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 999px;
    background: rgba(201, 163, 78, 0.14);
    border: 1px solid rgba(201, 163, 78, 0.35);
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
  }

  /* Para que quede "en medio" visualmente: switch + icon juntos */
  .lang-switch {
    margin-left: auto;
  }

  .call-now-icon {
    margin-right: auto;
  }
}

/* Switch lang*/
/* CONTENEDOR */
.lang-switch{
  display:inline-flex;
  align-items:center;
}

/* OCULTAR CHECKBOX REAL */
.lang-toggle{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
}

/* TRACK (fondo del switch) */
.lang-label{
  width:72px;              /* ⬅ más pequeño */
  height:28px;
  border-radius:999px;
  display:inline-block;
  cursor:pointer;
  position:relative;
  overflow:hidden;
  user-select:none;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);

  /* Estado default: EN (USA) */
  background:
    radial-gradient(circle at 14px 14px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    radial-gradient(circle at 22px 9px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    radial-gradient(circle at 26px 18px, rgba(255,255,255,.85) 0 1.5px, transparent 2px),
    linear-gradient(90deg, #0A3161 0 42%, transparent 42%),
    repeating-linear-gradient(
      0deg,
      #B31942 0 4px,
      #FFFFFF 4px 8px
    );
}

/* KNOB (círculo que se mueve) */
.lang-knob{
  position:absolute;
  top:4px;
  left:4px;
  width:30px;
  height:20px;
  border-radius:999px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .25s ease;
}

/* TEXTO DENTRO DEL KNOB */
.lang-text{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: .4px;
  font-size: 11px;          /* ⬅ más pequeño */
  color:#111;
  text-transform: uppercase;
}

/* Estado checked: ES (España) */
.lang-toggle:checked + .lang-label{
  background:
    linear-gradient(
      0deg,
      #AA151B 0 30%,
      #F1BF00 30% 70%,
      #AA151B 70% 100%
    );
}

/* Mover knob a la derecha cuando ES */
.lang-toggle:checked + .lang-label .lang-knob{
  transform: translateX(36px);
}

/* =================== HERO SPLIT LAYOUT =================== */
.hero-split {
  position: relative;
  min-height: 100vh;
  padding-top: 90px; /* account for header */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--dark-gray) 40%, var(--neutral-gray));
  z-index: 0;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -240px;
  top: -240px;
  background: radial-gradient(circle, rgba(201, 163, 78, 0.18), rgba(201, 163, 78, 0) 60%);
  filter: blur(10px);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

/* LEFT */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  color: var(--primary-gold);
  text-shadow: 0 6px 22px rgba(0,0,0,0.45);
  margin: 0 0 10px 0;
  letter-spacing: 0.3px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--light-gray);
  opacity: 0.95;
  text-shadow: 0 6px 22px rgba(0,0,0,0.45);
  margin: 0;
  line-height: 1.5;
}

/* POS Showcase */
.hero-showcase {
  position: relative;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  overflow: hidden;
  padding: 18px 56px; /* space for nav buttons */
  min-height: 560px;
}

.hero-slider {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
}

.hero-model {
  width: 100%;
  height: 100%;
  display: none;
}

.hero-model.active {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: var(--light-gray);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(201,163,78,0.45);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

/* Call Now under showcase */
.hero-call {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  background: rgba(201, 163, 78, 0.12);
  color: var(--primary-gold);
  border: 1px solid rgba(201, 163, 78, 0.35);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.call-button:hover {
  transform: translateY(-1px);
  background: rgba(201, 163, 78, 0.18);
  border-color: rgba(201, 163, 78, 0.55);
}

.hero-hint {
  color: var(--light-gray);
  opacity: 0.85;
  font-size: 0.95rem;
}

/* RIGHT (form card) */
.hero-right {
  display: block;
}

.hero-form-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  overflow: hidden;
}

/* Make the form usable on shorter screens */
.hero-form-card .form-wrapper {
  padding: 22px;
  max-height: none; /* header + padding */
  overflow: visible;
}

/* Tighten the H2 a bit (optional) */
.hero-form-card .form-wrapper h2 {
  margin-top: 0;
}

/* Reuse your CTA style, but make it consistent in cards */
.hero-form-card .cta-button {
  width: 100%;
  text-align: center;
}

/* =================== MOBILE / SMALL SCREENS =================== */
@media (max-width: 980px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-split {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 28px;
  }

  .hero-showcase {
    padding: 16px 52px;
    min-height: 320px;
  }

  .hero-slider,
  .hero-model {
    height: 320px;
  }

  .hero-form-card .form-wrapper {
    max-height: none; /* let it flow normally on mobile */
    overflow: visible;
  }

  .hero-call {
    align-items: center;
  }

  .call-button {
    width: min(200px, 100%);  /* full width, pero con límite */
    padding: 12px 16px;       /* reduce altura */
    font-size: 0.98rem;       /* reduce texto */
    border-radius: 12px;
  }
}

@media (max-width: 520px) {
  .hero-showcase {
    padding: 14px 48px;
    border-radius: 16px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* _____________________Laptops_________________________*/

/* ====== BASE: deja tu diseño como está ====== */

/* ====== Ajuste automático cuando la pantalla NO es alta ====== */
@media (max-height: 820px) {
  /* Reduce el alto total útil del hero */
  .hero-split {
    padding-top: 80px; /* un poco menos si el header ocupa mucho */
  }

  /* Reduce el showcase/modelo */
  .hero-showcase {
    min-height: 460px;
  }
  .hero-slider {
    height: 460px;
  }

  /* Reduce paddings del formulario para ganar altura */
  .hero-form-card .form-wrapper {
    padding: 8px;
  }

  /* Reduce un poco inputs y espaciados */
  .form-group {
    margin-bottom: 8px;
  }
  .form-group input {
    padding: 6px 8px; /* si tu CSS lo permite */
  }

  /* Texto un poco más compacto */
  .hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  }
}

/* Pantallas aún más bajas */
@media (max-height: 640px) {
  .hero-showcase {
    min-height: 380px;
    padding: 14px 52px;
  }
  .hero-slider {
    height: 380px;
  }

  .hero-form-card .form-wrapper {
    padding: 14px;
  }

  /* Si aquí ya no cabe, puedes permitir scroll interno solo en casos extremos */
  .hero-form-card .form-wrapper {
    max-height: calc(100svh - 140px);
    overflow: auto;
  }

  /* Reduce aún más tipografías */
  .hero-title {
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  }
}

/* Caso extremo (muy poca altura) */
@media (max-height: 540px) {
  .hero-container {
    gap: 18px;
  }
  .hero-showcase {
    min-height: 320px;
  }
  .hero-slider {
    height: 320px;
  }
}

/* =================== HERO CIRCUIT LINES =================== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/Resources/Circuito.svg") center/cover no-repeat;
  animation: circuitPulse 6s ease-in-out infinite, revealFromCenter 2s ease-out forwards;
  mask-image: linear-gradient(to bottom, rgb(0, 0, 0) 100%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}




@keyframes circuitPulse {
  0%, 100% {
    filter: drop-shadow(0 0 0 #E1B965);
    opacity: 0.05;
  }
  50% {
    filter: drop-shadow(0 0 8px #ffffff);
    opacity: 0.15;
  }
}

/* ===================    WHY EXPEDIO    =================== */



/* =================== SOLUTIONS SECTION =================== */
/* ====== SECCIÓN SOLUTIONS CON VIDEO DE FONDO ====== */

.benefit-wrapper {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background-color: #1C1C1C; /* fallback si el video no carga */
  overflow: hidden;
  isolation: isolate; /* ayuda con z-index y blending */
}

/* video full-bleed detrás */
.benefit-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(1); /* oscurecer un poquito el video base */
}

/* overlay extra para el look Expedio (de gris a negro con un tinte) */
.benefit-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px); /* ← Aquí ocurre el desenfoque */
  background: rgba(0, 0, 0, 0.15); /* leve oscurecimiento opcional */
  z-index: 1;
}

@media (min-width: 1350px) {
  .benefit-overlay {
    background: radial-gradient(
        circle at 50% 100%,
        rgba(0,0,0,0) 0%,
        rgba(27, 27, 27, 0.555) 50%,
        rgba(36, 36, 36, 0.555) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(44, 44, 44, 0.7) 0%,
        rgba(46, 46, 46, 0.74) 100%
      );
  }
}


/* contenedor del contenido */
.benefit-inner {
  position: relative;
  z-index: 2; /* arriba del video y overlay */
  max-width: 1200px;
  margin: 0 auto;
  color: var(--white);
}

.benefit-inner > h2.section-title {
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.benefit-inner > p {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}

/* ====== CARDS ====== */

.benefit-cards {
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.card {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  border: 1px solid rgba(255,255,255,0.07);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 16px var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.card img {
  width: 40px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(3) sepia(1) hue-rotate(15deg) saturate(8) contrast(1.2);
}

.card h2 {
  color: var(--primary-gold);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.4;
}

.card p {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 600px) {
  .benefit-wrapper {
    padding: 60px 16px;
  }
  .benefit-cards {
    padding: 40px 0;
    gap: 24px;
  }
  .card {
    padding: 20px;
  }
}

/* =================== FEATURES SECTION =================== */
.animation-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, rgb(41, 41, 41), var(--neutral-gray));
  text-align: center;
  color: var(--white);
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.9);
}

.section-title {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: 60px;
}

.animation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-1 {
  background-image: url('/Resources/integration.jpg');
}

.feature-2 {
  background-image: url('/Resources/security.jpg');
}

.feature-3 {
  background-image: url('/Resources/Integration\ for.jpg');
}

.feature-4 {
  background-image: url('/Resources/grapuch.jpg');
}

.feature-5 {
  background-image: url('/Resources/cloud.jpg');
}

.feature-6 {
  background-image: url('/Resources/Photo\ II.jpg');
}

.animation-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}
.animation-title {
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin-bottom: 12px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.9);
}

.animation-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.animation-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Oscurece el fondo */
  z-index: 0;
}


.animation-item > * {
  position: relative;
  z-index: 1;
}

.animation-item p {
  color: var(--white);
  text-shadow: 0 0 2px #000;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .animation-item {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* =================== PARTNERS SECTION =================== */
.partners-section {
 background: linear-gradient(to bottom, var(--neutral-gray), #1C1C1C);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scrollLogos 30s linear infinite;
}

.carousel-track img {
  height: 60px;
  flex-shrink: 0;
  filter: grayscale(100%) brightness(1.2);
  opacity: 0.8;
  transition: filter 0.3s ease;
}

.carousel-track img:hover {
  filter: grayscale(0%) brightness(1.4);
  opacity: 1;
}

/* Animación de scroll horizontal infinito */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* =================== FAQ SECTION =================== */
.faq-section {
  background: linear-gradient(to bottom, #1c1c1c, var(--neutral-gray), #1c1c1c);
  padding: 80px 20px;
}

.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--dark-gray),var(--neutral-gray));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(160deg, var(--dark-gray),var(--neutral-gray));
  border: none;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.faq-heading .section-title {
  margin: 0;
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease;
}

.faq-toggle[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 28px;
  max-height: 2000px;
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-content[data-open="false"] {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.faq-intro {
  color: var(--light-gray);
  margin: 18px 0 16px;
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 16px 18px;
  color: var(--primary-gold);
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-item-icon {
  transform: rotate(180deg);
}

.faq-item summary:focus-visible,
.faq-toggle:focus-visible {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--light-gray);
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding-top 0.25s ease;
}

.faq-item[open] .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-top: 2px;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px;
  }
  .faq-toggle {
    padding: 18px 18px;
  }
  .faq-content {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-chevron,
  .faq-item-icon,
  .faq-content,
  .faq-answer {
    transition: none;
  }
}
/*************************************Blog Section*************************************/
.blog-section {
  background: linear-gradient(to bottom,  #1C1C1C, var(--neutral-gray));
  padding: 90px 20px 70px;
  position: relative;
  overflow: hidden;
}

.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gold-hover);
  margin: 0 0 6px;
}

.blog-kicker {
  margin: 0;
  color: var(--light-gray);
  max-width: 520px;
}

.blog-all {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(201, 163, 78, 0.5);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  border-color: var(--primary-gold);
}

.blog-loop {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(201,163,78,0.08), transparent 32%),
              radial-gradient(circle at 80% 80%, rgba(0,195,255,0.12), transparent 30%),
              rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.blog-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: blogScroll 32s linear infinite;
}

.blog-card {
  display: grid;
  grid-template-rows: 180px auto;
  min-width: 320px;
  max-width: 360px;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
}

.blog-thumb {
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
}

.blog-copy {
  padding: 18px 18px 16px;
  display: grid;
  gap: 8px;
}

.blog-copy h3 {
  margin: 0;
  color: var(--primary-gold);
  font-size: 1.05rem;
}

.blog-copy p {
  margin: 0;
  color: var(--light-gray);
  line-height: 1.4;
}

.blog-read {
  color: var(--gold-hover);
  font-weight: 600;
  font-size: 0.95rem;
}

@keyframes blogScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 70px 16px 60px;
  }
  .blog-track {
    animation-duration: 26s;
  }
  .blog-card {
    min-width: 260px;
  }
}


/* =================== CALENDLY SECTION =================== */
.calendar-section {
  background: linear-gradient(to bottom,
    var(--neutral-gray) 0%,
    var(--neutral-gray) 30%,
    var(--neutral-gray) 50%,
    var(--primary-gold) 70%,
    var(--primary-gold) 100%
  );
  background-size: 100% 200%;
  background-position: center;
  animation: centerPulse 8s ease-in-out infinite;
  padding: 80px 20px;
  color: var(--white);
}
@keyframes centerPulse {
  0%, 100% {
    background-position: center 45%;
  }
  50% {
    background-position: center 55%;
  }
}

.calendar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.calendar-text {
  flex: 1;
  min-width: 280px;
}

.calendar-text h2 {
  font-size: 2rem;
  color: var(--primary-gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  margin-bottom: 16px;
}

.calendar-text p {
  font-size: 1.1rem;
  color: var(--light-gray);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.calendar-widget {
  flex: 1;
  min-width: 320px;
}

/*Form*/

/* ===== CONTACT FORM ===== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #C9A34E, #1C1C1C); 
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
}


.contact-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 500px;
}


.form-wrapper {
  flex: 1;
  max-width: 500px;
  background-color: var(--dark-gray);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 40px 20px;
  margin-right: 5%;
  z-index: 2;
  box-shadow: 0 0 20px rgba(201, 163, 78, 0.4);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-gold);
}

.form-group input {
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--primary-gold);
  background-color: #1c1c1c;
  color: var(--white);
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #e1c16f;
}

.cta-button {
  padding: 14px 24px;
  background-color: var(--primary-gold);
  color: var(--dark-gray);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: center;
}

.cta-button:hover {
  background-color: #e1b965;
}

.success-message {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 2px solid var(--primary-gold);
  background-color: #1f1f1f;
  color: var(--primary-gold);
  font-family: "Libre Baskerville", serif;
  font-size: 16px;
  border-radius: 8px;
  text-align: center;
}

/*Captcha*/
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
  transform: scale(1.05); /* Opcional: agranda un poco el captcha */
  transform-origin: center;
}

/* ===== SMS CONSENT BLOCK ===== */
.sms-consent {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(225, 185, 101, 0.35);
}

.sms-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.sms-checkbox input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--primary-gold);
}

.sms-disclaimer {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

.sms-disclaimer a {
  color: var(--primary-gold);
  text-decoration: underline;
}

.sms-consent-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(200, 40, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 12px;
  border-radius: 8px;
}

.cta-only {
  display: flex;
  justify-content: center;
}


/* Llamar ahora */
.call-now {
  margin-top: 20px;
  text-align: center;
}

.call-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-gold);
  color: var(--dark-gray);
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 30px;
  transition: box-shadow 0.3s ease;
}

.call-button:hover {
  box-shadow: 0 0 12px rgba(201, 163, 78, 0.7);
  background-color: #e1b965;
}

/* ===== TERMS CONSENT ===== */
.terms-consent {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(225, 185, 101, 0.35);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
  user-select: none;
}

.terms-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary-gold);
}

.terms-checkbox a {
  color: var(--primary-gold);
  text-decoration: underline;
}

.terms-consent-error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(200, 40, 40, 0.85);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 12px;
  border-radius: 8px;
}


/* Responsive Mobile */
@media screen and (max-width: 1220px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }

  .form-image {
  display: none; /* Oculta imagen en mobile */
  }

  .contact-section {
      background: linear-gradient(to bottom, #C9A34E, #1C1C1C); 
  }

  .form-wrapper {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* Footer */
/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-link {
  color: var(--primary-gold);
  text-decoration: none;
  margin: 0 10px;
}

.footer-link:hover {
  text-decoration: underline;
}

.contact-title {
  color: var(--primary-gold);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 20px 0;
}

.social-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  fill: var(--primary-gold);
  transition: transform 0.2s ease, fill 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  fill: var(--gold-hover);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 600px) {
  .social-icons {
    gap: 14px;
  }
}
