/* ==========================================================================
   DESTREZA MARKETING PRODUCTIVO — LANDING PAGES DE CAPACITACIONES 2027
   Estética: Fondo Blanco Puro + Toques Dorados Metálicos + Tipografía Oscura
   ========================================================================== */

:root {
  --bg-white: #ffffff;
  --bg-ivory: #faf8f2;
  --bg-cream: #f4efe2;
  --gold: #D4AF37;
  --gold-deep: #9e7b16;
  --gold-bright: #e6c149;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.36);
  --ink: #111115;
  --ink-soft: #3a3a44;
  --ink-muted: #646470;
  --border-light: #e8e4da;
  --shadow-card: 0 14px 38px rgba(17, 17, 21, 0.06);
  --shadow-gold: 0 14px 34px rgba(212, 175, 55, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', 'Roboto', sans-serif;
  background-color: var(--bg-white);
  color: var(--ink-soft);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: 78px;
}

h1, h2, h3, h4 {
  font-weight: 900;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.4px;
}

a { color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.text-gold {
  color: var(--gold-deep);
}

.text-gold-accent {
  background: linear-gradient(120deg, #b8891b 0%, #D4AF37 50%, #8f6c0e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- TOP NAVIGATION (FONDO BLANCO + DETALLE DORADO) --- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  padding: 12px 22px;
  box-shadow: 0 4px 20px rgba(17, 17, 21, 0.05);
}

.top-nav-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #111115;
  padding: 7px 14px;
  border-radius: 10px;
  border: 1px solid var(--gold);
}

.nav-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: #111115 !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s;
}

.nav-cta:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* --- BUTTONS --- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #D4AF37 0%, #e5bf45 100%);
  color: #111115;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(212, 175, 55, 0.38);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--gold);
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.btn-wa-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
  transition: 0.25s;
}

.btn-wa-inline:hover {
  background: #1fb857;
  transform: translateY(-2px);
}

/* --- HERO (BLANCO PURO CON TOQUES DORADOS) --- */
.hero-white {
  background:
    radial-gradient(ellipse 65% 55% at 88% 15%, rgba(212, 175, 55, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 65%),
    #ffffff;
  padding: 64px 0 68px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-ivory);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 18px;
}

.hero-white h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.6rem);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 640px) {
  .hero-meta-grid { grid-template-columns: 1fr; }
}

.hero-meta-card {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 12px 14px;
}

.hero-meta-card strong {
  display: block;
  font-size: 0.82rem;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.hero-meta-card span {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
}

.hero-visual-card {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-top: 5px solid var(--gold);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.hero-visual-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  display: block;
  margin-bottom: 16px;
}

.speaker-badge-mini {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.speaker-badge-mini strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.speaker-badge-mini span {
  display: block;
  color: var(--gold-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

/* --- SECTIONS --- */
.sec-white {
  background: #ffffff;
  padding: 72px 0;
}

.sec-ivory {
  background: var(--bg-ivory);
  padding: 72px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.sec-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 44px;
}

.sec-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin-bottom: 12px;
}

.sec-head p {
  font-size: 1.06rem;
  color: var(--ink-muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: 1fr; }
}

.white-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.gold-panel {
  background: linear-gradient(155deg, #ffffff 0%, #faf6eb 100%);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.white-panel h3, .gold-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.gold-list {
  list-style: none;
  margin-top: 14px;
}

.gold-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.gold-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 900;
}

/* --- MODULES / SYLLABUS CARDS --- */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cards-2, .cards-4 { grid-template-columns: 1fr; }
}

.module-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--gold);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(17, 17, 21, 0.04);
  transition: transform 0.25s, border-color 0.25s;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.module-num {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  border: 1px solid var(--gold-border);
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.module-card h3 {
  font-size: 1.24rem;
  margin-bottom: 8px;
}

.module-card p {
  font-size: 0.98rem;
  color: var(--ink-muted);
  margin: 0;
}

.format-card {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: left;
  box-shadow: 0 8px 22px rgba(17, 17, 21, 0.04);
}

.format-card strong {
  display: block;
  font-size: 1.06rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.format-card p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
}

/* --- SPEAKER --- */
.speaker-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 860px) {
  .speaker-box { grid-template-columns: 1fr; text-align: center; }
}

.speaker-box img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 2px solid var(--gold);
}

.cred-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cred-pill {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.is-open {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-icon {
  color: var(--gold-deep);
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-panel-inner {
  padding: 0 22px 18px;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

/* --- CONTACT & FORM (BLANCO CON DORADO) --- */
.final-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 960px) {
  .final-grid { grid-template-columns: 1fr; }
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--gold);
  border-top: 6px solid var(--gold);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 22px 54px rgba(17, 17, 21, 0.08);
}

.form-card h3 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.form-lead {
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

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

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d4d0c5;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.privacy-box {
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 6px;
}

.privacy-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}

.privacy-check-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-deep);
}

.privacy-link-btn {
  background: none;
  border: none;
  color: var(--gold-deep);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.privacy-summary {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 6px 0 0 28px;
}

.form-alert {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.form-alert.is-error {
  display: block;
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.wa-direct-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.wa-direct-box p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

/* --- MODALS & FLOATING WA --- */
.floating-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.ni-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 21, 0.72);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ni-modal-overlay.is-open { display: flex; }

.ni-modal-card {
  background: #ffffff;
  border: 1px solid var(--gold);
  border-top: 5px solid var(--gold);
  border-radius: 20px;
  max-width: 520px;
  width: 100%;
  padding: 30px;
  position: relative;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.ni-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-ivory);
  border: 1px solid var(--gold-border);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}

.ni-modal-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.ni-modal-summary {
  background: var(--bg-ivory);
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 14px 0 18px;
  font-size: 0.92rem;
}

/* --- FOOTER --- */
.footer-white {
  background: #ffffff;
  border-top: 2px solid var(--gold);
  padding: 36px 22px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links a:hover { color: var(--gold-deep); }

