/* ==========================================================================
   PORTAFOLIO ISABEL POVEDA — LOOKBOOK EDITORIAL & CREATIVO DE COPYWRITING
   Basado 100% en las marcas e identidades reales:
   - Banco Popular Colombia (@bcopopular): Verde #008542 & Amarillo #FFC700
   - Magnética Agencia Creativa (@magneticasg): Verde Bosque #0D2F22 & Dorado #C5A880 ("El instinto de atraer")
   - TrasplanteMente (trasplantemente.com): Terracota #BA4B39, Bosque #1E4D3A & Crema #FBF9F5
   ========================================================================== */

:root {
  /* Lienzo & Superficies */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-dark: #0B0F17;
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;

  /* Banco Popular Colombia (Identidad Oficial) */
  --popular-green: #008542;
  --popular-green-dark: #006834;
  --popular-green-bg: #EAF7EE;
  --popular-yellow: #FFC700;

  /* Magnética Agencia Creativa (@magneticasg - Identidad Real) */
  --mag-forest: #0D2F22;
  --mag-forest-light: #164634;
  --mag-forest-bg: #EDF5F1;
  --mag-gold: #C5A880;
  --mag-gold-dark: #9F825C;
  --mag-gold-bg: #F9F6F0;
  --mag-cream: #FAF8F5;

  /* TrasplanteMente (Identidad Real) */
  --trasplante-terracota: #BA4B39;
  --trasplante-terracota-bg: #FDF3F1;
  --trasplante-forest: #1E4D3A;
  --trasplante-forest-bg: #EDF5F1;
  --trasplante-cream: #FBF9F5;

  /* Email & UI */
  --email-blue: #0284C7;
  --email-blue-bg: #F0F9FF;
  --wa-green: #25D366;
  --wa-green-hover: #1EBE5D;

  /* Textos */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  /* Tipografías */
  --font-display: 'Syne', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-editorial: 'Newsreader', Georgia, serif;

  /* Transiciones & Sombras */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.14);
}

/* Reset Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   BARRA SUPERIOR DE LECTURA
   ========================================================================== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--popular-green), var(--popular-yellow), var(--mag-forest), var(--mag-gold), var(--trasplante-terracota));
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   HEADER MINIMALISTA (1 SOLA LÍNEA, BLUR, 62PX)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 62px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: width 0.2s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--text-primary);
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.btn-header-cta:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
}

.wa-icon-svg {
  flex-shrink: 0;
}

.cta-text-short {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  color: var(--text-primary);
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: #E2E8F0;
}

.toggle-bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.mobile-menu-toggle.active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  height: calc(100vh - 62px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 0.5rem;
  gap: 0.5rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.15s var(--ease);
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background: var(--bg-subtle);
  border-color: var(--text-primary);
}

.m-nav-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--popular-green-dark);
  background: var(--popular-green-bg);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
}

.mobile-nav-footer {
  padding: 1rem 1.25rem 2.5rem;
  margin-top: auto;
}

.mobile-drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--wa-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.2s var(--ease);
}

/* ==========================================================================
   HERO LOOKBOOK
   ========================================================================== */
.hero-showcase {
  background: #FFFFFF;
  padding: 5rem 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 4.5rem;
}

.hero-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--wa-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.pill-text {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.hero-display-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}

.hero-highlight {
  background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-statement {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 auto 2.5rem;
}

.hero-statement strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-bold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.btn-primary-bold:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
}

.btn-secondary-bold {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
}

.btn-secondary-bold:hover {
  border-color: var(--wa-green);
  color: var(--wa-green-hover);
  transform: translateY(-2px);
}

