﻿/* ============================================
   Akinae Studio — Unified Design System
   akinae.css
   Single CSS file for all pages
   ============================================ */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  /* Primarios */
  --black:       #000;
  --white:       #FFFFFF;
  --light-gray:  #DCDEDB;
  --dark-gray:   #676B6C;

  /* Secundarios */
  --light-blue:  #B1D5E5;
  --dark-blue:   #AABBC5;
  --dark-blue-a11y: #5C7686;

  /* Terciarios */
  --red:         #E94F37;

  /* Acentos (para reducir uso del rojo) */
  --accent:      var(--dark-blue-a11y);
  --accent-soft: var(--light-blue);

  /* Tipografia */
  --font-heading: 'Archivo', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  /* Layout */
  --max-width: min(100%, 1400px);
  --gutter: 60px;
  --padding-mobile: 60px;
  --padding-desktop: 60px;
  --section-pad: 80px;
  --section-pad-mobile: 48px;
  --section-pad-lg: 64px;
  --section-pad-lg-mobile: 48px;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 16px;

  /* Animaciones */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.3s;
  --dur-base: 0.6s;
  --dur-slow: 1.2s;
  --reveal-y: 32px;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 { max-width: 900px; font-size: clamp(2.2rem, 5.4vw, 3.75rem); letter-spacing: -0.02em; }
h2 { max-width: 720px; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; }
h3 { max-width: 600px; font-size: clamp(1.25rem, 2.5vw, 1.75rem); line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 0.85rem; line-height: 1.4; letter-spacing: -0.02em; }

h2 span, h3 span { color: var(--accent); }

.h1-sub {
  color: var(--accent);
}

.section-label,
.section-label-light {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label { color: var(--dark-blue-a11y); }
.section-label-light { color: var(--light-blue); }

.hero-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  margin-bottom: 16px;
}

.lead, .lead-light {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 32px;
}
.lead { color: var(--dark-gray); }
.lead-light { color: rgba(255,255,255,0.78); }

/* ============================================
   4. LAYOUT
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}

/* ============================================
   5. NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 rgba(5,5,5,0.06), 0 16px 40px -20px rgba(5,5,5,0.18);
}

nav::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: var(--scroll-progress, 0%);
  background: var(--accent);
  transition: width 0.1s linear;
  pointer-events: none;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px var(--padding-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform var(--dur-fast) var(--ease-spring);
}

@media (max-width: 768px) {
  .logo img { height: 28px; }
}

.logo:hover img { transform: scale(1.06) rotate(-2deg); }

.nav-cta-wrap { display: flex; align-items: center; gap: 20px; }

.nav-cta:hover {
  background: var(--dark-blue-a11y) !important;
  border-color: var(--dark-blue-a11y) !important;
  color: var(--white) !important;
}

.nav-cta {
  padding: 18px 28px !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
}

@media (min-width: 1024px) {
  .nav-cta {
    font-size: 1rem !important;
    padding: 18px 28px !important;
  }
}
@media (max-width: 768px) {
  .nav-cta { display: none !important; }
}

/* ============================================
   6. MOBILE OVERLAY MENU
   ============================================ */
.menu-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 0.3rem;
  background: var(--black);
  border: none;
  border-radius: 9999px;
  transition: transform 0.5s cubic-bezier(.22,.68,0,1);
  will-change: transform;
  z-index: 2001;
}

.menu-toggle:hover { transform: scale(1.1); }

.menu-toggle-text {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0 1rem 0 1.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle-text {
    font-size: 1rem;
    padding: 0 1.25rem 0 2rem;
  }
}

.menu-text-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
}

.menu-label {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  display: flex;
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.2);
}

.close-label {
  display: flex;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.2);
}

.menu-toggle.open .menu-label { transform: translate(-50%, -100%); }
.menu-toggle.open .close-label { transform: translateY(0); }

.menu-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #1E242C;
  overflow: hidden;
  position: relative;
}

@media (min-width: 1024px) {
  .menu-toggle-icon {
    width: 48px;
    height: 48px;
  }
}

.menu-toggle-icon svg {
  display: block;
  width: 33%;
  color: var(--white);
  transition: transform 0.5s cubic-bezier(.22,.68,0,1.5);
}

.menu-toggle:hover .menu-toggle-icon svg { transform: rotate(90deg); }

.mobile-overlay {
  position: fixed;
  top: 80px;
  right: 16px;
  width: min(calc(100vw - 32px), 320px);
  max-width: calc(100vw - 32px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-spring), visibility 0.35s;
}

@media (min-width: 1024px) {
  .mobile-overlay {
    top: 100px;
  }
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

body.menu-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.4);
  z-index: 1999;
  animation: menuBackdropIn 0.35s var(--ease-out);
}

@keyframes menuBackdropIn { from { opacity: 0; } to { opacity: 1; } }

.overlay-panel {
  background: #d9e0e3;
  border-radius: 24px;
  padding: 24px;
}

.overlay-panel ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.overlay-panel ul li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-overlay.open .overlay-panel ul li { opacity: 1; transform: translateY(0); }
.mobile-overlay.open .overlay-panel ul li:nth-child(1) { transition-delay: 0.06s; }
.mobile-overlay.open .overlay-panel ul li:nth-child(2) { transition-delay: 0.11s; }
.mobile-overlay.open .overlay-panel ul li:nth-child(3) { transition-delay: 0.16s; }
.mobile-overlay.open .overlay-panel ul li:nth-child(4) { transition-delay: 0.21s; }
.mobile-overlay.open .overlay-panel ul li:nth-child(5) { transition-delay: 0.26s; }
.mobile-overlay.open .overlay-panel ul li:nth-child(6) { transition-delay: 0.31s; }

.overlay-panel a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  border-radius: 16px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e232c;
  transition: background 0.2s ease;
}

.overlay-panel a:hover { background: #f0f6f8; }

.nav-arrow {
  width: 0;
  overflow: hidden;
  transition: width 0.3s ease-out;
  flex-shrink: 0;
}

.overlay-panel a:hover .nav-arrow { width: 28px; }

.nav-cta-overlay {
  background: var(--red) !important;
  color: var(--white) !important;
  font-size: 1rem !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: 100px !important;
  justify-content: center;
  margin-top: 8px;
}

.nav-cta-overlay:hover { background: #d43a26 !important; }

@media (min-width: 1024px) {
  .nav-cta-overlay { display: none !important; }
}

/* ============================================
   7. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.2s, color 0.2s;
  will-change: transform;
}

.btn:hover { box-shadow: 0 12px 28px -6px rgba(0,0,0,0.18); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }

.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(233,79,55,0.3); }
.btn-black { background: var(--dark-blue-a11y); color: var(--white); }
.btn-black:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

/* ============================================
   8. CARDS
   ============================================ */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ============================================
   9. GALLERY
   ============================================ */
.proj-gallery-section {
  padding: 30px var(--padding-mobile);
  max-width: var(--max-width);
  margin: 0 auto;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

@media (max-width: 768px) {
  .proj-gallery-section { padding: 10px var(--padding-mobile); }
}

.proj-gallery-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.proj-gallery-grid { display: grid; gap: 24px; }
.proj-gallery-grid--2x2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 640px) {
  .proj-gallery-grid--2x2 { grid-template-columns: 1fr; }
}

.proj-gallery-grid--featured {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.proj-gallery-grid--featured .featured {
  grid-row: span 2;
  aspect-ratio: 16 / 20;
  height: auto;
}

.proj-gallery-grid--featured-right .featured {
  grid-column: 2;
  grid-row: 1 / -1;
}

@media (max-width: 640px) {
  .proj-gallery-grid--featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .proj-gallery-grid--featured .featured { grid-row: span 1; aspect-ratio: 16 / 9; }
  .proj-gallery-grid--featured-right .featured { grid-column: auto; grid-row: span 1; }
}

.proj-gallery-grid--mosaic { grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; }
@media (max-width: 768px) { .proj-gallery-grid--mosaic { grid-template-columns: 1fr; } }

.proj-gallery-grid--vertical { grid-template-columns: 1fr; }

.proj-gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--light-gray);
  cursor: pointer;
}

.proj-gallery-grid--vertical .proj-gallery-item {
  aspect-ratio: 16 / 9;
  min-height: 70vh;
}

@media (max-width: 768px) { .proj-gallery-grid--vertical .proj-gallery-item { min-height: 50vh; } }
@media (max-width: 480px) { .proj-gallery-grid--vertical .proj-gallery-item { min-height: 40vh; } }

.proj-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.proj-gallery-item:hover img { transform: scale(1.07); }

/* ============================================
   10. MOCKUPS
   ============================================ */
.proj-mockups {
  background: var(--black);
  padding: var(--section-pad) 0;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) { .proj-mockups { padding: var(--section-pad-mobile) 0; } }

.proj-mockups::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}

