/* ================================
   index3.html - Creative Modern Layout
   Modern design with unified color palette
   ================================ */

/* Color palette variables for consistency */
:root {
  --color-primary: #007caf;
  --color-primary-dark: #005f8c;
  --color-primary-light: #37bae2;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-family: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;

  /* Layout */
  --header-height: 70px;

  /* Radius */
  --radius: 8px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ================================
   CSS Reset
   ================================ */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: #0b1320;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ================================
   Utility Classes
   ================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.hero-creative .container {
  max-width: 1400px;
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

/* ================================
   Image Lazy Loading & Skeleton
   ================================ */

.img-wrapper {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.img-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 20%,
    #f0f0f0 40%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  z-index: 1;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.img-wrapper img {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  position: relative;
  z-index: 2;
}

.img-wrapper img.loaded {
  opacity: 1;
}

.img-wrapper.loaded .img-skeleton {
  display: none;
}

/* ================================
   Header with Glassmorphism
   ================================ */

.header-creative {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary-dark);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 124, 175, 0.1);
  padding: var(--spacing-lg) 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-creative .nav-link {
  color: #fff;
}

/* .scrolled class removed - header keeps consistent appearance */

.logo-creative {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-creative img {
  height: 60px;
  width: auto;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav {
  display: block;
}

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

.nav-link {
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: var(--spacing-xs) 0;
  text-decoration: none;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width var(--transition);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  position: relative;
  transition: background-color var(--transition);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform var(--transition);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu */
@media (max-width: 899px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-height) + var(--spacing-lg));
    left: 0;
    right: 0;
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

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

  .nav-list {
    flex-direction: column;
    padding: var(--spacing-lg);
    gap: var(--spacing-sm);
  }

  .nav-link {
    display: block;
    padding: var(--spacing-sm);
  }
}

/* ================================
   Hero Creative
   ================================ */

.hero-creative {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--spacing-3xl));
  padding-bottom: var(--spacing-3xl);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 19, 32, 0.3) 0%,
    rgba(11, 19, 32, 0.8) 100%
  );
  z-index: -1;
}

.hero-video-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.4) 1px,
    transparent 1px
  );
  background-size: 4px 4px;
  opacity: 0.5;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.hero-creative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.hero-creative-left {
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 900px;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-creative-label {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
  animation: fadeIn 1.2s ease;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-creative-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-creative-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: var(--spacing-xl);
  max-width: 850px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-creative-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--spacing-md);
  align-items: center;
}

.hero-creative-right {
  animation: slideInRight 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.15);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-md);
  backdrop-filter: blur(20px);
}

.hero-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 124, 175, 0.3);
}

.hero-stat-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
}

.hero-stat-card:hover .hero-stat-icon {
  background: rgba(255, 255, 255, 0.35);
  color: white;
  transform: scale(1.1);
}

.hero-stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  flex: 1;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.3;
}

.hero-creative-scroll {
  position: absolute;
  bottom: var(--spacing-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  animation: fadeIn 2s ease;
}

.scroll-indicator {
  width: 2px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    var(--color-primary-light) 0%,
    transparent 100%
  );
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%,
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* ================================
   Buttons Creative
   ================================ */

.btn-creative {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
}

.btn-creative-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: white;
  box-shadow: 0 4px 16px rgba(0, 124, 175, 0.4);
}

.btn-creative-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 124, 175, 0.6);
}

.btn-creative-primary svg {
  transition: transform 0.3s ease;
}

.btn-creative-primary:hover svg {
  transform: translateX(4px);
}

.btn-creative-secondary {
  background: white;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-creative-secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-creative-full {
  width: 100%;
  justify-content: center;
}

/* ================================
   Section Headers Creative
   ================================ */

.section-header-creative {
  margin-bottom: var(--spacing-2xl);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-left: var(--spacing-lg);
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--color-primary-light);
}

.section-title-creative {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.2;
}

/* ================================
   Services Creative
   ================================ */

.services-creative {
  padding-block: 5rem;
  padding-inline: 0;
  background: #f7f9fa;
}

.services-creative-grid {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.service-creative-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 124, 175, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 400px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-creative-card.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-creative-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 124, 175, 0.3);
}

