/* ===== VARIABLES ===== */
:root {
  --orange: #f47131;
  --orange-dark: #f36d24;
  --pink: #f03379;
  --pink-light: #f1538d;
  --yellow: #ffce00;
  --yellow-dark: #fcb800;
  --dark: #364e58;
  --maroon: #64112e;
  --maroon-dark: #480d21;
  --coffee: #C8A87A;
  --coffee-bg: #EFE0C8;
  --blue: #3d91d5;
  --blue-light: #49a1de;
  --purple: #7466b5;
  --purple-dark: #5a50ac;
  --green: #4aae4f;
  --green-light: #6ac376;
  --white: #ffffff;
  --bg: #f5f6fa;
  --card-bg: #ffffff;
  --text: #2d3748;
  --text-light: #718096;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(123,21,53,0.10);
  --shadow-hover: 0 8px 32px rgba(123,21,53,0.18);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER ===== */
.site-header {
  background: var(--maroon);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.22);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.header-logo { display: flex; gap: 8px; flex-wrap: wrap; }
.header-logo img { height: 44px; width: auto; }
.header-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.header-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
.header-nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 60%, #3D0818 100%);
  color: var(--white);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200,168,122,0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(200,168,122,0.12) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(200,168,122,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,122,0.20);
  border: 1px solid rgba(200,168,122,0.45);
  color: var(--coffee);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--coffee); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coffee);
  color: var(--maroon);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(200,168,122,0.45);
}
.hero-cta:hover {
  background: #b8946a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,122,0.55);
}

/* ===== SECTION CONTAINER ===== */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: 20px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== OVERVIEW CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
a.card { display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-accent { height: 6px; }
.card-body { padding: 28px; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ===== VIDEO LAYOUT ===== */
.video-section { background: var(--white); }
.video-section.alt { background: var(--bg); }
.video-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.video-layout.reverse { direction: rtl; }
.video-layout.reverse > * { direction: ltr; }
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
  width: fit-content;
}
.video-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.video-info > p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  width: fit-content;
  color: var(--white);
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cta-btn.orange { background: var(--maroon); }
.cta-btn.pink   { background: var(--maroon); }
.cta-btn.purple { background: var(--maroon); }

/* ===== INFOGRAPHIC STEPS ===== */
.steps-infographic {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.steps-infographic h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg);
}
.step-item:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 2px;
}
.step-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark); }
.step-text span { font-size: 0.8rem; color: var(--text-light); }

/* ===== DUAL VIDEOS (PORTABILIDAD) ===== */
.dual-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.video-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-card-accent { height: 6px; }
.video-card-body { padding: 20px; }
.video-card-body h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.video-card-body p { font-size: 0.82rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }
.video-card .video-embed-wrap { border-radius: 8px; }

/* ===== INFO ALERT ===== */
.info-alert {
  background: var(--coffee-bg);
  border-left: 4px solid var(--coffee);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.875rem;
  color: #5a3d1c;
  line-height: 1.6;
}
.info-alert strong { color: #3d2710; }

/* ===== PDF VIEWER (BENEFICIOS) ===== */
.pdf-viewer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 80vh;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--white);
}
.pdf-viewer iframe { width: 100%; height: 100%; border: none; display: block; }
.cta-btn.orange svg { flex-shrink: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-section p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 36px; }
.cta-btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--coffee);
  color: var(--maroon);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(200,168,122,0.40);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { background: #b8946a; color: var(--white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(200,168,122,0.40);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-outline:hover { border-color: var(--coffee); background: rgba(200,168,122,0.10); }

/* ===== FOOTER ===== */
.site-footer { padding: 0; }
.footer-contact {
  background: var(--maroon);
  padding: 28px 24px;
}
.footer-contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-phone svg { flex-shrink: 0; opacity: 0.95; }
.footer-info {
  background: var(--maroon);
  color: var(--white);
  padding: 36px 24px 28px;
  text-align: center;
  border-top: 3px solid rgba(123,21,53,0.12);
}
.footer-logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.footer-logo-area img { height: 44px; width: auto; }
.footer-apps {
  position: relative;
  max-width: 900px;
  margin: 0 auto 28px;
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d12;
  background-image:
    radial-gradient(circle at 82% 50%, rgba(200,168,122,0.22) 0%, transparent 55%),
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.footer-apps-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
}
.footer-apps-text { flex: 1; text-align: left; }
.footer-apps-text h3 {
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.footer-apps-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-apps-badges img { height: 40px; width: auto; }
.footer-apps-badges a { display: block; transition: transform 0.2s, opacity 0.2s; }
.footer-apps-badges a:hover { transform: translateY(-2px); opacity: 0.85; }
.footer-apps-phone { flex-shrink: 0; display: flex; align-items: center; }
.footer-apps-phone img { height: 165px; width: auto; margin: -28px 0; }
@media (max-width: 600px) {
  .footer-apps-inner { flex-direction: column; text-align: center; padding: 22px 18px; gap: 18px; }
  .footer-apps-text { text-align: center; }
  .footer-apps-badges { justify-content: center; }
  .footer-apps-phone img { height: 130px; margin: 0; }
}
.footer-info p {
  font-size: 0.82rem;
  color: var(--white);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 4px;
}

/* ===== TAG COLORS ===== */
.tag-orange { background: rgba(100,17,46,0.12); color: var(--maroon); }
.tag-pink   { background: rgba(100,17,46,0.12); color: var(--maroon); }
.tag-blue   { background: rgba(100,17,46,0.12); color: var(--maroon); }
.tag-purple { background: rgba(100,17,46,0.12); color: var(--maroon); }
.tag-green  { background: rgba(100,17,46,0.12); color: var(--maroon); }
.icon-orange { background: rgba(100,17,46,0.10); }
.icon-pink   { background: rgba(100,17,46,0.10); }
.icon-blue   { background: rgba(100,17,46,0.10); }
.icon-purple { background: rgba(100,17,46,0.10); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .video-layout, .video-layout.reverse { grid-template-columns: 1fr; direction: ltr; }
  .dual-videos { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 16px; }
  .hero { padding: 56px 16px 48px; }
  .header-nav { display: none; }
  .header-inner { height: 60px; }
  .header-logo img { height: 36px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-contact-inner { gap: 24px; }
  .footer-phone { font-size: 1.05rem; }
}
