/* =========================
   Akumajaa Landing System
   ========================= */

:root{
  /* Brand */
  --brand: #E50914;          /* rojo CTA */
  --brand-2: #ff2a2a;        /* hover */
  --ink: #0B1220;            /* texto principal */
  --muted: #5B6577;          /* texto secundario */
  --bg: #FFFFFF;             /* fondo */
  --surface: #F6F8FC;        /* cards claras */
  --navy: #0C1B2A;           /* bloque oscuro */
  --navy-2: #0A1724;         /* darker */
  --stroke: rgba(11,18,32,.08);

  /* UI */
  --radius-xl: 18px;
  --radius-lg: 14px;
  --shadow-sm: 0 6px 18px rgba(11,18,32,.08);
  --shadow-md: 0 18px 50px rgba(11,18,32,.14);

  /* Spacing */
  --container-max: 1120px;
}

html, body{
  height:100%;
}
html{
  overflow-x: hidden;
}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open{ overflow: hidden; }

.container-landing{
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}
@media (max-width: 480px){
  .container-landing{ padding: 0 14px; }
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--brand); }

.nav-landing{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing: .2px;
}
.brand-logo{
  height: 36px;
  width: auto;
  display: block;
}
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: rgba(11,18,32,.78);
}
.nav-links a{ padding: 8px 10px; border-radius: 10px; }
.nav-links a:hover{ background: rgba(229,9,20,.06); }

@media (max-width: 768px){
  .nav-toggle{ display: flex; }
  .nav-links{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 80px 24px 24px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav-links--open{
    transform: translateX(0);
  }
  .nav-links a{
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--stroke);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links .btn{ justify-content: flex-start; margin-top: 12px; }
}

@media (min-width: 769px){
  .nav-links{
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    transform: none;
    overflow: visible;
  }
  .nav-links a{
    padding: 8px 10px;
    font-size: inherit;
    border: none;
    min-height: auto;
    display: inline-flex;
  }
  .nav-links .btn{ margin-top: 0; }
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px rgba(229,9,20,.25);
}
.btn-primary:hover{
  background: var(--brand-2);
  box-shadow: 0 18px 36px rgba(229,9,20,.28);
  color: #fff;
}
.btn-ghost{
  background: transparent;
  border-color: rgba(11,18,32,.12);
  color: rgba(11,18,32,.85);
}
.btn-ghost:hover{
  background: rgba(11,18,32,.04);
  color: rgba(11,18,32,.9);
}

.section{
  padding: 70px 0;
}
.section-tight{ padding: 52px 0; }
@media (max-width: 768px){
  .section{ padding: 48px 0; }
  .section-tight{ padding: 36px 0; }
}
.section-title{
  font-weight: 300;
  letter-spacing: -.6px;
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 10px 0;
}
.section-subtitle{
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 26px 0;
}

.hero{
  padding: 20px 0 26px 0;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 991px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.h1{
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.03;
  letter-spacing: -1.2px;
  font-weight: 300;
  margin: 0 0 12px 0;
}
.h1 .accent{ color: var(--brand); }
.hero-rotate{ transition: opacity .2s ease; }
.lead{
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(11,18,32,.78);
  margin: 0 0 18px 0;
  max-width: 54ch;
}
.hero-actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.card{
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}
.card-dark{
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-color: rgba(255,255,255,.07);
  color: rgba(255,255,255,.88);
}
.card-dark .card-title{ color: #fff; }
.card-title{
  font-weight: 300;
  margin: 0 0 10px 0;
  letter-spacing: -.4px;
}
.kicker{
  color: rgba(255,255,255,.65);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  margin-bottom: 10px;
}
.kicker-light{
  color: rgba(11,18,32,.55);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  margin-bottom: 10px;
}

.bullets{ margin:0; padding-left: 18px; }
.bullets li{ margin: 8px 0; }
.bullets strong{ color: #fff; }
.card:not(.card-dark) .bullets strong{ color: var(--ink); }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 991px){ .grid-3{ grid-template-columns: 1fr; } }

.capabilities-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 991px){
  .capabilities-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .capabilities-grid{ grid-template-columns: 1fr; }
}

.stat-number{
  font-weight: 950;
  font-size: 28px;
  letter-spacing: -.6px;
}
.stat-label{
  margin-top: 6px;
  color: rgba(11,18,32,.70);
  font-weight: 700;
}

.block-dark{
  background: linear-gradient(180deg, #0B1726, #08111C);
  color: rgba(255,255,255,.88);
}
.block-dark .section-subtitle{ color: rgba(255,255,255,.70); }
.block-dark .card{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); box-shadow: none; }

.value-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 991px){ .value-grid{ grid-template-columns: 1fr; } }

.mock{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.10);
  background: radial-gradient(1200px 500px at 20% 20%, rgba(229,9,20,.22), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  min-height: 260px;
  box-shadow: var(--shadow-md);
}

.mock-slider{
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-slider .slider{
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  touch-action: pan-y;
}
.mock-slider .slider-track{
  display: flex;
  transition: transform .4s ease;
  width: 300%;
}
.mock-slider .slider-item{
  flex: 0 0 33.333%;
  min-width: 0;
  width: 33.333%;
}
.mock-slider .slider-item img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.mock-slider .slider-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.mock-slider .slider-btn{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.mock-slider .slider-btn:hover{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.35);
}
.mock-slider .slider-dots{
  display: flex;
  gap: 8px;
}
.mock-slider .slider-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.mock-slider .slider-dot:hover{
  background: rgba(255,255,255,.55);
}
.mock-slider .slider-dot.active{
  background: var(--brand);
  transform: scale(1.2);
}

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 991px){ .steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .steps{ grid-template-columns: 1fr; } }

.step{
  text-align:center;
  padding: 14px 14px 18px 14px;
}
.step-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  margin: 0 auto 10px auto;
  background: rgba(229,9,20,.12);
  border: 1px solid rgba(229,9,20,.20);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: var(--brand);
}
.step-title{
  font-weight: 300;
  margin: 0 0 6px 0;
}
.step-text{
  margin: 0;
  color: rgba(11,18,32,.70);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.5;
}

