/* ═══════════════════════════════════════════════════════════
   Rodney.Design — Global Styles & Component System
   Version: v20260217-2 (Dark Portfolio Cards for Animations)
   ═══════════════════════════════════════════════════════════ */

/* CSS Variables */
:root {
  --primary: #007bff;
  --secondary: #6c757d;
  --dark: #0f1729;
  --light: #f8f9fa;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --spacing: 1rem;
  --font-family: 'Arial', sans-serif;
  --orange: #ff6600;
  --blue: #007bff;
}

/* MOBILE FIXES — HEADER + PRICING TABLE */
/* Critical reset: eliminates white line in mobile header (iOS Safari sticky+blur bug) */
html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--light);
  overflow-x: hidden;
  /* Prevent horizontal scroll causing white gaps */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  min-height: 100vh;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
}

.skip-to-content:focus {
  left: 6px;
  top: 7px;
  z-index: 100;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER ANTIGUO ELIMINADO (líneas 53-205)
   RAZÓN: Conflicto con .site-header premium (línea 6370+)
   SÍNTOMAS: Safari muestra header naranja, Chrome menú roto
   SOLUCIÓN: Solo usar .site-header premium glassmorphism
   ═══════════════════════════════════════════════════════════════ */

/* FORCE: Solo header premium visible (except project pages with inline headers) */
header:not(.site-header):not([style]) {
  display: none !important;
}

.site-header {
  display: block !important;
}

/* Header antiguo comentado - NO USAR
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem var(--spacing);
  background-color: var(--orange);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease;
  padding-left: max(var(--spacing), env(safe-area-inset-left));
  padding-right: max(var(--spacing), env(safe-area-inset-right));
  padding-top: max(0.3rem, env(safe-area-inset-top));
}

/* Mobile Menu Toggle antiguo - COMENTADO
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
*/

/* Header antiguo estados - COMENTADO (conflicto con .site-header)
header.header-scrolled {
  background-color: var(--orange);
}

header.header-blue {
  background-color: var(--blue) !important;
}

header.header-scrolled .nav-list a {
  color: white;
}

header.header-scrolled .nav-list a.active {
  color: var(--orange);
  font-weight: bold;
}

header.header-blue .nav-list a.active {
  color: var(--orange);
  font-weight: bold;
}

.logo-container img {
  height: 70px;
  transition: all 0.3s ease;
}

.logo-container img:hover {
  transform: scale(1.05);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: var(--spacing);
}

.nav-list a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
}

.nav-list a.active {
  color: var(--blue);
  font-weight: bold;
}

.nav-list li {
  position: relative;
}

.portfolio-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--orange);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: var(--spacing);
  display: none;
  z-index: 20;
  min-width: 200px;
}

.portfolio-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  background-color: white;
  color: var(--orange);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.portfolio-submenu a:hover {
  background-color: var(--orange);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.portfolio-submenu.show {
  display: block;
}

header.header-scrolled .portfolio-submenu a {
  color: var(--orange);
  background-color: white;
}

header.header-scrolled .portfolio-submenu a:hover {
  background-color: var(--orange);
  color: white;
}
*/

/* ========================================
   HERO SECTION - ULTRA PROFESSIONAL DESIGN
   ======================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, #0056b3 0%, #007BFF 50%, #0066cc 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  animation: hero-gradient-shift 8s ease-in-out infinite;
}

@keyframes hero-gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Background Decorative Elements */
.hero-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(40px);
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  top: -300px;
  right: -200px;
  animation: float-circle-1 20s ease-in-out infinite;
}

.hero-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  animation: float-circle-2 15s ease-in-out infinite;
}

.hero-circle-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-circle-3 12s ease-in-out infinite;
}

@keyframes float-circle-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

@keyframes float-circle-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -20px) scale(0.9);
  }
}

@keyframes float-circle-3 {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -60%) scale(1.15);
  }
}

/* Hero Container */
.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  animation: hero-fade-in 1.2s ease-out;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: hero-fade-in 1.2s ease-out 0.2s both;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-badge .badge-icon {
  font-size: 1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Hero Headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  animation: hero-fade-in 1.2s ease-out 0.4s both;
}

.hero-headline-top {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.hero-headline-main {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Subheadline */
.hero-subheadline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 3rem;
  animation: hero-fade-in 1.2s ease-out 0.6s both;
}

/* Social Proof Stats */
.hero-social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: hero-fade-in 1.2s ease-out 1s both;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proof-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 2.5rem;
  }

  .hero-headline-top {
    font-size: 1.25rem;
  }

  .hero-headline-main {
    font-size: 2.5rem;
  }

  .hero-subheadline {
    font-size: 1.125rem;
  }

  .hero-circle-1,
  .hero-circle-2,
  .hero-circle-3 {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero-badges {
    gap: 0.75rem;
  }

  .hero-badge {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }

  .hero-headline-top {
    font-size: 1.125rem;
  }

  .hero-headline-main {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-social-proof {
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .proof-divider {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1rem 2rem;
  }

  .hero-badges {
    gap: 0.5rem;
  }

  .hero-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .hero-badge .badge-icon {
    font-size: 0.8rem;
  }

  .hero-headline-top {
    font-size: 0.9rem;
  }

  .hero-headline-main {
    font-size: 1.6rem;
  }

  .hero-subheadline {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .proof-divider {
    display: none;
  }

  .proof-stat {
    min-width: 100px;
  }
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  margin: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button.secondary:hover {
  background-color: #ffff00;
  color: var(--dark);
}

/* ========================================
   HERO CTA BUTTONS - ULTRA PREMIUM DESIGN
   ======================================== */

.hero-cta-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding: 0 1rem;
}

/* PRIMARY CTA - "Ver Paquetes" */
.hero-cta-primary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid #d4af37;
  border-radius: 16px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 8px 32px rgba(212, 175, 55, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(0);
}

.hero-cta-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-cta-primary:hover::before {
  opacity: 1;
}

.hero-cta-primary .cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero-cta-primary:hover .cta-shine {
  left: 100%;
}

.hero-cta-primary:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #f0e68c;
  box-shadow:
    0 12px 48px rgba(212, 175, 55, 0.4),
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-cta-primary:active {
  transform: translateY(-2px) scale(1);
}

.hero-cta-primary .cta-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-cta-primary .cta-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
  animation: pulse-diamond 2s ease-in-out infinite;
}

@keyframes pulse-diamond {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.hero-cta-primary .cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hero-cta-primary .cta-main {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cta-primary .cta-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #d4af37;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* SECONDARY CTA - "Ver Portafolio" */
.hero-cta-secondary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  transform: translateY(0);
}

.hero-cta-secondary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-cta-secondary:hover::before {
  opacity: 1;
}

.hero-cta-secondary .cta-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.15), transparent);
  transition: left 0.8s ease;
}

.hero-cta-secondary:hover .cta-glow {
  left: 100%;
}

.hero-cta-secondary:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: #007BFF;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 255, 1) 100%);
  box-shadow:
    0 8px 32px rgba(0, 123, 255, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-cta-secondary:active {
  transform: translateY(-1px) scale(1);
}

.hero-cta-secondary .cta-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-cta-secondary .cta-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 2px 4px rgba(0, 123, 255, 0.2));
  transition: transform 0.3s ease;
}

.hero-cta-secondary:hover .cta-icon {
  transform: rotate(-10deg) scale(1.1);
}

.hero-cta-secondary .cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hero-cta-secondary .cta-main {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.hero-cta-secondary:hover .cta-main {
  color: #007BFF;
}

.hero-cta-secondary .cta-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.hero-cta-secondary:hover .cta-sub {
  color: #007BFF;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-cta-container {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    width: 100%;
    max-width: 320px;
    padding: 1.125rem 2rem;
    justify-content: center;
  }

  .hero-cta-primary .cta-icon,
  .hero-cta-secondary .cta-icon {
    font-size: 1.5rem;
  }

  .hero-cta-primary .cta-main,
  .hero-cta-secondary .cta-main {
    font-size: 1rem;
  }

  .hero-cta-primary .cta-sub,
  .hero-cta-secondary .cta-sub {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {

  .hero-cta-primary .cta-text,
  .hero-cta-secondary .cta-text {
    align-items: center;
  }

  .hero-cta-primary,
  .hero-cta-secondary {
    padding: 1rem 1.5rem;
  }
}

/* Services */
.services {
  padding: 4rem var(--spacing);
  text-align: center;
}

.services h2 {
  color: var(--orange);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing);
}

/* Animations */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

.service-card {
  padding: var(--spacing);
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  animation: shake 0.5s ease-in-out;
}

.service-card:nth-child(1) {
  animation-delay: 0.5s;
}

.service-card:nth-child(2) {
  animation-delay: 1s;
}

.service-card:nth-child(3) {
  animation-delay: 1.5s;
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    animation: none;
  }
}

.service-card:hover .step-number {
  background-color: var(--blue);
  color: white;
}

.step-number {
  font-size: 2rem;
  color: var(--blue);
}

/* Portfolio */
.portfolio {
  padding: 4rem var(--spacing);
  text-align: center;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.portfolio::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-50px, 50px);
  }
}

.portfolio h2 {
  color: var(--blue);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-header p {
  color: #6c757d;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* Carousel Styles */
.portfolio-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1500px;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2rem 0;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0 var(--spacing);
}

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 45%;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 30%;
  }
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform-style: preserve-3d;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(0, 123, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .project-card {
    transition: none;
  }
}

.project-card:hover {
  transform: translateY(-20px) rotateX(5deg) rotateY(-5deg) scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 123, 255, 0.3), 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.95);
}

.project-card:hover img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-content {
  color: white;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.project-card:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.overlay-content p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.project-meta {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  background: white;
}

.project-meta h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
}

.project-meta>p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.tags {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.tags li {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}

.tags li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media (hover: none) {
  .carousel-btn {
    display: none;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--secondary);
  cursor: pointer;
}

.carousel-dots button.active {
  background-color: var(--blue);
}

/* Thumbnails */
.thumbnails {
  padding: 4rem var(--spacing);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.thumbnails::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.thumbnails h2 {
  color: white;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.thumbnail-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.thumbnail-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.thumbnail-card:hover::after {
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.thumbnail-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(0, 123, 255, 0.5);
}

.thumbnail-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.thumbnail-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: brightness(0.95) contrast(1.1);
}

.thumbnail-card:hover img {
  transform: scale(1.12);
  filter: brightness(1.05) contrast(1.15) saturate(1.2);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(102, 126, 234, 0.4) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  backdrop-filter: blur(5px);
}

.thumbnail-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #007bff;
  padding-left: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.play-button::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.thumbnail-card:hover .play-button {
  transform: scale(1.15);
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  box-shadow: 0 15px 50px rgba(0, 123, 255, 0.6),
    0 0 0 6px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(0, 123, 255, 0.8);
}

.content {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 700;
  background: linear-gradient(135deg, #007bff 0%, #667eea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing */
.pricing {
  padding: 4rem var(--spacing);
  text-align: center;
}

/* Contact */
.contact {
  padding: 4rem var(--spacing);
  text-align: center;
  background-color: transparent;
  color: white;
  border: none;
  outline: none;
  position: relative;
  z-index: 10;
}

#contacto {
  scroll-margin-top: 90px;
}

.contact form {
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--border-radius);
}

.contact button {
  padding: 0.75rem 1.5rem;
  background-color: var(--blue);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact button:hover {
  background-color: var(--orange);
  color: white;
  transform: translateY(-2px);
}

/* Nueva Sección de Servicios - Rodney.Design */
.services-new {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Introducción del diseñador */
.services-intro {
  max-width: 1200px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.intro-content {
  text-align: left;
}

.brand-mark {
  margin-bottom: 1.5rem;
}

.brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.brand-dot {
  color: var(--orange);
  font-size: 2rem;
}

.tagline {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline-sub {
  font-size: 1.3rem;
  color: var(--secondary);
  font-weight: 400;
  margin-top: 1rem;
}

/* Formas abstractas */
.intro-visual {
  position: relative;
  height: 400px;
  overflow: visible;
  z-index: 1;
}

.abstract-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 6s ease-in-out infinite;
  cursor: grab;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  pointer-events: auto;
  touch-action: none;
}

.abstract-shape:active {
  cursor: grabbing;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(255, 102, 0, 0.2) 100%);
  top: 0;
  left: 20%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.3) 0%, rgba(0, 123, 255, 0.1) 100%);
  bottom: 50px;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(255, 102, 0, 0.25) 100%);
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Animaciones interactivas para óvalos */
.shape-shake {
  animation: shake-shape 0.5s ease-in-out !important;
}

.shape-inflate {
  animation: inflate 0.6s ease-out forwards !important;
}

.shape-explode {
  animation: explode 0.8s ease-out forwards !important;
}

@keyframes shake-shape {

  0%,
  100% {
    transform: var(--shape-transform, translate(0, 0)) translateX(0) rotate(0deg);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: var(--shape-transform, translate(0, 0)) translateX(-10px) rotate(-5deg);
  }

  20%,
  40%,
  60%,
  80% {
    transform: var(--shape-transform, translate(0, 0)) translateX(10px) rotate(5deg);
  }
}

@keyframes inflate {
  0% {
    transform: var(--shape-transform, translate(0, 0)) scale(1);
  }

  50% {
    transform: var(--shape-transform, translate(0, 0)) scale(1.3);
  }

  100% {
    transform: var(--shape-transform, translate(0, 0)) scale(1.5);
    filter: brightness(1.3);
  }
}

@keyframes explode {
  0% {
    transform: var(--shape-transform, translate(0, 0)) scale(1.5);
    opacity: 1;
  }

  50% {
    transform: var(--shape-transform, translate(0, 0)) scale(2);
    opacity: 0.7;
    filter: brightness(1.5) blur(5px);
  }

  100% {
    transform: var(--shape-transform, translate(0, 0)) scale(0);
    opacity: 0;
    filter: brightness(2) blur(10px);
  }
}

/* Servicios Principales */
.services-main {
  max-width: 1200px;
  margin: 0 auto 5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px !important;
  background: linear-gradient(90deg, #0066FF 0%, #FF6B00 100%) !important;
  box-shadow: 0 3px 12px rgba(255, 107, 0, 0.4) !important;
  margin: 1rem auto 0;
  border-radius: 50px;
  border: none;
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card-new {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--orange) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card-new:hover::before {
  transform: scaleX(1);
}

.service-card-new:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff9d00 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card-new:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.4);
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card-new h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-card-new p {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
}

/* Por qué elegir Rodney.Design */
.why-choose {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: white;
  border-radius: 30px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.brand-highlight {
  color: var(--orange);
  font-weight: 800;
}

.brand-dot {
  color: var(--blue);
  font-weight: 900;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 769px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
}

.benefit-check {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
}

.benefit-check::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(15px);
  opacity: 0.2;
  border-radius: inherit;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.benefit-item:hover .benefit-check {
  transform: scale(1.15);
}

.benefit-item:hover .benefit-check::before {
  opacity: 0.4;
}

.benefit-content h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-visual {
    height: 250px;
  }

  .tagline {
    font-size: 2rem;
  }

  .services-grid-new {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-item:hover {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .abstract-shape {
    animation: none;
  }

  .service-card-new:hover,
  .benefit-item:hover {
    transform: none;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem var(--spacing) 2rem;
  background-color: #0f1729;
  color: white;
  border: none;
  outline: none;
  margin-top: -2px;
  position: relative;
  z-index: 5;
}

.footer-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.footer-logo img {
  height: 100px;
  width: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.08);
}

.social-media {
  display: flex;
  justify-content: center;
  gap: var(--spacing);
  margin-bottom: 1rem;
}

.social-media a {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  color: var(--orange);
  transform: translateY(-3px);
}

/* Mejora de animaciones para los GIFs de proyectos */
.project-card-image img[src$=".gif"] {
  object-fit: contain;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
}

.project-card:hover img[src$=".gif"] {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE PROJECT CARDS
   For Di Classe and Gypsum with native black-background animations
   ═══════════════════════════════════════════════════════════ */

/* Di Classe - Dark Card Treatment */
a[href*="project2.html"].project-card {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

a[href*="project2.html"].project-card::before {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.15) 0%, rgba(0, 123, 255, 0.15) 100%);
}

a[href*="project2.html"].project-card:hover {
  box-shadow: 0 25px 60px rgba(0, 123, 255, 0.4), 0 0 0 2px rgba(0, 123, 255, 0.3);
}

a[href*="project2.html"] .project-card-image {
  background: #000000;
}

a[href*="project2.html"] .project-card-image img {
  object-fit: contain;
  padding: 1.5rem;
  background: transparent;
}

a[href*="project2.html"] .project-meta {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
}

a[href*="project2.html"] .project-meta h3 {
  color: #ffffff;
}

a[href*="project2.html"] .project-meta>p {
  color: #b0b0b0;
}

/* GYPSUM - Dark Card Treatment */
a[href*="project4.html"].project-card {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

a[href*="project4.html"].project-card::before {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.15) 0%, rgba(0, 123, 255, 0.15) 100%);
}

a[href*="project4.html"].project-card:hover {
  box-shadow: 0 25px 60px rgba(0, 123, 255, 0.4), 0 0 0 2px rgba(0, 123, 255, 0.3);
}

a[href*="project4.html"] .project-card-image {
  background: #000000;
}

a[href*="project4.html"] .project-card-image img {
  object-fit: contain;
  padding: 1.5rem;
  background: transparent;
}

a[href*="project4.html"] .project-meta {
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
}

a[href*="project4.html"] .project-meta h3 {
  color: #ffffff;
}

a[href*="project4.html"] .project-meta>p {
  color: #b0b0b0;
}

/* Mejora de animaciones para los GIFs de proyectos */
.project-card-image img[src$=".gif"] {
  object-fit: contain;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
}

.project-card:hover img[src$=".gif"] {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ========================================
   PRICING PAGE CONVERSION STYLES
   Encapsulated with .pricing-page wrapper
   ======================================== */

.pricing-page {
  --price-orange: #ff6600;
  --price-orange-2: #ff9d00;
  --price-blue: #007bff;
  --price-gold: #d4af37;
  --price-green: #28a745;
  --price-red: #dc3545;
  --radius: 16px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* 1. HERO PREMIUM */
.pricing-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight-orange {
  color: var(--price-orange);
  position: relative;
  font-weight: 800;
}

.highlight-red {
  color: #ff6b6b;
}

.highlight-blue {
  color: #4dabf7;
}

.highlight-green {
  color: #51cf66;
}

.highlight-gold {
  color: var(--price-gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-price {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary,
.btn-whatsapp,
.btn-secondary,
.btn-outline,
.btn-urgency,
.btn-cta-primary,
.btn-cta-whatsapp {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary,
.btn-urgency,
.btn-cta-primary {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
  color: white;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.35);
}

.btn-primary:hover,
.btn-urgency:hover,
.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(255, 102, 0, 0.45);
}

.btn-whatsapp,
.btn-cta-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover,
.btn-cta-whatsapp:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
  background: #22c55e;
}

.btn-secondary {
  background: var(--price-blue);
  color: white;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--price-blue);
  border: 2px solid var(--price-blue);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--price-blue);
  color: white;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 2. SOCIAL PROOF BAR */
.social-proof-bar {
  background: #f8f9fa;
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.proof-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-pills {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.brand-pill {
  background: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.brand-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  color: var(--price-blue);
}

/* 3. PAIN SECTION */
.pain-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.pain-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #212529;
  line-height: 1.3;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #f8f9fa;
}

.pain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: #ffeceb;
}

.pain-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #212529;
}

.pain-card p {
  color: #6c757d;
  line-height: 1.6;
}

.pain-agitate {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border-left: 4px solid var(--price-red);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
}

.pain-agitate p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
}

.pain-solution {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-left: 4px solid var(--price-blue);
  padding: 2rem;
  border-radius: var(--radius);
}

.pain-solution h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.pain-solution p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #495057;
}

/* 4. PACKAGES SECTION */
.packages-section {
  max-width: 1400px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.packages-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: #212529;
}

.packages-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  justify-items: center;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

/* ========================================
   2-TIER LAYOUT SYSTEM
   Tier 1: Planes Mensuales (Featured)
   Tier 2: Paquetes de Branding (Standard)
   ======================================== */

.packages-tier-label {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.packages-tier-label .tier-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.packages-tier-label .tier-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.5rem;
}

.packages-tier-label .tier-desc {
  font-size: 1rem;
  color: #6c757d;
  max-width: 500px;
  margin: 0 auto;
}

.packages-tier-label--secondary {
  margin-top: 3rem;
}

.packages-tier-label--secondary .tier-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #495057;
}

/* Featured Grid: 2-column for monthly plans */
.packages-grid--featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2rem;
  justify-items: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1rem 2rem;
}

.packages-grid--featured .package-card {
  max-width: 400px;
  width: 100%;
}

/* Standard Grid: auto-fit for branding packages */
.packages-grid--standard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  justify-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.packages-grid--standard .package-card {
  max-width: 300px;
}

/* Mobile: single column for featured */
@media (max-width: 768px) {
  .packages-grid--featured {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem;
    max-width: 380px;
  }

  .packages-grid--featured .package-card {
    max-width: 100%;
    transform: none !important;
  }

  .packages-grid--featured .package-card.retainer-premium,
  .packages-grid--featured .package-card.glow-orange,
  .packages-grid--featured .package-card.glow-blue {
    transform: none !important;
    padding: 1.5rem;
  }

  .packages-grid--featured .package-card .package-price {
    font-size: 2.2rem !important;
  }

  .packages-grid--standard {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0.5rem;
    max-width: 380px;
  }

  .packages-grid--standard .package-card {
    max-width: 100%;
    transform: none !important;
    padding: 1.5rem;
  }

  .packages-grid--standard .package-card .package-price {
    font-size: 2rem;
  }

  .packages-tier-label {
    margin-bottom: 1.5rem;
  }

  .packages-tier-label--secondary {
    margin-top: 2rem;
  }
}

.package-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 2px solid #f1f3f5;
  position: relative;
  width: 100%;
  max-width: 320px;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #e9ecef;
}