.service-creative-number {
  position: absolute;
  top: var(--spacing-lg);
  left: var(--spacing-lg);
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-primary-light);
  line-height: 1;
  z-index: 2;
  transition: all 0.4s ease;
  text-shadow: none;
}

.service-creative-card:hover .service-creative-number {
  color: var(--color-primary-light);
  transform: scale(1.1);
}

.service-creative-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.service-creative-image .img-wrapper {
  width: 100%;
  height: 100%;
}

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

.service-creative-card:hover .service-creative-image img {
  transform: scale(1.08);
}

.service-creative-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 19, 32, 0) 0%,
    rgba(11, 19, 32, 0) 100%
  );
}

.service-creative-content {
  padding: var(--spacing-2xl);
  background: white;
}

.service-creative-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.service-creative-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: var(--spacing-xl);
}


/* ================================
   Clients Marquee Creative
   ================================ */

.clients-creative {
  padding-block: 5rem;
  padding-inline: 0;
  background: white;
  overflow: hidden;
  position: relative;
}

.clients-creative-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.clients-creative-track {
  display: flex;
  gap: 3rem;
  animation: marqueeCreative 60s linear infinite;
  width: fit-content;
  will-change: transform;
}

/* Animación continua sin saltos */
@keyframes marqueeCreative {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.clients-creative-track:hover {
  animation-play-state: paused;
}

.client-item {
  flex: 0 0 auto;
  width: 270px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.3s ease;
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

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

/* ================================
   News Creative
   ================================ */

.news-creative {
  padding-block: 5rem;
  padding-inline: 0;
  background: white;
}

.news-creative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.news-creative-featured {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 124, 175, 0.1);
  transition: all 0.4s ease;
}

.news-creative-featured.animate-in {
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.news-creative-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 124, 175, 0.3);
}

.news-creative-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.news-creative-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-creative-featured:hover .news-creative-image-wrapper img {
  transform: scale(1.05);
}

.news-creative-tag {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
}

.news-creative-content {
  padding: var(--spacing-2xl);
  background: white;
}