.testimonial{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items:center;
}
@media (max-width: 640px){ .testimonial{ grid-template-columns: 1fr; } }

.avatar{
  width: 140px; height: 140px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
}

.quote{
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: -.2px;
}
.quote small{
  display:block;
  margin-top: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.70);
}

.cta-block{
  background: var(--brand);
  color: #fff;
}
.cta-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 991px){ .cta-grid{ grid-template-columns: 1fr; } }

.form-card{
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
}
.form-card label{
  font-weight: 800;
  font-size: 12px;
  color: rgba(11,18,32,.75);
  margin-bottom: 6px;
}
.form-card input, .form-card select, .form-card textarea{
  width: 100%;
  border: 1px solid rgba(11,18,32,.14);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
  font-weight: 650;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
.form-card textarea{ min-height: 120px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus{
  border-color: rgba(229,9,20,.45);
  box-shadow: 0 0 0 4px rgba(229,9,20,.12);
}
@media (max-width: 480px){
  .form-card .form-grid-2{
    grid-template-columns: 1fr !important;
  }
}

.footer{
  padding: 24px 0;
  border-top: 1px solid var(--stroke);
  color: rgba(11,18,32,.65);
  font-weight: 650;
  font-size: 13px;
}
@media (max-width: 480px){
  .footer{ padding: 20px 0; font-size: 12px; }
}

.sr-only{
  position:absolute!important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  border:0;
}

/* Tablas / GridView: scroll horizontal en móvil */
@media (max-width: 768px){
  .table-responsive{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-responsive .table{ min-width: 600px; }
}

/* Phone country picker (select inside input style) */
.phone-combo{
  display: flex;
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(11,18,32,.14);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.phone-combo-input{
  min-height: 48px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  font-weight: 650;
  letter-spacing: .3px;
  width: 100%;
}
.phone-country-overlay{
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: 1;
  height: 48px;
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  flex: 0 0 210px;
  border: 0;
  border-right: 1px solid rgba(11,18,32,.14);
  border-radius: 0;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  padding: 0 12px;
  cursor: pointer;
  margin: 0;
}
.phone-country-overlay:focus{
  outline: none;
}
.phone-combo:focus-within{
  border-color: rgba(229,9,20,.45);
  box-shadow: 0 0 0 4px rgba(229,9,20,.12);
}
.phone-combo .phone-combo-input:focus{
  box-shadow: none !important;
}
@media (max-width: 640px){
  .phone-country-overlay{
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    flex-basis: 170px;
    font-size: 13px;
    padding: 0 10px;
  }
}

/* =========================
   Akumajaa Story Page
   ========================= */
.akm-hero{
  background:
    radial-gradient(900px 340px at 8% 10%, rgba(229,9,20,.12), transparent 55%),
    radial-gradient(800px 320px at 90% 90%, rgba(12,27,42,.12), transparent 60%),
    linear-gradient(180deg, #fff, #f8fafc);
}
.akm-title{
  font-size: clamp(36px, 6vw, 68px);
  line-height: .98;
  letter-spacing: -1.3px;
  margin: 0 0 12px 0;
  font-weight: 300;
}
.akm-lead{
  max-width: 66ch;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: rgba(11,18,32,.82);
  font-weight: 500;
}
.akm-hero-grid{
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 991px){
  .akm-hero-grid{ grid-template-columns: 1fr; }
}
.akm-quote-card{
  background: linear-gradient(180deg, #0f2234, #091420);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.akm-quote{
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.8px;
  font-weight: 300;
}
.akm-quote small{
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255,255,255,.72);
  font-weight: 700;
}
.akm-note{
  margin: 14px 0 0 0;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  line-height: 1.6;
}
.akm-context-card{
  background: linear-gradient(180deg, #fff, #f4f7fb);
}
.akm-story{
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.akm-story-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 991px){
  .akm-story-grid{ grid-template-columns: 1fr; }
}
.akm-rafa-card{
  border-color: rgba(229,9,20,.25);
  box-shadow: 0 18px 50px rgba(229,9,20,.10);
}
.akm-bridge{
  background: linear-gradient(180deg, #0a1521, #0c1b2a);
}
.akm-bridge-card{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.90);
}
.akm-bridge-card .section-title{
  color: #fff;
}
.akm-bridge-card .section-subtitle{
  color: rgba(255,255,255,.74);
}
