/* =====================================================
   CF / Advisors — Hoja de estilos compartida
   Usada por: index.html, páginas de servicio, blog
   ===================================================== */

:root {
  --ink: #0E0E10;
  --ink-soft: #1A1A1D;
  --ink-mute: #5A5A60;
  --line: #E6E6E2;
  --paper: #FAFAF7;
  --paper-warm: #F2F1EC;
  --red: #E0142C;
  --red-deep: #B00E22;
  --shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Logo ─── */
.logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img.logo-img--footer { height: 60px; }
@media (max-width: 560px) {
  .logo-img { height: 40px; }
  .logo-img.logo-img--footer { height: 46px; }
}

/* ─── Navbar ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
  padding: 16px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
  position: relative;
}
.nav-links a:hover { opacity: 0.55; }
.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--paper) !important;
  opacity: 1 !important;
}

/* ─── Hero ─── */
.hero {
  display: flex;
  align-items: center;
  padding: 110px 0 12px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background-color: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.42;
  filter: saturate(0.92) contrast(0.96) brightness(1.06);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg,
    rgba(250,250,247,0.97) 0%,
    rgba(250,250,247,0.88) 28%,
    rgba(250,250,247,0.55) 55%,
    rgba(250,250,247,0.2) 85%,
    rgba(250,250,247,0.45) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(250,250,247,0.65) 100%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: end;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--red);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ─── Botones ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  background: var(--red);
  transform: translateY(-2px);
}
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}
.btn-ghost:hover { opacity: 0.55; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-whatsapp:hover {
  background: #1faa53;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 36px;
  padding-top: 0;
}
.hero-meta-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--ink);
}
.hero-meta-item .num span { color: var(--red); }
.hero-meta-item .label {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ─── Sections shared ─── */
section { padding: 60px 0; position: relative; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
  font-weight: 500;
}
.section-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--red);
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 880px;
}
.section-title em { font-style: italic; color: var(--red); font-weight: 300; }
.section-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 680px;
  margin-bottom: 40px;
}
.section-lead--wide {
  max-width: 100%;
  text-align: justify;
}

/* ─── Filosofía ─── */
.philosophy {
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.philosophy-quote {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
  padding-left: 32px;
}
.philosophy-quote::before {
  content: '/';
  position: absolute;
  left: 0; top: -8px;
  color: var(--red);
  font-size: 56px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}
.philosophy-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.philosophy-text p strong {
  color: var(--ink);
  font-weight: 500;
}
.philosophy-visual {
  position: relative;
  min-height: 100%;
  background: linear-gradient(135deg, var(--paper) 0%, #ECE9E2 100%);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.philosophy-visual::before {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 65%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(224,20,44,0.06) 0%, transparent 70%);
}
.philosophy-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Servicios ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: var(--paper);
  padding: 56px 48px;
  transition: background 0.4s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  background: #fff;
}
.service-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.service-card .service-lead {
  color: var(--ink-mute);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.service-card ul {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.service-card ul li {
  font-size: 14px;
  color: var(--ink);
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before {
  content: '/';
  color: var(--red);
  font-weight: 500;
  font-size: 14px;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* ─── Approach ─── */
.approach {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0;
}
.approach .section-eyebrow { color: rgba(255,255,255,0.55); }
.approach .section-title { color: var(--paper); }
.approach .section-lead { color: rgba(255,255,255,0.65); }
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.approach-step {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 28px 26px 28px;
  position: relative;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.approach-step:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}
.approach-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -16px;
  width: 12px;
  height: 12px;
  border-top: 1.5px solid rgba(224,20,44,0.6);
  border-right: 1.5px solid rgba(224,20,44,0.6);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}
.approach-step:last-child::after { display: none; }
.approach-step .step-num {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(224,20,44,0.4);
  border-radius: 100px;
  background: rgba(224,20,44,0.08);
}
.approach-step h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--paper);
}
.approach-step p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
}

/* ─── Sobre nosotros ─── */
.about-header { max-width: 100%; margin-bottom: 40px; }
.about-header h2 { margin-bottom: 32px; max-width: 880px; }
.about-header p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 20px;
  text-align: justify;
}
.about-header p strong { color: var(--ink); font-weight: 500; }

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
}
.partner-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--paper-warm) 0%, #ECE9E2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.partner-info { padding: 36px 40px 40px; }
.partner-info h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.partner-role {
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
}
.partner-bullets {
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.partner-bullets li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  padding: 12px 0 12px 24px;
  position: relative;
}
.partner-bullets li::before {
  content: '/';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--red);
  font-weight: 500;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.pillar-item .pillar-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 8px;
  font-weight: 700;
}
.pillar-item .pillar-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

