/* ═══════════════════════════════════════════════
   ASESORÍAS SyS — Sitio Web Principal
   style.css · Diseño global
   ═══════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0D1B2A;
  --navy-card:   #112240;
  --navy-border: #1B3358;
  --green:       #00E5A0;
  --green-dark:  #00C488;
  --green-dim:   rgba(0,229,160,0.12);
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --text:        #111827;
  --text-mid:    #374151;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h:       72px;
  --max:         1200px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --t:           0.2s ease;
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ── CONTAINER ───────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img {
  height: 40px;
  width: auto;
  background: white;
  padding: 4px 10px;
  border-radius: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.nav-links a:not(.btn-nav) {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid transparent;
}
.nav-links a:hover:not(.btn-nav),
.nav-links a.active:not(.btn-nav) {
  color: var(--green);
  border-color: rgba(0,229,160,0.4);
  background: var(--green-dim);
}
.btn-nav {
  background: var(--green) !important;
  color: var(--navy) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: background var(--t), transform var(--t) !important;
}
.btn-nav:hover { background: var(--green-dark) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--green);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,160,0.28);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-ghost:hover {
  background: var(--green-dim);
  transform: translateY(-1px);
}
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ════════════════════════════════════════════════
   SECTION UTILITIES
   ════════════════════════════════════════════════ */
.section     { padding: 100px 0; }
.section-sm  { padding: 64px 0; }
.section-dark  { background: var(--navy); color: white; }
.section-dark2 { background: var(--navy-mid); color: white; }
.section-gray  { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-dark  .section-title { color: white; }
.section-dark2 .section-title { color: white; }
.section-dark  .section-desc  { color: rgba(255,255,255,0.55); }
.section-dark2 .section-desc  { color: rgba(255,255,255,0.55); }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,229,160,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid rgba(0,229,160,0.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}
.hero-title .hl { color: var(--green); }
.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 44px;
  max-width: 560px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2.2s infinite;
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════ */
.stats-bar {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  line-height: 1.4;
}

/* ════════════════════════════════════════════════
   SERVICE CARDS
   ════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,229,160,0.25);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card.dark {
  background: var(--navy-card);
  border-color: var(--navy-border);
}
.service-card.dark:hover { border-color: rgba(0,229,160,0.35); }

.svc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}
.svc-icon {
  width: 50px; height: 50px;
  background: var(--green-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--green); }
.svc-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card.dark .svc-title { color: white; }
.svc-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-card.dark .svc-desc { color: rgba(255,255,255,0.5); }
.svc-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.service-card.dark .svc-metric { border-color: var(--navy-border); }
.svc-metric svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════════════
   METHODOLOGY STEPS
   ════════════════════════════════════════════════ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, rgba(0,229,160,0.3) 100%);
}
.step-item { text-align: center; padding: 0 28px; position: relative; }
.step-circle {
  width: 80px; height: 80px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 12px rgba(0,229,160,0.08);
}
.step-title {
  font-size: 19px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   TEAM CARDS
   ════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.team-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  transition: transform var(--t), border-color var(--t);
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,160,0.3);
}
.team-avatar {
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--navy-border);
  border: 3px solid rgba(0,229,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 900;
  color: var(--green);
  margin: 0 auto 22px;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-avatar img[src*="brett-salas"] { object-position: top; }
.team-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.team-name {
  font-size: 23px;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.team-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
  margin-bottom: 22px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.team-tag {
  background: var(--navy-border);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
}

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
.faq-wrap { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--navy-border); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}
.faq-btn svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--green);
  transition: transform 0.3s;
}
.faq-item.open .faq-btn svg { transform: rotate(45deg); }
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}
.faq-body-inner {
  font-size: 15px;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  padding-bottom: 26px;
}
.faq-item.open .faq-body { max-height: 280px; }

/* ════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0e1e38 50%, var(--navy-mid) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,229,160,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section .section-title { color: white; max-width: 640px; margin: 0 auto 16px; }
.cta-section .section-desc   { margin-bottom: 44px; }
.cta-meta {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════════════
   PAGE HERO (subpages)
   ════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 84px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.07) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--green); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .5; }
.page-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.page-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: white;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-title .hl { color: var(--green); }
.page-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

/* ════════════════════════════════════════════════
   CONTACT INFO
   ════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 30px;
}
.ci-icon {
  width: 44px; height: 44px;
  background: var(--green-dim);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 20px; height: 20px; stroke: var(--green); }
.ci-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.ci-val {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.ci-val a { color: var(--text); transition: color var(--t); }
.ci-val a:hover { color: var(--green); }

/* ════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════ */
.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-card-dark {
  background: var(--navy-card);
  border-color: var(--navy-border);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1 / -1; }
.fg label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.form-card-dark .fg label { color: rgba(255,255,255,0.7); }
.fg label span { color: #ef4444; margin-left: 2px; }

.fi, .fs, .ft {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-card-dark .fi,
.form-card-dark .fs,
.form-card-dark .ft {
  background: var(--navy-mid);
  border-color: var(--navy-border);
  color: white;
}
.form-card-dark .fi::placeholder,
.form-card-dark .ft::placeholder { color: rgba(255,255,255,0.35); }
.fi:focus, .fs:focus, .ft:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}
.ft { min-height: 130px; resize: vertical; }
.fs { appearance: none; cursor: pointer; }

.form-submit { width: 100%; margin-top: 6px; }
.form-msg {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}
.form-msg.success {
  background: rgba(0,229,160,0.1);
  color: #00a87a;
  border: 1px solid rgba(0,229,160,0.3);
  display: block;
}
.form-msg.error {
  background: rgba(239,68,68,0.08);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.2);
  display: block;
}

/* ════════════════════════════════════════════════
   BLOG PLACEHOLDER
   ════════════════════════════════════════════════ */
.blog-placeholder {
  text-align: center;
  padding: 80px 32px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
}
.blog-placeholder svg { width: 52px; height: 52px; stroke: var(--green); margin: 0 auto 22px; }
.blog-placeholder h3 { font-size: 26px; font-weight: 800; color: white; margin-bottom: 12px; }
.blog-placeholder p { color: rgba(255,255,255,0.5); font-size: 15px; margin-bottom: 32px; line-height: 1.7; }

/* Topic pills */
.topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.topic-pill {
  background: var(--green-dim);
  border: 1px solid rgba(0,229,160,0.2);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
}

/* ════════════════════════════════════════════════
   BLOG — DYNAMIC LISTING & POST
   ════════════════════════════════════════════════ */
.blog-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.blog-filter-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-right: 6px;
}
.blog-filter-pill {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--t);
  font-family: var(--font);
}
.blog-filter-pill:hover { border-color: var(--green); color: var(--green-dark); }
.blog-filter-pill.active { background: var(--green); border-color: var(--green); color: var(--navy); }