/* Standard Packages - Llamativos pero profesionales */
.package-card.package-standard {
  border: 2px solid rgba(0, 123, 255, 0.25);
  background: linear-gradient(135deg,
      rgba(0, 123, 255, 0.04) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(0, 123, 255, 0.02) 100%);
  box-shadow:
    0 4px 16px rgba(0, 123, 255, 0.15),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
  max-width: 330px;
}

.package-card.package-standard:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 10px 30px rgba(0, 123, 255, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 123, 255, 0.4);
}

.package-card.package-standard .package-cta {
  background: linear-gradient(135deg, var(--price-blue) 0%, #0056b3 100%);
  font-size: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.package-card.package-standard .package-cta:hover {
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
  transform: scale(1.05);
}

.package-card.package-standard .package-price {
  color: var(--price-blue);
  font-size: 2.6rem;
}

/* HERO CARD 1: Branding Avanzado - Premium Dark con Oro */
.package-card.premium {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 3px solid var(--price-gold);
  box-shadow:
    0 15px 50px rgba(212, 175, 55, 0.35),
    0 5px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: scale(1.08);
  max-width: 360px;
  padding: 2.5rem;
  z-index: 10;
}

/* Premium card variant (violet treatment) */
.package-card.card-premium {
  background: linear-gradient(135deg, #141414 0%, #1f1f1f 100%);
  border: 3px solid #6f42c1;
  box-shadow:
    0 15px 50px rgba(111, 66, 193, 0.35),
    0 5px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(1.06);
  max-width: 360px;
  padding: 2.5rem;
  z-index: 10;
  position: relative;
}

.package-card.card-premium:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow:
    0 20px 60px rgba(111, 66, 193, 0.45),
    0 8px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-color: #9b59b6;
}

.package-card.card-premium .package-name,
.package-card.card-premium .package-desc,
.package-card.card-premium .package-price,
.package-card.card-premium .package-features,
.package-card.card-premium .package-note {
  color: white;
}

.package-card.card-premium .package-price {
  color: #9b59b6;
  text-shadow: 0 2px 10px rgba(111, 66, 193, 0.35);
}

.package-card.card-premium .package-features li {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.package-card.card-premium .package-features i {
  color: #9b59b6;
}

.package-card.card-premium .meta-item {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

.package-card.card-premium .meta-item i {
  color: #9b59b6;
}

.package-card.card-premium .package-ideal {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #9b59b6;
  color: rgba(255, 255, 255, 0.8);
}

.package-card.card-premium .package-ideal strong {
  color: #9b59b6;
}

.package-card.card-premium .package-note-premium {
  background: rgba(111, 66, 193, 0.12);
  border-left-color: #9b59b6;
  color: #e5d7ff !important;
}

.package-card.card-premium .package-cta {
  background: linear-gradient(135deg, var(--price-blue), #0056b3);
}

.package-card.card-premium .package-cta:hover {
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.45);
}

.package-card.premium .package-price {
  color: var(--price-gold);
  font-size: 2.8rem;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.package-card.premium .package-cta {
  padding: 1.2rem;
  font-size: 1.1rem;
}

/* HERO CARD 2: Retainer Premium - Naranja Vibrante */
.package-card.retainer-premium {
  border: 3px solid var(--price-orange);
  background: linear-gradient(135deg,
      rgba(255, 102, 0, 0.06) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 102, 0, 0.03) 100%);
  box-shadow:
    0 15px 50px rgba(255, 102, 0, 0.3),
    0 5px 20px rgba(255, 102, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: scale(1.08);
  max-width: 360px;
  padding: 2.5rem;
  z-index: 10;
  position: relative;
  overflow: visible;
}

.package-card.retainer-premium::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2), var(--price-orange));
  border-radius: 16px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.package-card.retainer-premium:hover::before {
  opacity: 0.3;
  animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.6;
  }
}

.package-card.retainer-premium:hover {
  transform: scale(1.11) translateY(-8px);
  box-shadow:
    0 20px 60px rgba(255, 102, 0, 0.4),
    0 8px 30px rgba(255, 102, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: var(--price-orange-2);
}

.package-card.retainer-premium .package-price {
  color: var(--price-orange);
  font-size: 2.8rem;
  text-shadow: 0 2px 10px rgba(255, 102, 0, 0.2);
}

.package-card.retainer-premium .package-features i {
  color: var(--price-orange);
  font-size: 1.2rem;
}

.package-card.retainer-premium .package-cta {
  padding: 1.2rem;
  font-size: 1.1rem;
}

/* ========================================
   PREMIUM GLOW EFFECTS
   Brand Builder = Orange Glow
   Web Brand Build = Blue Glow
   ======================================== */

/* Orange Glow for Brand Builder Mensual */
.package-card.glow-orange {
  animation: glowPulseOrange 3s ease-in-out infinite;
}

@keyframes glowPulseOrange {

  0%,
  100% {
    box-shadow:
      0 15px 50px rgba(255, 102, 0, 0.3),
      0 5px 20px rgba(255, 102, 0, 0.15),
      0 0 30px rgba(255, 102, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  50% {
    box-shadow:
      0 15px 60px rgba(255, 102, 0, 0.5),
      0 5px 30px rgba(255, 102, 0, 0.25),
      0 0 50px rgba(255, 102, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
}

.package-card.glow-orange:hover {
  animation: none;
  box-shadow:
    0 20px 70px rgba(255, 102, 0, 0.5),
    0 8px 30px rgba(255, 102, 0, 0.3),
    0 0 60px rgba(255, 102, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Blue Glow for Web Brand Build */
.package-card.glow-blue {
  border-color: var(--price-blue);
  background: linear-gradient(135deg,
      rgba(0, 123, 255, 0.06) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(0, 123, 255, 0.03) 100%);
  animation: glowPulseBlue 3s ease-in-out infinite;
}

@keyframes glowPulseBlue {

  0%,
  100% {
    box-shadow:
      0 15px 50px rgba(0, 123, 255, 0.3),
      0 5px 20px rgba(0, 123, 255, 0.15),
      0 0 30px rgba(0, 123, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  50% {
    box-shadow:
      0 15px 60px rgba(0, 123, 255, 0.5),
      0 5px 30px rgba(0, 123, 255, 0.25),
      0 0 50px rgba(0, 123, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
}

.package-card.glow-blue:hover {
  animation: none;
  border-color: #0056b3;
  box-shadow:
    0 20px 70px rgba(0, 123, 255, 0.5),
    0 8px 30px rgba(0, 123, 255, 0.3),
    0 0 60px rgba(0, 123, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.package-card.glow-blue .package-price {
  color: var(--price-blue);
  text-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

.package-card.glow-blue .package-features i {
  color: var(--price-blue);
}

.package-card.glow-blue .retainer-badge-pkg {
  background: var(--price-blue);
}

.package-card.glow-blue .package-cta {
  background: var(--price-blue);
}

.package-card.glow-blue .package-cta:hover {
  background: #0056b3;
}

.package-card.glow-blue .package-note-premium {
  background: rgba(0, 123, 255, 0.1);
  border-left-color: var(--price-blue);
  color: var(--price-blue) !important;
}

.package-note-premium {
  background: rgba(255, 102, 0, 0.1);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--price-orange);
  color: var(--price-orange) !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.package-card.recommended {
  border-color: var(--price-orange);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.2);
}

.package-card.premium {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 2px solid var(--price-gold);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
  transform: scale(1.05);
}

.package-card.premium:hover {
  transform: scale(1.08) translateY(-8px);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.package-card.premium .package-name,
.package-card.premium .package-desc,
.package-card.premium .package-price,
.package-card.premium .package-features,
.package-card.premium .package-note {
  color: white;
}

.package-card.premium .package-features i {
  color: var(--price-gold);
}

.package-card.enterprise {
  opacity: 0.85;
  border-color: #dee2e6;
  max-width: 320px;
}

/* Enterprise Package - Profesional y corporativo */
.package-card.package-enterprise {
  border: 2px solid rgba(108, 117, 125, 0.25);
  background: linear-gradient(135deg,
      rgba(108, 117, 125, 0.04) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(108, 117, 125, 0.02) 100%);
  box-shadow:
    0 4px 16px rgba(108, 117, 125, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
  max-width: 330px;
}

.package-card.package-enterprise:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 10px 30px rgba(108, 117, 125, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(108, 117, 125, 0.35);
}

.package-card.package-enterprise .package-cta {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  font-size: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(73, 80, 87, 0.3);
}

.package-card.package-enterprise .package-cta:hover {
  box-shadow: 0 6px 18px rgba(73, 80, 87, 0.4);
  transform: scale(1.05);
}

.package-card.package-enterprise .package-price {
  color: #495057;
  font-size: 2.6rem;
}

.enterprise-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
  white-space: nowrap;
}

.recommended-badge,
.premium-badge,
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.premium-badge {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  top: -15px;
}

.popular-badge {
  top: -16px;
  background: linear-gradient(135deg, var(--price-orange) 0%, var(--price-orange-2) 100%);
  padding: 0.5rem 1.8rem;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  box-shadow:
    0 6px 20px rgba(255, 102, 0, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.2);
  animation: badgePulse 3s ease-in-out infinite;
  white-space: nowrap;
}

.premium-badge--violet {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%);
  color: white;
  padding: 0.45rem 1.4rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  box-shadow: 0 6px 18px rgba(111, 66, 193, 0.45);
  white-space: nowrap;
}

@keyframes badgePulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }

  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

.retainer-badge-pkg {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--price-orange) 0%, var(--price-orange-2) 100%);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow:
    0 4px 16px rgba(255, 102, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 20;
  white-space: nowrap;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.package-term {
  display: block;
  font-size: 0.85rem;
  color: var(--price-orange);
  font-style: italic;
  margin-top: 0.5rem;
  font-weight: 700;
}

.retainer-cta-pkg {
  background: linear-gradient(135deg, var(--price-orange) 0%, var(--price-orange-2) 100%);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.retainer-cta-pkg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.retainer-cta-pkg:hover::before {
  width: 300px;
  height: 300px;
}

.retainer-cta-pkg:hover {
  box-shadow: 0 12px 40px rgba(255, 102, 0, 0.5);
  transform: scale(1.08);
}

/* Blue CTA for Web Brand Build */
.glow-blue-cta {
  background: linear-gradient(135deg, var(--price-blue) 0%, #0056b3 100%) !important;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.35) !important;
}

.glow-blue-cta:hover {
  box-shadow: 0 12px 40px rgba(0, 123, 255, 0.5) !important;
}

.package-header {
  margin-bottom: 1.5rem;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #212529;
}

.package-desc {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.5;
}

.package-pricing {
  margin-bottom: 1.5rem;
  text-align: center;
}

.package-value {
  display: block;
  font-size: 0.85rem;
  color: #6c757d;
  text-decoration: line-through;
  margin-bottom: 0.3rem;
}

.package-price {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--price-orange);
  line-height: 1;
}

.package-price sup {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
}

.package-savings {
  display: inline-block;
  background: #d1f4e0;
  color: var(--price-green);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.package-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.package-features li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #f1f3f5;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.5;
}

.package-features li:last-child {
  border-bottom: none;
}

.package-features i {
  color: var(--price-green);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.package-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--price-blue), #0056b3);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.package-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.package-cta.premium-cta {
  background: linear-gradient(135deg, var(--price-gold), #f0c83a);
  color: #1a1a1a;
  font-weight: 900;
}

.package-cta.premium-cta:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.package-note {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.package-restriction {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
  font-style: italic;
  font-weight: 400;
  text-align: center;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  /* Minimalist divider */
  line-height: 1.5;
  width: 100%;
}

.package-note.premium-note {
  color: rgba(255, 255, 255, 0.8);
}

.package-guarantee {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.package-guarantee i {
  font-size: 3rem;
  color: var(--price-blue);
  flex-shrink: 0;
}

.package-guarantee h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #212529;
}

.package-guarantee p {
  color: #495057;
  line-height: 1.6;
}

/* 5. COMPARISON TABLE */
.comparison-section {
  max-width: 1400px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.comparison-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #212529;
}

.comparison-table-wrapper {
  overflow-x: auto;
  box-shadow: var(--shadow-medium);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.95rem;
}

.comparison-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.comparison-table th {
  padding: 1.2rem 1rem;
  text-align: center;
  font-weight: 700;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th.feature-col {
  text-align: left;
  width: 30%;
}

.comparison-table th.recommended-col {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
}

.comparison-table th.premium-col {
  background: linear-gradient(135deg, var(--price-gold), #f0c83a);
  color: #1a1a1a;
}

.badge-small,
.badge-small-gold {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.3rem;
  opacity: 0.9;
}

.badge-small-violet {
  color: #f3e9ff;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #f1f3f5;
}

.comparison-table tbody tr:hover {
  background: #f8f9fa;
}

.comparison-table td {
  padding: 1rem;
  text-align: center;
  color: #495057;
}

.comparison-table td.feature-name {
  text-align: left;
  font-weight: 600;
  color: #212529;
}

.comparison-table .fa-check.green {
  color: var(--price-green);
  font-size: 1.2rem;
}

.comparison-table .fa-times.gray {
  color: #dee2e6;
  font-size: 1.2rem;
}

.comparison-table .cta-row td {
  padding: 1.5rem 1rem;
  background: #fafbfc;
}

.table-cta {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--price-blue);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.table-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

.table-cta.recommended-cta {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
}

.table-cta.premium-cta {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: white;
}

.comparison-table th.premium-col {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: white;
}

/* Brand Builder & Web Brand column highlights */
.comparison-table th.brand-builder-col {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
}

.comparison-table th.web-brand-col {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.badge-small-orange,
.badge-small-blue {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.3rem;
  opacity: 0.95;
  font-weight: 700;
}

.table-cta.brand-builder-cta {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
}

.table-cta.web-brand-cta {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Extended table: 6 columns — tighter padding */
.comparison-table--extended th,
.comparison-table--extended td {
  padding: 0.9rem 0.6rem;
  font-size: 0.88rem;
}

.comparison-table--extended th.feature-col {
  width: 22%;
}

@media (max-width: 1100px) {
  .comparison-table--extended {
    font-size: 0.8rem;
  }

  .comparison-table--extended th,
  .comparison-table--extended td {
    padding: 0.7rem 0.4rem;
    font-size: 0.78rem;
  }

  .comparison-table--extended .table-cta {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Mobile Accordion (hidden on desktop) */
.comparison-accordion {
  display: none;
}

.accordion-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.accordion-item.recommended-accordion {
  border: 2px solid var(--price-orange);
}

.accordion-item.premium-accordion {
  border: 2px solid var(--price-gold);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: #212529;
  list-style: none;
}

.accordion-item.premium-accordion .accordion-header {
  color: white;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.badge-mobile,
.badge-mobile-gold {
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  background: var(--price-orange);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-mobile-gold {
  background: var(--price-gold);
  color: #1a1a1a;
}

.accordion-content {
  padding: 0 1.2rem 1.2rem;
}

.mobile-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.mobile-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f3f5;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #495057;
}

.accordion-item.premium-accordion .mobile-features li {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.mobile-features li:last-child {
  border-bottom: none;
}

.accordion-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--price-blue);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.accordion-cta.recommended-cta {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
}

.accordion-cta.premium-cta {
  background: linear-gradient(135deg, var(--price-gold), #f0c83a);
  color: #1a1a1a;
}

/* ========================================
   BUILD / RUN PHASE TOGGLE
   Two-phase pricing architecture
   ======================================== */
.phase-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 2.5rem;
  max-width: 520px;
  background: #f1f3f5;
  border-radius: 60px;
  padding: 5px;
}

.phase-toggle__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 55px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.phase-toggle__btn.active {
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.phase-toggle__icon {
  font-size: 1.3rem;
  line-height: 1;
}

.phase-toggle__label {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #adb5bd;
  transition: color 0.3s ease;
}

.phase-toggle__btn.active .phase-toggle__label {
  color: #212529;
}

.phase-toggle__sub {
  font-size: 0.72rem;
  color: #adb5bd;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phase-toggle__btn.active .phase-toggle__sub {
  color: #6c757d;
}

/* Phase Panels */
.phase-panel {
  display: none;
  animation: fadeInPhase 0.4s ease;
}

.phase-panel.active {
  display: block;
}

@keyframes fadeInPhase {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phase-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.phase-intro__text {
  font-size: 1.05rem;
  color: #6c757d;
  line-height: 1.6;
}

/* ========================================
   BUILD GRID (3-column one-time projects)
   ======================================== */
.packages-grid--build {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  justify-items: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.packages-grid--build .package-card {
  max-width: 340px;
  width: 100%;
}

/* ========================================
   RUN GRID (2-column retainer plans)
   ======================================== */
.packages-grid--run {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
  justify-items: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.packages-grid--run .package-card {
  max-width: 400px;
  width: 100%;
}

/* ========================================
   POPULAR CARD VARIANT (Intermedio)
   Orange border + elevated treatment
   ======================================== */
.package-card.package-card--popular {
  border: 3px solid var(--price-orange);
  background: linear-gradient(135deg,
      rgba(255, 102, 0, 0.04) 0%,
      rgba(255, 255, 255, 1) 40%,
      rgba(255, 157, 0, 0.03) 100%);
  box-shadow:
    0 10px 40px rgba(255, 102, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.06);
  transform: scale(1.04);
  z-index: 5;
}

.package-card.package-card--popular:hover {
  transform: scale(1.07) translateY(-6px);
  box-shadow:
    0 15px 50px rgba(255, 102, 0, 0.3),
    0 6px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--price-orange-2);
}

.package-card.package-card--popular .package-price {
  color: var(--price-orange);
  font-size: 2.6rem;
}

.package-card.package-card--popular .package-features i {
  color: var(--price-orange);
}

.package-card.package-card--popular .package-cta {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
}

.package-card.package-card--popular .package-cta:hover {
  box-shadow: 0 8px 24px rgba(255, 102, 0, 0.5);
}

/* ========================================
   RETAINER PRO VARIANT (darker premium)
   ======================================== */
.package-card.retainer-pro {
  border-color: #6f42c1;
  background: linear-gradient(135deg,
      rgba(111, 66, 193, 0.06) 0%,
      rgba(255, 255, 255, 1) 50%,
      rgba(111, 66, 193, 0.03) 100%);
  box-shadow:
    0 15px 50px rgba(111, 66, 193, 0.25),
    0 5px 20px rgba(111, 66, 193, 0.12);
}

.package-card.retainer-pro::before {
  background: linear-gradient(135deg, #6f42c1, #9b59b6, #6f42c1);
}

.package-card.retainer-pro:hover {
  border-color: #9b59b6;
  box-shadow:
    0 20px 60px rgba(111, 66, 193, 0.35),
    0 8px 30px rgba(111, 66, 193, 0.18);
}

.package-card.retainer-pro .package-price {
  color: #6f42c1;
  text-shadow: 0 2px 10px rgba(111, 66, 193, 0.2);
}

.package-card.retainer-pro .package-features i {
  color: #6f42c1;
}

.retainer-badge-pro {
  background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%) !important;
}

.retainer-cta-pro {
  background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%) !important;
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.35) !important;
}

.retainer-cta-pro:hover {
  box-shadow: 0 12px 40px rgba(111, 66, 193, 0.5) !important;
}

.package-card.retainer-pro .package-note-premium {
  background: rgba(111, 66, 193, 0.1);
  border-left-color: #6f42c1;
  color: #6f42c1 !important;
}

/* ========================================
   PACKAGE META (delivery time + revisions)
   ======================================== */
.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
}

.meta-recommended {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-left: 0.2rem;
}

.meta-item i {
  color: var(--price-blue);
  font-size: 0.8rem;
}

/* ========================================
   PACKAGE IDEAL ("Ideal para:" block)
   ======================================== */
.package-ideal {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid var(--price-blue);
}

.package-ideal strong {
  color: #495057;
}

.package-card.premium .package-ideal {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--price-gold);
  color: rgba(255, 255, 255, 0.8);
}

.package-card.premium .package-ideal strong {
  color: var(--price-gold);
}

/* ========================================
   WEB BUILD ADDON (horizontal card)
   ======================================== */
.web-build-addon {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.web-build-addon__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.web-build-addon__inner:hover {
  border-color: var(--price-blue);
  box-shadow: 0 8px 28px rgba(0, 123, 255, 0.12);
}

.web-build-addon__info {
  flex: 1;
}

.web-build-addon__info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.5rem;
}

.web-build-addon__info h3 i {
  color: var(--price-blue);
  margin-right: 0.5rem;
}

.web-build-addon__info p {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.web-build-addon__pricing {
  text-align: center;
  flex-shrink: 0;
  min-width: 160px;
}

.web-build-addon__price {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--price-blue);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.web-build-addon__price sup {
  font-size: 0.8rem;
  font-weight: 600;
}

.web-build-addon__cta {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, var(--price-blue), #0056b3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.web-build-addon__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
}

.web-build-addon__range {
  display: block;
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
  margin-top: 0.2rem;
  margin-bottom: 0.9rem;
}

.web-build-addon__note {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.6rem;
}

.web-build-factors {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.web-build-factors__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.web-build-factors__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1rem;
  font-size: 0.82rem;
  color: #6c757d;
}

.web-build-factors__list li {
  position: relative;
  padding-left: 0.9rem;
}

.web-build-factors__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--price-blue);
  font-weight: 700;
}

/* ========================================
   ADDON TAG (inline badge)
   ======================================== */
.addon-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  background: #e3f2fd;
  color: var(--price-blue);
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.addon-tag--monthly {
  background: #fff3cd;
  color: #856404;
}

/* ========================================
   ADDON FEATURES INLINE
   ======================================== */
.addon-features-inline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.addon-features-inline li {
  font-size: 0.85rem;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.addon-features-inline li i {
  color: var(--price-green);
  font-size: 0.75rem;
}

/* ========================================
   RETAINER PROCESS (4-step visual)
   ======================================== */
.retainer-process {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: var(--radius);
  border: 1px solid #e9ecef;
}

.retainer-process__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1.5rem;
}

.retainer-process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.retainer-step {
  text-align: center;
  position: relative;
}

.retainer-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
}

.retainer-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.4rem;
}

.retainer-step p {
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.4;
}

/* ========================================
   WEB CARE SECTION (monthly, horizontal)
   ======================================== */
.web-care-section {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.web-care-section__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.web-care-section__inner:hover {
  border-color: var(--price-green);
  box-shadow: 0 8px 28px rgba(40, 167, 69, 0.12);
}

.web-care-section__info {
  flex: 1;
}

.web-care-section__info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.5rem;
}

.web-care-section__info h3 i {
  color: var(--price-green);
  margin-right: 0.5rem;
}

.web-care-section__info p {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.web-care-section__pricing {
  text-align: center;
  flex-shrink: 0;
  min-width: 160px;
}

.web-care-section__price {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--price-green);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.web-care-section__price sup {
  font-size: 0.8rem;
  font-weight: 600;
}

.web-care-section__note {
  display: block;
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.8rem;
}

.web-care-section__cta {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg, var(--price-green), #1e7e34);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.web-care-section__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(40, 167, 69, 0.4);
}

/* ========================================
   BUNDLE NUDGE (savings banner)
   ======================================== */
.bundle-nudge {
  background: linear-gradient(135deg, #fff3cd 0%, #fef9e7 100%);
  padding: 1rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-align: center;
  font-size: 0.92rem;
  color: #495057;
  border-top: 2px dashed #f0c83a;
  margin-top: -1px;
}

.bundle-save {
  color: var(--price-green);
  font-weight: 700;
}

/* ========================================
   ADD-ONS SECTION
   ======================================== */
.addons-section {
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.addons-section__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #212529;
  text-align: center;
  margin-bottom: 0.3rem;
}

.addons-section__desc {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.addon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.addon-item:hover {
  border-color: var(--price-orange);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.12);
  transform: translateY(-2px);
}

.addon-item i {
  font-size: 1.3rem;
  color: var(--price-orange);
}

.addon-item span:nth-child(2) {
  font-size: 0.88rem;
  font-weight: 700;
  color: #212529;
}

.addon-price {
  font-size: 0.78rem;
  color: #6c757d;
  font-weight: 500;
}

/* ========================================
   PHASE UPSELL (cross-sell nudge)
   ======================================== */
.phase-upsell {
  text-align: center;
  padding: 1.5rem 1rem;
  margin: 1rem auto 0;
  max-width: 600px;
  background: #f8f9fa;
  border-radius: var(--radius);
  border: 1px dashed #dee2e6;
}

.phase-upsell p {
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 0.6rem;
}

.phase-upsell__btn {
  background: none;
  border: none;
  color: var(--price-orange);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phase-upsell__btn:hover {
  color: var(--price-orange-2);
}

/* ========================================
   NOT A FIT SECTION
   ======================================== */
.not-a-fit-section {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.not-a-fit-inner {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.not-a-fit__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
}

.not-a-fit__list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

.not-a-fit__list li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: #6c757d;
  border-bottom: 1px solid #f1f3f5;
  padding-left: 1.5rem;
  position: relative;
}

.not-a-fit__list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: 700;
}

.not-a-fit__list li:last-child {
  border-bottom: none;
}

.not-a-fit__close {
  font-size: 0.95rem;
  color: #495057;
}

/* ========================================
   TAB PANEL TYPE BADGE (BUILD/RUN label)
   ======================================== */
.tab-panel__type {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  background: #e3f2fd;
  color: var(--price-blue);
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.tab-panel__type--run {
  background: rgba(255, 102, 0, 0.1);
  color: var(--price-orange);
}

/* Comparison table .th-price */
.th-price {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.2rem;
  opacity: 0.9;
}

/* ── WEB BUILD PREMIUM FEATURE BOARD ── */
.web-premium-system {
  grid-column: 1 / -1;
  background: #111111;
  color: #ffffff;
  border-radius: 16px;
  padding: 60px 80px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: block;
  margin-top: 1rem;
}

.web-board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.web-board-pitch {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.web-board-specs {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.web-premium-header {
  margin-bottom: 3rem;
}

.web-system-title {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.web-system-desc {
  font-size: 1.125rem;
  color: #adb5bd;
  line-height: 1.6;
  margin: 0;
  max-width: 90%;
}

.web-premium-pricing {
  margin-bottom: 2rem;
}

.web-price-main {
  font-family: var(--font-mono, monospace);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.web-price-currency {
  font-size: 1rem;
  font-weight: 600;
  color: #868e96;
  vertical-align: super;
  margin-left: 0.2rem;
  margin-right: 0.5rem;
}

.web-price-range {
  font-family: var(--font-mono, monospace);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: #868e96;
}

.web-price-meta {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.web-meta-maint,
.web-meta-eval {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.web-meta-maint {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.web-meta-eval {
  color: #adb5bd;
}

.web-premium-specs-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.web-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.web-spec-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.web-spec-label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #dee2e6;
  line-height: 1.6;
}

.web-spec-check {
  color: #ffffff;
  font-size: 1.1rem;
}

.web-premium-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.web-premium-disclaimer strong {
  color: rgba(255, 255, 255, 0.8);
}

.web-premium-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: auto;
}

.web-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  background: #ffffff;
  color: #111111;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: auto;
  min-width: 250px;
}

.web-premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
  background: #f8f9fa;
}

.web-premium-subtext {
  font-size: 0.85rem;
  color: #868e96;
  font-weight: 500;
}

/* ========================================
   STICKY CTA MOBILE
   ======================================== */
.sticky-cta-mobile {
  display: none;
}

/* ========================================
   RESPONSIVE: BUILD/RUN COMPONENTS
   ======================================== */
@media (max-width: 1024px) {
  .packages-grid--build {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {

  /* ── Packages Section — safe-area padding ── */
  .packages-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── Phase Toggle — fluid width ── */
  .phase-toggle {
    max-width: calc(100% - 40px);
    padding: 4px;
  }

  .phase-toggle__btn {
    padding: 0.7rem 1rem;
  }

  .phase-toggle__label {
    font-size: 0.95rem;
  }

  .phase-toggle__sub {
    font-size: 0.65rem;
  }

  /* ── BUILD Grid — full-width single column ── */
  .packages-grid--build {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0;
    max-width: 100%;
  }

  .packages-grid--build .package-card {
    max-width: 100%;
    transform: none !important;
  }

  .packages-grid--build .package-card.card-premium,
  .packages-grid--run .package-card.card-premium {
    transform: none !important;
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .packages-grid--build .package-card.package-card--popular {
    transform: none !important;
  }

  /* ── RUN Grid — full-width single column ── */
  .packages-grid--run {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0.5rem 0;
    max-width: 100%;
  }

  .packages-grid--run .package-card {
    max-width: 100%;
    transform: none !important;
    padding: clamp(1.25rem, 4vw, 1.5rem);
  }

  /* ── Package Card — mobile legibility ── */
  .package-card {
    max-width: 100%;
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .web-premium-system {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-right: 0;
    padding: 40px 20px;
    border-radius: 12px;
  }

  .web-board-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .web-premium-action {
    align-items: center;
    width: 100%;
  }

  .web-premium-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .web-premium-header {
    margin-bottom: 2rem;
  }

  .web-price-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .package-features li {
    font-size: clamp(0.875rem, 2.4vw, 0.95rem);
    line-height: 1.6;
  }

  .meta-item {
    font-size: clamp(0.75rem, 2vw, 0.82rem);
  }

  .package-desc {
    font-size: clamp(0.875rem, 2.4vw, 0.95rem);
    line-height: 1.6;
  }

  /* ── CTA Buttons — Apple HIG 48px touch targets ── */
  .package-cta {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .web-build-addon__cta {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .phase-upsell__btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
  }

  /* ── Web Build Addon — vertical stack ── */
  .web-build-addon__inner,
  .web-care-section__inner {
    flex-direction: column;
    text-align: center;
  }

  .web-build-addon__pricing,
  .web-care-section__pricing {
    min-width: auto;
  }

  .web-build-factors__list {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .addon-features-inline {
    justify-content: center;
  }

  /* ── Retainer Process — 2-column steps ── */
  .retainer-process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .retainer-process {
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  /* ── Add-ons Grid ── */
  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Not A Fit ── */
  .not-a-fit-inner {
    padding: 1.5rem;
  }

  .not-a-fit-section {
    padding: 0 20px;
  }

  /* ── Sticky CTA — visible on mobile ── */
  .sticky-cta-mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    padding: 0.75rem 20px;
    padding-bottom: max(0.75rem, calc(0.5rem + env(safe-area-inset-bottom)));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .sticky-cta-mobile.visible {
    transform: translateY(0);
  }

  .sticky-cta-mobile__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
  }

  .sticky-cta-mobile__text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.3;
  }

  .sticky-cta-mobile__text small {
    display: block;
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 400;
  }

  .sticky-cta-mobile__btn {
    flex-shrink: 0;
    min-height: 48px;
    padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-cta-mobile__btn:active {
    transform: scale(0.97);
  }

  /* Offset WhatsApp button when sticky CTA is visible */
  .sticky-cta-mobile.visible~.whatsapp-float {
    bottom: max(85px, calc(75px + env(safe-area-inset-bottom)));
  }

  /* Show mobile tabs, hide desktop table */
  .pricing-tabs-mobile {
    display: block;
  }
}

@media (max-width: 480px) {

  /* ── Card Grids — zero horizontal padding (parent has 20px) ── */
  .packages-grid--build,
  .packages-grid--run {
    max-width: 100%;
    padding: 0;
  }

  /* ── Package Card — tighter internal padding ── */
  .package-card {
    padding: 1.25rem;
  }

  .packages-grid--build .package-card.card-premium,
  .packages-grid--run .package-card.card-premium {
    padding: 1.25rem;
  }

  .packages-grid--run .package-card {
    padding: 1.25rem;
  }

  /* ── Phase Toggle — prevent overflow on SE ── */
  .phase-toggle {
    max-width: calc(100% - 40px);
  }

  .phase-toggle__btn {
    padding: 0.6rem 0.75rem;
  }

  /* ── Retainer Process — compact ── */
  .retainer-process__steps {
    grid-template-columns: 1fr 1fr;
  }

  .retainer-process {
    padding: 1.25rem 1rem;
  }

  /* ── Add-ons — compact ── */
  .addons-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .addon-item {
    padding: 0.75rem 0.5rem;
  }

  /* ── Web Build Addon — tighter padding ── */
  .web-build-addon__inner {
    padding: 1.5rem 1rem;
  }

  .web-build-addon {
    padding: 0;
  }

  /* ── Phase Upsell ── */
  .phase-upsell {
    padding: 1.25rem 0.75rem;
  }

  /* ── Tabs (if any) ── */
  .tabs-navigation {
    gap: 0.3rem;
  }

  .tab-button {
    min-width: 80px;
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
  }

  .tab-price {
    font-size: 0.9rem;
  }
}

/* 6. PROCESS TIMELINE */
.process-section {
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.process-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: #212529;
}

.process-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

.process-timeline {
  position: relative;
  padding-left: 3rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--price-blue), var(--price-orange));
}

.timeline-step {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--price-blue), var(--price-orange));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #212529;
}

.step-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.step-duration {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius);
}

.process-cta p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #495057;
}

/* 7. PROOF SECTION */
.proof-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.proof-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #212529;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.proof-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.proof-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.proof-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.proof-content {
  padding: 1.5rem;
}

.proof-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #212529;
}

.proof-quote {
  font-style: italic;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
  border-left: 3px solid var(--price-blue);
  padding-left: 1rem;
}

.proof-link {
  color: var(--price-blue);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.proof-link:hover {
  color: var(--price-orange);
}

.proof-cta {
  text-align: center;
  margin-top: 2rem;
}

/* 8. TRUST SECTION */
.trust-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--radius);
}

.trust-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  color: #212529;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.trust-icon {
  font-size: 3rem;
  color: var(--price-blue);
  margin-bottom: 1rem;
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #212529;
}

.trust-card p {
  color: #6c757d;
  line-height: 1.6;
}

.deliverables-section {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.deliverables-section h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #212529;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.deliverable-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
}

.deliverable-item i {
  font-size: 2.5rem;
  color: var(--price-orange);
}

.deliverable-item p {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
}

/* ========================================
   9. CAPACITY / CUPOS MENSUALES
   (Ethical Urgency - Premium Glassmorphism)
   ======================================== */

.capacity {
  max-width: 1100px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.capacity__container {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.capacity__header {
  text-align: center;
  margin-bottom: 3rem;
}

.capacity__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.capacity__subtitle-inline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #6c757d;
}

.capacity__subtitle {
  font-size: 1.1rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.capacity__panel {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Availability Column */
.capacity__availability-container {
  position: relative;
}

.capacity__label {
  font-size: 1rem;
  font-weight: 700;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

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

.capacity-slot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capacity-slot__icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.capacity-slot__text {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

/* Open Slot */
.capacity-slot--open {
  border-color: rgba(0, 123, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(240, 248, 255, 1) 100%);
}

.capacity-slot--open:hover {
  border-color: #007BFF;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
}

.capacity-slot--open .capacity-slot__icon {
  color: #007BFF;
}

.capacity-slot--open:hover .capacity-slot__icon {
  transform: scale(1.1);
}

/* Taken Slot */
.capacity-slot--taken {
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(250, 250, 250, 0.6);
  opacity: 0.75;
}

.capacity-slot--taken .capacity-slot__icon {
  color: #d4af37;
}

.capacity-slot--taken .capacity-slot__text {
  color: #6c757d;
}

/* Why Column */
.capacity__why {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capacity__why-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.capacity__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.capacity__list li {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: background 0.3s ease;
}

.capacity__list li:hover {
  background: rgba(255, 255, 255, 0.8);
}

.capacity__list i {
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-size: 1.125rem;
  color: #FF6600;
}

.capacity__list span {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.6;
}

.capacity__note {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 157, 0, 0.08);
  border-left: 3px solid #FF9D00;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
}

.capacity__note i {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #FF9D00;
}

.capacity__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid #007BFF;
  border-radius: 8px;
  color: #007BFF;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.capacity__link:hover {
  background: #007BFF;
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
}

.capacity__link:focus-visible {
  outline: 3px solid rgba(0, 123, 255, 0.5);
  outline-offset: 2px;
}

.capacity__link i {
  transition: transform 0.3s ease;
}

.capacity__link:hover i {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
  .capacity__panel {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .capacity__availability-container {
    order: -1;
  }
}

@media (max-width: 768px) {
  .capacity__container {
    padding: 2rem 1.5rem;
  }

  .capacity__header {
    margin-bottom: 2rem;
  }

  .capacity__panel {
    gap: 2rem;
  }

  .capacity-slot {
    padding: 1rem 1.25rem;
  }

  .capacity-slot__icon {
    font-size: 1.25rem;
  }

  .capacity-slot__text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .capacity {
    padding: 0 1rem;
  }

  .capacity__container {
    padding: 1.5rem 1rem;
  }

  .capacity__link {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .capacity-slot,
  .capacity__link,
  .capacity-slot__icon,
  .capacity__link i {
    transition: none;
  }

  .capacity-slot:hover,
  .capacity__link:hover {
    transform: none;
  }

  .capacity-slot--open:hover .capacity-slot__icon,
  .capacity__link:hover i {
    transform: none;
  }
}

/* 10. FAQ SECTION */
.faq-section {
  max-width: 900px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.faq-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 1rem;
  color: #212529;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--price-blue);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--price-orange);
  font-size: 1rem;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: #6c757d;
  line-height: 1.7;
}

/* 11. CTA FINAL */
/* ========================================
   11. CTA FINAL — PREMIUM DARK CLOSING
   ======================================== */
.cta-final-section {
  background: #0f1729;
  position: relative;
  padding: 7rem 2rem 6rem;
  margin: 0;
  margin-bottom: -2px;
  border: none;
  outline: none;
  max-width: none;
  overflow: hidden;
  z-index: 10;
}

/* Smooth transition gradient from previous light section */
.cta-final-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, #f8f9fa 0%, #0f1729 100%);
  pointer-events: none;
}

.cta-final-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  position: relative;
  z-index: 1;
}

/* Headline — large, bold, authoritative */
.cta-final-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}

/* Body — breathing, editorial, focused */
.cta-final-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 3.5rem;
  opacity: 1;
}

/* Button container */
.cta-final-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

/* Primary — hero button: solid white, black text */
.cta-final__btn-primary {
  display: inline-block;
  padding: 1.15rem 3rem;
  background: #ffffff;
  color: #000000;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s ease;
  min-width: 280px;
  text-align: center;
}

.cta-final__btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

/* Secondary — outlined, understated */
.cta-final__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 280px;
}

.cta-final__btn-secondary i {
  font-size: 1.1rem;
  color: #25D366;
}

.cta-final__btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Trust signals — system specifications style */
.cta-final-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cta-final-benefits span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
  padding: 0 1rem;
}

.cta-final-divider {
  color: rgba(255, 255, 255, 0.25) !important;
  font-size: 1.2rem !important;
  padding: 0 0.25rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ── Desktop refinement ── */
@media (min-width: 768px) {
  .cta-final-section {
    padding: 9rem 2rem 7rem;
  }

  .cta-final-options {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
  }

  .cta-final__btn-primary,
  .cta-final__btn-secondary {
    min-width: auto;
  }
}

/* ── Mobile refinement ── */
@media (max-width: 767px) {
  .cta-final-section {
    padding: 5rem 1.25rem 4rem;
  }

  .cta-final-section::before {
    height: 50px;
  }

  .cta-final__btn-primary,
  .cta-final__btn-secondary {
    width: 100%;
    max-width: 340px;
  }

  .cta-final-benefits {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cta-final-divider {
    display: none !important;
  }

  .cta-final-benefits span {
    padding: 0;
  }
}

/* 12. FOOTER MINI CTA */
.footer-mini-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-mini-cta h3 {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 1rem;
}

.footer-cta-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--price-blue), #0056b3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.footer-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 900;
  /* Debajo del overlay (999) y menú móvil (1000) */
  transition: all 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.whatsapp-float:hover {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 50px;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  flex-shrink: 0;
}

.whatsapp-text {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 0;
  transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
  max-width: 200px;
  margin-left: 0.8rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  /* ═══════════════════════════════════════════
     MOBILE OPTIMIZATION: Global Breathing Room
     ═══════════════════════════════════════════ */

  /* Global mobile padding for all sections */
  section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .pricing-hero {
    padding: 4rem 20px 3rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .btn-primary,
  .btn-whatsapp,
  .btn-secondary {
    width: 100%;
    min-height: 48px;
    /* Touch target compliance */
    padding: 14px 24px;
  }

  /* Typography scaling for mobile readability */
  h1,
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.3;
  }

  h2,
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.4;
  }

  h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.4;
  }

  p,
  .body-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .package-card.premium {
    transform: scale(1);
  }

  .package-card.premium:hover {
    transform: scale(1.02) translateY(-8px);
  }

  /* Show mobile accordion, hide desktop table */
  .comparison-table-wrapper {
    display: none;
  }

  .comparison-accordion {
    display: block;
  }

  /* ═══════════════════════════════════════════
     CREATIVE PROCESS SECTION - Mobile Optimization
     ═══════════════════════════════════════════ */

  .process-section {
    padding: 3rem 20px !important;
  }

  .process-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .process-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
  }

  .process-timeline {
    padding-left: 0;
  }

  .process-timeline::before {
    left: 22px;
    width: 2px;
  }

  .timeline-step {
    padding-left: 0;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1.25rem;
  }

  .timeline-step:last-child {
    margin-bottom: 0;
  }

  .step-number {
    flex-shrink: 0;
    position: static;
    left: auto;
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }

  .step-content {
    flex: 1;
  }

  .step-content h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .step-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.625rem;
  }

  .step-duration {
    font-size: 0.8rem;
    padding: 0.25rem 0.625rem;
  }

  .process-cta {
    padding: 1.5rem 20px;
    margin-top: 2rem;
  }

  .process-cta p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .process-cta .btn-secondary {
    min-height: 48px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }

  /* ═══════════════════════════════════════════
     ALL CTA TOUCH TARGETS: 44px minimum
     ═══════════════════════════════════════════ */

  .package-cta,
  .tab-cta-button,
  .table-cta,
  a[class*="cta"],
  button[class*="cta"] {
    min-height: 48px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .slots-visual {
    flex-direction: column;
  }




  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    /* Safe area para iPhone con notch */
    bottom: max(20px, calc(16px + env(safe-area-inset-bottom)));
    right: max(20px, calc(16px + env(safe-area-inset-right)));
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .whatsapp-float:hover {
    transition: none;
  }

  .slot.available {
    animation: none;
  }
}

.faq-question:focus,
.package-cta:focus,
.btn-primary:focus,
.btn-whatsapp:focus,
.btn-secondary:focus,
.btn-outline:focus {
  outline: 3px solid var(--price-blue);
  outline-offset: 3px;
}

/* ========================================
   PRICES PAGE — CONVERSION OPTIMIZED
   Full redesign for maximum conversion
   ======================================== */

/* CSS Variables for Pricing Page */
.pricing-page {
  --price-orange: #ff6600;
  --price-orange-2: #ff9d00;
  --price-blue: #007bff;
  --price-gold: #d4af37;
  --price-surface: rgba(255, 255, 255, 0.06);
  --price-radius: 16px;
  --price-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --price-shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
  --price-shadow-heavy: 0 12px 48px rgba(0, 0, 0, 0.15);
  --price-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll behavior with offset for sticky header */
.pricing-page #paquetes,
.pricing-page section[id] {
  scroll-margin-top: 100px;
}

/* ========================================
   1. HERO PREMIUM
   ======================================== */
.pricing-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0056b3 0%, #007bff 50%, #0099ff 100%);
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.02) 2px, rgba(255, 255, 255, 0.02) 4px);
  pointer-events: none;
}

.pricing-hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.pricing-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.highlight-gradient {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pricing-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.stat-icon {
  flex-shrink: 0;
  color: var(--price-gold);
}

.pricing-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pricing-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--price-gold) 0%, #f0c83a 100%);
  color: #1a1a1a;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
  transition: var(--price-transition);
}

.pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

.pricing-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--price-transition);
}

.pricing-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.pricing-hero-trust {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* ========================================
   2. SOCIAL PROOF BAR
   ======================================== */
.social-proof-bar {
  padding: 2rem 1.5rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.social-proof-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-proof-logos {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.proof-pill {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  scroll-snap-align: center;
  box-shadow: var(--price-shadow-soft);
}

/* ========================================
   3. PAIN SECTION (PAS Framework)
   ======================================== */
.pain-section {
  padding: 5rem 1.5rem;
  background: white;
}

.pain-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pain-card {
  text-align: center;
  padding: 2rem;
}

.pain-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fee, #fdd);
  border-radius: 50%;
  color: #dc3545;
}

.pain-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}

.pain-card p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}

.pain-agitate {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 8px;
}

.pain-agitate p {
  font-size: 1.125rem;
  color: #856404;
  line-height: 1.6;
  margin: 0;
}

.pain-solution {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.pain-solution p {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  line-height: 1.6;
}

/* ========================================
   4. PACKAGES SECTION (MAIN CTA)
   ======================================== */
/* Sticky Navigation UI - Pricing Section */
.pricing-sticky-nav {
  position: sticky;
  top: 100px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  margin-left: auto;
  margin-right: 1.5rem;
  margin-bottom: -3rem;
  /* Prevents pushing down the header */
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1a1a1a;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-sticky-nav:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-sticky-nav .sticky-icon {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .pricing-sticky-nav {
    top: 85px;
    padding: 0.6rem;
    margin-right: 1rem;
  }

  .pricing-sticky-nav .sticky-text {
    display: none;
  }
}

.packages-section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.packages-container {
  max-width: 1400px;
  margin: 0 auto;
}

.packages-header {
  text-align: center;
  margin-bottom: 4rem;
}

.packages-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.packages-subtitle {
  font-size: 1.125rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.package-card {
  position: relative;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: var(--price-radius);
  padding: 2rem;
  transition: var(--price-transition);
  box-shadow: var(--price-shadow-soft);
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--price-shadow-medium);
}

/* Package Badges */
.package-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.recommended-badge {
  background: linear-gradient(135deg, var(--price-orange), var(--price-orange-2));
  color: white;
}

.premium-badge {
  background: linear-gradient(135deg, var(--price-gold), #f0c83a);
  color: #1a1a1a;
}

/* Premium Card Styling */
.package-card.premium {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-color: var(--price-gold);
  border-width: 2px;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(212, 175, 55, 0.25);
}

.package-card.premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 64px rgba(212, 175, 55, 0.35);
}

.package-card.premium .package-name,
.package-card.premium .package-tagline,
.package-card.premium .package-features span,
.package-card.premium .value-label {
  color: white;
}

/* Recommended Card */
.package-card.recommended {
  border-color: var(--price-orange);
  box-shadow: 0 8px 32px rgba(255, 102, 0, 0.15);
}

.package-header {
  margin-bottom: 1.5rem;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 0.5rem;
}

.package-tagline {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
  line-height: 1.4;
}

.package-pricing {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}

.package-card.premium .package-pricing {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.package-value-old {
  display: block;
  font-size: 0.875rem;
  color: #6c757d;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.package-card.premium .package-value-old {
  color: rgba(255, 255, 255, 0.5);
}

.package-price {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #212529;
  line-height: 1;
}

.premium-price {
  background: linear-gradient(135deg, var(--price-gold) 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-savings {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: #d4edda;
  color: #155724;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 4px;
}

.package-card.premium .package-savings {
  background: rgba(212, 175, 55, 0.2);
  color: var(--price-gold);
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.package-features li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  color: #28a745;
  margin-top: 2px;
}

.package-card.premium .check-icon {
  color: var(--price-gold);
}

.package-features span {
  font-size: 0.9375rem;
  color: #495057;
  line-height: 1.5;
}

.package-value {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}

.package-card.premium .package-value {
  background: rgba(212, 175, 55, 0.1);
}

.value-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
}

.premium-value .value-label {
  color: var(--price-gold);
}

.package-cta {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--price-blue);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: var(--price-transition);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.package-cta:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.premium-cta {
  background: linear-gradient(135deg, var(--price-gold) 0%, #f0c83a 100%);
  color: #1a1a1a;
  font-size: 1.0625rem;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

.premium-cta:hover {
  background: linear-gradient(135deg, #f0c83a 0%, #ffd700 100%);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

/* Enterprise Anchor */
.enterprise-anchor {
  max-width: 800px;
  margin: 2rem auto 0;
  border: 2px dashed #dee2e6;
  border-radius: var(--price-radius);
  background: #f8f9fa;
}

.enterprise-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  list-style: none;
}

.enterprise-summary::-webkit-details-marker {
  display: none;
}

.enterprise-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: #495057;
}

.enterprise-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #212529;
}

.chevron-icon {
  transition: transform 0.3s;
  color: #6c757d;
}

.enterprise-anchor[open] .chevron-icon {
  transform: rotate(180deg);
}

.enterprise-content {
  padding: 0 2rem 2rem;
}

.enterprise-content p {
  margin-bottom: 1rem;
  color: #495057;
}

.enterprise-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.enterprise-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.enterprise-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--price-blue);
  font-weight: 700;
}

.enterprise-cta {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: #495057;
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: var(--price-transition);
}

.enterprise-cta:hover {
  background: #343a40;
}

/* ========================================
   5. COMPARISON TABLE
   ======================================== */
.comparison-section {
  padding: 5rem 1.5rem;
  background: white;
}

.comparison-container {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 3rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--price-radius);
  overflow: hidden;
  box-shadow: var(--price-shadow-soft);
}

.comparison-table thead {
  background: #f8f9fa;
}

.comparison-table th {
  padding: 1.25rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #495057;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
}

.comparison-table .feature-column {
  text-align: left;
  min-width: 200px;
}

.comparison-table .highlight-column {
  background: rgba(255, 102, 0, 0.05);
}

.comparison-table .premium-column {
  background: rgba(212, 175, 55, 0.05);
}

.comparison-table tbody tr {
  border-bottom: 1px solid #dee2e6;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table td {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  color: #495057;
}

.comparison-table .feature-name {
  font-weight: 600;
  color: #212529;
  text-align: left;
}

.table-check {
  color: #28a745;
  margin: 0 auto;
  display: block;
}

.table-dash {
  color: #dee2e6;
  font-size: 1.5rem;
}

/* Mobile Accordion */
.comparison-accordion {
  display: none;
}

.accordion-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-item.highlighted {
  border-color: var(--price-orange);
}

.accordion-item.premium-accordion {
  border-color: var(--price-gold);
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  text-align: left;
}

.accordion-item.premium-accordion .accordion-header {
  color: white;
}

.accordion-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-header[aria-expanded="true"]+.accordion-content {
  max-height: 1000px;
}

.feature-list {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.feature-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  color: #495057;
}

.accordion-item.premium-accordion .feature-list li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* ========================================
   6. PROCESS TIMELINE
   ======================================== */
.process-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.process-container {
  max-width: 900px;
  margin: 0 auto;
}

.process-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.process-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 4rem;
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--price-blue), var(--price-gold));
}

.process-step {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--price-blue), #0056b3);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  position: relative;
  z-index: 2;
}

.process-step:last-child .step-number {
  background: linear-gradient(135deg, var(--price-gold), #f0c83a);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.step-description {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.step-time {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: #e7f3ff;
  color: var(--price-blue);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
}

/* ========================================
   7. PROOF SECTION (Portfolio)
   ======================================== */
.proof-section {
  padding: 5rem 1.5rem;
  background: white;
}

.proof-container {
  max-width: 1200px;
  margin: 0 auto;
}

.proof-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.proof-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 4rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.proof-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: var(--price-radius);
  overflow: hidden;
  box-shadow: var(--price-shadow-soft);
  transition: var(--price-transition);
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--price-shadow-medium);
}

.proof-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.placeholder-text {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.proof-content {
  padding: 2rem;
}

.proof-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.proof-testimonial {
  font-size: 1rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.proof-author {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.proof-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--price-blue);
  font-weight: 700;
  text-decoration: none;
  transition: var(--price-transition);
}

.proof-cta:hover {
  gap: 0.75rem;
  color: #0056b3;
}

/* ========================================
   8. TRUST SECTION (Guarantees)
   ======================================== */
.trust-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 3rem;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.trust-badge {
  text-align: center;
  padding: 2rem;
}

.trust-icon {
  color: var(--price-blue);
  margin-bottom: 1rem;
}

.trust-badge h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.75rem;
}

.trust-badge p {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.6;
}

.deliverables-section {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.deliverables-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 2rem;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.deliverable-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.deliverable-item svg {
  flex-shrink: 0;
  color: #28a745;
  margin-top: 2px;
}

.deliverable-item span {
  font-size: 0.9375rem;
  color: #495057;
  line-height: 1.5;
}

.guarantee-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, #e7f3ff, #f0f8ff);
  border-left: 4px solid var(--price-blue);
  border-radius: 12px;
  text-align: center;
}

.guarantee-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
}

.guarantee-text {
  font-size: 1.0625rem;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   9. URGENCY SECTION (Slots)
   ======================================== */
.urgency-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
}

.urgency-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.urgency-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
}

.urgency-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.slots-display {
  margin-bottom: 3rem;
}

.slots-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.slots-visual {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.slot {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.slot.filled svg {
  color: #6c757d;
}

.slot.available svg {
  color: var(--price-gold);
}

.slots-status {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.slots-status strong {
  color: var(--price-gold);
}

.urgency-cta-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
}

.urgency-cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--price-gold) 0%, #f0c83a 100%);
  color: #1a1a1a;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
  transition: var(--price-transition);
}

.urgency-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

/* ========================================
   10. FAQ SECTION
   ======================================== */
.faq-section {
  padding: 5rem 1.5rem;
  background: white;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 1rem;
}

.faq-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--price-transition);
}

.faq-item:hover {
  border-color: var(--price-blue);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #212529;
  text-align: left;
  transition: var(--price-transition);
}

.faq-question:hover {
  color: var(--price-blue);
}

.faq-question-text {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--price-blue);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-question[aria-expanded="true"]+.faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  color: #495057;
  line-height: 1.6;
}

/* ========================================
   11. CTA FINAL SECTION — LEGACY REMOVED
   (Now handled by premium dark section above ~L5320)
   ======================================== */


/* ========================================
   12. FOOTER (Pricing Page)
   ======================================== */
.pricing-footer {
  background: #0f1729;
  color: white;
  padding: 4rem 1.5rem 2rem;
  margin-bottom: -2px;
  margin-top: -2px;
  border: none;
  outline: none;
  position: relative;
  z-index: 5;
}

.footer-mini-cta {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.footer-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--price-transition);
}

.footer-contact-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--price-transition);
}

.social-link:hover {
  background: var(--price-blue);
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--price-transition);
  font-weight: 700;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-text {
  font-size: 0.9375rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }

  .comparison-accordion {
    display: block;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .package-card.card-premium {
    transform: scale(1);
  }

  .package-card.card-premium:hover {
    transform: translateY(-4px) scale(1);
  }
}

@media (max-width: 768px) {
  .pricing-hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    justify-content: center;
    text-align: center;
  }

  .pricing-hero-ctas {
    flex-direction: column;
  }

  .pricing-btn-primary,
  .pricing-btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .social-proof-logos {
    justify-content: flex-start;
  }

  .pain-cards {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-step {
    gap: 1rem;
    flex-direction: column;
    /* FIX: Stack numbers above text */
    align-items: flex-start;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    /* FIX: Add spacing before text */
  }

  /* Quique style fix for older timelines */
  .timeline-item {
    padding-left: 0 !important;
    position: relative;
    padding-top: 50px;
    /* Space for absolute positioning if used */
  }

  .timeline::before {
    left: 20px !important;
  }

  .timeline-marker {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    grid-template-columns: 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .cta-final-buttons {
    flex-direction: column;
  }

  .cta-final-primary,
  .cta-final-whatsapp {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.875rem 1.25rem;
  }

  .whatsapp-text {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-text {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .enterprise-summary {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .footer-contact-options {
    flex-direction: column;
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-contact-link {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus States */
.pricing-btn-primary:focus,
.pricing-btn-secondary:focus,
.package-cta:focus,
.premium-cta:focus,
.enterprise-cta:focus,
.proof-cta:focus,
.urgency-cta-btn:focus,
.faq-question:focus,
.accordion-header:focus,
.cta-final-primary:focus,
.cta-final-whatsapp:focus,
.footer-contact-link:focus,
.whatsapp-float:focus {
  outline: 3px solid var(--price-blue);
  outline-offset: 3px;
}

.package-card.premium .package-cta:focus,
.premium-cta:focus {
  outline-color: var(--price-gold);
}

/* Skip to content (hidden but accessible) */
.skip-to-content {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 1em;
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
}

.mobile-only {
  display: none;
}

@media (max-width: 992px) {
  .mobile-only {
    display: block;
  }
}

/* ============================================
   RETAINER SERVICE (Brand Builder Mensual)
   ============================================ */

.retainer-service {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
  border: 2px solid rgba(0, 123, 255, 0.2);
  border-radius: 20px;
  padding: 48px;
  margin: 64px auto 0;
  max-width: 900px;
  backdrop-filter: blur(10px);
  box-shadow:
    0 4px 20px rgba(0, 123, 255, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.retainer-service:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(0, 123, 255, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 123, 255, 0.3);
}

.retainer-badge {
  position: absolute;
  top: -16px;
  left: 48px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow:
    0 4px 12px rgba(0, 123, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.1);
}

.retainer-header {
  text-align: center;
  margin-bottom: 32px;
}

.retainer-header h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.retainer-subtitle {
  font-size: 1.25rem;
  color: #007BFF;
  font-weight: 600;
  margin: 0;
}

.retainer-pricing {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 2px dashed rgba(0, 123, 255, 0.2);
}

.retainer-price {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  color: #007BFF;
  line-height: 1;
  margin-bottom: 12px;
}

.retainer-price sup {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 4px;
}

.retainer-term {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.retainer-description {
  margin-bottom: 40px;
}

.retainer-description p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.retainer-description p strong {
  color: #1a1a1a;
  font-weight: 700;
}

.retainer-benefits,
.retainer-scope,
.retainer-ideal {
  margin-bottom: 40px;
}

.retainer-benefits h4,
.retainer-scope h4,
.retainer-ideal h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.retainer-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.retainer-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.2s ease;
}

.retainer-benefits-list li:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 123, 255, 0.2);
  transform: translateX(4px);
}

.retainer-benefits-list i {
  color: #007BFF;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.retainer-benefits-list div {
  flex: 1;
}

.retainer-benefits-list strong {
  display: block;
  font-size: 1rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 4px;
}

.retainer-benefits-list span {
  display: block;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.retainer-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  border-left: 4px solid #007BFF;
}

.retainer-scope-list li {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  padding-left: 8px;
}

.retainer-scope-list strong {
  color: #007BFF;
  font-weight: 700;
}

.retainer-ideal p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.retainer-cta {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 40px auto 24px;
  padding: 20px 48px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 6px 24px rgba(0, 123, 255, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.retainer-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 32px rgba(0, 123, 255, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
}

.retainer-cta:active {
  transform: translateY(-1px);
}

.retainer-note {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: 0;
}

/* Index.html Service Card Retainer Styling */
.service-card-retainer {
  position: relative;
  border: 2px solid rgba(0, 123, 255, 0.3);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.service-retainer-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.service-retainer-link {
  display: inline-block;
  margin-top: 12px;
  color: #007BFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.service-retainer-link:hover {
  color: #0056b3;
  transform: translateX(4px);
}

/* Web Brand Build card — distinct blue glow variant */
.service-card-web-brand {
  border-color: rgba(0, 123, 255, 0.45);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 86, 179, 0.04) 100%);
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-badge-web {
  background: linear-gradient(135deg, #0056b3 0%, #007BFF 100%) !important;
  box-shadow: 0 4px 14px rgba(0, 86, 179, 0.35) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .retainer-service {
    padding: 32px 24px;
    margin: 48px 16px 0;
  }

  .retainer-badge {
    left: 24px;
    font-size: 0.7rem;
    padding: 6px 16px;
  }

  .retainer-header h3 {
    font-size: 1.5rem;
  }

  .retainer-subtitle {
    font-size: 1rem;
  }

  .retainer-price {
    font-size: 2.5rem;
  }

  .retainer-price sup {
    font-size: 1.2rem;
  }

  .retainer-benefits h4,
  .retainer-scope h4,
  .retainer-ideal h4 {
    font-size: 1.2rem;
  }

  .retainer-benefits-list li {
    padding: 12px;
  }

  .retainer-scope-list {
    padding: 16px;
  }

  .retainer-cta {
    font-size: 1.05rem;
    padding: 16px 32px;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .retainer-service,
  .retainer-benefits-list li,
  .retainer-cta,
  .service-retainer-link {
    transition: none;
  }

  .retainer-service:hover {
    transform: none;
  }
}

/* ========================================
   MOBILE HEADER RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  header:not(.site-header) {
    padding: 0.5rem 1rem;
  }

  .logo-container img {
    height: 40px !important;
  }

  .logo-container span {
    font-size: 0.65rem !important;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* OLD nav rules scoped to .nav-list parent — prevents clash with .nav-desktop/.nav-mobile */
  nav.old-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #007BFF 0%, #0056B3 100%);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    padding: 80px 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  nav.old-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-list a {
    display: block;
    padding: 1rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
  }

  .nav-list a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(8px) !important;
  }

  .nav-list li:last-child a {
    background: linear-gradient(135deg, #FF6600, #ff9d00) !important;
    color: white !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3) !important;
  }

  .nav-list li:last-child a:hover {
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4) !important;
  }

  /* Overlay para cerrar menú mobile */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  header:not(.site-header) {
    padding: 0.5rem 0.75rem;
  }

  .logo-container img {
    height: 35px !important;
  }

  .logo-container span {
    font-size: 0.6rem !important;
  }

  nav.old-nav {
    width: 100%;
    right: -100%;
  }

  .nav-list a {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
}

/* ========================================
   MOBILE PRICING COMPARISON - TABS UI
   Mobile compare: Premium tabs design
   ======================================== */
.pricing-tabs-mobile {
  display: none;
  /* Hidden on desktop */
}

.tabs-navigation {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-navigation::-webkit-scrollbar {
  display: none;
}

.tab-button {
  flex: 1;
  min-width: 120px;
  padding: 0.875rem 1rem;
  background: white;
  border: 2px solid #e9ecef;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
  min-height: 44px;
}

.tab-button:active {
  transform: scale(0.98);
}

.tab-button.active {
  background: white;
  color: #007bff;
  border-color: #007bff;
  z-index: 2;
}

.tab-button.recommended {
  border-color: #ff6600;
}

.tab-button.recommended.active {
  color: #ff6600;
  border-color: #ff6600;
}

.tab-button.premium {
  border-color: #6f42c1;
}

.tab-button.premium.active {
  color: white;
  border-color: #6f42c1;
  background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%);
}

.tab-price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  margin-top: 0.25rem;
}

.tab-button.active .tab-price {
  color: #007bff;
}

.tab-button.recommended.active .tab-price {
  color: #ff6600;
}

.tab-button.premium.active .tab-price {
  color: white;
}

.tab-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  background: #ff6600;
  color: white;
  border-radius: 20px;
  margin-left: 0.3rem;
  text-transform: uppercase;
  font-weight: 700;
}

.tab-badge.gold {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: white;
}

.tab-panel {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-panel.active {
  display: block;
  animation: fadeInTab 0.3s ease;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.mobile-feature-item {
  display: flex;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.95rem;
}

.mobile-feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.feature-icon.check {
  color: #28a745;
}

.feature-icon.times {
  color: #dee2e6;
}

.feature-label {
  flex: 1;
  font-weight: 600;
  color: #212529;
  line-height: 1.4;
}

.feature-value {
  font-weight: 500;
  color: #495057;
}

.feature-note {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-left: 0.2rem;
}

.tab-cta-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.tab-cta-button:active {
  transform: scale(0.98);
}

.tab-cta-button.recommended {
  background: linear-gradient(135deg, #ff6600 0%, #ff9d00 100%);
}

.tab-cta-button.premium {
  background: linear-gradient(135deg, #6f42c1 0%, #9b59b6 100%);
  color: white;
}

/* Brand Builder tab button */
.tab-button.brand-builder {
  border-color: var(--price-orange);
}

.tab-button.brand-builder.active {
  color: var(--price-orange);
  border-color: var(--price-orange);
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.08), rgba(255, 157, 0, 0.05));
}

.tab-button.brand-builder.active .tab-price {
  color: var(--price-orange);
}

/* Web Brand tab button */
.tab-button.web-brand {
  border-color: var(--price-blue);
}

.tab-button.web-brand.active {
  color: var(--price-blue);
  border-color: var(--price-blue);
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 86, 179, 0.05));
}

.tab-button.web-brand.active .tab-price {
  color: var(--price-blue);
}

.tab-badge.orange {
  background: var(--price-orange);
  color: white;
}

.tab-badge.blue {
  background: var(--price-blue);
  color: white;
}

/* Brand Builder CTA */
.tab-cta-button.brand-builder {
  background: linear-gradient(135deg, var(--price-orange) 0%, var(--price-orange-2) 100%);
}

/* Web Brand CTA */
.tab-cta-button.web-brand {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.tab-button:focus-visible,
.tab-cta-button:focus-visible {
  outline: 3px solid #007bff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tab-panel {
    animation: none;
  }

  .tab-button {
    transition: none;
  }
}

/* Mobile: show tabs, hide table */
@media (max-width: 768px) {
  .pricing-tabs-mobile {
    display: block;
  }

  .tabs-navigation .tab-button {
    min-width: 100px;
    padding: 0.7rem 0.6rem;
    font-size: 0.78rem;
  }

  .tabs-navigation .tab-price {
    font-size: 0.95rem;
  }

  .tab-badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.35rem;
  }
}

@media (max-width: 480px) {
  .tabs-navigation .tab-button {
    min-width: 85px;
    padding: 0.6rem 0.4rem;
    font-size: 0.72rem;
  }

  .tabs-navigation .tab-price {
    font-size: 0.85rem;
  }
}

/* ========================================
   HEADER MOBILE — PREMIUM
   Unified header component for all pages
   ======================================== */

/* Critical reset for mobile (prevent white line iOS) */
html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

/* Smooth scroll offset for anchor links */
[id] {
  scroll-margin-top: 90px;
}

/* No-scroll lock when mobile menu open */
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Header container */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

/* iOS safe area support */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

/* Brand/Logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.brand img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 123, 255, 0.15));
}

/* Brand text logo: Rodney.Design */
.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #007bff;
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

.brand-dot {
  color: #ff6600;
  font-weight: 900;
}

/* Desktop navigation */
.nav-desktop {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-desktop a {
  color: #6c757d;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-desktop a:hover {
  background: rgba(0, 123, 255, 0.08);
  color: #007bff;
  transform: translateY(-2px);
}

.nav-desktop a:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.85);
  outline-offset: 3px;
}

.nav-desktop a:last-child {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.nav-desktop a:last-child:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.35);
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  /* Hidden on desktop */
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 123, 255, 0.08);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.85);
  outline-offset: 3px;
}

/* Hamburger icon (3 lines) */
.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 2px;
  background-color: #007bff;
  border-radius: 2px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: #007bff;
  border-radius: 2px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Hamburger to X animation */
.site-header.is-open .hamburger {
  background-color: transparent;
}

.site-header.is-open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hide brand behind overlay when menu is open */
.site-header.is-open .brand {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Overlay (backdrop) */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 1100;
}

.nav-overlay:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

/* Mobile navigation drawer */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(88vw, 360px);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile:not([hidden]) {
  transform: translateX(0);
}

/* Mobile panel (glass container) */
.nav-mobile__panel {
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(0, 123, 255, 0.1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Panel top bar */
.nav-mobile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 123, 255, 0.1);
  flex-shrink: 0;
}

.nav-mobile__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #007bff;
}

.nav-close {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Evitar contenido duplicado */
.nav-close::before,
.nav-close::after {
  content: none !important;
  display: none !important;
}

.nav-close:hover {
  background: rgba(0, 123, 255, 0.08);
  color: #007bff;
}

.nav-close:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.85);
  outline-offset: 3px;
}

/* Panel links */
.nav-mobile__links {
  flex: 1;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile__links a {
  display: block;
  padding: 1rem 1.5rem;
  color: #212529;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  margin: 0 1rem;
  transition: all 0.2s ease;
}

.nav-mobile__links a:hover {
  background: rgba(0, 123, 255, 0.08);
  color: #007bff;
  transform: translateX(8px);
}

.nav-mobile__links a:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.85);
  outline-offset: 3px;
}