.proj-mockups-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.proj-mockups .proj-gallery-label { color: var(--white); }
.proj-mockups-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 64px;
  text-align: center;
}

.proj-mockups-devices {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.proj-mockups-laptop {
  position: relative; z-index: 3;
  width: 70%; max-width: 800px;
  transform: rotate(0deg);
  transition: transform var(--dur-slow) var(--ease-out);
}

.proj-mockups-laptop img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.proj-mockups-tablet {
  position: absolute; z-index: 2;
  width: 28%; max-width: 340px;
  left: 4%; bottom: -10%;
  transform: rotate(-4deg);
  transition: transform var(--dur-slow) var(--ease-out);
}

.proj-mockups-tablet img {
  width: 100%; height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.proj-mockups-phone {
  position: absolute; z-index: 2;
  width: 14%; max-width: 180px;
  right: 6%; bottom: -8%;
  transform: rotate(6deg);
  transition: transform var(--dur-slow) var(--ease-out);
}

.proj-mockups-phone img {
  width: 100%; height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.proj-mockups-laptop:hover,
.proj-mockups-tablet:hover,
.proj-mockups-phone:hover { transform: translateY(-8px) rotate(0deg); }

@media (max-width: 768px) {
  .proj-mockups-devices { flex-direction: column; gap: 32px; min-height: 0; }
  .proj-mockups-laptop { width: 90%; max-width: 500px; }
  .proj-mockups-tablet { position: static; width: 55%; max-width: 280px; transform: none; }
  .proj-mockups-phone { display: none; }
  .proj-mockups-laptop:hover,
  .proj-mockups-tablet:hover { transform: none; }
}

/* ============================================
   11. TESTIMONIALS
   ============================================ */
.proj-testimonial {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  margin-top: 32px;
}

.proj-testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: -10px; left: 16px;
  pointer-events: none;
}

.proj-testimonial blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
}

.proj-testimonial cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cite-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--light-blue), var(--dark-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}

.cite-info strong { display: block; color: var(--white); font-size: 0.9rem; }
.cite-info span { display: block; color: var(--dark-blue); font-size: 0.8rem; }

.proj-testimonial-lg {
  background: var(--white);
  padding: var(--section-pad) var(--padding-mobile);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) { .proj-testimonial-lg { padding: var(--section-pad-mobile) var(--padding-mobile); } }

.proj-testimonial-lg::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 16rem;
  font-weight: 800;
  line-height: 0;
  color: rgba(92,118,134,0.08);
  position: absolute;
  top: 120px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.proj-testimonial-lg blockquote {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.0rem, 3vw, 1.2rem);
  line-height: 1.3;
  color: var(--dark-gray);
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative; z-index: 1;
}

.proj-testimonial-lg cite {
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative; z-index: 1;
}

.proj-testimonial-lg .cite-avatar {
  width: 48px; height: 48px;
  background: var(--dark-blue-a11y);
}

.proj-testimonial-lg .cite-info strong { display: block; font-size: 0.95rem; color: var(--black); text-align: left; }
.proj-testimonial-lg .cite-info span { display: block; font-size: 0.8rem; color: var(--black); text-align: left; }

/* ============================================
   12. FAQ
   ============================================ */
.faq-section {
  padding: var(--section-pad) 0;
  background: #FAFAF9;
}

.faq-container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }
.faq-list { margin-top: 40px; }
.faq-item { border-bottom: 1px solid rgba(5,5,5,0.1); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--black);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(5,5,5,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-item__a p { padding-bottom: 22px; color: var(--dark-gray); max-width: none; font-size: 0.92rem; line-height: 1.7; }

.faq-item__a a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transition: text-decoration-color 0.2s;
}
.faq-item__a a:hover {
  text-decoration-color: var(--accent);
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: var(--dark-blue);
}

.footer__body { padding: 56px var(--padding-mobile); }

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}

.footer__col--brand .footer__wordmark img {
  max-height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 16px;
}

.footer__col--brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--dark-blue);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px var(--padding-mobile);
}

.footer__bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--dark-blue);
}

/* ============================================
   14. PAGE: HOME
   ============================================ */

/* Hero */
.hero-home {
  position: relative;
  min-height: auto;
  padding: 152px 0 60px;
  background: var(--white);
  display: block;
  overflow: hidden;
  max-width: 100vw;
}

.hero-home__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.hero-home__title {
  margin: 18px 0 24px;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
}

.hero-home__title span { color: var(--red); }

.hero-home__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--dark-gray);
  max-width: 620px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.hero-home__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-home__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  max-width: 560px;
}

.hero-home__trust strong { color: var(--black); }

[class*="hero-home__med"] { margin-top: 64px; max-width: var(--max-width); margin-left: auto; margin-right: auto; padding: 0 var(--padding-mobile); }

.hero-home__mockup-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-home__mockup {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--light-gray), #EDEFEC);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark-gray);
}