/* Ticker Continuo (Marquee) */
.hero-marquee-bar {
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  animation: scrollMarquee 35s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.marquee-track .star {
  color: var(--popular-yellow);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   LOOKBOOK CASE SECTIONS
   ========================================================================== */
.case-lookbook {
  padding: 6rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.case-container {
  max-width: 1140px;
  margin: 0 auto;
}

.case-banco {
  background: #FFFFFF;
}

.case-magnetica {
  background: var(--mag-cream);
}

.case-trasplante {
  background: var(--trasplante-cream);
}

.case-email {
  background: #F8FAFC;
}

/* Headers de Caso */
.case-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.case-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.case-client-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.case-client-badge.green {
  background: var(--popular-green-bg);
  color: var(--popular-green-dark);
}
.case-client-badge.green .dot { background: var(--popular-green); }

.case-client-badge.magnetica-badge {
  background: var(--mag-forest-bg);
  color: var(--mag-forest);
  border: 1px solid rgba(13, 47, 34, 0.2);
}
.case-client-badge.magnetica-badge .dot { background: var(--mag-gold); }

.case-client-badge.coral {
  background: var(--trasplante-terracota-bg);
  color: var(--trasplante-terracota);
  border: 1px solid rgba(186, 75, 57, 0.2);
}
.case-client-badge.coral .dot { background: var(--trasplante-terracota); }

.case-client-badge.blue {
  background: var(--email-blue-bg);
  color: var(--email-blue);
}
.case-client-badge.blue .dot { background: var(--email-blue); }

.case-discipline {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.case-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.case-lead-text {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 880px;
  margin-bottom: 2.75rem;
}

.case-lead-text a {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* Pieza Gráfica Heroica */
.case-visual-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
}

.case-img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-tag-caption {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   GRIDS DE PIEZAS REALES DE INSTAGRAM (AUTÉNTICOS SCREENSHOTS)
   ========================================================================== */
.real-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.real-social-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .real-social-grid, .real-social-grid-three {
    grid-template-columns: 1fr;
  }
}

.social-post-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--ease);
}

.social-post-card:hover {
  border-color: var(--text-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.social-card-media {
  position: relative;
  background: #0B0F17;
  overflow: hidden;
}

.social-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.social-origin-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.social-hook-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.social-body-copy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.social-insight {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.85rem;
  border-radius: 8px;
  border-left: 3px solid var(--text-primary);
  margin-top: auto;
}

.social-insight strong {
  color: var(--text-primary);
}

/* ==========================================================================
   SIMULADOR DE CARRUSEL DE INSTAGRAM (ESTILO MAGNÉTICA)
   ========================================================================== */
.instagram-simulator-wrapper {
  background: #FFFFFF;
  border: 2px solid var(--mag-forest);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(13, 47, 34, 0.1);
  margin-bottom: 3.5rem;
}

.ig-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--mag-cream);
}

.ig-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ig-avatar {
  width: 38px;
  height: 38px;
  background: var(--mag-forest);
  color: var(--mag-gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.95rem;
  border: 1.5px solid var(--mag-gold);
}

.ig-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ig-verified {
  color: #0284C7;
  font-size: 0.85rem;
}

.ig-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ig-follow-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mag-forest);
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--mag-forest);
  border-radius: 9999px;
  transition: all 0.2s var(--ease);
}

.ig-follow-link:hover {
  background: var(--mag-forest);
  color: #FFFFFF;
}

.ig-slide-viewport {
  padding: 3rem 2.5rem;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.ig-slide-number {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mag-gold-dark);
  margin-bottom: 1rem;
}

.ig-slide-hook {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.ig-slide-body {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 840px;
  margin-bottom: 1.5rem;
}

.ig-slide-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mag-forest);
  background: var(--mag-forest-bg);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  align-self: flex-start;
}

.ig-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--mag-cream);
}

.ig-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.ig-btn:hover {
  background: var(--text-primary);
  color: #FFFFFF;
  border-color: var(--text-primary);
}

.ig-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ig-dot {
  width: 9px;
  height: 9px;
  background: #CBD5E1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.ig-dot.active {
  background: var(--mag-forest);
  width: 24px;
  border-radius: 9999px;
}

/* ==========================================================================
   EXTRACTO EDITORIAL TRASPLANTEMENTE (REAL)
   ========================================================================== */
.editorial-essay-card {
  background: #FFFFFF;
  border: 1.5px solid #EAE5DC;
  border-radius: 16px;
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
}

@media (max-width: 768px) {
  .editorial-essay-card {
    padding: 2.5rem 1.75rem;
  }
}

.essay-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--trasplante-terracota);
  margin-bottom: 1.25rem;
}

