/*
Theme Name: TMS Cursor
Theme URI: http://localhost/tmscursor
Author: TMS by Cursor
Author URI: https://cursor.com
Description: TMS - Transport Management System for mining operations
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tms-cursor
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --main-color: #1446a0;
  --main-dark: #0d3272;
  --btns: #662e9b;
  --contraste: #ffad05;
  --cursor: #3cd387;
  --dark-green: #1a281f;
  --dark-bg: #0f172a;
  --light-bg: #f8faff;
  --border: #e2e8f0;
  --card-text: #1e293b;
  --body-text: #475569;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--card-text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 1024px) { .container { padding: 0 40px; } }
@media (max-width: 640px)  { .container { padding: 0 20px; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  background: var(--main-color);
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  height: 72px;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.navbar-logo .logo-tms {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar-logo .logo-tms img {
  width: 25px;
  height: 25px;
  display: inline-block;
}

.navbar-logo .logo-tms span {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.navbar-logo .logo-by {
  font-size: 10px;
  font-weight: 300;
  color: #fff;
  margin: 0 2px;
}

.navbar-logo .logo-cursor img {
  width: 76px;
  height: 20px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  transition: opacity 0.2s;
  position: relative;
}

.navbar-nav a:hover { opacity: 1; color: #fff; }

.navbar-nav a.active {
  font-weight: 700;
  color: #fff;
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -28px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #fff;
  border-radius: 2px 2px 0 0;
}

.navbar-cta {
  background: #fff;
  color: var(--main-color) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.navbar-cta:hover { background: #f0f4ff; transform: translateY(-1px); }

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; z-index: 1000; }

  .navbar-toggle { display: flex; }

  .navbar-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--main-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .navbar-nav li { width: 100%; }

  .navbar-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9) !important;
    font-size: 15px;
  }

  .navbar-nav li:last-child a { border-bottom: none; }

  .navbar-nav a.active { color: #fff !important; font-weight: 700; }

  .navbar-nav.open { display: flex; }
  .navbar-nav a.active::after { display: none; }
  .navbar-cta { display: none; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-color) 100%);
  min-height: 580px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-badge img { width: 16px; height: 16px; }

.hero-badge span {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--contraste);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.btn-primary:hover { background: #e09b00; transform: translateY(-1px); color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--main-color);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.5);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover { background: #f0f4ff; transform: translateY(-1px); color: var(--main-color); }

.btn-blue {
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  display: inline-block;
}
.btn-blue:hover { background: var(--main-dark); transform: translateY(-1px); color: #fff; }

.btn-large {
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-large:hover { background: var(--main-dark); transform: translateY(-1px); color: #fff; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-dashboard-wrap {
  transform: skewX(-9deg) rotate(-0.7deg) scaleY(0.99);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 25px 19px 20px rgba(0,0,0,0.15);
  max-width: 660px;
  width: 100%;
}

.hero-dashboard-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 36px; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: center;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--btns);
  line-height: 1.1;
}

.stat-label {
  font-size: 13px;
  color: var(--body-text);
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .stats-bar .container { gap: 30px; flex-wrap: wrap; }
  .stat-number { font-size: 24px; }
}

/* ============================================================
   CHALLENGES SECTION
   ============================================================ */
.challenges {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.challenges-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--card-text);
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.section-title.dark { color: var(--dark-green); }
.section-title.purple { color: var(--btns); }
.section-title.green { color: var(--cursor); }
.section-title.white { color: #fff; }

.section-subtitle {
  font-size: 16px;
  color: var(--body-text);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.challenge-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 15px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.challenge-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.challenge-card .card-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
}

.challenge-card .card-icon img { width: 100%; height: 100%; object-fit: contain; }

.challenge-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 8px;
}

.challenge-card p {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.55;
}

