/* ===== DESIGN SYSTEM & VARIABLES ===== */
:root {
  /* Colors */
  --color-bg-dark: #0a0e17;
  --color-bg-darker: #05080f;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  
  --color-primary: #f59e0b; /* Amber/Orange from the image */
  --color-primary-hover: #d97706;
  --color-secondary: #1e293b;
  
  --color-text-light: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dark: #0f172a;
  --color-text-dark-muted: #475569;
  
  --color-accent-1: #3b82f6; /* Blue */
  --color-accent-2: #10b981; /* Emerald */
  --color-accent-3: #8b5cf6; /* Violet */
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Transitions & Animation */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===== TYPOGRAPHY UTILS ===== */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-text-dark);
}

.btn-outline-dark:hover {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: var(--color-text-light);
  color: var(--color-bg-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.5rem 0;
  background-color: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background-color: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text-light);
  z-index: 1001;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Convierte el logo a blanco */
  transition: transform var(--transition-fast);
}

.nav-logo:hover .logo-img {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 700;
  position: relative;
}

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-darker);
    padding: var(--space-md);
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active .nav-link {
    font-size: 1.25rem;
    padding: var(--space-xs) 0;
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
  color: var(--color-text-light);
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity;
}

.hero-bg-layer.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Degradado azul brillante a azul oscuro */
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  font-weight: 400;
}

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

.play-icon {
  font-size: 0.8rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0.6;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%) rotate(45deg); }
  40% { transform: translateY(-10px) translateX(-50%) rotate(45deg); }
  60% { transform: translateY(-5px) translateX(-50%) rotate(45deg); }
}

/* ===== SECTIONS GENERIC ===== */
.section {
  padding: var(--space-xl) 0;
}

.section-light {
  background-color: var(--color-bg-light);
}

.section-gray {
  background-color: #f1f5f9;
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.section-eyebrow {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.section-title--light {
  color: var(--color-text-light);
}

.section-subtitle {
  color: var(--color-text-dark-muted);
  font-size: 1.125rem;
}

.section-subtitle--light {
  color: var(--color-text-muted);
}

/* ===== VISIBILIDAD Y BRANDING (SERVICES) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

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

.feature-card--dark {
  background: var(--color-secondary);
  color: var(--color-text-light);
  border: none;
}

.feature-card--blue {
  background: var(--color-accent-1);
  color: var(--color-text-light);
  border: none;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-color);
  margin-bottom: var(--space-md);
}

.feature-card--dark .feature-icon-wrap,
.feature-card--blue .feature-icon-wrap {
  background-color: rgba(255,255,255,0.1);
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.feature-desc {
  color: var(--color-text-dark-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.feature-card--dark .feature-desc,
.feature-card--blue .feature-desc {
  color: var(--color-text-light);
  opacity: 0.9;
}

.feature-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
  aspect-ratio: 16/9;
  display: none; /* Oculto por defecto, se muestra al expandir */
  width: 100%;
}

/* === EXPANDED STATE === */
.feature-card.expanded {
  grid-column: span 2;
  cursor: default;
}

.feature-card {
  cursor: pointer;
}

.feature-card.expanded .feature-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: 
    "title image"
    "desc  image"
    "link  image";
  gap: 0 var(--space-lg);
  align-items: start;
}

.feature-card.expanded .feature-title { grid-area: title; }
.feature-card.expanded .feature-desc { grid-area: desc; }
.feature-card.expanded .feature-link { 
  grid-area: link; 
  margin-top: var(--space-md); 
  align-self: end;
  pointer-events: auto; /* Permitir clic al catálogo solo cuando esté expandida */
}

/* El enlace no es clickeable por defecto (para que no te lleve al catálogo al hacer clic para expandir la tarjeta) */
.feature-link {
  pointer-events: none;
}

/* Controlar textos del enlace */
.link-full { display: none; }
.feature-card.expanded .link-short { display: none; }
.feature-card.expanded .link-full { display: inline; }

/* Controlar textos cortos y largos en tarjetas expandibles */
.feature-desc-full {
  display: none;
}
.feature-card.expanded .feature-desc-short {
  display: none;
}
.feature-card.expanded .feature-desc-full {
  display: block;
}

.feature-card.expanded .feature-image-wrap {
  grid-area: image;
  display: block;
  height: 100%;
  margin: 0;
}

