/* ============================================================
   ENGNOVUS — Hoja de estilos compartida
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --navy:        #0D1B2A;
  --steel:       #1B3A5C;
  --cobalt:      #1E6BB8;
  --cobalt-dark: #155096;
  --sky:         #5BAAD4;
  --sky-light:   #A8D4EC;
  --ice:         #EAF4FB;
  --white:       #FFFFFF;
  --off-white:   #F5F8FC;
  --gray:        #6B7F96;
  --gray-light:  #C8D6E3;
  --border:      #D6E4F0;
  --border-dark: rgba(13,27,42,0.12);

  --font-display:   'Cormorant Garamond', serif;
  --font-body:      'Outfit', sans-serif;
  --font-mono:      'JetBrains Mono', monospace;
  --font-logo:      'Tenor Sans', serif;
  --font-logo-sub:  'Hanken Grotesk', sans-serif;
  --max-w: 1100px;
  --radius: 2px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* ── PAGE SYSTEM (blog internal) ────────────────────────────── */
.page { display: none; animation: fadeIn 0.35s ease; }
.page.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #0D1B2A;
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--font-logo-sub);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #0D1B2A;
  text-transform: none;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--cobalt); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--cobalt) !important; color: var(--white) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse 80% 80% at 80% 40%, var(--ice) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bracket-tl {
  position: absolute;
  top: 18%; left: 5%;
  width: 100px; height: 100px;
  border-top: 1.5px solid var(--cobalt);
  border-left: 1.5px solid var(--cobalt);
  opacity: 0.18;
}

.hero-bracket-br {
  position: absolute;
  bottom: 18%; right: 8%;
  width: 160px; height: 160px;
  border-bottom: 1.5px solid var(--navy);
  border-right: 1.5px solid var(--navy);
  opacity: 0.1;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--navy);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero-title em {
  font-style: italic;
  color: var(--cobalt);
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--cobalt); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--ice);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}

.stat-number span { color: var(--cobalt); }

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ── SHARED SECTIONS ────────────────────────────────────────── */
.section {
  padding: 100px 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.bg-ice {
  background: var(--ice);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bg-navy { background: var(--navy); }
.bg-cobalt { background: var(--navy); }

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  flex-shrink: 0;
}

.section-label.on-dark { color: var(--sky-light); }
.section-label.on-dark::before { background: var(--sky-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section-title em { font-style: italic; color: var(--cobalt); }
.section-title.on-dark { color: var(--white); }
.section-title.on-dark em { color: var(--sky-light); }

.section-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
}

.section-body.on-dark { color: var(--sky-light); opacity: 0.8; }

/* ── PROBLEM ────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 4rem;
}

.problem-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.problem-item { display: flex; gap: 16px; align-items: flex-start; }

.problem-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--white);
}

.problem-icon svg {
  width: 12px; height: 12px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 2;
}

.problem-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}

.problem-highlight {
  padding: 3rem;
  background: var(--navy);
  position: relative;
  color: var(--white);
}

.problem-stat-big {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.problem-stat-big span { color: var(--sky); }

.problem-stat-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--sky-light);
  opacity: 0.85;
  line-height: 1.7;
}

/* ── PILLARS ────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  margin-top: 4rem;
}

.pillars-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.pillar-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.pillar-card:hover { background: var(--ice); }

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--navy);
  transition: width 0.4s ease;
}

.pillar-card:hover::after { width: 100%; }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cobalt);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.pillar-title em { color: var(--cobalt); font-style: italic; }

.pillar-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pillar-items { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.pillar-items li {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.pillar-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sky);
  font-size: 11px;
}

/* ── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 4rem;
}

.price-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}

.price-card:hover { background: var(--ice); }

.price-card.featured {
  background: var(--navy);
  border: none;
  position: relative;
}

.price-card.featured:hover { background: var(--steel); }

.price-featured-label {
  position: absolute;
  top: 0; right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
}

.price-service {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.3;
}

.price-card.featured .price-service { color: var(--white); }

.price-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
  flex: 1;
}

.price-card.featured .price-desc { color: var(--sky-light); opacity: 0.85; }

.price-amount {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--cobalt);
}

.price-card.featured .price-amount { color: var(--sky); }

.price-amount span {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
}

.price-free .price-amount { color: var(--navy); }

.price-cta {
  display: block;
  text-align: center;
  padding: 10px;
  border: 1.5px solid var(--border-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  background: none;
  border-radius: var(--radius);
}

.price-cta:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--ice);
}

.price-card.featured .price-cta {
  border-color: rgba(255,255,255,0.25);
  color: var(--sky-light);
}

.price-card.featured .price-cta:hover {
  border-color: var(--sky);
  background: rgba(91,170,212,0.12);
  color: var(--white);
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--cobalt), var(--sky), var(--cobalt));
  opacity: 0.3;
}

.process-step {
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  width: 56px; height: 56px;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--cobalt);
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.step-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 80px 2rem;
  text-align: center;
}

.cta-banner .section-label { justify-content: center; }
.cta-banner .section-title { max-width: 600px; margin: 0 auto 1.5rem; }
.cta-banner .section-body { margin: 0 auto 2.5rem; text-align: center; }

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.contact-hero {
  padding: 140px 2rem 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  padding: 0 2rem 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.contact-info-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1.2rem;
}

.contact-info-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--ice);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 14px; height: 14px;
  stroke: var(--cobalt);
  fill: none;
  stroke-width: 1.5;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
}

.contact-tags {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--ice);
  margin-top: 2rem;
}

.contact-tags-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.8rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 12px;
  color: var(--navy);
  font-weight: 400;
}

/* ── FORM ───────────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input, .form-select, .form-textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cobalt);
  background: var(--ice);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E6BB8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--white);
}

.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
  padding: 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--cobalt);
  background: var(--ice);
}

/* Consent checkbox */
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--cobalt);
  background: var(--ice);
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--cobalt);
  cursor: pointer;
}