.essay-article-title {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.essay-prose {
  font-family: var(--font-editorial);
  font-size: 1.24rem;
  line-height: 1.85;
  color: #2D3748;
}

.essay-prose p {
  margin-bottom: 1.5rem;
}

.dropcap-paragraph::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.8rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--trasplante-terracota);
}

.editorial-quote-pull {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: var(--trasplante-terracota-bg);
  border-left: 4px solid var(--trasplante-terracota);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.6;
  color: #2A120E;
  border-radius: 0 10px 10px 0;
}

.essay-footer {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid #EAE5DC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-signature {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.link-external-publication {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--trasplante-terracota);
}

.link-external-publication:hover {
  text-decoration: underline;
}

/* Comparativa de Copy: Antes vs Después */
.before-after-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .before-after-box {
    grid-template-columns: 1fr;
  }
}

.comparison-column {
  padding: 2rem;
  border-radius: 12px;
}

.comparison-column.before {
  background: #FFF5F5;
  border: 1.5px solid #FED7D7;
}

.comparison-column.after {
  background: var(--popular-green-bg);
  border: 1.5px solid #C6F6D5;
}

.comp-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.comp-badge.bad { color: #C53030; }
.comp-badge.good { color: var(--popular-green-dark); }

.comp-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.comp-verdict {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   EMAIL STACK
   ========================================================================== */
.email-sequence-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.email-preview-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.email-preview-card:hover {
  border-color: var(--email-blue);
  box-shadow: var(--shadow-card);
}

.email-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.email-seq-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--email-blue);
}

.email-metric-tag {
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--email-blue-bg);
  color: var(--email-blue);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.email-meta-line {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.email-content-prose {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.email-content-prose p {
  margin-bottom: 0.85rem;
}

.email-mock-btn {
  display: inline-block;
  font-weight: 700;
  color: var(--email-blue);
  background: var(--email-blue-bg);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   MÉTRICAS & BOTONES DE ACCIÓN
   ========================================================================== */
.case-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border-light);
}

.metrics-strip {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.m-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.m-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-inspect-piece {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text-primary);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-inspect-piece:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* ==========================================================================
   MANIFIESTO / SOBRE ISABEL POVEDA
   ========================================================================== */
.manifesto-section {
  padding: 6.5rem 1.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.manifesto-photo-col {
  position: sticky;
  top: 90px;
}

.photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.photo-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-caption-pill {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.manifesto-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--popular-green-dark);
  margin-bottom: 1rem;
}

.manifesto-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.manifesto-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.manifesto-body p {
  margin-bottom: 1.25rem;
}

.manifesto-body a {
  color: var(--text-primary);
  text-decoration: underline;
  font-weight: 700;
}

.manifesto-highlight {
  font-weight: 700;
  color: var(--text-primary);
  padding: 1.25rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--popular-green);
  border-radius: 0 8px 8px 0;
  margin-top: 1.5rem;
}

.manifesto-bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.m-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.m-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--popular-green-bg);
  color: var(--popular-green-dark);
  font-weight: 800;
  border-radius: 50%;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   CONTACTO DIRECTO (SIN FRICCIÓN)
   ========================================================================== */
.contact-section {
  padding: 6rem 1.5rem;
  background: var(--bg-dark);
  color: #FFFFFF;
}

.contact-box-modern {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.contact-pill {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--popular-yellow);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.contact-subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 2.75rem;
}

.contact-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-wa-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--wa-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1.1rem 2.25rem;
  border-radius: 9999px;
  transition: all 0.25s var(--ease);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-wa-action:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.4);
}

.copy-email-widget {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.65rem 0.75rem 0.65rem 1.25rem;
  border-radius: 9999px;
}

.email-address {
  font-size: 0.95rem;
  color: #E2E8F0;
  font-family: monospace;
}