.hero-home__mockup--lg { background: linear-gradient(150deg, var(--light-blue), #D5E8EF); }

/* Hero project cards (portafolio style) */
.trabajo__card-hero {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transform: translateZ(0);
  transition: box-shadow 0.4s var(--ease-out);
}
.trabajo__card-hero:hover { box-shadow: 0 24px 60px -20px rgba(5,5,5,0.35); }
.trabajo__card-hero .trabajo__card-media { position: relative; width: 100%; height: 100%; }
.trabajo__card-hero .trabajo__card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.7s var(--ease-out);
}
.trabajo__card-hero:hover .trabajo__card-media img { transform: scale(1.06); }
.trabajo__card-hero .trabajo__card-overlay {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  z-index: 1;
  pointer-events: none;
}
.trabajo__card-hero .trabajo__card-titlebar {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  overflow: hidden;
}
.trabajo__card-hero .trabajo__card-arrow {
  display: none;
  width: 28px;
  color: var(--white);
  flex-shrink: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
@media (min-width: 1024px) { .trabajo__card-hero .trabajo__card-arrow { display: block; } }
.trabajo__card-hero .trabajo__card-arrow svg { width: 100%; height: auto; display: block; }
.trabajo__card-hero .trabajo__card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (min-width: 1024px) { .trabajo__card-hero .trabajo__card-name { transform: translateX(-28px); font-size: clamp(0.85rem, 1.5vw, 1.1rem); } }
.trabajo__card-hero:hover .trabajo__card-arrow,
.trabajo__card-hero:hover .trabajo__card-name { transform: translateX(0); }

.hero__card-bg {
  position: absolute; inset: 0;
}

@media (max-width: 700px) {
  .hero-home { padding-top: 128px; }
  .hero-home__mockup-row { grid-template-columns: repeat(2, 1fr); }
  .hero-home__mockup { aspect-ratio: 16/10; font-size: 0.75rem; }
  .trabajo__card-hero { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .hero-home__mockup-row { grid-template-columns: 1fr; }
  .hero-home__mockup { aspect-ratio: 16/9; }
  .trabajo__card-hero { aspect-ratio: 16/9; }
}

.scroll-indicator {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  width: 1px; height: 44px;
  display: none;
  overflow: hidden;
  background: none; border: none; cursor: pointer;
}

.scroll-indicator__text { display: none; }

.scroll-indicator__line {
  display: block;
  width: 1px; height: 100%;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -44px; left: 0;
  width: 100%; height: 44px;
  background: var(--accent);
  animation: scrollLine 1.8s var(--ease-in-out) infinite;
}

@keyframes scrollLine { 0% { top: -44px; } 60%, 100% { top: 44px; } }

@media (min-width: 900px) { .scroll-indicator { display: block; } }

/* Dolor / Problem Validation */
.dolor-section { padding: var(--section-pad) 0; background: #FAFAF9; }


.dolor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) and (max-width: 959px) { .dolor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .dolor-grid { grid-template-columns: repeat(2, 1fr); } }

.dolor-grid--enlaces { grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) { .dolor-grid--enlaces { grid-template-columns: 1fr; } }

.dolor-card {
  background: var(--white);
  border: 1px solid rgba(5,5,5,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.dolor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -16px rgba(5,5,5,0.2);
  border-color: rgba(92,118,134,0.25);
}

.dolor-card__icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(92,118,134,0.08);
  color: var(--accent);
  margin-bottom: 18px;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.dolor-card:hover .dolor-card__icon {
  transform: scale(1.08);
  background: rgba(92,118,134,0.15);
}

.dolor-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.dolor-card p { font-size: 0.95rem; color: var(--dark-gray); line-height: 1.6; margin: 0; }

/* Results Case Study */
.results-case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 0;
  color: var(--white);
}

.results-case__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.results-case__text h3 { color: var(--white); margin-bottom: 12px; }
.results-case__text p { color: rgba(255,255,255,0.72); margin-bottom: 24px; }
.results-case__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0 0 0;
}
.results-case__grid--three {
  grid-template-columns: repeat(3, 1fr);
}
.results-case__col {
  padding: 20px 16px;
  border-radius: var(--radius);
}
.results-case__col--before { background: rgba(255,255,255,0.06); }
.results-case__col--after { background: rgba(255,255,255,0.1); }
.results-case__col--mid { background: rgba(255,255,255,0.08); }
.results-case__col--mid .results-case__col-label { color: var(--light-blue); }
.results-case__col--mid .results-case__col-num { color: var(--white); }
.results-case__col-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.results-case__col--before .results-case__col-label { color: rgba(255,255,255,0.4); }
.results-case__col--after .results-case__col-label { color: var(--light-blue); }
.results-case__col-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  margin-bottom: 16px;
}
.results-case__col-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 4px;
}
.results-case__col--before .results-case__col-num { color: rgba(255,255,255,0.3); }
.results-case__col--after .results-case__col-num { color: var(--white); }
.results-case__col-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.results-case__meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 4px;
}
.results-case__disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.results-case__text .btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.results-case__text .btn-white:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.results-case__placeholder {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.results-case__dashboard {
  background: #111;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
}

@media (max-width: 900px) {
  .results-case { padding: 32px; }
  .results-case__grid--three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .results-case__grid, .results-case__grid--three { grid-template-columns: 1fr; gap: 16px; margin-bottom: 12px; }
  .results-case__col { padding: 16px 14px; }
  .results-case__col-num { font-size: 1.2rem; }
  .results-case__meta { margin-bottom: 4px; }
  .results-case__disclaimer { margin-bottom: 16px; }
  .results-case__text .btn-white { display: block; text-align: center; width: 100%; }
}

.results-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1023px) { .results-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .results-stats { grid-template-columns: repeat(4, 1fr); } }

.result-stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: #FAFAF9;
}

.result-stat__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}

.result-stat__label {
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.5;
  max-width: 220px;
  margin: 0 auto;
}

/* Process Flow */
.proceso-section { padding: var(--section-pad) 0; background: #FAFAF9; }


.process-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) and (max-width: 1023px) { .process-flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-flow { grid-template-columns: repeat(4, 1fr); } }

.pf-node {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(5,5,5,0.08);
  padding: 28px 24px;
  position: relative;
}

.pf-num {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 18px;
}

.pf-node h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pf-node p { color: var(--dark-gray); font-size: 0.9rem; margin: 0; }
.pf-node p a { color: var(--accent); text-decoration: underline; }

/* Pricing */
.precios-section { padding: var(--section-pad) 0; background: var(--white); }


.precios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) and (max-width: 1023px) { .precios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .precios-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.price-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(5,5,5,0.18);
}

.price-card--popular {
  border: 2px solid var(--red);
  position: relative;
  background: linear-gradient(180deg, rgba(233,79,55,0.04), rgba(255,255,255,1) 30%);
}

.price-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card__name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark-blue-a11y);
}

.price-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-card__tagline {
  font-size: 0.95rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 8px;
}

.price-card__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

.price-card__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

/* Tabs / Sectores */
.sectores { background: var(--white); padding: var(--section-pad) 0; }

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

@media (max-width: 960px) { .tabs-nav { flex-direction: column; } }

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(5,5,5,0.14);
  background: transparent;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.tab-btn:hover { border-color: var(--black); color: var(--black); }
.tab-btn.active { background: var(--black); border-color: var(--black); color: var(--white); }

.tab-panel { display: none; }

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

[class*="tab-panel__med"] {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
}

[class*="tab-panel__med"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tab-panel__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .tab-panel.active { grid-template-columns: 1fr; }
  .tab-panel__media { order: -1; }
}

/* Testimonios Section */
.testimonios-section { padding: var(--section-pad) 0; background: var(--white); }

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 767px) {
  .testimonios-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .testimonios-grid::-webkit-scrollbar { display: none; }
  .testimonio {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonios-grid { grid-template-columns: repeat(4, 1fr); } }

.testimonio {
  background: #FAFAF9;
  border: 1px solid rgba(5,5,5,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease-out);
}

.testimonio:hover { transform: translateY(-4px); }
.testimonio .cite-info strong { color: var(--black); }

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
@media (max-width: 767px) { .carousel-dots { display: flex; } }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  transition: background 0.3s ease;
  cursor: pointer;
}
.carousel-dot.active { background: var(--accent); }

.testimonio blockquote {
  flex: 1;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.55;
  font-style: normal;
}

.testimonio cite {
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

img.cite-avatar {
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 2px;
}

/* Diferenciacion */
.diferenciacion {
  background: var(--black);
  color: var(--white);
  padding: var(--section-pad) 0;
}

.diferenciacion h2 { color: var(--white); }
.diferenciacion h2 span { color: var(--light-blue); }

.diferenciacion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .diferenciacion-grid { grid-template-columns: 1fr; }
}

.diferenciacion-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .diferenciacion-grid--2col { grid-template-columns: 1fr; }
}

/* Rescue Section */
.rescue-section { padding: var(--section-pad) 0; background: var(--white); }
.rescue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

@media (min-width: 768px) { .rescue-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.rescue-col { border-radius: var(--radius-lg); overflow: hidden; }

.rescue-col__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  background: var(--light-gray);
  color: var(--dark-gray);
}

.rescue-col--after .rescue-col__label { background: var(--accent); color: var(--white); }