/* ─── CTA Final + Formulario ─── */
.cta-final {
  text-align: center;
  padding: 70px 0;
  position: relative;
  border-top: 1px solid var(--line);
}
.cta-final h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin: 0 auto 32px;
}
.cta-final h2 em { font-style: italic; color: var(--red); font-weight: 300; }
.cta-final .btn-primary { padding: 20px 36px; font-size: 15px; }

.contact-form {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 44px 48px 40px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.14), 0 8px 20px -8px rgba(0,0,0,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field { margin-bottom: 24px; position: relative; }
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 12px;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}
.form-field textarea { min-height: 110px; }
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-captcha {
  margin-bottom: 28px;
  margin-top: 8px;
  padding: 18px 22px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: left;
}
.form-captcha-label {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  flex: 1;
  min-width: 200px;
}
.form-captcha-label strong { color: var(--red); font-weight: 700; margin-left: 4px; }
.form-captcha input {
  width: 90px;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  padding: 6px 8px;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
}
.form-captcha input:focus { outline: none; border-bottom-color: var(--red); }
.form-captcha-refresh {
  background: none;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s ease, transform 0.4s ease;
}
.form-captcha-refresh:hover { color: var(--red); transform: rotate(90deg); }
.form-actions { display: flex; justify-content: center; margin-top: 12px; }
.form-actions button.btn-primary { border: none; cursor: pointer; font-family: inherit; }
.form-status {
  text-align: center;
  margin-top: 20px;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(40, 167, 69, 0.08);
  color: #2c7a3a;
  border: 1px solid rgba(40, 167, 69, 0.22);
}
.form-status.is-error {
  display: block;
  background: rgba(224, 20, 44, 0.06);
  color: var(--red-deep);
  border: 1px solid rgba(224, 20, 44, 0.2);
}
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 32px 24px 28px; }
}

/* ─── Footer ─── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  margin-top: 24px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; font-size: 14px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ─── Menú hamburguesa (mobile) ─── */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  z-index: 105;
  padding: 0;
  margin-left: 8px;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease,
              background 0.2s ease;
  border-radius: 2px;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

body.menu-open .nav-toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Panel lateral derecho */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--paper);
  z-index: 104;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 92px 32px 32px;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  visibility: hidden;
}
body.menu-open .mobile-menu {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.mobile-menu-links li { border-bottom: 1px solid var(--line); }
.mobile-menu-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.mobile-menu-links li a::after {
  content: '→';
  color: var(--red);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-menu-links li a:hover {
  color: var(--red);
  padding-left: 8px;
}
.mobile-menu-links li a:hover::after { opacity: 1; transform: translateX(0); }

.mobile-menu-cta {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-cta .btn-primary,
.mobile-menu-cta .btn-whatsapp {
  width: 100%;
  justify-content: center;
}

.mobile-menu-meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}
.mobile-menu-meta a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu-meta a:hover { color: var(--red); }

/* Overlay backdrop */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 16, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 103;
}
body.menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Bloquear scroll del body cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

/* ─── WhatsApp FAB ─── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 4px 12px rgba(0,0,0,0.12);
  z-index: 200;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  animation: wa-pulse 2.6s ease-out infinite;
}
.whatsapp-fab:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0,0,0,0.15);
  animation-play-state: paused;
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  position: relative;
  z-index: 1;
}
.whatsapp-fab .wa-label {
  position: absolute;
  right: 72px;
  top: 50%;
  background: var(--ink);
  color: #fff;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.whatsapp-fab .wa-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--ink);
}
.whatsapp-fab:hover .wa-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,0.38), 0 4px 12px rgba(0,0,0,0.12), 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,0.38), 0 4px 12px rgba(0,0,0,0.12), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,0.38), 0 4px 12px rgba(0,0,0,0.12), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 560px) {
  .whatsapp-fab { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .whatsapp-fab .wa-label { display: none; }
}

/* ─── Animaciones ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Páginas internas: page-header ─── */
.page-header {
  padding: 150px 0 60px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.page-header .breadcrumb {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.page-header .breadcrumb a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-header .breadcrumb a:hover { color: var(--red); }
.page-header .breadcrumb span { color: var(--red); margin: 0 8px; }
.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 900px;
}
.page-header h1 em { font-style: italic; color: var(--red); font-weight: 300; }
.page-header .lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-mute);
  max-width: 720px;
}