@media (max-width: 1100px) { .challenges-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .challenges-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features {
  background: linear-gradient(to right, var(--light-bg), #fff);
  padding: 80px 0;
}

.features .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.features-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--btns);
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item img { width: 20px; height: 20px; flex-shrink: 0; }

.feature-item span {
  font-size: 15px;
  color: var(--body-text);
}

.features-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 38px 19px 20px;
  box-shadow: var(--shadow-sm);
}

.feature-card.muted { background: #edf3f5; box-shadow: none; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features .container { grid-template-columns: 1fr; }
  .features-right { display: none; }
}

/* ============================================================
   CHANNELS SECTION  (updated layout)
   ============================================================ */
.channels {
  background: #fff;
  padding: 80px 0;
}

.channels .container {
  display: grid;
  grid-template-columns: 720px 1fr;
  gap: 48px;
  align-items: center;
}

.channels-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 40px;
  line-height: 1.2;
}

/* Three horizontal channel cards */
.channel-cards-row {
  display: flex;
  gap: 45px;
  align-items: flex-start;
}

/* Web Responsive card — bordered box */
.channel-card-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  width: 180px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
}

.channel-card-box h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 4px;
}

.channel-card-box p {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.4;
}

/* App iOS / App Android cards — no border */
.channel-card-app {
  width: 180px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 34px;
  flex-shrink: 0;
}

.channel-card-app h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 4px;
  width: 100%;
}

.channel-card-app p {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.5;
  margin-bottom: 24px;
  width: 100%;
}

/* Store badges — plain images, no links */
.store-badge {
  display: block;
  height: 55px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Phone mockup */
.channels-right img {
  border-radius: 25px;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 514px;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .channels .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1000px) {
  .channels .container { grid-template-columns: 1fr; }
  .channels-right { display: none; }
  .channel-cards-row { gap: 24px; }
}

@media (max-width: 640px) {
  .channel-cards-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .channel-card-box, .channel-card-app { width: 100%; min-height: unset; padding-top: 20px; }
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-dark) 100%);
  padding: 70px 0;
}

.steps h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
}

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

.step-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 19px;
  transition: background 0.2s;
}

.step-card:hover { background: rgba(255,255,255,0.15); }

.step-number {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: 16px;
}

.step-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 12px;
}

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  background: var(--light-bg);
  padding: 80px 0;
}

.why-us h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--cursor);
  text-align: center;
  margin-bottom: 56px;
}

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

.why-card {
  text-align: center;
}

.why-card-image {
  width: 100%;
  height: 180px;
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-image .blob-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.why-card-image .why-img {
  position: relative;
  z-index: 1;
  max-height: 140px;
  max-width: 80%;
  object-fit: contain;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 6px;
}

.why-card p {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.55;
}

@media (max-width: 900px)  { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--dark-bg);
  padding: 70px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark-bg);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
}

.footer-brand .logo-tms {
  display: flex;
  align-items: center;
  gap: 2px;
}