.rescue-col__media {
  aspect-ratio: 16/10;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.rescue-col--after .rescue-col__media { background: var(--black); color: var(--white); }

/* CTA Final */
.cta-final {
  background: var(--dark-blue-a11y);
  color: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-final__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
  position: relative; z-index: 1;
}

.cta-final__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.cta-final__title span { color: var(--light-blue); }

.cta-final__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-final__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-final__btn-primary { background: var(--white); color: var(--black); }
.cta-final__btn-primary:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.cta-final__trust {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto;
}

.cta-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: left;
}

.cta-step {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  padding-left: 4px;
}

.cta-honestidad {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: -8px auto 32px;
  line-height: 1.5;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.team-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s var(--ease-out);
}

.team-card:hover { transform: translateY(-4px); }

.team-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.team-education {
  font-size: 14px;
  color: #676B6C;
  margin-bottom: 6px;
}

.team-quote {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  color: #676B6C;
  font-style: italic;
  line-height: 1.6;
}

.team-benefit {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  color: var(--black);
  line-height: 1.6;
}

/* ============================================
   15. PAGE: PORTFOLIO
   ============================================ */
.trabajo {
  background: var(--white);
  color: var(--black);
  padding: 152px 0 40px 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) { .trabajo { padding: 128px 0 0px 0; } }

.portafolio-page .trabajo { padding-bottom: 80px; }
@media (max-width: 768px) { .portafolio-page .trabajo { padding-bottom: 48px; } }

.trabajo__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.trabajo__header {
  margin-bottom: 48px;
}

.trabajo__header .lead { margin-bottom: 0; }

.trabajo__eyebrow {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-blue-a11y);
  margin: 0;
}

.trabajo__titulo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 24px;
}

.trabajo__titulo span,
.trabajo__titulo .h-word { color: var(--dark-blue-a11y); }

.trabajo__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

@media (min-width: 1024px) { .trabajo__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }

.trabajo__card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transform: translateZ(0);
  transition: box-shadow 0.4s var(--ease-out);
  will-change: transform;
}

.trabajo__card:hover { box-shadow: 0 24px 60px -20px rgba(5,5,5,0.35); }

.trabajo__card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
  border-radius: calc(var(--radius-lg) + 4px);
}

.trabajo__card-media { position: relative; width: 100%; height: 100%; }

.trabajo__card-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
  padding: 24px;
}

.trabajo__card-placeholder span {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  opacity: 0.85;
}

.trabajo__card-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.7s var(--ease-out);
}

.trabajo__card:hover .trabajo__card-media img { transform: scale(1.06); }

.trabajo__card-overlay {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  z-index: 1;
  pointer-events: none;
}

.trabajo__card-titlebar {
  position: absolute;
  bottom: 16px; left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .trabajo__card-titlebar { bottom: 32px; left: 32px; width: calc(100% - 64px); }
}

.trabajo__card-arrow {
  display: none;
  width: 36px;
  color: var(--white);
  flex-shrink: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

@media (min-width: 1024px) { .trabajo__card-arrow { display: block; } }
.trabajo__card-arrow svg { width: 100%; height: auto; display: block; }

.sector-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  display: block;
}

.trabajo__card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

@media (min-width: 1024px) { .trabajo__card-name { transform: translateX(-36px); } }

.trabajo__card:hover .trabajo__card-arrow,
.trabajo__card:hover .trabajo__card-name { transform: translateX(0); }

/* Curated Projects */
.curated-projects {
  background: #111111;
  color: #ffffff;
  padding: var(--section-pad-lg) 0;
}

.curated-projects .curated-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}

.curated-projects .curated-header { margin-bottom: 60px; }

.curated-projects .curated-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.curated-projects .curated-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: #888888;
  max-width: 480px;
}

.curated-projects .curated-divider { height: 1px; background: #2a2a2a; width: 100%; }
.curated-projects .projects-list { display: block; }

.curated-projects .project-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  align-items: center;
  gap: 32px;
  min-height: 80px;
  padding: 24px 16px;
  color: #ffffff;
  text-decoration: none;
  background: transparent;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.3s ease;
  transition-delay: var(--row-delay, 0s);
}

.curated-projects .project-row.visible { opacity: 1; transform: translateY(0); }
.curated-projects .project-row:hover { background: #1a1a1a; }

.curated-projects .project-year {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #666666;
}

.curated-projects .project-name {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.curated-projects .project-row:hover .project-name { transform: translateX(8px); }

.curated-projects .project-tags {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #666666;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.curated-projects .project-row:hover .project-tags { opacity: 0.9; }

.curated-projects .project-cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.curated-projects .project-row:hover .project-cta { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
  .curated-projects { padding: var(--section-pad-lg-mobile) 0; }
  .curated-projects .curated-header { margin-bottom: 40px; }
  .curated-projects .project-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name cta" "tags tags";
    gap: 8px 16px;
    min-height: 0;
    padding: 20px 8px;
  }
  .curated-projects .project-year { display: none; }
  .curated-projects .project-name { grid-area: name; font-size: 1.35rem; }
  .curated-projects .project-tags { grid-area: tags; opacity: 0.8; }
  .curated-projects .project-cta { grid-area: cta; opacity: 1; transform: translateX(0); font-size: 0.8rem; }
  .curated-projects .project-row:hover .project-name { transform: none; }
}

/* CTA Section */
.cta-section {
  background: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-section h2 { color: var(--black); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-section h2 span { color: var(--accent); }

.cta-section p {
  color: var(--dark-gray);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}

/* ============================================
   16. PAGE: PROJECTS
   ============================================ */
.project-page { padding-top: 72px; }

.proj-back-float {
  position: fixed;
  top: 88px; left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(5,5,5,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 8px 18px;
  cursor: pointer;
  transition: color var(--dur-fast), background var(--dur-fast), opacity var(--dur-fast);
  opacity: 0;
  pointer-events: none;
}

.proj-back-float.visible { opacity: 1; pointer-events: auto; }
.proj-back-float:hover { color: var(--white); background: rgba(5,5,5,0.75); }

.proj-hero-frame { padding: 32px var(--padding-mobile) 0; max-width: var(--max-width); margin: 0 auto -48px; position: relative; z-index: 1; }

.proj-hero-frame-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 70vh;
}

.proj-hero-frame-inner img {
  width: 100%; height: auto;
  max-height: 70vh;
  object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}

.proj-hero-frame-inner img:hover { transform: scale(1.02); }

@media (max-width: 768px) {
  .proj-hero-frame { padding: 16px var(--padding-mobile) 0; margin-bottom: -48px; }
  .proj-hero-frame-inner { max-height: 50vh; }
  .proj-hero-frame-inner img { max-height: 50vh; }
}

/* --- Light editorial hero (portfolio projects) --- */
.project-page--flush { padding-top: 0; }

.proj-hero-info.proj-hero-info--light { background: var(--white); padding-top: calc(72px + clamp(48px, 8vw, 96px)); }

.proj-hero-stage {
  background: var(--white);
  padding: 0 var(--padding-mobile);
}

.proj-hero-frame-browser {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #141414;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.55), 0 24px 48px -24px rgba(0,0,0,0.35);
}

.proj-hero-frame-browser img { width: 100%; height: auto; display: block; }

/* --- Light hero color overrides --- */
.proj-hero-info--light .proj-hero-info-inner h1 { color: var(--black); }
.proj-hero-info--light .proj-hero-info-inner h1 em { color: var(--dark-blue-a11y); }
.proj-hero-info--light .proj-hero-lead { color: var(--dark-gray); }
.proj-hero-info--light .proj-hero-client { color: var(--dark-gray); }
.proj-hero-info--light .proj-hero-client strong { color: var(--black); }
.proj-hero-info--light .proj-stats-source { color: var(--dark-gray); }
.proj-hero-info--light .proj-stat-num { color: var(--dark-blue-a11y); }

@media (max-width: 768px) {
  .proj-hero-info.proj-hero-info--light { padding-top: 104px; }
}

.proj-hero-info { background: var(--black); padding: var(--section-pad) 0; }
@media (max-width: 768px) { .proj-hero-info { padding: 96px 0 48px; } }

.proj-hero-info-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.proj-hero-info .proj-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 24px; }

.proj-hero-info .proj-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s;
}

.proj-hero-info--light .proj-tag {
  border-color: rgba(0,0,0,0.15);
  color: var(--black);
}

.proj-hero-info--light .proj-tag:hover {
  border-color: var(--red);
}

.proj-hero-info h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.proj-hero-info h1 em { color: var(--light-blue); font-style: normal; }

.proj-hero-info .proj-meta { margin-top: 32px; display: flex; gap: 40px; flex-wrap: wrap; }

.proj-hero-info .proj-meta-item label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-blue);
  margin-bottom: 4px;
}