/* ─── Service page content ─── */
.service-content {
  padding: 70px 0;
}
.service-content .content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.service-content .prose h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 48px 0 20px;
}
.service-content .prose h2:first-child { margin-top: 0; }
.service-content .prose h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 14px;
}
.service-content .prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.service-content .prose p strong { color: var(--ink); font-weight: 600; }
.service-content .prose ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.service-content .prose ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  padding: 8px 0 8px 24px;
  position: relative;
}
.service-content .prose ul li::before {
  content: '/';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--red);
  font-weight: 600;
}
.service-content .prose blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
}

/* Sidebar de servicios */
.service-sidebar {
  position: sticky;
  top: 100px;
  background: var(--paper-warm);
  border-radius: 8px;
  padding: 32px 28px;
  border: 1px solid var(--line);
}
.service-sidebar h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  color: var(--ink);
}
.service-sidebar ul { list-style: none; padding: 0; margin: 0 0 24px 0; }
.service-sidebar ul li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.service-sidebar ul li:last-child { border-bottom: none; }
.service-sidebar ul li a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}
.service-sidebar ul li a:hover { color: var(--red); }
.service-sidebar ul li a::before { content: '/'; color: var(--red); font-weight: 600; }
.service-sidebar ul li a.active { color: var(--red); font-weight: 500; }

/* FAQ */
.faq-section { padding: 70px 0; background: var(--paper-warm); border-top: 1px solid var(--line); }
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 26px;
  color: var(--red);
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-mute);
}

/* ─── Blog ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 16px 0 0;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.18);
}
.blog-card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--paper-warm) 0%, #ECE9E2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-thumb::before {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 65%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(224,20,44,0.06) 0%, transparent 70%);
}
.blog-card-thumb .blog-mark {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 70px;
  color: var(--ink);
  opacity: 0.18;
  line-height: 1;
}
.blog-card-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  font-weight: 600;
}
.blog-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.blog-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  flex: 1;
}
.blog-card-body .read-more {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.02em;
}

/* Article */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 0;
}
.article-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.article-body p strong { color: var(--ink); font-weight: 600; }
.article-body h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 50px 0 18px;
}
.article-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 22px;
  margin: 36px 0 14px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 6px 0 6px 24px;
  position: relative;
}
.article-body ul li::before {
  content: '/';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--red);
  font-weight: 600;
}
.article-body ol { counter-reset: item; }
.article-body ol li {
  counter-increment: item;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding: 8px 0 8px 36px;
  position: relative;
}
.article-body ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}
.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}
.article-body .article-cta {
  margin-top: 56px;
  padding: 36px 32px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.article-body .article-cta h3 {
  font-weight: 300;
  font-size: 24px;
  margin-bottom: 16px;
}
.article-body .article-cta h3 em { color: var(--red); font-style: italic; }
.article-body .article-cta a { display: inline-flex; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-meta { grid-template-columns: 1fr; gap: 24px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .approach-step::after { display: none; }
  .partners-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .about-header { margin-bottom: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 44px 0; }
  .philosophy { padding: 38px 0; }
  .approach { padding: 42px 0; }
  .cta-final { padding: 50px 0; }
  .container { padding: 0 24px; }
  .service-card { padding: 40px 32px; }
  .about-pillars { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partner-info { padding: 28px 28px 32px; }
  .service-content .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .page-header { padding: 120px 0 44px; }
}
@media (max-width: 560px) {
  .approach-steps { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost, .btn-whatsapp { justify-content: center; }
}