/* Panel footer */
.nav-mobile__footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  flex-shrink: 0;
}

.nav-mobile__cta {
  display: block;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.35);
}

.nav-mobile__cta:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.85);
  outline-offset: 3px;
}

.nav-mobile__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #6c757d;
  text-align: center;
}

/* RESPONSIVE BREAKPOINTS */

/* Desktop enforcement: guarantee horizontal nav visible */
@media (min-width: 1025px) {
  .nav-desktop {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    box-shadow: none !important;
    right: auto !important;
  }

  .nav-toggle {
    display: none !important;
  }

  .nav-overlay,
  .nav-mobile {
    display: none;
  }
}

/* Tablet and below: show mobile nav */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .header-inner {
    padding: 0.5rem 1rem;
  }

  .brand img {
    height: 38px;
  }

  .nav-mobile {
    width: 100%;
  }
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .nav-desktop a,
  .nav-toggle,
  .hamburger,
  .hamburger::before,
  .hamburger::after,
  .nav-overlay,
  .nav-mobile,
  .nav-mobile__links a,
  .nav-mobile__cta {
    transition: none;
  }
}

/* ========== THUMBNAILS GALLERY — BADGES & PEDESTAL ========== */

/* Thumbnail badge overlay */
.thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d4af37;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge variant for color adaptation (Benny) */
.thumb-badge--adaptation {
  border-color: rgba(0, 123, 255, 0.4);
  color: #007bff;
}