.footer-brand .logo-tms img { width: 25px; height: 25px; }
.footer-brand .logo-tms span { font-size: 18px; font-weight: 800; color: #fff; }
.footer-brand .logo-by { font-size: 10px; font-weight: 300; color: #fff; margin: 0 2px; }
.footer-brand .logo-cursor img { width: 76px; height: 20px; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 200px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

/* ============================================================
   LIGHT NAVBAR (Blog, Artículo, Contacto pages)
   ============================================================ */
.site-header.light {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Blue PNG logo on light navbar (interior pages) */
.logo-blue-img {
  height: 25px;
  width: auto;
  display: block;
}

.site-header.light .navbar-logo .logo-tms span,
.site-header.light .navbar-logo .logo-by { color: var(--main-color); }

.site-header.light .navbar-nav a { color: rgba(20,70,160,0.75); }
.site-header.light .navbar-nav a:hover,
.site-header.light .navbar-nav a.active { color: var(--main-color); }

.site-header.light .navbar-nav a.active::after { background: var(--main-color); }

.site-header.light .navbar-cta {
  background: var(--main-color);
  color: #fff !important;
}
.site-header.light .navbar-cta:hover { background: var(--main-dark); }

/* Hamburger bars → blue on light navbar */
.site-header.light .navbar-toggle span { background: var(--main-color); }

/* Mobile open dropdown on light navbar stays blue */
.site-header.light .navbar-nav.open {
  background: var(--main-color);
  border-top-color: rgba(255,255,255,0.15);
}
.site-header.light .navbar-nav.open a { color: rgba(255,255,255,0.85); }
.site-header.light .navbar-nav.open a:hover,
.site-header.light .navbar-nav.open a.active { color: #fff; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-color) 100%);
  padding: 70px 0 60px;
  text-align: center;
}

.page-hero .htag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 32px;
}

.page-hero .hero-btns { justify-content: center; }

@media (max-width: 640px) { .page-hero h1 { font-size: 32px; } }

/* ============================================================
   IA & MULTICANAL PAGE
   ============================================================ */
.ia-hero {
  background: linear-gradient(135deg, #7c3aed 0%, var(--main-color) 100%);
  padding: 70px 0 60px;
  overflow: hidden;
}

.ia-hero .container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}

.ia-hero-content { position: relative; z-index: 2; }

.ia-htag {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
}

.ia-hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.ia-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 32px;
}

.ia-visual {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px 24px 30px;
  text-align: center;
}

.ia-visual-robot {
  width: 256px;
  height: 219px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

.ia-visual .engine-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ia-visual .engine-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.ia-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}

.ia-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.ia-chip i { font-size: 11px; }

/* Channel Grid */
.channel-grid-section {
  background: #fff;
  padding: 80px 0;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ch-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  height: 192px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.ch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ch-card-info {
  flex: 1;
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ch-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 6px;
}

.ch-card p {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.55;
}

.ch-card-img {
  width: 290px;
  flex-shrink: 0;
  overflow: hidden;
}

.ch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) { .channel-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ch-card { height: auto; } .ch-card-info { padding: 20px; } .ch-card-img { display: none; } }

/* AI Caps */
.ai-caps {
  background: linear-gradient(135deg, #0d3272 0%, #1446a0 100%);
  padding: 70px 0;
}

.ai-caps h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.ai-caps .section-subtitle { color: rgba(255,255,255,0.65); }

.ai-caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ai-cap-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 20px;
  overflow: hidden;
  transition: background 0.2s;
}

.ai-cap-card:hover { background: rgba(255,255,255,0.15); }

.ai-cap-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-bottom: 16px;
}

.ai-cap-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.ai-cap-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

@media (max-width: 900px) { .ai-caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ai-caps-grid { grid-template-columns: 1fr; } }

/* Metrics */
.metrics-bar {
  background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-color) 100%);
  padding: 48px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-number {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}

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

/* Integrations */
.integrations-bar {
  background: var(--light-bg);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.integrations-bar h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--card-text);
  text-align: center;
  margin-bottom: 28px;
}

.integrations-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* IA CTA override — amber background */
.ia-cta {
  background: #ffad05;
}

.ia-cta h2 { color: var(--main-color); }
.ia-cta p  { color: var(--main-color); opacity: 0.8; }
.ia-cta .btn-large {
  background: #fff;
  color: var(--main-color);
}
.ia-cta .btn-large:hover {
  background: #f0f4ff;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-header {
  background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-color) 100%);
  padding: 60px 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.blog-header p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-section { background: var(--light-bg); padding: 72px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--main-dark), var(--main-color));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-card-img-placeholder { font-size: 40px; color: rgba(255,255,255,0.75); }

.blog-card-body { padding: 24px; }

.blog-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--main-color);
  background: rgba(20,70,160,0.08);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--card-text);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-body h3 a { color: inherit; }
.blog-card-body h3 a:hover { color: var(--main-color); }

.blog-card-body p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--body-text);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}