.proj-hero-info .proj-meta-item span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.proj-intro { padding: var(--section-pad) 0; }

.proj-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) { .proj-intro-inner { grid-template-columns: 0.35fr 0.65fr; gap: 80px; } }

.proj-intro-left .hero-label { margin-bottom: 12px; }

.proj-intro-divider {
  width: 48px; height: 2px;
  background: var(--red);
  margin-top: 12px;
}

.proj-intro-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--dark-gray);
  max-width: 600px;
}

.proj-section-alt { background: var(--light-gray); padding: 80px 0; }
@media (max-width: 768px) { .proj-section-alt { padding: 48px 0; } }

.proj-section-alt .proj-section { max-width: 100%; margin: 0 auto; padding: 0 var(--padding-mobile); }

.proj-content-wrap { max-width: var(--max-width); margin: 0 auto; padding: var(--section-pad) var(--padding-mobile); }
@media (max-width: 768px) { .proj-content-wrap { padding: var(--section-pad-mobile) var(--padding-mobile); } }

.proj-section { margin-bottom: 0; }

.proj-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .proj-content-wrap .proj-section-label { background: var(--white); }
  .proj-section-alt .proj-section-label { background: var(--light-gray); }
}

.proj-section h2 { margin-bottom: 20px; }
.proj-section p { font-size: 1rem; line-height: 1.8; color: var(--dark-gray); margin-bottom: 16px; }
.proj-section p:last-child { margin-bottom: 0; }

.proj-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 1024px) { .proj-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .proj-stats-grid { grid-template-columns: 1fr; gap: 20px; } }

.proj-stat { padding: 0; background: none; border: none; transition: color var(--dur-fast); }

.proj-stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--light-blue);
  transition: color var(--dur-fast);
  margin-bottom: 8px;
}

.proj-stat-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-gray);
  line-height: 1.5;
}

.proj-cta-red {
  background: var(--dark-blue-a11y);
  padding: var(--section-pad) var(--padding-mobile);
  text-align: center;
}

@media (max-width: 768px) { .proj-cta-red { padding: var(--section-pad-mobile) var(--padding-mobile); } }

.proj-cta-red h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  line-height: 1.1;
  margin: 0 auto 16px;
  max-width: 720px;
}

.proj-cta-red h2 span { color: var(--light-blue); }

.proj-cta-red p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.7;
}

.proj-cta-red .btn-white { background: var(--white); color: var(--dark-blue-a11y); }
.proj-cta-red .btn-white:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

.proj-next {
  position: relative;
  background: #FAFAF9;
  overflow: hidden;
}

.proj-next-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
  display: flex;
  align-items: stretch;
  min-height: 60vh;
}

@media (max-width: 768px) {
  .proj-next-inner { flex-direction: column; min-height: 50vh; }
}

.proj-next-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 0;
  position: relative; z-index: 2;
}

@media (max-width: 768px) { .proj-next-info { padding: 48px 0; order: 0; } }

.proj-next-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  margin-bottom: 12px;
}

.proj-next-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 24px;
}

.proj-next-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity var(--dur-fast), gap var(--dur-fast);
}

.proj-next-arrow:hover { opacity: 1; gap: 20px; }

.proj-next-arrow svg { width: 20px; height: 12px; transition: transform var(--dur-fast) var(--ease-out); }
.proj-next-arrow:hover svg { transform: translateX(4px); }

.proj-next-preview {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 40px 40px 32px;
  overflow: visible;
}
@media (max-width: 768px) { .proj-next-preview { padding: 0 var(--padding-mobile) 40px; order: 1; } }

.proj-next-preview a {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.proj-next-preview img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}

.proj-next-preview a:hover img { transform: scale(1.05); }

.proj-next-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 3;
}

.proj-next-progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.1s linear;
}

@media (max-width: 480px) { .proj-next-progress { display: none; } }

/* Project Dark Mode */
.proj-dark { background: #0a0a0f; }
.proj-dark .proj-hero-info { background: var(--black); }
.proj-dark .proj-section-alt { background: #0c0c10; }
.proj-dark .proj-intro-text,
.proj-dark .proj-content-wrap p,
.proj-dark .proj-section-alt p,
.proj-dark .proj-section p { color: #999; }
.proj-dark .proj-content-wrap h2,
.proj-dark .proj-section-alt h2,
.proj-dark .proj-section h2 { color: var(--white); }
.proj-dark .proj-content-wrap .hero-label,
.proj-dark .proj-intro .hero-label { color: var(--dark-blue); }
.proj-dark .proj-stat-label { color: #999; }

@media (min-width: 1024px) {
  .proj-dark .proj-section-label { background: #0a0a0f; }
  .proj-dark .proj-section-alt .proj-section-label { background: #0c0c10; }
}

/* -- Project Detail: Intro 2-column layout -- */
.proj-intro-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.proj-intro-cols p {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.4;
  color: var(--dark-gray);
  max-width: 600px;
}
.proj-intro-cols strong {
  color: var(--black);
  font-weight: 600;
}
@media (max-width: 768px) {
  .proj-intro-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .proj-intro-cols p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* -- Project Detail: Solution Cards -- */
.proj-solution-intro {
  font-size: 1.1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 700px;
}
.proj-solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .proj-solution-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.proj-solution-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.proj-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.proj-solution-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.proj-solution-card-icon svg {
  width: 20px;
  height: 20px;
}
.proj-solution-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--black);
}
.proj-solution-card p {
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* -- Project Detail: Tech Chips -- */
.proj-tech-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--light-gray);
}
.proj-tech-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-gray);
}
.proj-tech-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.proj-tech-chip {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: var(--light-gray);
  padding: 4px 14px;
  border-radius: 100px;
}

/* -- Project Detail: Mockups no-line -- */
.proj-mockups--no-line::before {
  display: none;
}

/* ============================================
   17. PAGE: PLANES
   ============================================ */
.planes-hero {
  padding: 152px 0 60px;
  background: var(--white);
}

.planes-hero__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }
.planes-hero__title { margin: 18px 0 24px; }
.planes-hero__sub {
  font-size: 1.05rem;
  color: var(--dark-gray);
  max-width: 620px;
  line-height: 1.7;
}

.planes-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 8px 0 20px;
}

.planes-transition__line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), var(--black));
}

.planes-transition__label {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #676B6C;
  text-align: center;
  max-width: 90vw;
}

@media (max-width: 480px) { .planes-transition__label { border-radius: 24px; padding: 10px 18px; font-size: 13px; } }