/* Microcopy note within caption */
.thumb-note {
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.4;
}

/* Pedestal thumbnails (Jon Z Raw & Grading) */
.thumbnail-item[data-feature="raw"],
.thumbnail-item[data-feature="grading"] {
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 18px 60px rgba(212, 175, 55, 0.08),
    0 8px 30px rgba(0, 123, 255, 0.06);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(248, 249, 250, 0.88) 100%);
}

.thumbnail-item[data-feature="raw"]:hover,
.thumbnail-item[data-feature="grading"]:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 80px rgba(212, 175, 55, 0.15),
    0 12px 40px rgba(0, 123, 255, 0.1);
}

.thumbnail-item[data-feature="raw"] .thumb-badge,
.thumbnail-item[data-feature="grading"] .thumb-badge {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
}

/* Color adaptation thumbnails (Benny) */
.thumbnail-item[data-work="color-adaptation"] {
  border-color: rgba(0, 123, 255, 0.15);
}

.thumbnail-item[data-work="color-adaptation"]:hover {
  border-color: rgba(0, 123, 255, 0.25);
  box-shadow: 0 16px 50px rgba(0, 123, 255, 0.12);
}

.thumbnail-item[data-work="color-adaptation"] .thumb-badge {
  background: rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.4);
}

/* Ensure image container is relative for badge positioning */
.thumbnail-item__image {
  position: relative;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .thumb-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    top: 10px;
    left: 10px;
  }

  .thumb-note {
    font-size: 0.75rem;
  }
}