.blog-card-meta a {
  color: var(--main-color);
  font-weight: 600;
  font-size: 13px;
}

.blog-card-meta a:hover { color: var(--main-dark); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SINGLE POST / ARTÍCULO
   ============================================================ */
.article-header {
  background: linear-gradient(135deg, var(--main-dark) 0%, var(--main-color) 100%);
  padding: 60px 0 50px;
}

.article-header .article-cat {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.article-header h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  max-width: 800px;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-body-wrap {
  background: #fff;
  padding: 60px 0 72px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.article-featured-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 420px;
}

.article-featured-img img { width: 100%; height: 420px; object-fit: cover; }

.article-content { font-size: 16px; line-height: 1.8; color: var(--card-text); }

.article-content h2 { font-size: 26px; font-weight: 700; margin: 36px 0 16px; color: var(--card-text); }
.article-content h3 { font-size: 20px; font-weight: 600; margin: 28px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--main-color);
  padding: 16px 20px;
  background: var(--light-bg);
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--body-text);
}

.article-sidebar {}

.sidebar-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--main-dark), var(--main-color));
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.sidebar-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.2); }
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.5; }

.related-posts { padding: 60px 0; background: var(--light-bg); }

.related-posts h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 32px;
}

@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-sidebar { display: none; } }

/* ============================================================
   CONTACTO / AGENDAR REUNIÓN
   ============================================================ */
.contact-section { background: var(--light-bg); padding: 72px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--main-color);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 14px;
  color: var(--body-text);
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 8px;
}

.contact-form-card .form-intro {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 28px;
  line-height: 1.5;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--card-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--card-text);
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(20,70,160,0.1);
  background: #fff;
}

.form-group textarea { resize: vertical; min-height: 110px; }

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--main-color);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--main-dark); }

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
}

.trust-badge span:first-child { font-size: 18px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   PAGE 6 — COMPONENTES
   ============================================================ */

/* ── Hero ── */
.comp-hero {
  position: relative;
  min-height: 376px;
  padding: 56px 0 52px;
  background-size: cover;
  background-position: center 60%;
  overflow: hidden;
}
.comp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4,8,24,0.82) 40%, rgba(4,8,24,0.45) 100%);
  pointer-events: none;
}
.comp-hero .container { position: relative; z-index: 1; }

.comp-breadcrumb {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.80);
  margin-bottom: 20px;
}
.comp-hero h1 {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 780px;
}
.comp-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.comp-hero-quote {
  background: rgba(255,255,255,0.07);
  border-left: 3px solid rgba(255,255,255,0.35);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  max-width: 800px;
}
.comp-hero-quote p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0;
}

/* ── Modules section ── */
.comp-modules {
  background: var(--light-bg);
  padding: 80px 0 64px;
}

/* Section header */
.comp-shdr { margin-bottom: 48px; }
.comp-shdr-bar {
  width: 48px;
  height: 4px;
  background: var(--btns);
  border-radius: 2px;
  margin-bottom: 12px;
}
.comp-shdr-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--btns);
  margin-bottom: 8px;
}
.comp-shdr h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--card-text);
  line-height: 1.2;
  margin: 0;
}

/* ── Card rows ── */
.comp-row {
  display: grid;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
.comp-row-2col { grid-template-columns: 2fr 1fr; }
.comp-row-3col { grid-template-columns: 1fr 1fr 1fr; }

/* ── Card base ── */
.comp-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

/* ── Card header (gradient) ── */
.comp-card-hdr {
  position: relative;
  background: linear-gradient(135deg, var(--ga) 0%, var(--gb) 100%);
  padding: 18px 20px 22px;
  min-height: 215px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.comp-module-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 10px;
}
.comp-card-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  margin-bottom: auto;
}
.comp-card-num-bg {
  position: absolute;
  right: -8px;
  top: 14px;
  font-size: 128px;
  font-weight: 900;
  color: rgba(255,255,255,0.09);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: 'Inter', sans-serif;
}
.comp-metric {
  font-size: 50px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-top: 14px;
  margin-bottom: 4px;
}
.comp-metric-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.3;
}