.news-creative-content time {
  display: block;
  font-size: 0.875rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.news-creative-content h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b1320;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.news-creative-content p {
  color: #4a5568;
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.news-creative-small {
  background: #f7f9fa;
  padding: var(--spacing-2xl);
  border-radius: 16px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.news-creative-small.animate-in {
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.news-creative-small:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 124, 175, 0.15);
  background: white;
}

.news-creative-small time {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.news-creative-small h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0b1320;
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.news-creative-small p {
  font-size: 0.9375rem;
  color: #4a5568;
  margin-bottom: var(--spacing-md);
}

.news-creative-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-creative-link:hover {
  gap: var(--spacing-sm);
}

/* ================================
   Parallax Section
   ================================ */

.parallax-section {
  position: relative;
  height: 400px;
  background-image: url("https://images.unsplash.com/photo-1542300058-ff56c44c4be0?q=80&w=1374&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 124, 175, 0.85) 0%,
    rgba(0, 95, 140, 0.85) 100%
  );
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: var(--spacing-2xl);
  max-width: 800px;
  animation: fadeInScale 1s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.parallax-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: var(--spacing-md);
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.parallax-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Disable parallax on mobile for better performance */
@media (max-width: 899px) {
  .parallax-section {
    background-attachment: scroll;
    height: 350px;
  }
}

/* ================================
   Contact Creative
   ================================ */

.contact-creative {
  padding-block: 5rem;
  padding-inline: 0;
  background: #f7f9fa;
}

.contact-creative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
}

.contact-creative-info {
  padding: var(--spacing-xl) 0;
}

.contact-creative-text {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.7;
}

.contact-creative-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.contact-detail-item {
  display: flex;
  gap: var(--spacing-md);
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(0, 124, 175, 0.2) 0%,
    rgba(0, 124, 175, 0.1) 100%
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
}

.contact-detail-item strong {
  display: block;
  font-weight: 600;
  color: #0b1320;
  margin-bottom: 4px;
}

.contact-detail-item p {
  margin: 0;
  color: #4a5568;
}

.contact-detail-item a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-item a:hover {
  color: var(--color-primary);
}

.contact-creative-form-wrapper {
  background: white;
  padding: var(--spacing-2xl);
  border-radius: 20px;
  border: 1px solid rgba(0, 124, 175, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-creative-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

.form-group-creative {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group-creative label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0b1320;
}

.form-group-creative input,
.form-group-creative textarea {
  padding: var(--spacing-md);
  border: 2px solid #bfc9cc;
  border-radius: 12px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #0b1320;
  background: white;
  transition: all 0.3s ease;
}

.form-group-creative input:focus,
.form-group-creative textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 124, 175, 0.1);
}

.form-group-creative textarea {
  resize: vertical;
  min-height: 120px;
}

/* ================================
   Footer Creative
   ================================ */

.footer-creative {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  color: white;
  padding-block-start: 5rem;
  padding-block-end: var(--spacing-lg);
  padding-inline: 0;
}

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

.footer-creative-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: white;
}

.footer-creative-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-creative-section h4 {
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
  color: white;
}

.footer-creative-section address,
.footer-creative-section p {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  line-height: 1.8;
}

.footer-creative-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-creative-section a:hover {
  color: white;
}

.footer-creative-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-creative-section li {
  margin-bottom: var(--spacing-xs);
}

.footer-creative-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* ================================
   Responsive Design
   ================================ */

/* Mobile specific styles */
@media (max-width: 599px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-creative-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-stat-icon {
    width: 48px;
    height: 48px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }
}

/* Tablet styles */
@media (min-width: 600px) and (max-width: 899px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
  }

  .hero-stat-card {
    padding: var(--spacing-md);
  }

  .hero-stat-icon {
    width: 48px;
    height: 48px;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .service-creative-card {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }

  .service-creative-image {
    height: 100%;
  }

  .news-creative-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-creative-featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .hero-creative .container {
    padding-left: var(--spacing-2xl);
    padding-right: var(--spacing-2xl);
  }

  .hero-creative-grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-4xl);
    column-gap: 100px;
  }

  .service-creative-card {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
  }

  .news-creative-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-creative-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .contact-creative-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
  }

  .footer-creative-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .hero-creative .container {
    max-width: 1600px;
    padding-left: var(--spacing-3xl);
    padding-right: var(--spacing-3xl);
  }

  .service-creative-card {
    grid-template-columns: 1.3fr 1fr;
    min-height: 450px;
  }

  .service-creative-image {
    height: 100%;
  }
}

@media (min-width: 1400px) {
  .hero-creative .container {
    max-width: 1800px;
  }

  .hero-creative-grid {
    column-gap: 120px;
  }
}

/* ================================
   Animations
   ================================ */

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

/* ================================
   WhatsApp Floating Button
   ================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ================================
   About Section (Quiénes Somos)
   ================================ */

.about-creative {
  padding-block: 5rem;
  padding-inline: 0;
  background: #f7f9fa;
}

.about-creative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-creative-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 124, 175, 0.15);
}

.about-creative-image .img-wrapper {
  width: 100%;
  height: 400px;
  border-radius: 20px;
}

.about-creative-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-creative-image:hover img {
  transform: scale(1.05);
}

.about-creative-content {
  padding: var(--spacing-xl) 0;
}

.about-creative-text {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.about-creative-subtitle {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

@media (min-width: 900px) {
  .about-creative-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
  }

  .about-creative-image .img-wrapper {
    height: 500px;
  }

  .about-creative-image img {
    height: 500px;
  }
}

/* ================================
   Footer Updates
   ================================ */

.footer-logo {
  width: 100px;
  height: 100px;
  margin-bottom: var(--spacing-md);
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.footer-contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: white;
}

@media (min-width: 900px) {
  .footer-creative-content {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* ================================
   Form Enhancements
   ================================ */

.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: var(--spacing-lg) 0;
}

.g-recaptcha {
  transform: scale(1);
  transform-origin: 0 0;
}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

/* Button loading state */
.btn-loader {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Form feedback messages */
.form-feedback {
  padding: var(--spacing-md);
  border-radius: 8px;
  margin-top: var(--spacing-lg);
  font-weight: 500;
  text-align: center;
  display: none;
}

.form-feedback-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-feedback-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Input validation states */
input.invalid,
textarea.invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1) !important;
}

input.valid,
textarea.valid {
  border-color: #28a745 !important;
}

/* Disabled button state */
.btn-creative:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