/* Accessibility: focus states */
.thumbnail-item[data-feature]:focus-visible,
.thumbnail-item[data-work]:focus-visible {
  outline: 3px solid #007bff;
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .thumb-badge,
  .thumbnail-item[data-feature],
  .thumbnail-item[data-work] {
    transition: none;
  }
}


/* ============================================================================
   THUMBNAILS PAGE — RECOVERY + PREMIUM GRID
   ============================================================================ */

/* Page Container */
/* ============================================================
   YOUTUBE THUMBNAILS — HIGH-CTR VISUAL SYSTEMS
   Palette: #0a0a0a · #141414 · #1a1a1a · #2a2a2a · #888 · #fff
   Accent: #ff0000 (YouTube Red) — minimal use only
   ============================================================ */

/* ── Body & Page ── */
.yt-body {
  background: #0a0a0a;
}

.yt-body footer {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
}

.yt-page {
  min-height: 100vh;
  background: #0a0a0a;
  overflow-x: hidden;
}

/* ── HERO ── */
.yt-hero {
  position: relative;
  padding: 6rem 2rem 4rem;
  background: #0a0a0a;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Abstract play-button triangle pattern */
.yt-hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='24,14 24,46 46,30' fill='%23ffffff' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.yt-hero__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Hero Text ── */
.yt-hero__label {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #555;
  border: 1px solid #2a2a2a;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.yt-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.yt-hero__em {
  background: linear-gradient(135deg, #fff 30%, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yt-hero__sub {
  font-size: 1.05rem;
  color: #888;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 0 2.5rem;
}

/* Stats row */
.yt-hero__stats {
  display: flex;
  gap: 2rem;
}

.yt-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.yt-hero__stat-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.yt-hero__stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
}

/* ── Hero 3D Stack ── */
.yt-hero__stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/9;
  margin: 0 auto;
  perspective: 1000px;
  /* Enable 3D space */
  transform-style: preserve-3d;
}

