/* ==============================
   Base
   ============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --off-white: #F9F9F9;
  --charcoal-gray: #2F2F2F;
  --champagne-gold: #B08D57;
  --whatsapp-green: #25D366;

  /* Aliases (para estilos migrados) */
  --charcoal: var(--charcoal-gray);
  --champagne: var(--champagne-gold);

  /* Text */
  --text-dark: #1a1a1a;
  --text-light: #ffffff;

  /* Layout */
  --max-width: 1200px;
  --gutter: 2rem;      /* padding lateral default */
  --gutter-sm: 20px;   /* padding lateral tablet/mobile */
  --radius: 12px;

  /* Spacing scale (para Problem/Solutions) */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  /* Compat: algunos bloques lo usan, pero aquí no metemos padding horizontal en secciones */
  --container-padding: 0px;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==============================
   Header (referencia izquierda)
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(47, 47, 47, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.header-logo img {
  height: 35px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.header-nav a:hover { color: var(--champagne-gold); }

/* CTA header (tipo h-9) */
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;

  background: var(--champagne-gold);
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid rgba(176, 141, 87, 0.9);
  transition: transform .2s ease, background-color .2s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(176, 141, 87, 0.92);
}

/* ==============================
   Hero (jerarquía referencia)
   ============================== */
.hero {
  background: var(--charcoal-gray);
  color: var(--text-light);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47,47,47,.95) 0%, rgba(47,47,47,.85) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/><path d="M0,300 Q300,200 600,300 T1200,300" stroke="%23444" stroke-width="2" fill="none"/><path d="M0,400 Q300,300 600,400 T1200,400" stroke="%23444" stroke-width="2" fill="none"/></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }

.hero-headline {
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  max-width: 900px;
  font-size: 2.25rem; /* mobile base */
}

.hero-subheadline {
  max-width: 820px;
  color: rgba(209,213,219,1);
  line-height: 1.75;
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.hero-authority {
  margin-top: 0.75rem;
  margin-bottom: 2.25rem;
  max-width: 820px;

  font-size: 1rem;          /* text-base */
  font-weight: 500;         /* font-medium */
  line-height: 1.625;       /* leading-relaxed */
  color: #B08D57;           /* text-[#B08D57] */
}

@media (min-width: 768px) {
  .hero-authority {
    font-size: 1.125rem;    /* md:text-lg */
  }
}

/* CTA hero (más grande que el CTA del header) */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 44px;
  padding: 0 32px;
  border-radius: 6px;

  background: var(--champagne-gold);
  color: var(--text-light);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(176, 141, 87, 0.9);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.cta-button:hover {
  transform: translateY(-2px);
  background: rgba(176, 141, 87, 0.92);
  box-shadow: 0 8px 24px rgba(176, 141, 87, 0.18);
}

/* ==============================
   Trust Marquee
   ============================== */
.trust-marquee {
  background: var(--off-white);
  padding: 3.25rem 0;
  border-bottom: 1px solid rgba(47, 47, 47, 0.08);
}

.trust-marquee .trust-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal-gray);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trust-marquee .trust-subtitle {
  text-align: center;
  color: rgba(26, 26, 26, 0.65);
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

{
  text-align: center;
  max-width: 900px;
  margin: 0 auto;

  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}


.value-section h4 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.value-section h4 strong {
  color: var(--champagne);
  font-weight: 700;
}


.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0.75rem 0;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), rgba(249, 249, 249, 0));
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), rgba(249, 249, 249, 0));
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: trustMarquee 22s linear infinite;
}

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

.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(47, 47, 47, 0.10);
  color: rgba(26, 26, 26, 0.65);
  font-size: 0.9rem;
  white-space: nowrap;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==============================
   Problem Section (migrado, sin colisiones)
   ============================== */
.problem-section {
  background: var(--off-white);
  padding: var(--spacing-xl) 0;
}

