/* ==========================================================================
   AUTOMATIZIA ACADEMY — ESTILOS V2 2026
   Tokens de Marca Canónicos: Hind Siliguri, Navy Deep, Navy Brand, Papel
   ========================================================================== */

:root {
  --ink: #0F1A4A;
  --paper: #F4F6FB;
  --paper-card: #FFFFFF;
  --acid: #3948B5;
  --line: rgba(15, 26, 74, 0.12);
  --line-strong: rgba(15, 26, 74, 0.25);
  --font-sans: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Hind Siliguri', monospace;
  --atz-gradient: linear-gradient(90deg, #5C52FD 0%, #3471FD 35.54%, #0E98FE 62.48%, #00D8EF 100%);
  --atz-btn-gradient: linear-gradient(#3948B5,#3948B5) padding-box, linear-gradient(90deg,#5C52FD 0%,#3471FD 35.54%,#0E98FE 62.48%,#00D8EF 100%) border-box;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.button {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  background: var(--atz-btn-gradient);
  color: #FFFFFF !important;
  text-decoration: none;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 999px;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(57, 72, 181, 0.25);
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.button.small {
  padding: 8px 18px;
  font-size: 13.5px;
}

/* Hero Section */
.hero {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 76px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
  color: var(--acid);
  margin: 0 0 20px;
  text-transform: uppercase;
}

.eyebrow:before {
  content: '// ';
  color: #6B7A99;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--acid);
}

.lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 680px;
  color: #2B3769;
  margin: 24px 0 32px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.actions a:not(.button) {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.15s ease;
}

.actions a:not(.button):hover {
  background: rgba(57, 72, 181, 0.06);
}

.proof {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  font-size: 11px;
  text-transform: uppercase;
  color: #6B7A99;
  letter-spacing: .08em;
}

.proof span:before {
  content: '● ';
  color: #10B981;
  margin-right: 6px;
}

/* System Map Card */
.system-map {
  border: 1px solid rgba(15, 26, 74, 0.12);
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(15, 26, 74, 0.08);
}

.map-top, .map-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #6B7A99;
}

.map-top small {
  color: #10B981;
}

.map-core {
  margin: 36px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pulse {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--atz-btn-gradient);
  color: #FFFFFF;
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 0 0 10px rgba(57, 72, 181, 0.12), 0 0 0 20px rgba(57, 72, 181, 0.06);
  margin-bottom: 22px;
}

.map-core strong {
  font-size: 17px;
  color: var(--ink);
}

.map-core small, .map-grid small {
  font-size: 11px;
  margin-top: 4px;
  color: #6B7A99;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.map-grid div {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.map-footer {
  margin-top: 18px;
  align-items: center;
}

.map-footer i {
  height: 1px;
  flex: 1;
  background: var(--line);
  margin: 0 12px;
}

/* Enfoque Section */
.dark {
  background: var(--ink);
  color: #FFFFFF;
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: end;
}

.split h2 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin: 0;
  line-height: 1.1;
  color: #FFFFFF;
}

.split p {
  color: #AEB7D6;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 56px;
  gap: 24px;
}

.contrast article {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.contrast article b {
  font-size: 12px;
  color: #AEB7D6;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 16px;
}

.contrast p {
  margin: 12px 0;
  font-size: 15px;
  color: #E7EAF5;
}

.contrast .positive {
  background: rgba(57, 72, 181, 0.15);
  border-color: rgba(57, 72, 181, 0.4);
}

.contrast .positive b {
  color: #00D8EF;
}

/* Course Card */
.course-card {
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 26, 74, 0.05);
  margin-top: 36px;
}

.badge-course {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(57, 72, 181, 0.08);
  color: var(--acid);
  border: 1px solid rgba(57, 72, 181, 0.25);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.course-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.modules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
  font-size: 14px;
  color: #2B3769;
}

.lead-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 26, 74, 0.05);
  margin-top: 48px;
  text-align: center;
}

.lead-form-inner {
  display: flex;
  max-width: 520px;
  margin: 24px auto 10px;
  gap: 10px;
}

.lead-input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
}

.lead-input:focus {
  border-color: var(--acid);
  background: #FFFFFF;
}

.lead-btn {
  cursor: pointer;
  border: none;
  background: var(--atz-btn-gradient);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  transition: transform 0.15s ease;
  white-space: nowrap;
}

.lead-btn:hover {
  transform: translateY(-1px);
}

/* Method Section */
.method-bg {
  background: #E7EAF5;
  padding: 96px 0;
}

.method {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.method h2 {
  font-size: 44px;
  margin: 0 0 16px;
  color: var(--ink);
}

.method ol {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.method li {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: 15px;
}

.method li span {
  font-weight: 700;
  color: var(--acid);
}

.method li small {
  color: #6B7A99;
  font-size: 12.5px;
}

/* Floating WhatsApp Button */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media(max-width: 800px) {
  .hero, .split, .method { grid-template-columns: 1fr; gap: 40px; }
  .contrast, .course-grid, .modules-list { grid-template-columns: 1fr; }
  .lead-form-inner { flex-direction: column; }
  .method li { grid-template-columns: 36px 1fr; }
  .method li small { grid-column: 2; margin-top: 4px; }
}