.yt-hero__card {
  position: absolute;
  width: 85%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.yt-hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-hero__card--back {
  top: 0;
  left: 0;
  transform: translateZ(-100px) rotateY(-15deg) rotateX(5deg);
  z-index: 1;
  opacity: 0.5;
  animation: floatBack 12s ease-in-out infinite alternate;
}

.yt-hero__card--mid {
  top: 0;
  left: 8%;
  transform: translateZ(-50px) rotateY(-10deg) rotateX(3deg);
  z-index: 2;
  opacity: 0.75;
  animation: floatMid 10s ease-in-out infinite alternate-reverse;
}

.yt-hero__card--front {
  top: 0;
  left: 15%;
  transform: translateZ(0) rotateY(-5deg) rotateX(2deg);
  z-index: 3;
  animation: floatFront 8s ease-in-out infinite alternate;
}

/* Base Hover States (Optional enhancement if animations are paused on hover) */
.yt-hero__stack:hover .yt-hero__card {
  animation-play-state: paused;
}

.yt-hero__stack:hover .yt-hero__card--back {
  transform: translateZ(-80px) rotateY(-10deg) rotateX(2deg);
  opacity: 0.7;
}

.yt-hero__stack:hover .yt-hero__card--mid {
  transform: translateZ(-30px) rotateY(-5deg) rotateX(1deg);
  opacity: 0.9;
}

.yt-hero__stack:hover .yt-hero__card--front {
  transform: translateZ(20px) rotateY(0deg) rotateX(0deg);
}

/* 3D Float Animations */
@keyframes floatBack {
  0% {
    transform: translateZ(-100px) rotateY(-15deg) rotateX(5deg) translateY(0px);
  }

  100% {
    transform: translateZ(-100px) rotateY(-20deg) rotateX(2deg) translateY(-15px);
  }
}

@keyframes floatMid {
  0% {
    transform: translateZ(-50px) rotateY(-10deg) rotateX(3deg) translateY(0px);
  }

  100% {
    transform: translateZ(-50px) rotateY(-5deg) rotateX(6deg) translateY(10px);
  }
}

@keyframes floatFront {
  0% {
    transform: translateZ(0) rotateY(-5deg) rotateX(2deg) translateY(0px);
  }

  100% {
    transform: translateZ(0) rotateY(0deg) rotateX(-2deg) translateY(-10px);
  }
}

/* Fake YouTube progress bar */
.yt-hero__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
}