@media (max-width: 768px) {
  .feature-card.expanded {
    grid-column: span 1;
  }
  .feature-card.expanded .feature-body {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "title"
      "desc"
      "image"
      "link";
  }
  .feature-card.expanded .feature-image-wrap {
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
  }
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover .feature-img-overlay {
  opacity: 1;
}

.feature-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

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

.feature-link--light {
  color: var(--color-text-light);
}

.feature-link--light:hover {
  color: var(--color-primary);
}

/* ===== CATÁLOGO ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.catalog-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.catalog-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Placeholder gradient for images */
.img-placeholder-1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.img-placeholder-2 { background: linear-gradient(135deg, #10b981, #047857); }
.img-placeholder-3 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.img-placeholder-4 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.img-placeholder-5 { background: linear-gradient(135deg, #ec4899, #be185d); }
.img-placeholder-6 { background: linear-gradient(135deg, #64748b, #334155); }

.catalog-card:hover .catalog-img {
  transform: scale(1.1);
}

.catalog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,15,0.9) 0%, rgba(5,8,15,0.4) 50%, rgba(5,8,15,0.1) 100%);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all var(--transition-normal);
}

.catalog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-xs);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.catalog-title {
  font-size: 1.5rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
  transform: translateY(20px);
  transition: all var(--transition-normal) 0.1s;
}

.catalog-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal) 0.2s;
}

.catalog-card .btn {
  align-self: flex-start;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal) 0.3s;
}

.catalog-card:hover .catalog-tag,
.catalog-card:hover .catalog-title,
.catalog-card:hover .catalog-desc,
.catalog-card:hover .btn {
  transform: translateY(0);
  opacity: 1;
}

.catalog-cta {
  text-align: center;
}

/* ===== CLIENTES (LOGOS & TESTIMONIALS) ===== */
.logos-track-wrapper {
  overflow: hidden;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-xl);
  position: relative;
}

.logos-track-wrapper::before,
.logos-track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.logos-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.logos-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 6rem; /* Aumentado de 4rem para más separación */
  width: max-content;
  animation: slide 30s linear infinite;
}

.logo-item {
  height: 45px; /* Altura controlada para hacerlos más chicos y uniformes */
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%); /* Filtro para que se vean uniformes y elegantes */
  transition: all var(--transition-normal);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 2rem)); }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--color-bg-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stars {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text-dark-muted);
  margin-bottom: var(--space-lg);
  position: relative;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-size: 4rem;
  color: #f1f5f9;
  font-family: serif;
  z-index: -1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.author-name {
  font-weight: 700;
  color: var(--color-text-dark);
}

.author-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-primary);

  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 800;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
  color: var(--color-primary);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
  background-color: var(--color-bg-white);
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--color-text-dark-muted);
}


/* ===== PORTFOLIO ===== */
.portfolio-marquee {
  display: flex;
  overflow: hidden;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: 1rem 0;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%); /* This breaks the container width to span full viewport */
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-md);
  animation: scrollPortfolio 25s linear infinite;
}

.portfolio-marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollPortfolio {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--space-md)));
  }
}

.portfolio-item {
  width: 350px;
  height: 250px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CTA FINAL ===== */
.section-cta {
  background-color: var(--color-bg-darker);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.cta-subtitle {
  color: var(--color-text-muted);
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.cta-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-text-light);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
  .cta-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-bg-darker);
  color: var(--color-text-muted);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  padding-right: var(--space-lg);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-sm);
  display: inline-flex;
}

.footer-tagline {
  font-size: 0.95rem;
}

.footer-col-title {
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* ===== ANIMATIONS & UTILS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: var(--color-text-muted);
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text-dark);
}

.modal-header {
  margin-bottom: var(--space-md);
  text-align: center;
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--color-text-dark-muted);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.text-optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.form-group input {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background-color: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background-color: var(--color-bg-white);
}

.form-group input::placeholder {
  color: #94a3b8;
}

/* ===== WHY US SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xl);
}

.why-item {
  text-align: center;
  padding: 0 var(--space-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover {
  transform: scale(1.08);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.why-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Floating WhatsApp Button */
.float-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  background-color: var(--color-secondary);
  border-radius: 12px;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.float-wa:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.float-wa-icon {
  background-color: var(--color-primary);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-wa-text {
  padding: 0 20px 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.float-wa-title {
  color: #adb5bd;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.float-wa-subtitle {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .float-wa {
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
  }
  .float-wa-text {
    display: none;
  }
  .float-wa-icon {
    border-radius: 50%;
  }
}