.form-consent label {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  cursor: pointer;
}

.form-consent label a {
  color: var(--cobalt);
  text-decoration: underline;
  cursor: pointer;
}

/* Preferencia de entrega (email / WhatsApp) */
.form-check-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cobalt);
  cursor: pointer;
}

.form-submit {
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}

.form-submit:hover { background: var(--cobalt); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  padding: 2.5rem;
  border: 1.5px solid var(--cobalt);
  background: var(--ice);
  text-align: center;
}

.form-success.show { display: block; }

.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success p { font-size: 14px; font-weight: 300; color: var(--gray); }

/* ── BLOG ───────────────────────────────────────────────────── */
.blog-hero {
  padding: 140px 2rem 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  padding: 0 2rem 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.blog-post {
  border-bottom: 1px solid var(--border);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  cursor: default;
}

.blog-post:last-child { border-bottom: none; }
.blog-post:hover .blog-post-title { color: var(--cobalt); }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.blog-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 3px 10px;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.1em;
}

.blog-post-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.blog-post-excerpt {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.blog-read-more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-read-more::after { content: '→'; transition: transform 0.2s; }
.blog-post:hover .blog-read-more::after { transform: translateX(4px); }

/* Sidebar */
.sidebar-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--border);
}

.sidebar-widget { margin-bottom: 2.5rem; }
.sidebar-cats { list-style: none; }

.sidebar-cats li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s;
}

.sidebar-cats li:last-child { border-bottom: none; }
.sidebar-cats li:hover { padding-left: 4px; }

.sidebar-cat-name {
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  transition: color 0.2s;
}

.sidebar-cats li:hover .sidebar-cat-name { color: var(--navy); }

.sidebar-cat-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cobalt);
}

.recent-post {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.recent-post:first-child { padding-top: 0; }
.recent-post:last-child { border-bottom: none; }

.recent-post-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.recent-post:hover .recent-post-title { color: var(--cobalt); }

.recent-post-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
}