.yt-hero__progress-bar {
  width: 65%;
  height: 100%;
  background: #ff0000;
}

/* ── GALLERY SECTION ── */
.yt-gallery {
  padding: 4rem 2rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.yt-gallery__header {
  text-align: center;
  margin-bottom: 3rem;
}

.yt-gallery__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.yt-gallery__sub {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* ── MASONRY GRID ── */
.yt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

  /* Featured card spans 2 columns */
  .yt-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ── VIDEO CARD ── */
.yt-card {
  background: #141414;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease;
  position: relative;
}

.yt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  border-color: #2a2a2a;
}

.yt-card:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Player Container */
.yt-card__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}

.yt-card__player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.yt-card:hover .yt-card__player img {
  transform: scale(1.05);
}

/* Timestamp Badge */
.yt-card__time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.85);
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 3;
  letter-spacing: 0.02em;
}

/* Play Button Overlay */
.yt-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.yt-card:hover .yt-card__play {
  opacity: 1;
}

/* Hover Badge ("High CTR" / "See Case Study") */
.yt-card__badge {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 4;
  transition: bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.yt-card:hover .yt-card__badge {
  bottom: 44px;
  opacity: 1;
}

/* Progress Bar accent (YouTube Red) — bottom of player */
.yt-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.yt-card__progress-fill {
  height: 100%;
  background: #ff0000;
  border-radius: 0 2px 0 0;
}

/* Card Info */
.yt-card__info {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.yt-card__info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e0e0e0;
  margin: 0;
  line-height: 1.3;
}

.yt-card__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  border: 1px solid #2a2a2a;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── PROJECT SHEET OVERLAY ── */
.yt-sheet {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.yt-sheet.active {
  pointer-events: all;
  opacity: 1;
}

.yt-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.yt-sheet__panel {
  position: relative;
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  z-index: 1;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: #2a2a2a #141414;
}

.yt-sheet.active .yt-sheet__panel {
  transform: translateY(0);
}

.yt-sheet__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #2a2a2a;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}

.yt-sheet__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Sheet Hero */
.yt-sheet__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.yt-sheet__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-sheet__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.yt-sheet__progress-fill {
  width: 65%;
  height: 100%;
  background: #ff0000;
}

/* Sheet Body */
.yt-sheet__body {
  padding: 2rem 2rem 1.5rem;
}

.yt-sheet__tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
  border: 1px solid #2a2a2a;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.yt-sheet__title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.yt-sheet__desc {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.7;
  margin: 0 0 2rem;
}

/* Meta grid */
.yt-sheet__meta {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.yt-sheet__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.yt-sheet__meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
}

.yt-sheet__meta-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e0e0e0;
}

/* Feed Mockup */
.yt-sheet__feed {
  padding: 1.5rem 2rem 2rem;
}

.yt-sheet__feed-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin: 0 0 1rem;
}

.yt-sheet__feed-mock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.yt-sheet__feed-card {
  border-radius: 8px;
  overflow: hidden;
}

.yt-sheet__feed-card--active {
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.yt-sheet__feed-card--comp {
  opacity: 0.35;
}

.yt-sheet__feed-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.yt-sheet__feed-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-radius: 8px 8px 0 0;
}

.yt-sheet__feed-text {
  padding: 0.5rem;
}

.yt-sheet__feed-line {
  height: 8px;
  border-radius: 4px;
  background: #2a2a2a;
  margin-bottom: 5px;
}

.yt-sheet__feed-line--title {
  width: 90%;
}

.yt-sheet__feed-line--channel {
  width: 60%;
}

.yt-sheet__feed-line--views {
  width: 45%;
}

/* ── MOBILE FLOATING CTA ── */
.yt-float-cta {
  display: none;
}

/* ── RESPONSIVE ── */

/* Mobile: show play buttons + full-width cards + floating CTA */
@media (max-width: 768px) {
  .yt-hero {
    padding: 5rem 1.5rem 3rem;
    min-height: auto;
  }

  .yt-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .yt-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .yt-hero__stats {
    justify-content: center;
  }

  .yt-hero__stack {
    max-width: 340px;
  }

  /* Play icons always visible on mobile */
  .yt-card__play {
    opacity: 1;
    background: rgba(0, 0, 0, 0.15);
  }

  .yt-card__play svg {
    width: 36px;
    height: 36px;
  }

  /* Gallery */
  .yt-gallery {
    padding: 3rem 1rem 5rem;
  }

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

  .yt-card--featured {
    grid-column: span 1;
  }

  /* Card info */
  .yt-card__info {
    padding: 0.85rem 1rem;
  }

  /* Floating CTA */
  .yt-float-cta {
    display: flex;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #0a0a0a;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    z-index: 9000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .yt-float-cta:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  /* Sheet mobile */
  .yt-sheet__panel {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    max-height: 95vh;
  }

  .yt-sheet__hero {
    border-radius: 16px 16px 0 0;
  }

  .yt-sheet__body {
    padding: 1.5rem;
  }

  .yt-sheet__feed {
    padding: 1rem 1.5rem 1.5rem;
  }

  .yt-sheet__feed-mock {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .yt-sheet__feed-card--comp {
    display: none;
  }

  .yt-sheet__meta {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .yt-hero__title {
    font-size: 2.2rem;
  }

  .yt-hero__stats {
    gap: 1.25rem;
  }

  .yt-hero__stat-val {
    font-size: 1.1rem;
  }

  .yt-hero__stack {
    max-width: 280px;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .yt-card,
  .yt-card__player img,
  .yt-card__play,
  .yt-card__badge,
  .yt-hero__card,
  .yt-sheet,
  .yt-sheet__panel {
    transition: none !important;
  }

  .yt-card:hover {
    transform: none;
  }

  .yt-card:hover .yt-card__player img {
    transform: none;
  }
}

/* High DPI */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .yt-card {
    border-width: 0.5px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ANCHOR SCROLL OFFSET (para que header sticky no tape contenido)
   ═══════════════════════════════════════════════════════════════ */

#portafolio,
#contacto {
  scroll-margin-top: 90px;
}

/* ═══════════════════════════════════════════════════════════════
   ANCHOR SCROLL OFFSET (para que header sticky no tape contenido)
   ═══════════════════════════════════════════════════════════════ */

#portafolio,
#contacto {
  scroll-margin-top: 90px;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT PAGES — MOBILE SPACING FIX & COMPACT SUB-HEADER
   ═══════════════════════════════════════════════════════════════ */

/* MINI-NAV BASE STYLES (Desktop) */
.mini-nav {
  position: sticky;
  top: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 998;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.mini-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.mini-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary, #6c757d);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.mini-nav a:hover {
  color: var(--text-primary, #1a1a1a);
  background: var(--bg-gray, #f8f9fa);
}

.mini-nav a.active {
  color: var(--primary, #2ECC71);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT PAGES — MOBILE: REMOVE TOP WHITESPACE (iOS SAFARI FIRST)
   Elimina "dead space" al cargar proyectos en móvil sin tocar desktop
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* 1) Evitar overflow horizontal que causa espacios raros */
  .project-page,
  .project-page body,
  .project-page main {
    overflow-x: hidden;
  }

  /* 2) Main sin padding extra - el sticky header ya crea el offset necesario */
  .project-page main {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* 3) Quitar "empujes" extra en el primer bloque */
  .project-page main>section:first-child,
  .project-page main>.section:first-child,
  .project-page main>.container:first-child,
  .project-page main>nav:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* 4) Normalizar márgenes del primer H1/título */
  .project-page h1,
  .project-page .hero h1,
  .project-page .hero-dual h1,
  .project-page .hero-premium h1,
  .project-page .hero-pulse h1,
  .project-page .project-hero h1 {
    margin-top: 0 !important;
  }

  /* 5) Hero sin min-height 100vh - causa principal de dead space en iOS */
  .project-page .hero,
  .project-page .hero-dual,
  .project-page .hero-premium,
  .project-page .hero-pulse,
  .project-page .project-hero,
  .project-page .hero-section {
    min-height: auto !important;
    height: auto !important;
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* 6) Mini-nav ultra compacto */
  .project-page .mini-nav {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    padding: 0.35rem 0 !important;
  }

  /* 7) Contenido inmediatamente después del mini-nav */
  .project-page .mini-nav+section,
  .project-page .mini-nav+.hero,
  .project-page .mini-nav+.hero-dual,
  .project-page .mini-nav+.hero-premium,
  .project-page .mini-nav+.hero-pulse {
    padding-top: 0.25rem !important;
    margin-top: 0 !important;
  }

  /* 8) Container del mini-nav - scroll horizontal sin wrap */
  .project-page .mini-nav-container {
    white-space: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0.5rem !important;
    padding: 0 1rem !important;
  }

  /* 9) Links del mini-nav compactos */
  .project-page .mini-nav a {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    padding: 0.4rem 0.75rem !important;
    flex-shrink: 0 !important;
  }

  /* 10) Sections regulares sin padding-top excesivo */
  .project-page .section,
  .project-page .content-section,
  .project-page .case-study-section,
  .project-page .project-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  /* 11) Pulse container específico */
  .project-page .pulse-container>section:first-of-type {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
  }
}

/* End of PROJECT PAGES — MOBILE whitespace removal */

/* ═══════════════════════════════════════════════════════════════
   MOBILE GENERAL STYLES (BELOW 768px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Adjust scroll margin for sticky elements */
  section[id],
  .anchor-target {
    scroll-margin-top: 130px;
  }

  /* Remove min-height: 100vh from sections */
  .full-height-section,
  .section-full {
    min-height: auto;
  }

  /* Normalize gaps between sections */
  .brands-split,
  .grid-layout,
  .gallery-grid {
    gap: 1.5rem;
  }

  /* Compact project badge */
  .project-badge {
    top: 62px;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  /* Reduce line-height for tighter spacing */
  p,
  .description,
  .text-content {
    line-height: 1.5;
  }

  h1,
  h2,
  h3 {
    margin-bottom: 0.75rem;
  }

  /* ═══════════════════════════════════════════════════════════════
       FIX: MINI NAV — MOBILE REMOVE WHITESPACE (ONLY)
       Neutraliza padding/margin heredados del desktop que inflan altura
       ═══════════════════════════════════════════════════════════════ */
  nav.mini-nav {
    /* Espacio limpio arriba (separado del header) y abajo (separado del contenido) */
    margin: 1.25rem 0 1rem 0 !important;
    padding: 0.75rem 0 !important;

    /* Asegurar que no hereda height inflado */
    height: auto !important;
    min-height: 0 !important;

    /* Mantener sticky pero sin offset extra */
    position: sticky;
    top: 58px;
    z-index: 998;
    width: 100%;

    /* Visual limpio */
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    /* Safari fix */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;

    /* Chrome rendering fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }

  .mini-nav-container {
    /* Layout compacto horizontal */
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
    max-width: 100%;

    padding: 0 1rem !important;
    margin: 0 !important;

    /* Scroll horizontal suave sin afectar altura */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;

    white-space: nowrap;
    justify-content: center;
  }

  .mini-nav-container::-webkit-scrollbar {
    display: none;
  }

  .mini-nav-container a {
    /* Links compactos sin padding excesivo */
    padding: 0.5rem 0.75rem !important;
    margin: 0 !important;
    line-height: 1.2 !important;

    flex: 0 0 auto;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.75rem;

    /* Visual */
    background: transparent;
    border: none;
    border-radius: 0;
    color: #6c757d;
  }

  .mini-nav a.active {
    color: #6c757d;
    font-weight: 600;
    border-bottom: none;
  }

  .mini-nav a:hover {
    color: #1a1a1a;
    background: transparent;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO NAVIGATION DRAWER (Hamburger Menu for Projects)
   ═══════════════════════════════════════════════════════════════ */

.portfolio-nav-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1002;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  /* Safe area support */
  right: max(1rem, env(safe-area-inset-right));
  top: max(12px, calc(env(safe-area-inset-top) + 4px));
}

.portfolio-nav-toggle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.portfolio-nav-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.portfolio-nav-toggle .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* Neutralize global .hamburger bleed */
  background-color: transparent !important;
  position: relative;
}

.portfolio-nav-toggle .hamburger::before,
.portfolio-nav-toggle .hamburger::after {
  content: none !important;
  display: none !important;
}

.portfolio-nav-toggle .hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

/* Dark Theme Mobile Nav Hamburger Fix */
body[style*="background: var(--dark-bg)"] .portfolio-nav-toggle .hamburger span,
body[style*="background: #0a0a0a"] .portfolio-nav-toggle .hamburger span,
body[style*="background-color: #0a0a0a"] .portfolio-nav-toggle .hamburger span {
  background: #FFFFFF !important;
}

/* Pulse Fit Custom Orange Hamburger */
.pulse-fit .portfolio-nav-toggle .hamburger span {
  background: #FF6600 !important;
}

.portfolio-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.portfolio-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.portfolio-nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Portfolio Drawer */
.portfolio-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  height: 100dvh;
  /* Dynamic viewport height for mobile */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Safe area support */
  padding-top: max(5rem, calc(env(safe-area-inset-top) + 4rem));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  padding-right: max(2rem, env(safe-area-inset-right));
}

.portfolio-drawer.open {
  transform: translateX(0);
}

.portfolio-drawer-header {
  margin-bottom: 2rem;
}

.portfolio-drawer-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.portfolio-drawer-header p {
  font-size: 0.875rem;
  color: var(--secondary);
}

.portfolio-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  /* Safe area */
  top: max(1.5rem, calc(env(safe-area-inset-top) + 0.5rem));
  right: max(1.5rem, env(safe-area-inset-right));
}

.portfolio-drawer-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.portfolio-drawer-close:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.portfolio-drawer-close span {
  font-size: 1.5rem;
  color: var(--dark);
  line-height: 1;
}

.portfolio-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-drawer-link {
  display: block;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-drawer-link:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateX(-4px);
}

.portfolio-drawer-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.portfolio-drawer-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.portfolio-drawer-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 1.5rem 0;
}

/* Secondary navigation section (Thumbnails, Paquetes, Contacto) */
.portfolio-drawer-secondary {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.portfolio-drawer-link.secondary {
  font-size: 0.9375rem;
  opacity: 0.88;
  letter-spacing: 0.01em;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.portfolio-drawer-link.secondary:hover {
  opacity: 1;
}

.portfolio-drawer-link.secondary:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.4);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Overlay */
.portfolio-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-drawer-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Show portfolio hamburger ONLY on tablet/mobile, hide desktop header */
@media (max-width: 1024px) {
  body[data-page="project"] .portfolio-nav-toggle {
    display: flex;
  }

  .project-desktop-header {
    display: none !important;
  }
}

/* Desktop: ensure portfolio hamburger + drawer stay hidden, show desktop header */
@media (min-width: 1025px) {
  .portfolio-nav-toggle {
    display: none !important;
  }

  .portfolio-drawer,
  .portfolio-drawer-overlay {
    display: none !important;
    pointer-events: none;
  }

  .project-desktop-header {
    display: block !important;
  }
}

/* Prevent body scroll when drawer is open */
body.portfolio-drawer-open {
  overflow: hidden;
}

/* Mobile styles for portfolio toggle */
@media (max-width: 768px) {
  .portfolio-nav-toggle {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
  }

  .portfolio-nav-toggle:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
  }
}

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .portfolio-nav-toggle,
  .portfolio-drawer,
  .portfolio-drawer-overlay,
  .portfolio-drawer-link {
    transition: none !important;
  }

  .portfolio-nav-toggle .hamburger span {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM SCROLL REVEAL SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Base: hidden state */
.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

/* Visible state (added by IntersectionObserver) */
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger children — delays set via JS on each child */

/* ═══════════════════════════════════════════════════════════════
   PROJECT CARD HOVER — SCALE & LIFT (Desktop only)
   ═══════════════════════════════════════════════════════════════ */

@media (hover: hover) {
  .project-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .project-card:hover {
    transform: scale(1.02) translate3d(0, -6px, 0);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }

  /* Service cards lift */
  .service-card-new {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .service-card-new:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  /* Thumbnail cards lift */
  .thumbnail-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .thumbnail-card:hover {
    transform: scale(1.02) translate3d(0, -4px, 0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }
}

/* ═══════════════════════════════════════════════════════════════
   MAGNETIC BUTTON
   ═══════════════════════════════════════════════════════════════ */

.magnetic-btn {
  transition: transform 0.2s ease-out;
}

/* ═══════════════════════════════════════════════════════════════
   SUCCESS OVERLAY & CONFETTI
   ═══════════════════════════════════════════════════════════════ */

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  animation: overlayFadeIn 0.4s ease-out forwards;
}

@keyframes overlayFadeIn {
  to {
    opacity: 1;
  }
}

.success-message {
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-message .success-icon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.success-message .success-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}

.success-message .success-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 400;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Canvas for confetti — always GPU-composited */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 10001;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE & ACCESSIBILITY SAFEGUARDS
   ═══════════════════════════════════════════════════════════════ */

/* Disable hover transforms on touch devices */
@media (hover: none) {

  .project-card:hover,
  .service-card-new:hover,
  .thumbnail-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .success-overlay,
  .success-message {
    animation: none !important;
    opacity: 1 !important;
  }

  .magnetic-btn {
    transition: none !important;
  }

  .project-card,
  .service-card-new,
  .thumbnail-card {
    transition: none !important;
  }
}


/* ============================================================
   SYSTEM SPECIFICATION — TWO-PHASE COMPARISON
   ============================================================ */

.spec-section {
  padding: 5rem 2rem;
  background: #fafbfc;
}

.spec-section__title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #212529;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}

/* Phase Container — side-by-side on desktop */
.spec-phases {
  display: flex;
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.spec-phase {
  flex: 1;
  min-width: 0;
}

/* Vertical Divider (desktop only) */
.spec-divider {
  width: 1px;
  background: transparent;
  align-self: stretch;
  flex-shrink: 0;
}

/* ── Phase Header ── */
.spec-phase__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #212529;
}

.spec-phase__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #868e96;
  margin-bottom: 0.25rem;
  font-family: 'IBM Plex Mono', monospace;
}

.spec-phase__name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #212529;
  letter-spacing: -0.01em;
  margin: 0;
}

.spec-phase__tag {
  font-size: 0.85rem;
  font-weight: 400;
  color: #868e96;
  margin-left: 0.5rem;
}

/* ── Desktop Grid ── */
.spec-grid {
  display: grid;
  gap: 0;
}

.spec-grid--build {
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.spec-grid--run {
  grid-template-columns: 1.4fr repeat(2, 1fr);
}

/* — Header cells — */
.spec-grid__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.2rem 0.8rem;
  background: #f1f3f5;
  border-bottom: 2px solid #dee2e6;
  text-align: center;
  gap: 0.2rem;
}

.spec-grid__feature-header {
  align-items: flex-start;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #868e96;
  font-family: 'IBM Plex Mono', monospace;
}

.spec-grid__header--highlighted {
  background: #0A0510;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.spec-grid__header--highlighted .spec-grid__plan-name {
  color: #ffffff;
}

.spec-grid__header--highlighted .spec-grid__price {
  color: #9b59b6;
}

.spec-grid__header--highlighted .spec-grid__period {
  color: #adb5bd;
}

.spec-grid__plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
}

.spec-grid__price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.1;
}