/* ── Card body ── */
.comp-card-body {
  padding: 26px 20px 24px;
  flex: 1;
}
.comp-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 16px;
  line-height: 1.3;
}
.comp-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}
.comp-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--body-text);
  opacity: 0.65;
  margin-bottom: 8px;
}
.comp-card-body > p,
.comp-col > p {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.62;
  margin-bottom: 0;
}
.comp-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.comp-bullets li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  color: var(--body-text);
  line-height: 1.55;
  margin-bottom: 10px;
}
.comp-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--btns);
  border-radius: 50%;
}
.comp-chip {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.5;
  margin-top: 14px;
}
.comp-rango-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--body-text);
  opacity: 0.65;
  margin-top: 18px;
  margin-bottom: 6px;
}
.comp-rango-text {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.55;
  margin: 0;
}

/* ── Wide card: 2-column body ── */
.comp-body-wide {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 20px;
  align-items: start;
}
.comp-col-divider {
  background: var(--border);
  align-self: stretch;
  min-height: 100%;
}
.comp-col p { font-size: 13px; }

/* ── Sum section ── */
.comp-sum {
  background: linear-gradient(135deg, #a417c8 0%, #3f258e 100%);
  padding: 72px 0 60px;
  text-align: center;
}
.comp-sum h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.comp-sum > .container > p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 680px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.comp-sum-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.comp-sum-metric {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 20px 14px;
}
.comp-sum-number {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.comp-sum-label {
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  line-height: 1.4;
}
.comp-sum-cta {
  background: #fff !important;
  color: #3f258e !important;
}
.comp-sum-cta:hover {
  background: rgba(255,255,255,0.90) !important;
}

/* ── Disclaimer ── */
.comp-disclaimer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.comp-disclaimer p {
  font-size: 11.5px;
  color: var(--body-text);
  line-height: 1.65;
  opacity: 0.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .comp-row-2col  { grid-template-columns: 1fr; }
  .comp-row-3col  { grid-template-columns: 1fr 1fr; }
  .comp-body-wide { grid-template-columns: 1fr; }
  .comp-col-divider { display: none; }
  .comp-sum-metrics { grid-template-columns: 1fr 1fr; margin-bottom: 32px; }
}
@media (max-width: 680px) {
  .comp-hero h1   { font-size: 32px; }
  .comp-shdr h2   { font-size: 28px; }
  .comp-metric    { font-size: 38px; }
  .comp-row-3col  { grid-template-columns: 1fr; }
  .comp-sum h2    { font-size: 26px; }
  .comp-sum-metrics { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PAGE 7 — CASOS DE USO
   ============================================================ */

/* ── Hero ── */
.cu-hero {
  background: #0d3272;
  padding: 60px 0 22px;
  overflow: hidden;
}
.cu-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #a3c9fc;
  margin-bottom: 16px;
}
.cu-hero h1 {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  line-height: 1.304; /* 60px / 46px */
  margin-bottom: 18px;
  max-width: 740px;
}
.cu-subtitle {
  font-size: 15px;
  color: #c7d1eb;
  max-width: 700px;
  line-height: 26px;
  margin-bottom: 40px;
}
.cu-pills {
  display: flex;
  gap: 24px;
}
.cu-pill {
  background: #26385c;
  border-radius: 8px;
  padding: 8px 14px;
  width: 196px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
}
.cu-pill-number {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cu-pill-label {
  font-size: 11px;
  color: #b8c7e0;
  margin-top: 2px;
  line-height: 1.3;
}

/* ── Beneficios & Suite ── */
.cu-benefits-section {
  background: #fff;
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}
.cu-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.cu-benefits-col h2,
.cu-suite-col h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 14px;
}
.cu-rule {
  height: 2px;
  background: var(--border);
  margin-bottom: 20px;
  border: none;
}
.cu-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cu-benefit-list li {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.cu-suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cu-suite-link {
  font-size: 14px;
  color: var(--body-text);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  line-height: 1.45;
  transition: color 0.2s;
}
.cu-suite-link:hover { color: var(--btns); }

/* ── Clientes ── */
.cu-clients-section {
  background: var(--light-bg);
  padding: 64px 0 56px;
}
.cu-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--card-text);
  margin-bottom: 28px;
}
.cu-cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.cu-case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cu-case-hdr {
  padding: 18px 20px 20px;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cu-case-badge {
  display: inline-flex;
  width: fit-content;
  background: rgba(255,255,255,0.20);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 10px;
}
.cu-case-hdr h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.cu-case-location {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  margin: 0;
}
.cu-case-body { padding: 20px; }
.cu-case-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--body-text);
  opacity: 0.60;
  margin-bottom: 6px;
}
.cu-case-text {
  font-size: 13px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cu-case-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0 14px;
}
.cu-result { margin-bottom: 12px; }
.cu-result-number {
  font-size: 26px;
  font-weight: 900;
  color: var(--btns);
  line-height: 1.1;
}
.cu-result-label {
  font-size: 12px;
  color: var(--body-text);
  margin-top: 2px;
}

/* ── Industrias ── */
.cu-industries-section {
  background: #fff;
  padding: 64px 0 56px;
}
.cu-industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.cu-industry-card {
  background: #f6f7fb;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 300px; /* matches Figma exactly */
}
.cu-industry-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: 8px 8px 0 0;
}
.cu-industry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1f2f;
  margin: 6px 0 14px;
}
.cu-industry-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  /* color set per-card via inline style */
  margin-bottom: 6px;
}
.cu-industry-text {
  font-size: 12px;
  color: #515a70;
  line-height: 21px;
  margin-bottom: 12px;
}
.cu-industry-kpi {
  margin-top: auto;
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: normal;
  /* background and color set per-card via inline style */
}