.sidebar-newsletter {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--ice);
}

.sidebar-newsletter p {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.sidebar-email-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--navy);
  outline: none;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.sidebar-email-input:focus { border-color: var(--cobalt); }

.sidebar-email-btn {
  width: 100%;
  padding: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-email-btn:hover { background: var(--cobalt); }

.sidebar-cta {
  padding: 1.5rem;
  border: 1.5px solid var(--cobalt);
  background: var(--white);
}

.sidebar-cta p {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── ARTICLE READER ─────────────────────────────────────────── */
.article-hero {
  padding: 140px 2rem 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.article-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.article-back::before { content: '←'; }
.article-back:hover { color: var(--navy); }

.article-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.2rem;
  max-width: 780px;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-date, .article-read-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.1em;
}

.article-body-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem 100px;
}

.article-content {
  font-size: 16px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.9;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin: 2rem 0 0.8rem;
}

.article-content p { margin-bottom: 1.4rem; }

.article-content ul, .article-content ol {
  margin: 1rem 0 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-content li { color: var(--gray); }

.article-content .highlight-box {
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--cobalt);
  background: var(--ice);
  margin: 2rem 0;
  font-style: italic;
  color: var(--navy);
}

.article-content .key-concept {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--navy);
  color: var(--sky);
  padding: 2px 8px;
  border-radius: 2px;
}

/* ── IMÁGENES EN ARTÍCULOS ───────────────────────────────── */
.article-img-section {
  margin: 2.5rem auto 2rem;
  text-align: center;
}
.article-img-section img {
  max-width: 156px;
  width: 60%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(13,27,42,0.13);
  display: inline-block;
}
.article-img-infografia {
  margin: 2.5rem auto 2.5rem;
  text-align: center;
}
.article-img-infografia img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(13,27,42,0.12);
  display: inline-block;
}
.article-img-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-cta-box {
  margin-top: 4rem;
  padding: 2.5rem;
  border: 1.5px solid var(--cobalt);
  background: var(--ice);
  text-align: center;
}

.article-cta-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.article-cta-box p {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ── CAREERS ────────────────────────────────────────────────── */
.careers-hero { padding: 140px 2rem 60px; max-width: var(--max-w); margin: 0 auto; }
.careers-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; padding: 0 2rem 100px; max-width: var(--max-w); margin: 0 auto; }

.role-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.role-card:hover { border-color: var(--cobalt); background: var(--ice); }
.role-title { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.role-type { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px; }
.role-desc { font-size: 13px; font-weight: 300; color: var(--gray); line-height: 1.6; }

/* ── BOOKING BANNER ─────────────────────────────────────────── */
.booking-banner {
  background: var(--ice);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.booking-banner-text h4 { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.booking-banner-text p { font-size: 13px; font-weight: 300; color: var(--gray); }
.btn-calendar { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--cobalt); color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius); transition: background 0.2s; }
.btn-calendar:hover { background: var(--cobalt-dark); }
.btn-calendar svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  border-top: 3px solid var(--cobalt);
  padding: 3rem 2rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-name {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 4px;
}

.footer-logo-sub {
  font-family: var(--font-logo-sub);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--sky-light);
  text-transform: none;
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--sky-light);
  opacity: 0.7;
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-display);
  max-width: 220px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-links li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,248,250,0.55);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links li:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(247,248,250,0.35);
  letter-spacing: 0.06em;
}

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(247,248,250,0.35);
  text-decoration: none;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--sky); }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.72);
  z-index: 9000;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

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

.modal-box {
  background: var(--white);
  max-width: 680px;
  width: 100%;
  margin: auto;
  position: relative;
  border-top: 3px solid var(--cobalt);
  animation: fadeIn 0.25s ease;
}

.modal-header {
  padding: 2rem 2.5rem 1.2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.2s;
  flex-shrink: 0;
  padding: 2px 6px;
  line-height: 1;
}
.modal-close:hover { color: var(--navy); }