.planes-transition__link {
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  color: var(--black);
  border-color: rgba(0,0,0,0.08);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.planes-transition__link:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ============================================
   PLANES — Transición animada (Opción A)
   ============================================ */
.planes-transition.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.planes-transition.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.planes-transition .planes-transition__line {
  height: 0;
  transition: height 0.8s var(--ease-out);
}

.planes-transition.reveal.visible .planes-transition__line {
  height: 60px;
}

.planes-transition .planes-transition__label {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0.6s;
}

.planes-transition.reveal.visible .planes-transition__label {
  opacity: 1;
  transform: translateY(0);
}

.planes-transition .planes-transition__arrow {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: 0.6s;
}

.planes-transition.reveal.visible .planes-transition__arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PLANES — Utilidades y componentes
   ============================================ */
.precios-grid--acomp { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { 
  .precios-grid--acomp { grid-template-columns: 1fr; }
  .precios-grid--acomp > .price-card:first-child { order: 2; }
  .precios-grid--acomp > .price-card:last-child { order: 1; }
}

.precios-section--compact-top { padding-top: 0; }
.planes-hero--compact-bottom { padding-bottom: 0; }

.planes-heading-center {
  text-align: center !important;
  margin: 0 auto 8px;
  max-width: none;
}

.planes-heading-center span { color: var(--red); }

.planes-desc-center {
  text-align: center;
  color: #676B6C;
  margin-bottom: 32px;
}

.planes-desc-center--small {
  text-align: center;
  color: #676B6C;
  margin-bottom: 24px;
}

.planes-crecimiento-highlight {
  max-width: 680px;
  margin: 32px auto 20px;
  padding: 24px 28px;
  background: #FAFAF9;
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.planes-crecimiento-highlight p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin: 0;
}

.adicionales-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.adicionales-grid .price-card {
  text-align: left;
}
@media (max-width: 640px) { .adicionales-grid { grid-template-columns: 1fr; } }

.addon-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.addon-row--tight { margin-bottom: 12px; }

@media (max-width: 480px) {
  .addon-row { flex-direction: column; align-items: flex-start; }
}

.addon-price {
  color: var(--red);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.addon-desc {
  font-size: 14px;
  color: #676B6C;
  margin: 0;
}

.card--left { text-align: left; }
.card--stack { display: flex; flex-direction: column; }

.btn-full { width: 100%; justify-content: center; margin-top: auto; }

.planes-transition--spaced { margin-top: 32px; }

.price-card__badge--dark { background: var(--dark-blue); }

.price-card__case {
  font-size: 0.82rem;
  margin: -4px 0 0;
  text-align: left;
}
.price-card__case a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.price-card__case a:hover { text-decoration: underline; }

.price-card__crecimiento-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transition: text-decoration-color 0.2s;
}
.price-card__crecimiento-link:hover {
  text-decoration-color: var(--accent);
}

.price-card__list--tight { margin-bottom: 16px; }

.price-card__subtitulo {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-top: -2px;
  margin-bottom: 4px;
  line-height: 1.4;
  text-align: left;
}

.price-card__block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-card__block-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark-blue);
  margin: 8px 0 2px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--dark-blue);
}

.price-card__resultado {
  margin-top: 4px;
  padding: 14px 16px;
  background: rgba(5,5,5,0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.price-card__resultado-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-blue-a11y);
  margin-bottom: 4px;
  display: block;
}

.price-card__resultado-text {
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.45;
  margin: 0;
}

/* Timeline visual */
.planes-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 64px 0 48px;
}

.planes-timeline__steps {
  display: flex;
  gap: 0;
  align-items: flex-start;
  max-width: 760px;
  width: 100%;
}

.planes-timeline__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 16px;
}

.planes-timeline__step::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E0E0E0;
  z-index: 0;
}

.planes-timeline__step:first-child::before { left: 50%; }
.planes-timeline__step:last-child::before { right: 50%; }

.planes-timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.planes-timeline__step-content {
  text-align: center;
  margin-top: 16px;
  padding: 0 8px;
}

.planes-timeline__step-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.planes-timeline__step-content span {
  font-size: 0.82rem;
  color: #676B6C;
  line-height: 1.5;
}

.planes-timeline__label {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 100px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #676B6C;
  text-align: center;
  max-width: 90vw;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .planes-timeline__steps { flex-direction: column; gap: 24px; }
  .planes-timeline__step { flex-direction: row; align-items: flex-start; padding-top: 0; gap: 14px; }
  .planes-timeline__step::before {
    top: 8px;
    left: 8px;
    right: auto;
    bottom: -24px;
    width: 2px;
    height: auto;
  }
  .planes-timeline__step:last-child::before { display: none; }
  .planes-timeline__step-content { text-align: left; margin-top: 0; }
  .planes-timeline__label { margin-top: 24px; }
}

@media (max-width: 480px) {
  .planes-timeline__label { border-radius: 24px; padding: 10px 18px; font-size: 13px; }
}

/* Prueba social */
.planes-testimonios {
  background: var(--white);
  padding: 0 0 var(--section-pad);
}
.planes-testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 767px) {
  .planes-testimonios-grid { grid-template-columns: 1fr; }
}
.planes-testimonios .testimonio { background: #FAFAF9; }
.planes-testimonios .testimonio blockquote { font-size: 0.82rem; }
.planes-testimonios .testimonio cite { font-size: 0.78rem; }

/* Servicios adicionales — upsell cards */
.addon-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -16px rgba(5,5,5,0.14);
}
.addon-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.addon-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
}
.addon-card__price {
  color: var(--red);
  font-weight: 800;
  font-size: 1.1rem;
  white-space: nowrap;
}
.addon-card__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
}
.addon-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.5;
}
.addon-card__list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 480px) {
  .addon-card__header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   18. PAGE: NOSOTROS
   ============================================ */
.nosotros-hero {
  padding: 152px 0 60px;
  background: var(--white);
}

.nosotros-hero__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid rgba(5,5,5,0.08);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -16px rgba(5,5,5,0.2);
  border-color: rgba(92,118,134,0.25);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  margin-bottom: 8px;
}

.stat-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--dark-gray);
  font-weight: 500;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ============================================
   19. PAGE: CONTACTO
   ============================================ */
.contacto-hero {
  padding: 152px 0 0;
  background: var(--white);
}

.contacto-hero__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--padding-mobile); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 24px;
}

@media (min-width: 768px) { .contacto-grid { grid-template-columns: 1.2fr 1fr; } }

.contacto-form {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.contacto-form h2 {
  color: var(--white);
}

.contacto-form__group { margin-bottom: 20px; }

.contacto-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.contacto-form__checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: rgba(255,255,255,0.75); line-height: 1.5; cursor: pointer;
}
.contacto-form__checkbox input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.contacto-form__checkbox a { color: var(--white); text-decoration: underline; }
.contacto-form__checkbox a:hover { color: var(--accent); }

.contacto-form__input,
.contacto-form__textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
}

.contacto-form__select {
  width: 100%;
  padding: 14px 36px 14px 18px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23676B6C' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.contacto-form__input:focus,
.contacto-form__textarea:focus,
.contacto-form__select:focus {
  outline: none;
  border-color: var(--accent);
}

.contacto-form__textarea { resize: vertical; min-height: 120px; }

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contacto-info__card {
  background: #FAFAF9;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.contacto-info__card h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark-blue-a11y);
  margin-bottom: 12px;
}

.contacto-info__card p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.contacto-info__card a {
  color: var(--black);
  font-weight: 600;
  transition: color 0.2s;
}

.contacto-info__card a:hover { color: var(--accent); }

.contacto-info__link-card {
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  padding: 12px 24px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.contacto-info__link-card:hover {
  background: var(--accent);
}

.contacto-info__link-card a {
  display: block;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}

.contacto-info__link-card:hover a {
  color: var(--white);
}

.hero-closing {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
  max-width: 620px;
  margin-top: -8px;
  margin-bottom: 0;
  font-style: italic;
}

.pre-form-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.contact-preference {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.contact-preference__option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--white);
  cursor: pointer;
}

.contact-preference__option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}

