/* ============================================================
   LANDING PAGES MAAR — CSS compartido
   Usado por: /leads/, /landing-linkedin/, /adrgracias/,
   /graciascliente/, /graciasproveedor/
   Sigue los tokens de diseño de style.css (sitio principal)
   ============================================================ */

@font-face {
  font-family: 'Yuji Boku';
  src: url('../fonts/yuji-boku/YujiBoku-Regular.woff2') format('woff2'),
       url('../fonts/yuji-boku/YujiBoku-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yuji Syuku';
  src: url('../fonts/yuji-syuku/YujiSyuku-Regular.woff2') format('woff2'),
       url('../fonts/yuji-syuku/YujiSyuku-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --font-display: 'Yuji Boku', 'Fraunces', Georgia, serif;
  --font-body: 'Yuji Syuku', 'Inter', -apple-system, sans-serif;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --dark: #0a0a0a;
  --ink: #1a1410;
  --cream: #f4ede0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-body);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ============================================
   NAV FIJO (versión simple para landings)
   ============================================ */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lp-nav-logo img { height: 30px; width: auto; object-fit: contain; }

.lp-nav .gallery-button { padding: 12px 22px; font-size: 10px; }

@media (max-width: 768px) {
  .lp-nav { padding: 14px 20px; }
  .lp-nav-logo img { height: 24px; }
  .lp-nav .gallery-button { padding: 10px 16px; letter-spacing: 2px; gap: 10px; }
}

/* ============================================
   BOTÓN (idéntico a .gallery-button del sitio)
   ============================================ */
.gallery-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s ease;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.gallery-button:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  padding-right: 40px;
}

.gallery-button .arrow { transition: transform 0.4s ease; }
.gallery-button:hover .arrow { transform: translateX(6px); }

/* Variante sólida clara (para fondos claros) */
.gallery-button.on-light {
  border-color: rgba(26,20,16,0.4);
  color: var(--ink);
}
.gallery-button.on-light:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================
   HERO
   ============================================ */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
}

.lp-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.35) 45%,
    rgba(10,10,10,0.75) 100%);
}

.lp-hero-content {
  position: relative;
  z-index: 5;
  max-width: 880px;
}

.lp-label {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 26px;
}

.lp-hero-sub {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 42px;
}

/* ============================================
   VIDEO DESTACADO (landing linkedin)
   ============================================ */
.lp-video {
  background: var(--dark);
  padding: 110px 40px;
  text-align: center;
}

.lp-video-inner { max-width: 960px; margin: 0 auto; }

.lp-video video {
  width: 100%;
  display: block;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  background: #000;
}

@media (max-width: 768px) {
  .lp-video { padding: 80px 20px; }
  .lp-video video { margin-top: 32px; }
}

/* ============================================
   SECCIONES CLARAS (firma / servicios)
   ============================================ */
.lp-light {
  background: var(--cream);
  color: var(--ink);
  padding: 110px 40px;
}

.lp-light-inner { max-width: 1100px; margin: 0 auto; }

.lp-light .lp-label { color: rgba(26,20,16,0.5); }

.lp-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.lp-light .lp-title { color: var(--ink); }

.lp-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 720px;
}

.lp-light .lp-text { color: rgba(26,20,16,0.75); }

.lp-center { text-align: center; }
.lp-center .lp-text { margin-left: auto; margin-right: auto; }

/* Servicios en grid */
.lp-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.lp-service {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,20,16,0.10);
}

.lp-service img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.lp-service-body { padding: 28px 30px 32px; }

.lp-service h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 12px;
  color: var(--ink);
}

.lp-service p {
  font-size: 13px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  color: rgba(26,20,16,0.7);
}

/* Bullets (landing linkedin: qué encontrarás en la guía) */
.lp-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
  text-align: left;
}

.lp-bullet {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: 0 12px 40px rgba(26,20,16,0.10);
}

.lp-bullet-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: rgba(26,20,16,0.35);
  margin-bottom: 14px;
}

.lp-bullet h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 10px;
}

.lp-bullet p {
  font-size: 12.5px;
  letter-spacing: 0.5px;
  line-height: 1.7;
  color: rgba(26,20,16,0.7);
}

/* ============================================
   SECCIÓN OSCURA CON FOTO DE FONDO + TARJETA
   (clientes / formulario — patrón "Platiquemos")
   ============================================ */
.lp-photo-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 40px;
  overflow: hidden;
}

.lp-photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
}

.lp-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.45);
}

.lp-card {
  position: relative;
  z-index: 5;
  background: rgba(15, 10, 8, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  padding: 48px 52px;
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.lp-card .lp-title { margin-bottom: 16px; }

.lp-card-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 34px;
}

/* Logos de clientes (mismo tratamiento que el sitio) */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 36px 40px;
  align-items: center;
}

.clientes-grid img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ============================================
   PREMIOS (lista compacta, mismos estilos del sitio)
   ============================================ */
.lp-premios {
  background: var(--dark);
  padding: 110px 40px;
}

.lp-premios-inner { max-width: 860px; margin: 0 auto; }

.lp-premios .lp-title { margin-bottom: 44px; }

.premio-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.premio-item:last-child { border-bottom: none; }

.premio-logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

.premio-info { flex: 1; }

.premio-name {
  font-size: 14px;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 4px;
}

.premio-org {
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.premio-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   FORMULARIO HUBSPOT
   ============================================ */
.hs-form-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  text-align: left;
  min-height: 320px;
}

/* Toggle Cliente / Proveedor */
.lp-form-toggle {
  display: inline-flex;
  gap: 0;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.lp-form-toggle button {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lp-form-toggle button.active {
  background: #fff;
  color: var(--ink);
}

.lp-form-pane { display: none; }
.lp-form-pane.active { display: block; }

/* ============================================
   PÁGINAS DE GRACIAS
   ============================================ */
.gracias-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.gracias-card {
  position: relative;
  z-index: 5;
  background: rgba(15, 10, 8, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  padding: 56px 52px;
  max-width: 620px;
  width: 100%;
  text-align: center;
}

.gracias-card .lp-title { margin-bottom: 18px; }

.gracias-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.gracias-note {
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.gracias-note a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.gracias-note a:hover { color: #fff; }

/* ============================================
   FOOTER (idéntico al sitio)
   ============================================ */
.closing-footer {
  background: var(--dark);
  color: var(--cream);
  padding: 100px 60px 80px;
  text-align: center;
}

.closing-logo {
  max-width: 190px;
  width: 38vw;
  margin: 0 auto 32px;
  opacity: 0.8;
}

.closing-address {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(244,237,224,0.6);
  line-height: 1.6;
  margin-bottom: 32px;
}

.closing-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.closing-contact a {
  color: rgba(244,237,224,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.closing-contact a:hover { color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .lp-services { grid-template-columns: 1fr; }
  .lp-bullets { grid-template-columns: 1fr; }
  .clientes-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 28px; }
}

@media (max-width: 768px) {
  .lp-light { padding: 80px 24px; }
  .lp-premios { padding: 80px 24px; }
  .lp-photo-section { padding: 90px 20px; }
  .lp-card { padding: 36px 24px; }
  .gracias-card { padding: 42px 26px; }
  .closing-footer { padding: 60px 24px 50px; }
  .premio-year { font-size: 16px; }
  .lp-form-toggle button { padding: 12px 18px; letter-spacing: 2px; }
}