.blog-featured-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.blog-badge-new {
  background: var(--green);
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}
.blog-featured-img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; background: var(--off-white); }
.blog-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.blog-featured-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green-dark); background: var(--green-dim); padding: 5px 12px; border-radius: 100px;
}
.blog-featured-date, .blog-featured-read { font-size: 13px; color: var(--muted); }
.blog-featured-title { font-size: 26px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.25; }
.blog-featured-excerpt { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 22px; }
.blog-featured-link { color: var(--green-dark); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

.blog-archive-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--off-white); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-card-cat {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green-dark); background: var(--green-dim); padding: 4px 10px; border-radius: 100px;
}
.blog-card-date, .blog-card-read { font-size: 12px; color: var(--muted); }
.blog-card-title { font-size: 16.5px; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.35; }
.blog-card-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-card-link { color: var(--green-dark); font-weight: 700; font-size: 13px; }
.blog-state { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ── Post detail & legal prose (shared) ─────── */
.legal-content, .post-body {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2, .post-body h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 14px;
}
.legal-content h2:first-child, .post-body h2:first-child { margin-top: 0; }
.post-body h3 { font-size: 19px; font-weight: 700; margin: 26px 0 12px; }
.legal-content p, .post-body p { margin-bottom: 16px; color: var(--text-mid); line-height: 1.8; }
.legal-content ul, .post-body ul { margin: 0 0 16px 0; }
.legal-content ul li, .post-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-mid);
  line-height: 1.7;
}
.legal-content ul li::before, .post-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.legal-content strong, .post-body strong { color: var(--text); }
.post-body img { border-radius: var(--radius-lg); margin: 8px 0 24px; }
.legal-updated, .post-meta-pill {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 40px;
}

/* ════════════════════════════════════════════════
   SERVICE DETAIL PAGE
   ════════════════════════════════════════════════ */
.svc-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.svc-detail:nth-child(even) .svc-detail-layout { direction: rtl; }
.svc-detail:nth-child(even) .svc-detail-layout > * { direction: ltr; }

.svc-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.svc-detail-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.svc-detail-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}
.feat-list { display: flex; flex-direction: column; gap: 12px; }
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
}
.feat-item svg {
  width: 18px; height: 18px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-detail-visual {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-metric-big {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--navy-mid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
}
.smb-val { font-size: 32px; font-weight: 900; color: var(--green); line-height: 1; }
.smb-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ════════════════════════════════════════════════
   NOSOTROS
   ════════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--t), border-color var(--t);
}
.value-card:hover { transform: translateY(-3px); border-color: rgba(0,229,160,0.25); }
.vc-num { font-size: 40px; font-weight: 900; color: rgba(0,229,160,0.2); margin-bottom: 12px; line-height: 1; }
.vc-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.vc-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--navy-border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 56px;
}
.footer-logo {
  height: 28px;
  width: auto;
  background: white;
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 270px;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: border-color var(--t), color var(--t);
}
.social-btn:hover { border-color: var(--green); color: var(--green); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.28);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.42); transition: color var(--t); }
.footer-legal a:hover { color: var(--green); }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: 36px; }
  .svc-detail-layout    { gap: 48px; }
  .contact-layout       { gap: 48px; }
  .blog-grid            { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--navy);
    padding: 36px 28px;
    gap: 24px;
    align-items: flex-start;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 19px; }
  .nav-hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .steps-row     { grid-template-columns: 1fr; gap: 40px; }
  .steps-row::before { display: none; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .contact-layout       { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail-layout    { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail:nth-child(even) .svc-detail-layout { direction: ltr; }
  .form-grid            { grid-template-columns: 1fr; }
  .footer-grid          { grid-template-columns: 1fr; }
  .footer-bottom        { flex-direction: column; gap: 10px; text-align: center; }
  .hero-actions         { flex-direction: column; }
  .form-card            { padding: 28px 22px; }
  .values-grid          { grid-template-columns: 1fr; }
  .blog-grid            { grid-template-columns: 1fr; }
  .blog-featured        { grid-template-columns: 1fr; }
  .blog-featured-img    { min-height: 200px; }
  .blog-featured-body   { padding: 28px 24px; }
  .footer-bottom        { justify-content: center; }
  .footer-legal         { justify-content: center; }
}
@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .section    { padding: 68px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num   { font-size: 36px; }
}