.contact-trust p {
  font-size: 0.92rem;
  color: var(--dark-gray);
  line-height: 1.6;
  padding-left: 28px;
  position: relative;
}

.contact-trust p::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.steps-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--light-gray);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #FAFAF9;
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out);
}

.step:hover {
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step p {
  font-size: 0.92rem;
  color: var(--dark-gray);
  line-height: 1.5;
  margin: 0;
  padding-top: 6px;
}

/* ============================================
   20. UTILITIES
   ============================================ */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 0; }

.section-divider { height: 1px; background: #DCDEDB; }

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y)) scale(0.98);
  filter: blur(6px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out),
    filter var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.08s);
  will-change: opacity, transform, filter;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Loader */
/* WhatsApp Float */
.wa-float {
  position: fixed;
  bottom: 20px; right: 20px;
  width: auto;
  height: 52px;
  padding: 0 16px 0 20px;
  border-radius: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  z-index: 3001;
  box-shadow: 0 4px 16px rgba(233,79,55,0.2);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.wa-float::after {
  content: "¿Hablamos?";
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(233,79,55,0.35); }
.wa-float:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

/* ============================================
   21. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  :root { --section-pad: var(--section-pad-mobile); }
  .hero-home { padding-top: 128px; padding-bottom: 48px; min-height: auto; }
  .scroll-indicator { display: none; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .nosotros-hero { padding-top: 128px; padding-bottom: 48px; }
  .contacto-hero { padding-top: 128px; }
  .stat { padding: 24px 18px; }
  .stat-label { max-width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { padding: 32px 20px; }
  .diferenciacion-grid .card,
  .diferenciacion-grid--2col .card { padding: 28px 20px !important; }
}

.hero-home__medía {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

@media (max-width: 480px) {
  :root { --padding-mobile: 18px; }
  .hero-home__cta .btn { width: 100%; justify-content: center; }
  .nosotros-hero__inner .section-label { margin-bottom: 14px; }
  .team-avatar { width: 100px !important; height: 100px !important; }
}

/* ============================================
   22. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .page.active { animation: none; }
  .proj-hero-frame-inner img:hover,
  .proj-gallery-item:hover,
  .proj-mockups-laptop:hover,
  .proj-mockups-tablet:hover,
  .proj-mockups-phone:hover { transform: none; }
  .proj-next:hover .proj-next-preview img { transform: scale(1); }
  .scroll-indicator__line::after { animation: none; }
  .curated-projects .project-row { opacity: 1; transform: none; transition: background 0.3s ease; }
  .trabajo__eyebrow, .trabajo__titulo { opacity: 1; transform: none; transition: none; }
  .trabajo__card, .trabajo__card-arrow, .trabajo__card-name { transition: none; }
  .trabajo__card:hover { transform: none; }
  .trabajo__card:hover .trabajo__card-arrow,
  .trabajo__card:hover .trabajo__card-name { transform: translateX(0); }
}

@media (max-width: 1023px) {
  .trabajo__card-name { transform: none; }
}

/* ============================================
   CASE STUDY — Dra. Diana Lanziano
   ============================================ */
.proj-hero-info h1,
.proj-section h2,
.proj-section h3 {
  max-width: none;
}

.proj-hero-info .proj-hero-lead,
.proj-solution-intro,
.proj-mockups-inner p {
  max-width: 960px;
}

.proj-keywords .proj-solution-intro {
  max-width: 960px;
}

.proj-resultados-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .proj-resultados-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.proj-hero-lead {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 700px;
  margin: 20px 0 0 0;
}
.proj-hero-client {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-blue);
  margin: 24px 0 0 0;
}
.proj-hero-client strong { color: var(--white); }
.proj-stats-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  line-height: 1.5;
}
.proj-ficha {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.proj-ficha .proj-meta-item label { color: var(--dark-blue); }
.proj-ficha .proj-meta-item span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
}
@media (max-width: 768px) {
  .proj-ficha .proj-meta { gap: 20px; }
}
.proj-funnel {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.proj-funnel-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.proj-funnel-step {
  background: var(--white);
  border-radius: 12px;
  padding: 20px 28px;
  width: 100%;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
}
.proj-funnel-step--top    { max-width: 440px; }
.proj-funnel-step--mid    { max-width: 340px; }
.proj-funnel-step--bottom { max-width: 240px; }
.proj-funnel-step--bottom .proj-funnel-num { color: var(--red); }
.proj-funnel-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--dark-blue-a11y);
  line-height: 1;
}
.proj-funnel-label {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-top: 4px;
}
.proj-funnel-arrow {
  font-size: 1.5rem;
  color: var(--dark-blue);
  line-height: 1;
  padding: 8px 0;
}
.proj-funnel-highlight {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  line-height: 1.5;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.proj-keywords {
  background: var(--white);
  padding: var(--section-pad) 0;
}
.proj-keywords-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
.proj-keywords h2 { margin-bottom: 12px; }
.proj-keywords p {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 24px;
}
.proj-keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.proj-keyword-chip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--red);
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--red);
}
.proj-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .proj-site-grid { grid-template-columns: 1fr; }
}
.proj-site-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
}
.proj-site-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.proj-site-card-caption {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--dark-gray);
  line-height: 1.5;
}
.proj-site-card-caption strong {
  display: block;
  color: var(--black);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

/* ── Proj Intro Wide (label full-width + 2cols text) ── */
.proj-intro--wide .proj-intro-inner {
  grid-template-columns: 1fr;
  gap: 24px;
}
.proj-intro--wide .proj-intro-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proj-intro--wide .proj-intro-divider { display: none; }
@media (min-width: 768px) {
  .proj-intro--wide .proj-intro-inner { gap: 32px; }
}

/* ── Dark cards (Sitio Web) ── */
.proj-cards-dark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .proj-cards-dark { grid-template-columns: 1fr; }
}
.proj-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}
.proj-card-dark h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}
.proj-card-dark p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   23. PAGE: BLOG
   ============================================ */
.blog-hero {
  padding: 152px 0 20px;
  background: var(--white);
}
.blog-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
@media (max-width: 768px) {
  .blog-hero { padding: 128px 0 16px; }
}

.blog-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 16px 0 24px;
}
.blog-hero__title span { color: var(--red); }

.blog-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--dark-gray);
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
}

.blog-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.blog-section--soft { background: #FAFAF9; }
.blog-section--first { padding-top: 16px; }

.blog-section__head {
  margin-bottom: 40px;
}

/* Grid 3 cols → 2 → 1 */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Post card */
.blog-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -16px rgba(5,5,5,0.2);
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--light-gray);
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.blog-card:hover .blog-card__media img {
  transform: scale(1.06);
}
.blog-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(150deg, var(--light-gray), #EDEFEC);
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  display: inline-flex;
  align-self: flex-start;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

.blog-card__meta {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card__meta time { font-weight: 500; }
.blog-card__meta-sep { opacity: 0.5; }

.blog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
  transition: gap 0.25s var(--ease-out), color 0.2s ease;
}
.blog-card:hover .blog-card__cta { gap: 10px; color: var(--black); }

/* Featured post (first card) */
.blog-card--featured {
  grid-column: span 1;
}
@media (min-width: 1024px) {
  .blog-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .blog-card--featured .blog-card__media { aspect-ratio: 16 / 9; }
  .blog-card--featured .blog-card__title { font-size: 1.5rem; }
  .blog-card--featured .blog-card__excerpt { font-size: 1rem; }
}

/* Tag filter pills (decorativo, no funcional en v1) */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.blog-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(5,5,5,0.14);
  background: transparent;
  color: var(--dark-gray);
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.blog-tag:hover { border-color: var(--black); color: var(--black); }
.blog-tag.active { background: var(--black); border-color: var(--black); color: var(--white); }

/* Blog post single (template) */
.blog-post {
  padding: 152px 0 var(--section-pad);
  background: var(--white);
}
.blog-post__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
@media (max-width: 768px) {
  .blog-post { padding: 128px 0 var(--section-pad-mobile); }
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.blog-post__back:hover { color: var(--black); gap: 12px; }

.blog-post__tag {
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-blue-a11y);
  margin-bottom: 16px;
}

.blog-post__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 0 0 24px;
}