.btn-copy-widget {
  background: #FFFFFF;
  color: var(--text-primary);
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.btn-copy-widget:hover {
  background: var(--popular-yellow);
}

.contact-links-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.c-link {
  color: #94A3B8;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.c-link:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #06090E;
  color: #64748B;
  padding: 2rem 1.5rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-inner strong {
  color: #94A3B8;
}

/* ==========================================================================
   MODAL INSPECTOR
   ========================================================================== */
.piece-inspector-modal {
  margin: auto;
  border: none;
  border-radius: 16px;
  background: transparent;
  padding: 1.5rem;
  max-width: 820px;
  width: 95%;
}

.piece-inspector-modal::backdrop {
  background: rgba(11, 15, 23, 0.75);
  backdrop-filter: blur(8px);
}

.inspector-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.inspector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  border-bottom: 1.5px solid var(--border-light);
  background: #FAF8FF;
}

.inspector-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.inspector-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--text-primary);
}

.inspector-close {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-primary);
}

.inspector-close:hover {
  background: var(--text-primary);
  color: #FFFFFF;
}

.inspector-body {
  padding: 2.25rem 2rem;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.inspector-body h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.inspector-body p {
  margin-bottom: 1rem;
}

/* Toast */
.floating-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text-primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.25s var(--ease);
  z-index: 9999;
}

.floating-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FORMAS ORGÁNICAS, ARCOS & TEXTOS BIEN ADORNADOS (ESTILO LOOKBOOK EDITORIAL)
   ========================================================================== */

/* Arcos Editoriales Arquitectónicos */
.shape-arch-frame {
  position: relative;
  border-radius: 180px 180px 28px 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  border: 2px solid var(--border-light);
  background: #FFFFFF;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.shape-arch-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -12px rgba(15, 23, 42, 0.18);
}

.shape-arch-landscape {
  position: relative;
  border-radius: 120px 120px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border-light);
  background: #FFFFFF;
}

/* Tarjetas Asimétricas & Contornos Curvos */
.shape-pill-card {
  border-radius: 36px 12px 36px 12px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease);
}