.problem-section .section-title {
  text-align: center;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

/* párrafo que agregaste debajo del H2 */
.problem-section h4 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.problem-section h4 strong {
  color: var(--champagne);
  font-weight: 700;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.problem-card {
  background: #fff;
  border: 1px solid rgba(47, 47, 47, 0.10);
  border-radius: 16px;
  padding: var(--spacing-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.problem-card:hover {
  border-color: rgba(176, 141, 87, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 141, 87, 0.10);
  border: 1px solid rgba(176, 141, 87, 0.18);
  border-radius: 12px;
  color: var(--champagne);
}

.problem-icon {
  width: 32px;
  height: 32px;
}

.problem-card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
  text-align: center;
}

.problem-card p {
  font-weight: 400;
  color: rgba(47, 47, 47, 0.7);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==============================
   Value / Solutions Section (Solutions Grid)
   ============================== */
.value-section {
  background: var(--off-white);
  padding: var(--spacing-xl) 0;
}

.value-section h4 {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.value-section h4 strong {
  color: var(--champagne);
  font-weight: 700;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.solution-card {
  background: #fff;
  border: 1px solid rgba(47, 47, 47, 0.10);
  border-radius: 16px;
  padding: var(--spacing-md);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  grid-column: span 6;
}

.solution-card:hover {
  border-color: rgba(176, 141, 87, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}

.solution-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-sm);
  color: var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

.solution-icon.whatsapp-icon { color: var(--whatsapp-green); }

.solution-card h3 {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
}

.solution-card p {
  font-weight: 400;
  color: rgba(47, 47, 47, 0.7);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==============================
   Floating WhatsApp Button
   ============================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover { transform: scale(1.05); }

.whatsapp-button-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--text-light);
  border: 2px solid var(--champagne-gold);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.whatsapp-button-content:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
  border-color: var(--whatsapp-green);
}

.whatsapp-svg {
  width: 24px;
  height: 24px;
  color: var(--whatsapp-green);
}

.whatsapp-button-content span {
  font-weight: 600;
  color: var(--charcoal-gray);
  font-size: 0.95rem;
}

/* ==============================
   Footer (tipografía + jerarquía)
   ============================== */
.footer {
  background: var(--charcoal-gray);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

/* VIAJE + CORP en spans */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
}
.footer-logo .logo-viaje { color: #ffffff; }
.footer-logo .logo-corp { color: var(--champagne-gold); }

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer,
.footer p,
.footer a {
  color: rgba(156, 163, 175, 0.85);
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer-nav a,
.footer-contact a {
  display: block;
  margin-bottom: 0.6rem;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer a:hover {
  opacity: 1;
  color: var(--champagne-gold);
}

/* Base: una fila alineada */
.follow-inline,
.link-inline {
  display: inline-flex;
  gap: 6px;
  margin: 0;
}

/* Iconos consistentes */
.follow-inline a svg {
  display: block;
  transform: translateY(-3px);
}

.link-inline svg {
  display: block;
  transform: translateY(-3px);
}

/* Caso 1: Síguenos en (solo el ícono es link) */
.follow-inline a {
  display: inline-flex;
  align-items: center;
}

/* Caso 2: Libro de reclamaciones (todo es link) */
.link-inline a {
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

/* Hover (aplica al link en ambos casos) */
.follow-inline a:hover,
.link-inline a:hover {
  opacity: 1;
  color: var(--champagne-gold);
}

.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.8125rem; opacity: 0.65; }

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a { font-size: 0.8125rem; opacity: 0.65; }

/* ==============================
   Responsive
   ============================== */
@media (max-width: 900px) {
  :root { --gutter: var(--gutter-sm); }

  /* header: solo CTA */
  .header-nav { display: none; }

  /* hero */
  .hero { padding: 5rem 0; }
  .hero-headline { font-size: 2rem; }

  /* footer */
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .hero-headline { font-size: 3rem; }
  .hero-subheadline { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-headline { font-size: 3.75rem; }
}

@media (max-width: 768px) {
  .solutions-grid { gap: 1.25rem; }
  .solution-card { grid-column: span 12; }

  .problem-grid { grid-template-columns: 1fr; }

  .floating-whatsapp { bottom: 1.5rem; right: 1.5rem; }
  .whatsapp-button-content { padding: 0.75rem 1.25rem; }
  .whatsapp-button-content span { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .whatsapp-button-content span { display: none; }
  .whatsapp-button-content { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .header-logo {
    justify-self: start;
  }

  .header-cta {
    justify-self: end;
  }
}
.trust-logo {
  width: 150px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%) contrast(1.1);
}

.trust-logo.is-vertical {
  height: 100px;      /* 👈 boost */
  opacity: 0.55;     /* opcional: para que no “griten” */
}

.trust-logo:hover {
  opacity: 0.85;
  filter: grayscale(100%) contrast(1.2);
}