.spec-grid__period {
  font-size: 0.85rem;
  font-weight: 400;
  color: #868e96;
}

/* Badges */
.spec-grid__badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-top: 0.15rem;
}

.spec-grid__badge--blue {
  background: #FF6B00;
  color: #ffffff;
}

.spec-grid__badge--orange {
  background: rgba(255, 102, 0, 0.12);
  color: #cc5200;
}

.spec-grid__badge--accent {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  color: #ffffff;
}

/* — Data cells — */
.spec-grid__feature,
.spec-grid__cell {
  padding: 0.85rem 0.8rem;
  border-bottom: 1px solid #f1f3f5;
  font-size: 0.9rem;
}

.spec-grid__feature {
  font-weight: 600;
  color: #212529;
  display: flex;
  align-items: center;
}

.spec-grid__cell {
  text-align: center;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-grid__cell--highlighted {
  background: #0A0510;
  color: #dee2e6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-grid__cell--highlighted .spec-check {
  color: #9b59b6;
}

.spec-grid__cell--highlighted .spec-data {
  color: #ffffff;
}

/* CTA row */
.spec-grid__cta-row {
  padding: 1.5rem 0.8rem;
  border-bottom: none;
  background: transparent !important;
}

.spec-grid__cell--highlighted.spec-grid__cta-row {
  background: #0A0510 !important;
}

/* Check / Dash icons */
.spec-check {
  color: #28a745;
  font-size: 1rem;
}

.spec-dash {
  color: #ced4da;
  font-size: 1.2rem;
  font-weight: 300;
}

/* Monospace data points */
.spec-data {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 0.85rem;
  color: #212529;
}

/* ── Buttons ── */
.spec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Ghost (outline) — BUILD "Elegir" */
.spec-btn--ghost {
  background: transparent;
  border: 2px solid #212529;
  color: #212529;
}

.spec-btn--ghost:hover {
  background: #212529;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Solid (filled) — RUN "Aplicar" */
.spec-btn--solid {
  background: #212529;
  border: 2px solid #212529;
  color: white;
}

.spec-btn--solid:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Accent variant */
.spec-btn--accent {
  border-color: #9b59b6;
  color: #9b59b6;
}

.spec-btn--accent.spec-btn--ghost:hover {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.25);
}

.spec-btn--accent.spec-btn--solid {
  background: linear-gradient(135deg, #6f42c1, #9b59b6);
  border-color: transparent;
  color: #ffffff;
}

.spec-btn--accent.spec-btn--solid:hover {
  background: linear-gradient(135deg, #5a32a3, #8e44ad);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.35);
}

.spec-btn--full {
  width: 100%;
}

/* ── Mobile Carousel ── */
.spec-carousel {
  display: none;
}

/* ── RESPONSIVE: hide desktop grid, show carousel ── */
@media (max-width: 1024px) {
  .spec-phases {
    flex-direction: column;
    gap: 3rem;
  }

  .spec-divider {
    width: 100%;
    height: 1px;
    background: transparent;
  }
}

@media (max-width: 768px) {
  .spec-section {
    padding: 3rem 0;
    overflow: hidden;
    max-width: 100vw;
  }

  .spec-section__title {
    margin-bottom: 2.5rem;
    padding: 0 20px;
  }

  .spec-grid {
    display: none !important;
  }

  /* ── Overflow containment: forces track to scroll ── */
  .spec-phase {
    overflow: hidden;
    max-width: 100%;
  }

  .spec-carousel {
    display: block !important;
    overflow: hidden;
    max-width: 100%;
  }

  /* ══════════════════════════════════════════════
     CAROUSEL TRACK — SCROLL UNLOCK
     ══════════════════════════════════════════════ */
  .spec-carousel__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    padding: 0.5rem 20px 1rem 20px;
    gap: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .spec-carousel__track::-webkit-scrollbar {
    display: none;
  }

  /* ══════════════════════════════════════════════
     SPEC CARD — FIXED WIDTH + FLEX COLUMN
     ══════════════════════════════════════════════ */
  .spec-card {
    flex: 0 0 85vw !important;
    max-width: 320px;
    scroll-snap-align: center;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .spec-card--accent {
    background: #0A0510;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  /* ══════════════════════════════════════════════
     CARD HEAD — FIXED HEIGHT LOCKS PRICE ALIGNMENT
     ══════════════════════════════════════════════ */
  .spec-card__head {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f1f3f5;
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .spec-card--accent .spec-card__head {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  /* Phase tag */
  .spec-card__phase-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #868e96;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
  }

  .spec-card__phase-tag--run {
    border-color: rgba(212, 175, 55, 0.25);
    color: #8a6d1b;
  }

  /* Badge */
  .spec-card__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    min-height: 22px;
  }

  .spec-card__badge--blue {
    background: #FF6B00;
    color: #ffffff;
  }

  .spec-card__badge--orange {
    background: rgba(255, 102, 0, 0.12);
    color: #cc5200;
  }

  .spec-card__badge--accent,
  .spec-card__badge--pro {
    background: linear-gradient(135deg, #6f42c1, #9b59b6);
    color: #ffffff;
  }

  /* Plan name */
  .spec-card__name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #212529;
    margin: 0 0 0.25rem;
    text-align: center;
  }

  /* Price — pinned to bottom of head via margin-top: auto */
  .spec-card__price {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: auto 0 0 0;
    line-height: 1.1;
    text-align: center;
  }

  .spec-card--accent .spec-card__name {
    color: #ffffff;
  }

  .spec-card--accent .spec-card__price {
    color: #9b59b6;
  }

  .spec-card__period {
    font-size: 0.9rem;
    font-weight: 400;
    color: #868e96;
  }

  .spec-card--accent .spec-card__period,
  .spec-card--accent .spec-card__phase-tag {
    color: #adb5bd;
    border-color: rgba(255, 255, 255, 0.15);
  }

  /* ══════════════════════════════════════════════
     FEATURES LIST — fills remaining space
     ══════════════════════════════════════════════ */
  .spec-card__features {
    list-style: none;
    margin: 0;
    padding: 1rem 1.5rem;
    flex: 1;
  }

  .spec-card__features li {
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.88rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .spec-card--accent .spec-card__features li {
    color: #dee2e6;
    border-bottom-color: rgba(255, 255, 255, 0.05);
  }

  .spec-card--accent .spec-data {
    color: #ffffff;
  }

  .spec-card--accent .spec-check {
    color: #9b59b6;
  }

  .spec-card__features li:last-child {
    border-bottom: none;
  }

  .spec-card__features .spec-check {
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .spec-card__features .spec-dash {
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
  }

  /* Data row */
  .spec-card__data {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .spec-card__data .spec-data {
    text-align: right;
  }

  /* ══════════════════════════════════════════════
     CTA BUTTON — PREMIUM GHOST RESTYLE
     Pinned to card bottom via margin-top: auto
     ══════════════════════════════════════════════ */
  .spec-card .spec-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: calc(100% - 3rem);
    margin: auto 1.5rem 1.5rem;
    min-height: 48px;
    padding: 14px 1.5rem;
    background: transparent !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 50px;
    color: #1a1a1a !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .spec-card .spec-btn:active {
    background: #1a1a1a !important;
    color: white !important;
    transform: scale(0.97);
  }

  /* Accent button variant (Avanzado / BB Pro) */
  .spec-card .spec-btn--accent {
    background: linear-gradient(135deg, #6f42c1, #9b59b6) !important;
    border-color: transparent !important;
    color: #ffffff !important;
  }

  .spec-card .spec-btn--accent:active {
    background: linear-gradient(135deg, #5a32a3, #8e44ad) !important;
    color: #ffffff !important;
  }

  /* ── Pagination dots ── */
  .spec-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 20px 0;
  }

  .spec-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dee2e6;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .spec-dot.active {
    background: #212529;
    transform: scale(1.3);
  }

  /* Phase header */
  .spec-phase__header {
    margin-bottom: 1rem;
    padding: 0 20px 0.75rem;
  }

  .spec-phase__name {
    font-size: 1.25rem;
  }
}

/* Small phone — wider cards fill more screen */
@media (max-width: 480px) {
  .spec-card {
    flex: 0 0 90vw !important;
    max-width: none;
  }
}

/* ── NEW WEB PRICING CARDS ── */
.web-pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.web-pricing-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.web-pricing-card--ultra {
  background: linear-gradient(145deg, #111, #1a1025);
  border: 1px solid rgba(168, 85, 247, 0.5);
  position: relative;
  overflow: hidden;
}

.web-pricing-card--ultra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4b5ff, #8b5cf6);
}

.web-pack-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.web-pack-cost {
  margin-bottom: 0.2rem;
}

.web-pack-price {
  font-family: var(--font-mono, monospace);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.web-pack-suffix {
  font-size: 0.9rem;
  color: #868e96;
  margin-left: 0.2rem;
}

.web-pack-sub {
  font-size: 0.8rem;
  color: #adb5bd;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.web-pack-features {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
}

.web-pack-features li {
  font-size: 0.9rem;
  color: #dee2e6;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.web-pack-features i {
  color: var(--blue);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ── MAINTENANCE CARD ── */
.web-maint-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
}

.web-maint-title {
  font-size: 1rem;
  font-weight: 600;
  color: #dee2e6;
  margin-bottom: 0.5rem;
}

.web-maint-cost {
  margin-bottom: 0.25rem;
}

.web-maint-price {
  font-family: var(--font-mono, monospace);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.web-maint-suffix {
  font-size: 0.8rem;
  color: #868e96;
  margin-left: 0.2rem;
}

.web-maint-sub {
  font-size: 0.8rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.web-maint-desc {
  font-size: 0.8rem;
  color: #adb5bd;
  line-height: 1.5;
  margin: 0;
}