.shape-pill-card:hover {
  border-radius: 12px 36px 12px 36px;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.shape-organic-card {
  border-radius: 28px 28px 40px 16px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

/* Textos Adornados con Marcador / Ink Highlights */
.ink-highlight {
  background: linear-gradient(120deg, rgba(255, 199, 0, 0.35) 0%, rgba(255, 199, 0, 0.25) 100%);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ink-highlight-green {
  background: linear-gradient(120deg, rgba(0, 133, 66, 0.18) 0%, rgba(0, 133, 66, 0.1) 100%);
  color: var(--popular-green-dark);
  font-weight: 700;
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

.ink-highlight-gold {
  background: linear-gradient(120deg, rgba(197, 168, 128, 0.35) 0%, rgba(197, 168, 128, 0.18) 100%);
  color: #7A5C33;
  font-weight: 700;
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

.ink-highlight-terracota {
  background: linear-gradient(120deg, rgba(186, 75, 57, 0.2) 0%, rgba(186, 75, 57, 0.1) 100%);
  color: var(--trasplante-terracota);
  font-weight: 700;
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

/* Notas Editoriales al Margen (Post-it / Tape Scribbles) */
.margin-note-box {
  background: #FFFBEB;
  border: 1.5px dashed #F59E0B;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
  transform: rotate(-1.2deg);
  transition: transform 0.2s var(--ease);
}

.margin-note-box:hover {
  transform: rotate(0deg) scale(1.01);
}

.margin-note-box.coral {
  background: #FFF5F5;
  border-color: #F87171;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.1);
  transform: rotate(1.2deg);
}

.margin-note-box.green {
  background: #F0FDF4;
  border-color: #4ADE80;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.1);
  transform: rotate(-1deg);
}

.margin-note-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B45309;
  margin-bottom: 0.5rem;
}

.margin-note-box.coral .margin-note-header {
  color: #B91C1C;
}

.margin-note-box.green .margin-note-header {
  color: #15803D;
}

.margin-note-body {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Sellos Circulares de Autoridad (Editorial Stamp) */
.editorial-stamp {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  font-weight: 800;
  font-size: 0.65rem;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  transition: transform 0.3s var(--ease);
}

.editorial-stamp:hover {
  transform: rotate(0deg) scale(1.08);
}

.editorial-stamp.gold {
  color: #8C6D41;
  background: rgba(197, 168, 128, 0.12);
  border-color: #C5A880;
}

.editorial-stamp.green {
  color: #006834;
  background: rgba(0, 133, 66, 0.1);
  border-color: #008542;
}

.editorial-stamp.terracota {
  color: #9C3322;
  background: rgba(186, 75, 57, 0.12);
  border-color: #BA4B39;
}

/* Stickers Flotantes con Ángulo */
.sticker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  transform: rotate(-2deg);
}

.sticker-tag.green {
  background: #EAF7EE;
  color: #008542;
  border: 1px solid #86EFAC;
}

.sticker-tag.gold {
  background: #FDF9F3;
  color: #785A32;
  border: 1px solid #E5D5C0;
}

.sticker-tag.coral {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Grid Editorial Asimétrico para Storytelling */
.storytelling-asymmetric-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

@media (max-width: 992px) {
  .storytelling-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.copy-lessons-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lesson-editorial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.lesson-editorial-card:hover {
  transform: translateX(6px);
  border-color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.lesson-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.lesson-editorial-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.lesson-editorial-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Video Commercial Card */
.video-commercial-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0B0F17;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.video-iframe-container {
  position: relative;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}

.video-iframe-container iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

.video-player-preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
  text-decoration: none;
}

.video-player-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.video-player-preview:hover img {
  transform: scale(1.025);
  opacity: 1;
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(0, 133, 66, 0.92);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(0, 133, 66, 0.28);
  transition: all 0.25s var(--ease);
}

.video-player-preview:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.12);
  background: #008542;
  box-shadow: 0 0 0 18px rgba(0, 133, 66, 0.38);
}

.video-details-bar {
  padding: 1.75rem 2.25rem;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   RESPONSIVE DESIGN MILIMÉTRICO (MOBILE FIRST & DESKTOP ADJUSTMENTS)
   ========================================================================== */

/* Reglas Globales Anti-Desborde */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

/* Tablet & Pantallas Medianas (<= 992px) */
@media (max-width: 992px) {
  .header-nav { display: none; }
  .brand-subtitle { display: none; }
  .mobile-menu-toggle { display: flex; }
  
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .storytelling-asymmetric-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Tablets Pequeñas & Móviles (<= 768px) */
@media (max-width: 768px) {
  .hero-showcase {
    padding: 3.25rem 1rem 0;
  }

  .hero-wrapper {
    padding-bottom: 2.5rem;
  }

  .hero-pill-status {
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .pill-text {
    font-size: 0.7rem;
  }

  .hero-display-headline {
    font-size: clamp(1.85rem, 8.5vw, 2.75rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
  }

  .hero-statement {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-primary-bold, .btn-secondary-bold {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  .case-lookbook {
    padding: 3.25rem 1rem;
  }

  .case-meta-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .case-headline {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
    line-height: 1.2;
    word-break: break-word;
  }

  .case-lead-text {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .real-social-grid, .real-social-grid-three {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .social-card-content {
    padding: 1.25rem 1rem;
  }

  .social-hook-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .social-body-copy {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .video-commercial-card {
    border-radius: 16px;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
  }

  .video-details-bar {
    padding: 1.25rem 1rem;
  }

  .video-tech-breakdown-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .case-footer-action {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding-top: 1.5rem;
  }

  .metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
  }

  .metric-item {
    text-align: left;
  }

  .m-number {
    font-size: 1.45rem;
  }

  .m-desc {
    font-size: 0.68rem;
  }

  .btn-inspect-piece {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  .editorial-essay-card {
    padding: 2rem 1.25rem;
    border-radius: 14px;
    margin-bottom: 2rem;
  }

  .essay-article-title {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
  }

  .before-after-box {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .comparison-column {
    padding: 1.25rem 1rem;
  }

  .manifesto-section {
    padding: 3.5rem 1rem;
  }

  .manifesto-photo-col {
    position: static;
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }

  .photo-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .manifesto-title {
    font-size: clamp(1.45rem, 6vw, 2.1rem);
    line-height: 1.2;
  }

  .manifesto-body {
    font-size: 0.96rem;
  }

  .contact-section {
    padding: 3.5rem 1rem;
  }

  .contact-title {
    font-size: clamp(1.6rem, 6.5vw, 2.3rem);
  }

  .contact-subtitle {
    font-size: 0.96rem;
    margin-bottom: 2rem;
  }

  .contact-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-bottom: 2.25rem;
  }

  .btn-wa-action {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.95rem 1.25rem;
  }

  .copy-email-widget {
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 16px;
    padding: 1.15rem 1rem;
  }

  .email-address {
    font-size: 0.84rem;
    word-break: break-all;
    text-align: center;
  }

  .btn-copy-widget {
    width: 100%;
    text-align: center;
    padding: 0.65rem;
  }

  .contact-links-grid {
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    font-size: 0.78rem;
  }

  .piece-inspector-modal {
    width: 94vw;
    max-width: 94vw;
    max-height: 88vh;
    padding: 0;
    border-radius: 16px;
    margin: auto;
  }

  .inspector-card {
    border-radius: 16px;
  }

  .inspector-header {
    padding: 1.15rem 1.15rem;
  }

  .inspector-title {
    font-size: 1.15rem;
  }

  .inspector-body {
    padding: 1.15rem;
    max-height: calc(88vh - 90px);
    overflow-y: auto;
    font-size: 0.92rem;
  }
}

/* Teléfonos Móviles Estándar (<= 640px) */
@media (max-width: 640px) {
  .site-header {
    height: 58px;
  }

  .header-container {
    padding: 0 0.85rem;
    gap: 0.5rem;
  }

  .brand-title {
    font-size: 1.02rem;
  }

  .cta-text-full {
    display: none;
  }

  .cta-text-short {
    display: inline;
  }

  .btn-header-cta {
    padding: 0.42rem 0.8rem;
    font-size: 0.78rem;
    background: var(--wa-green);
    color: #FFFFFF;
  }

  .btn-header-cta:hover {
    background: var(--wa-green-hover);
  }

  .mobile-nav-drawer {
    top: 58px;
    height: calc(100vh - 58px);
  }

  .shape-arch-frame {
    border-radius: 20px;
  }

  .shape-arch-landscape {
    border-radius: 16px;
  }

  .shape-pill-card {
    padding: 1.35rem 1rem !important;
    border-radius: 20px 8px 20px 8px !important;
  }

  .shape-organic-card {
    border-radius: 16px;
  }

  .mag-manifesto-card {
    padding: 1.35rem 1rem !important;
    border-radius: 16px !important;
  }

  .editorial-stamp {
    width: 72px;
    height: 72px;
    font-size: 0.58rem;
    transform: none !important;
    margin: 0.5rem auto 1rem;
  }

  .margin-note-box {
    transform: none !important;
    padding: 1rem 1.15rem;
    border-radius: 12px;
  }

  .sticker-tag {
    transform: none !important;
    font-size: 0.72rem;
    padding: 0.28rem 0.65rem;
  }

  .instagram-simulator-wrapper {
    border-radius: 14px;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

  .ig-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
  }

  .ig-user-info {
    width: 100%;
  }

  .ig-follow-link {
    font-size: 0.76rem;
    padding: 0.3rem 0.75rem;
    align-self: flex-start;
  }

  .ig-slide-viewport {
    padding: 1.5rem 1.15rem;
    min-height: 200px;
  }

  .ig-slide-hook {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
  }

  .ig-slide-body {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .ig-controls-bar {
    padding: 0.75rem 1.15rem;
  }

  .ig-btn {
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
  }

  .email-preview-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .email-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .email-seq-badge {
    font-size: 0.68rem;
  }

  .email-metric-tag {
    font-size: 0.72rem;
  }

  .email-meta-line {
    font-size: 0.92rem;
  }

  .email-content-prose {
    font-size: 0.9rem;
  }

  .email-mock-btn {
    width: 100%;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.65rem 0.75rem;
  }

  .social-img {
    height: 210px !important;
  }
}

/* Teléfonos Compactos (<= 440px) */
@media (max-width: 440px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .btn-header-cta {
    padding: 0.38rem 0.65rem;
    font-size: 0.75rem;
  }

  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .metrics-strip .metric-item:last-child {
    grid-column: span 2;
  }

  .m-number {
    font-size: 1.35rem;
  }

  .hero-display-headline {
    font-size: 1.85rem;
  }
}