.modal-body {
  padding: 1.5rem 2.5rem 2.5rem;
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  max-height: 65vh;
  overflow-y: auto;
}

.modal-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin: 1.8rem 0 0.6rem;
}

.modal-body h3:first-child { margin-top: 0; }

.modal-body p { margin-bottom: 0.9rem; }

.modal-body ul {
  margin: 0.5rem 0 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modal-body strong { color: var(--navy); font-weight: 500; }

.modal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cobalt);
  border: 1px solid var(--cobalt);
  padding: 2px 8px;
  margin-bottom: 1.2rem;
}

/* ── SOCIAL WIDGET ──────────────────────────────────────────── */
.social-links { display: flex; flex-direction: column; gap: 10px; }

.social-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.social-item:hover { border-color: var(--cobalt); background: var(--ice); }

.social-icon {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg { width: 18px; height: 18px; fill: var(--white); }

.social-icon.linkedin { background: #0A66C2; }
.social-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 3px;
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.social-placeholder {
  font-size: 10px;
  color: var(--cobalt);
  font-style: italic;
  margin-top: 6px;
  padding: 4px 8px;
  border: 1px dashed var(--cobalt);
  display: inline-block;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid-home { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-track::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .careers-grid { grid-template-columns: 1fr; gap: 40px; }
  .booking-banner { flex-direction: column; align-items: flex-start; }
  .article-body-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  nav { padding: 0 1.2rem; }
  .pillars-grid-home { grid-template-columns: 1fr; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  .nav-links .nav-cta {
    display: block !important;
    margin-top: 1rem;
    text-align: center;
    padding: 12px 22px !important;
    width: 100%;
  }

  .hero { min-height: auto; padding: 100px 1.2rem 60px; }
  .hero-stats { gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; }
  .stat-number { font-size: 32px; }

  .section { padding: 60px 1.2rem; }

  .contact-hero,
  .blog-hero,
  .careers-hero { padding: 100px 1.2rem 40px; }

  .contact-grid,
  .careers-grid { padding: 0 1.2rem 60px; }

  .blog-grid { padding: 0 1.2rem 60px; }

  .article-hero { padding: 100px 1.2rem 40px; }
  .article-body-grid { padding: 3rem 1.2rem 60px; }

  .cta-banner { padding: 60px 1.2rem; }

  .pillar-card { padding: 2rem 1.5rem; }

  .footer-inner { padding-bottom: 2rem; gap: 2rem; }
}

@media (max-width: 600px) {
  .hero-subtitle { font-size: 15px; }

  .problem-stat-big { font-size: 56px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; text-align: center; align-self: stretch; }

  .footer-inner { grid-template-columns: 1fr; }

  .modal-header { padding: 1.5rem 1.5rem 1rem; }
  .modal-body { padding: 1rem 1.5rem 2rem; }
  .modal-title { font-size: 22px; }

  .blog-post-title { font-size: 22px; }
}

/* ── WHATSAPP FLOTANTE ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13,27,42,0.3);
  z-index: 900;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ── SELECTOR DE METODO DE PAGO (checkout de servicios) ──── */
.pay-methods {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.pay-method-btn {
  padding: 10px 20px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pay-method-btn:hover { border-color: var(--cobalt); }
.pay-method-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.pay-panel { margin-bottom: 1rem; }

.transfer-datos {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.transfer-datos p { margin: 0 0 6px; color: var(--navy); }
.transfer-datos ul { margin: 8px 0; padding-left: 1.2rem; }
.transfer-datos li { margin-bottom: 4px; }

.pay-qr-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pay-qr-box img { max-width: 220px; width: 100%; height: auto; }

.pay-verificacion-msg {
  background: var(--ice);
  border-left: 3px solid var(--cobalt);
  padding: 1rem 1.2rem;
  font-size: 14px;
  color: var(--navy);
  text-align: left;
}
.pay-verificacion-msg a { color: var(--cobalt); }