/* ── Metrics bar ── */
.cu-metrics-bar {
  background: var(--main-color);
  padding: 36px 0;
}
.cu-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cu-metric-number {
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.cu-metric-label {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .cu-benefits-grid   { grid-template-columns: 1fr; gap: 40px; }
  .cu-cases-grid      { grid-template-columns: 1fr; }
  .cu-industries-grid { grid-template-columns: 1fr 1fr; }
  .cu-industry-card   { height: auto; min-height: 300px; }
  .cu-metrics-grid    { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  .cu-hero h1         { font-size: 32px; }
  .cu-pills           { flex-wrap: wrap; }
  .cu-pill            { width: auto; flex: 1; min-width: 150px; }
  .cu-industries-grid { grid-template-columns: 1fr; }
  .cu-industry-card   { height: auto; min-height: 0; }
  .cu-suite-grid      { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE 8 — PRIVACIDAD Y TÉRMINOS
   ============================================================ */

/* ── Hero ── */
.pt-hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}
.pt-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.pt-hero-accent {
  width: 4px;
  min-height: 80px;
  background: var(--btns);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}
.pt-hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--card-text);
  line-height: 1.2;
  margin-bottom: 8px;
}
.pt-hero-meta {
  font-size: 13px;
  color: var(--body-text);
  opacity: 0.70;
  margin: 0;
}

/* ── Content ── */
.pt-content {
  background: #fff;
  padding: 56px 0 80px;
}
.pt-content .container {
  max-width: 960px;
}
.pt-part-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--btns);
  margin-bottom: 8px;
}
.pt-part-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--card-text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.pt-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 32px;
}
.pt-part-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 56px 0 48px;
}
.pt-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--card-text);
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.35;
}
.pt-body {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 0;
}
.pt-body a {
  color: var(--btns);
  text-decoration: none;
}
.pt-body a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .pt-hero h1    { font-size: 26px; }
  .pt-part-title { font-size: 22px; }
}