.blog-post__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin: 0 0 24px;
  max-width: 680px;
}

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin: 0 0 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-gray);
}
.blog-post__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--black);
}
.blog-post__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-blue-a11y);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--white);
  flex-shrink: 0;
}
.blog-post__meta-sep { opacity: 0.5; }

.blog-post__hero {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  margin: 0 0 48px;
}
.blog-post__hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* Article body — reusa h2/h3/p del sistema */
.blog-post__body h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 48px 0 16px;
  line-height: 1.2;
}
.blog-post__body h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  margin: 32px 0 12px;
  line-height: 1.3;
}
.blog-post__body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin: 0 0 20px;
}
.blog-post__body p:last-child { margin-bottom: 0; }
.blog-post__body strong { color: var(--black); font-weight: 600; }
.blog-post__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.blog-post__body a:hover { color: var(--red); }

.blog-post__body ul,
.blog-post__body ol {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}
.blog-post__body ul li,
.blog-post__body ol li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark-gray);
  margin-bottom: 10px;
}
.blog-post__body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-weight: 700;
}
.blog-post__body ol { counter-reset: blog-ol; }
.blog-post__body ol li {
  counter-increment: blog-ol;
}
.blog-post__body ol li::before {
  content: counter(blog-ol);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dark-blue-a11y);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-post__body blockquote {
  border-left: 3px solid var(--red);
  background: #FAFAF9;
  padding: 20px 24px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--black);
}
.blog-post__body blockquote p { margin: 0; color: var(--black); }

.blog-post__cta {
  background: var(--dark-blue-a11y);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
}
.blog-post__cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
.blog-post__cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.blog-post__cta-inner h2 span { color: var(--light-blue); }
.blog-post__cta-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.blog-post__cta-inner .btn-primary {
  background: var(--white);
  color: var(--black);
}
.blog-post__cta-inner .btn-primary:hover {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(233,79,55,0.3);
}

/* ============================================
   24. BLOG: INTRO, POPULAR, CTA INTERMEDIO, FOOTER TAGLINE
   ============================================ */

/* Blog intro paragraph */
.blog-intro {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--black);
  max-width: 680px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

/* Lo más leído */
.blog-popular {
  padding: 8px 0;
}
.blog-popular__desc {
  font-size: 1rem;
  color: var(--dark-gray);
  margin: 0 0 40px;
  max-width: 520px;
  line-height: 1.6;
}
.blog-popular__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.blog-popular__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(5,5,5,0.08);
  text-decoration: none;
  color: inherit;
  transition: padding 0.3s var(--ease-out), background 0.3s var(--ease-out);
  border-radius: var(--radius);
  padding-left: 8px;
  padding-right: 8px;
  margin: 0 -8px;
}
.blog-popular__item:first-child {
  border-top: 1px solid rgba(5,5,5,0.08);
}
.blog-popular__item:hover {
  background: var(--white);
  padding-left: 16px;
  box-shadow: 0 4px 20px -12px rgba(5,5,5,0.15);
}
.blog-popular__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-blue-a11y);
  opacity: 0.3;
  min-width: 40px;
  text-align: right;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
}
.blog-popular__item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-popular__item strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.blog-popular__item span {
  font-size: 0.9rem;
  color: var(--dark-gray);
  line-height: 1.5;
}

/* CTA intermedio */
.blog-cta-mid {
  padding: var(--section-pad) 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.blog-cta-mid__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
.blog-cta-mid__inner h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--white);
  margin: 0 auto 12px;
}
.blog-cta-mid__inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.blog-cta-mid__inner .btn-primary {
  display: inline-flex;
}

/* Footer tagline */
.footer__tagline {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 16px var(--padding-mobile);
}
.footer__tagline-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-mobile);
}
.footer__tagline p {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.38);
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============================================
   25. BLOG POST: HIGHLIGHT, TABLE, EXAMPLES
   ============================================ */

.blog-post__highlight {
  background: #FFF8F6;
  border: 1px solid rgba(233,79,55,0.2);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.blog-post__highlight strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
}
.blog-post__highlight ul { list-style: none; padding: 0; margin: 0; }
.blog-post__highlight li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 6px;
}
.blog-post__highlight li::before {
  content: '\2715';
  position: absolute;
  left: 0; top: 1px;
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
}

.blog-post__highlight--green {
  background: #F4FAF6;
  border-color: rgba(40,167,69,0.2);
  border-left-color: #28a745;
}
.blog-post__highlight--green strong { color: #28a745; }
.blog-post__highlight--green li::before { content: '\2713'; color: #28a745; }

.blog-post__table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.92rem;
  line-height: 1.5;
}
.blog-post__table thead th {
  background: var(--dark-blue-a11y);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
}
.blog-post__table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.blog-post__table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.blog-post__table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(5,5,5,0.06);
  color: var(--dark-gray);
  vertical-align: top;
}
.blog-post__table tbody tr:nth-child(odd) td { background: #FAFAF9; }
.blog-post__table tbody tr:nth-child(even) td { background: var(--white); }

.blog-post__example-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (min-width: 768px) {
  .blog-post__example-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .blog-post__example-grid { grid-template-columns: repeat(3, 1fr); }
}
.blog-post__example {
  background: var(--white);
  border: 1px solid rgba(5,5,5,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.blog-post__example:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -16px rgba(5,5,5,0.2);
}
.blog-post__example strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.blog-post__example p {
  font-size: 0.9rem !important;
  color: var(--dark-gray) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.blog-post__example-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-blue-a11y);
  margin-top: 4px;
}

/* ============================================
   HOME PAGE
   ============================================ */
.home-page h1,
.home-page h2:not(.cta-final__title),
.home-page h3 {
  max-width: none;
}

.home-page .hero-home__sub,
.home-page .lead:not(.cta-final__sub) {
  max-width: 960px;
}

/* ============================================
   PORTFOLIO PAGE
   ============================================ */
.portafolio-page .trabajo__titulo {
  max-width: none;
}

.portafolio-page .lead {
  max-width: 960px;
}

/* ============================================
   PLANES PAGE
   ============================================ */
.planes-page h1,
.planes-page h2:not(.cta-final__title) {
  max-width: none;
}

.planes-page .lead:not(.cta-final__sub) {
  max-width: 960px;
}

.planes-page .planes-hero__inner h1 {
  max-width: none;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page h1,
.blog-page h2:not(.cta-final__title) {
  max-width: none;
}

.blog-page .lead:not(.cta-final__sub),
.blog-page .blog-hero__sub {
  max-width: 960px;
}

/* ============================================
   PAGES WITHOUT BODY CLASS
   ============================================ */
.page-content h1,
.page-content h2:not(.cta-final__title) {
  max-width: none;
}

.page-content .lead:not(.cta-final__sub) {
  max-width: 960px;
}
