:root {
  --primary: #005082;
  --primary-dark: #003d63;
  --primary-light: #005c8a;
  --bg-dark: #273a52;
  --bg-darker: #1a2838;
  --bg-deep: #0d1b2a;
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #eef2f6;
  --text-dark: #0f172a;
  --text-darker: #1e293b;
  --text-light: #ffffff;
  --text-muted: #64748b;
  --text-muted-light: #94a3b8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --border: #e2e8f0;
  --border-dark: #334155;
  --shadow-sm: 0 2px 12px rgba(0,80,130,0.08);
  --shadow-md: 0 8px 32px rgba(0,80,130,0.12);
  --shadow-lg: 0 20px 60px rgba(0,80,130,0.18);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 99px;
}

img {
  display: block;
  max-width: 100%;
}

.cursor-dot,
.cursor-ring {
  display: none !important;
}

.particles-container {
  display: none !important;
}

.particle {
  display: none !important;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: var(--bg-dark);
  transform: scaleY(1);
  transform-origin: top;
  animation: overlayOut 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.2s forwards;
}

@keyframes overlayOut {
  to {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── NAV ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav:not(.scrolled) .nav-logo {
  color: var(--text-light);
}

nav.scrolled .nav-logo {
  color: var(--primary);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.98);
  text-decoration: none;
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

nav.scrolled .nav-links a {
  color: var(--text-muted);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--accent);
  transition: right 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav-links a:hover::after {
  right: 0;
}

nav.scrolled .nav-links a:hover {
  color: var(--primary);
}

.nav-socials {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.nav-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none !important;
  background: transparent;
}

nav.scrolled .nav-socials a {
  color: var(--primary);
}

.nav-socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

nav.scrolled .hamburger span {
  background: var(--text-dark);
}

/* ── MOBILE MENU ── */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  pointer-events: all;
  opacity: 1;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 5vw;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--text-light);
  font-size: 1.4rem;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: all;
  -webkit-tap-highlight-color: transparent;
}

.mobile-close:hover {
  background: var(--primary);
  border-color: var(--primary-light);
}

/* ── HERO ── */

#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 35% 25%, rgba(0, 0, 0, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.418) 45%, rgba(0, 40, 70, 0.158) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 9vh;
  max-width: 820px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero-title .accent {
  color: var(--accent);
  font-style: normal;
  display: inline-block;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.99);
  font-size: clamp(0.92rem, 1.2vw, 1.04rem);
  line-height: 1.75;
  max-width: 540px;
  font-weight: 500;
  margin-bottom: 2.8rem;
  animation: fadeUp 0.8s ease 0.24s both;
}

.hero-btns {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.36s both;
}

.btn-gold {
  background: var(--accent);
  color: var(--text-dark);
  padding: 1.05rem 2.4rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  color: var(--text-light);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-light);
  padding: 1.05rem 2.4rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(56, 189, 248, 0.18);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeIn 1s ease 1s both;
}

.scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.scroll-arrow {
  animation: bounce 2s ease infinite;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* ── SECTION HELPERS ── */

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(24, 220, 255, 0.753);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.92rem, 4vw, 3.84rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
  color: var(--text-dark);
}

.section-title span {
  color: var(--primary);
}

/* ── LOGOS BAR ── */

#logos {
  background: var(--bg);
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.logo-item {
  height: 60px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
  filter: none;
  cursor: pointer;
}

.logo-item.logo-large {
  height: 75px;
  opacity: 0.7;
}

/* ── FIX MOBILE ── */

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  nav {
    height: 68px;
    padding: 0 4vw;
  }

  .nav-links,
  .nav-socials {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-logo {
    font-size: 1.45rem;
  }

  .mobile-menu a {
    text-align: center;
    max-width: 90vw;
    word-break: break-word;
  }

  #hero {
    height: 100vh;
    height: 100svh;
    min-height: 620px;
  }

  .hero-content {
    padding: 0 5vw 12vh;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .btn-gold,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
    padding-inline: 1.4rem;
  }

  .scroll-hint {
    display: none;
  }

  #logos {
    padding: 2.5rem 5vw;
  }

  .logos-inner {
    gap: 1.5rem;
  }

  .logo-item {
    height: auto;
    max-height: 54px;
    max-width: 42vw;
    object-fit: contain;
  }

  .logo-item img,
  .logo-item svg {
    max-width: 42vw;
    height: auto;
    max-height: 54px;
    object-fit: contain;
  }

  .logo-item.logo-large {
    height: auto;
    max-height: 60px;
  }
}
/* ── ABOUT ── */
#about {
  padding: 8rem 5vw 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  background: var(--bg);
}
 
/* Left: architectural image with rounded rectangle card */
.about-imgs { position: relative; }
.about-img-card {
  width: 100%;
 
  border-radius: 24px;
  overflow: hidden;

}
.about-img-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
 
/* Right: text */
.about-text p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.4rem; font-size: 1rem; }
 
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 2.2rem;
}
.client-chip {
  display: flex; align-items: center; gap: 0.9rem;
  background: transparent; border: none;
  font-size: 0.82rem; color: var(--primary);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  transition: all 0.3s ease; width: 100%; line-height: 1.4;
  opacity: 0; animation: fadeInUp 0.6s ease forwards;
}
.client-chip:nth-child(1) { animation-delay: 0.1s; }
.client-chip:nth-child(2) { animation-delay: 0.2s; }
.client-chip:nth-child(3) { animation-delay: 0.3s; }
.client-chip:nth-child(4) { animation-delay: 0.4s; }
.client-chip:nth-child(5) { animation-delay: 0.5s; }
.client-chip:nth-child(6) { animation-delay: 0.6s; }
.client-chip i {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; font-size: 1rem; color: var(--accent);
  border-radius: 50%;
  background: linear-gradient(145deg, #f0f4f8 0%, #d9e2ec 100%);
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease; flex-shrink: 0;
}
.client-chip:hover { transform: translateX(5px); }
.client-chip:hover i { background: linear-gradient(145deg, #d9e2ec 0%, #c3d1e0 100%); transform: scale(1.08); }


/* ── OUR SERVICES ── */
#services {
  padding: 8rem 5vw;
  background:
    linear-gradient(180deg, rgba(10,37,64,0.548) 0%, rgba(13,51,88,0.85) 100%),
    url('fondo.png');
  background-size: cover; background-position: center;
  background-repeat: no-repeat; background-attachment: fixed;
  position: relative; overflow: hidden;
}
#services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0,163,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0,163,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.services-container { max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.service-card { background: transparent; border: none; border-radius: 0; overflow: visible; transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.service-card:hover { transform: translateY(-12px); }
.service-card-img { position: relative;  overflow: hidden;  margin-bottom: 1.2rem; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; filter: brightness(0.95); }
.service-card:hover .service-card-img img { transform: scale(1.08); filter: brightness(1); }
.service-card-body { padding: 0; text-align: left; }
.service-card-body h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #ffffff; margin-bottom: 0.8rem; line-height: 1.4; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.service-icon-wrapper { width: 28px; height: 28px; background: transparent; border: none; border-radius: 0; display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 1rem; margin: 0; padding: 0; flex-shrink: 0; transition: all 0.3s ease; }
.service-card:hover .service-icon-wrapper { transform: scale(1.15); color: #00a3ff; }
.service-card-body p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.btn-view-2 {
display: inline-block;
  background: linear-gradient(135deg, #00a3ff 0%, #0077cc 100%);
  color: #ffffff; padding: 1rem 3.5rem; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s ease;
  border: 2px solid transparent; box-shadow: 0 4px 20px rgba(0,163,255,0.3);
}
.btn-view-2:hover { background: #00a3ff; border-color: #929292; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,163,255,0.4); }

/* ── BUTTONS ── */
.btn-view-2 {
  display: inline-block;
  background: linear-gradient(135deg, #00a3ff 0%, #0077cc 100%);
  color: #ffffff; 
  padding: 1rem 3.5rem; 
  border-radius: var(--r-full);
  font-weight: 700; 
  font-size: 0.85rem; 
  letter-spacing: 0.14em; 
  text-transform: uppercase;
  text-decoration: none; 
  transition: all 0.3s ease;
  border: 2px solid transparent; 
  box-shadow: 0 4px 20px rgba(0,163,255,0.3);
  
  /* CAMBIOS AQUÍ */
  /* Ajusta este número para subirlo más o menos */
  margin-bottom: 150px; /* Quitamos el espacio de abajo */
}

/* ── BUTTONS ── */
.btn-view-all {
  display: inline-block;
  background: linear-gradient(135deg, #00a3ff 0%, #0077cc 100%);
  color: #ffffff; padding: 1rem 3.5rem; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s ease;
  border: 2px solid transparent; box-shadow: 0 4px 20px rgba(0,163,255,0.3);
}
.btn-view-all:hover { background: transparent; border-color: #00a3ff; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,163,255,0.4); }
.btn-view-allx {
  display: inline-block;
  background: linear-gradient(135deg, #00a3ff 0%, #0077cc 100%);
  color: #ffffff; padding: 1rem 3.5rem; border-radius: var(--r-full);
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s ease;
  border: 2px solid transparent; box-shadow: 0 4px 20px rgba(0,163,255,0.3);
}
#portfolio { padding: 8rem 5vw; background: var(--bg); overflow: hidden; }

.port-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 2.5rem; gap: 1rem; }
.port-head p { text-align: center; max-width: 540px; margin: 0 auto; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.port-carousel-wrap { position: relative; overflow: hidden; margin-top: 2rem; }
.port-carousel-wrap::before,
.port-carousel-wrap::after { 
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; 
}
.port-carousel-wrap::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,0.6), transparent); }
.port-carousel-wrap::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,0.6), transparent); }

.port-carousel-track {
  display: flex; gap: 0.75rem; width: max-content;
  animation: carouselScrollLeft 90s linear infinite;
  padding: 0.5rem 0;
}
.port-carousel-track:hover { animation-play-state: paused; }

/* TARJETA RECTANGULAR VERTICAL — MÁS ANCHA Y ALTA */
.port-card { 
  flex: 0 0 auto; 
  width: 420px;              /* ← Más ancho: 360px → 420px */
  aspect-ratio: 2 / 3.5;     /* ← Más alto: 2/3 → 2/3.5 */
  overflow: hidden; 
  position: relative; 
  cursor: pointer; 
  transition: transform 0.3s ease;
  border-radius: 0;         
  box-shadow: var(--shadow-md);
}
.port-card:hover { transform: translateY(-6px); }

.port-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Ambas imágenes se superponen perfectamente */
.port-image-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;        
  display: block; 
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, transform 0.6s ease; 
}

/* Imagen "After" visible por defecto */
.img-after {
  opacity: 1;
  z-index: 1;
}

/* Imagen "Before" oculta por defecto */
.img-before {
  opacity: 0;
  z-index: 2;
}

/* LABELS BEFORE/AFTER */
.img-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(19, 0, 0, 0.219);
  border-radius: 8px;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.151);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.986);
}

.label-after {
  z-index: 11;
}

.label-before {
  z-index: 12;
  opacity: 0;
}

/* Mostrar label before al hacer hover */
.port-card:hover .label-before {
  opacity: 1;
}

.port-card:hover .label-after {
  opacity: 0;
}

/* EFECTO HOVER: Solo transición de imágenes */
.port-card:hover .img-before {
  opacity: 1;
  transform: scale(1.05);
}

.port-card:hover .img-after {
  opacity: 0;
  transform: scale(1.05);
}

/* BOTÓN VIEW — centrado más arriba */
.port-card .btn-view {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

/* ── ANIMACIONES DEL CARRUSEL ── */
@keyframes carouselScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-420px * 10 - 0.75rem * 10)); } /* ← Actualizado a 420px */
}

@media(max-width:768px){
  .port-card { 
    width: 320px;             /* ← Más ancho: 280px → 320px */
    aspect-ratio: 2 / 3.5;    /* ← Más alto */
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    padding: 5px 15px;
    font-size: 0.7rem;
    bottom: 12px;
  }
}

@media(max-width:480px){
  .port-card { 
    width: 280px;             /* ← Más ancho: 240px → 280px */
    aspect-ratio: 2 / 3.5;    /* ← Más alto */
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    padding: 4px 12px;
    font-size: 0.65rem;
    bottom: 10px;
  }
}
/* ── SERVICE AREAS ── */
/* ── AREAS / LOCATION ── */
#areas { 
  padding: 8rem 5vw; 
  background: var(--bg); 
}

#areas .section-tag { 
  color: var(--primary); 
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

#areas .section-tag::before { 
  background: var(--primary); 
}

#areas .section-title { 
  color: var(--text-dark); 
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Imágenes y Mapa */
.areas-images { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 2rem; 
  margin-bottom: 3rem;
}

.area-image-card,
.area-map-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.area-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.area-image-card:hover img {
  transform: scale(1.03);
}

.area-map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.area-map-card:hover iframe {
  filter: grayscale(0%);
}

/* Contenido de áreas */
.areas-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.areas-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.areas-chips { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.7rem; 
  justify-content: center;
}

.area-chip { 
  background: var(--bg3); 
  border: 1px solid var(--border); 
  border-radius: var(--r-full); 
  padding: 0.5rem 1.1rem; 
  font-size: 0.85rem; 
  color: var(--text-darker); 
  transition: all 0.3s ease; 
  cursor: default; 
  font-weight: 500; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
}

.area-chip i { 
  color: var(--primary); 
  font-size: 0.75rem; 
}

.area-chip:hover { 
  background: var(--primary); 
  border-color: var(--primary); 
  color: var(--text-light); 
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.area-chip:hover i { 
  color: var(--text-light); 
}

/* Responsive */
@media (max-width: 768px) {
  .areas-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .area-image-card,
  .area-map-card {
    aspect-ratio: 16/9;
  }
  
  .areas-chips {
    justify-content: flex-start;
  }
}

/* ── CONTRACTOR CERTIFICATION ── */
.contractor-certification {

  padding: 8rem 5vw;
}

.cert-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.cert-content i {
  font-size: 1rem;
  color: #4fc3f7;
}

.cert-text {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-display, 'Segoe UI', sans-serif);
}

.cert-label {
  font-size: 0.9rem;
  font-weight: 400;
  color: #4fc3f7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cert-number {
  font-size: 1rem;
  font-weight: 800;
  color: #4fc3f7;
  letter-spacing: 0.08em;
}

.cert-divider {
  color: rgba(79, 195, 247, 0.4);
  font-weight: 300;
  font-size: 1rem;
}

.cert-licensed {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4fc3f7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
  .contractor-certification {
    padding: 0.8rem 5vw;
  }
  
  .cert-content {
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .cert-content i {
    font-size: 1.8rem;
  }
  
  .cert-text {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }
  
  .cert-label,
  .cert-licensed {
    font-size: 0.8rem;
  }
  
  .cert-number {
    font-size: 0.9rem;
  }
  
  .cert-divider {
    display: none;
  }
}
/* ── PREMIUM PRODUCTS SECTION ─ */
#premium-products {
  padding: 0;
  overflow: hidden;
}

/* Barra superior azul oscura con botón All View */
.pp-top-bar {
  background: #001e3c;
  padding: 2rem 5vw;
  display: flex;
  justify-content: center;
}

.pp-all-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #38bdf8;
  color: #001e3c;
  padding: 0.9rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.pp-all-view-btn:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
}

/* Container principal */
.pp-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.pp-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pp-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #001e3c;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.pp-desc {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
}

.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: #38bdf8;
  color: #001e3c;
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 1rem;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.pp-btn:hover {
  background: #7dd3fc;
  transform: translateY(-3px) scale(1.03);
}

/* ===== SECCIÓN DE IMÁGENES - SIN RECUADROS ===== */
.pp-images {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  background: transparent !important;
}

.pp-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: transparent !important;
}

/* Eliminar completamente cualquier recuadro, sombra o fondo */
.pp-image-top,
.pp-image-bottom {
  position: relative;
  overflow: visible !important; /* Cambiado de hidden a visible */
  border-radius: 0 !important; /* Eliminar border-radius */
  box-shadow: none !important; /* Eliminar shadow */
  background: transparent !important;
  border: none !important;
  outline: none !important;
}

/* Imagen superior: alineada a la IZQUIERDA */
.pp-image-top {
  width: 420px;
  height: 320px;
  align-self: flex-start;
}

/* Imagen inferior: alineada a la DERECHA */
.pp-image-bottom {
  width: 380px;
  height: 420px;
  align-self: flex-end;
  margin-top: -1rem;
}

.pp-image-top img,
.pp-image-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
}

/* Eliminar hover effects que puedan crear recuadros */
.pp-image-top:hover,
.pp-image-bottom:hover {
  transform: none !important;
  box-shadow: none !important;
}

.pp-image-top:hover img,
.pp-image-bottom:hover img {
  transform: scale(1.05);
}

/* ===== FIN SECCIÓN DE IMÁGENES ===== */

/* Responsive */
@media (max-width: 1024px) {
  .pp-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 4rem 5vw;
  }
  
  .pp-images {
    justify-content: center;
  }
  
  .pp-image-top {
    width: 380px;
    height: 280px;
    align-self: center;
  }
  
  .pp-image-bottom {
    width: 340px;
    height: 380px;
    align-self: center;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .pp-top-bar {
    padding: 1.5rem 5vw;
  }
  
  .pp-container {
    padding: 3rem 5vw;
    gap: 3rem;
  }
  
  .pp-image-top,
  .pp-image-bottom {
    width: 100%;
    max-width: 400px;
    height: 280px;
  }
  
  .pp-image-wrapper {
    gap: 1.5rem;
  }
  
  .pp-title {
    font-size: 2rem;
  }
  
  .pp-desc {
    font-size: 0.95rem;
  }
  
  .pp-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .pp-image-top,
  .pp-image-bottom {
    height: 220px;
  }
}


 /* ── TRUSTED PARTNERS ── */
#brands { 
  padding: 6rem 5vw; 
  background: var(--bg2); 
  overflow: visible;
  padding-bottom: 8rem; /* Más espacio abajo */
}

.brands-head { 
  text-align: center; 
  margin-bottom: 4rem; 
  max-width: 900px; 
  margin-left: auto; 
  margin-right: auto; 
}

.brands-head p { 
  color: var(--text-muted); 
  font-size: 1.05rem; 
  max-width: 750px; 
  margin: 1.2rem auto 0; 
  line-height: 1.85; 
  text-align: center; 
}

/* Grid de 5 columnas: 3 filas × 5 = 15 items perfectos */
.brands-static-grid { 
  display: grid; 
  grid-template-columns: repeat(5, 1fr); 
  gap: 2.5rem 3rem; 
  align-items: center; 
  justify-items: center; 
  max-width: 1200px; 
  margin: 0 auto;
  padding-bottom: 2rem; /* Espacio extra */
}

.brand-static-chip { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  filter: grayscale(0.2) opacity(0.85); 
  transition: filter 0.3s ease, transform 0.3s ease; 
  cursor: default; 
  width: 100%;
  min-height: 140px; /* Altura mínima aumentada */
  padding: 15px 10px; /* Espacio interno para evitar cortes */
}

.brand-static-chip:hover { 
  filter: grayscale(0) opacity(1); 
  transform: scale(1.15); 
}

.brand-static-chip img { 
  width: auto; /* Ancho automático para mantener proporción */
  height: 100px; /* Altura controlada */
  max-width: 130px; /* Ancho máximo */
  max-height: 120px; /* Altura máxima */
  object-fit: contain; /* Contener sin cortar */
  display: block; 
}

/* Ajuste específico para el logo MARVIN (item 13) */
.brand-static-chip:nth-child(13) {
  min-height: 150px; /* Más altura para MARVIN */
  padding: 20px 15px; /* Más espacio interno */
}

.brand-static-chip:nth-child(13) img {
  height: 90px; /* Altura ajustada para MARVIN */
  max-height: 100px;
  transform: scale(0.95); /* Ligera reducción si es necesario */
}

/* Responsive */
@media (max-width: 1024px) {
  .brands-static-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .brand-static-chip {
    min-height: 120px;
  }
  
  .brand-static-chip img {
    width: auto;
    height: 90px;
    max-width: 110px;
  }
  
  .brand-static-chip:nth-child(13) {
    min-height: 130px;
    padding: 15px 10px;
  }
  
  .brand-static-chip:nth-child(13) img {
    height: 80px;
  }
}

@media (max-width: 768px) {
  .brands-static-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
  
  .brand-static-chip {
    min-height: 110px;
    padding: 10px;
  }
  
  .brand-static-chip img {
    width: auto;
    height: 80px;
    max-width: 100px;
  }
  
  .brand-static-chip:nth-child(13) {
    min-height: 120px;
  }
  
  .brand-static-chip:nth-child(13) img {
    height: 70px;
  }
}

@media (max-width: 480px) {
  #brands {
    padding: 4rem 5vw;
    padding-bottom: 6rem;
  }
  
  .brands-static-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .brand-static-chip {
    min-height: 100px;
  }
  
  .brand-static-chip img {
    width: auto;
    height: 70px;
    max-width: 90px;
  }
  
  .brand-static-chip:nth-child(13) {
    min-height: 110px;
  }
  
  .brand-static-chip:nth-child(13) img {
    height: 60px;
  }
}
/* ── CTA ── */
/* ════════════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════════════ */
#portfolio { padding: 8rem 5vw; background: var(--bg); overflow: hidden; }

.port-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 2.5rem; gap: 1rem; }
.port-head p { text-align: center; max-width: 540px; margin: 0 auto; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.port-toggle-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
 
}

.port-carousel-wrap { 
  position: relative; 
  overflow: hidden; 
  margin-top: 2rem;
  padding: 0 2rem;
}

.port-carousel-track {
  display: flex; 
  gap: 0.75rem; 
  width: max-content;
  animation: carouselScrollLeft 90s linear infinite;
  padding: 0.5rem 0;
}
.port-carousel-track:hover { animation-play-state: paused; }

.port-card { 
  flex: 0 0 auto; 
  width: 420px;
  aspect-ratio: 2 / 3.5;
  overflow: hidden; 
  position: relative; 
  cursor: pointer; 

  border-radius: 0;


}

.port-card.is-center {
  opacity: 1;
  filter: brightness(1);
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
}

.port-card:hover { 
  transform: translateY(-6px) scale(1.05); 
  opacity: 1;
  filter: brightness(1);
}

.port-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.port-image-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;        
  display: block; 
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, transform 0.6s ease; 
}

.img-after {
  opacity: 0;
  z-index: 1;
}

.img-before {
  opacity: 1;
  z-index: 2;
}

.img-label {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: 
    0 2px 12px rgb(0, 0, 0),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(0, 0, 0, 0.4);
  filter: none;
  border: none;
  backdrop-filter: none;
  border-radius: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: 
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  display: inline-block;
  width: max-content;
  white-space: nowrap;
}

.label-after {
  z-index: 11;
  opacity: 0;
  transform: translate(-50%, -40%);
}

.label-before {
  z-index: 12;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.port-card:hover .label-before {
  opacity: 0;
  transform: translate(-50%, -60%);
}

.port-card:hover .label-after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.port-card:hover .img-before {
  opacity: 0;
  transform: scale(1.05);
}

.port-card:hover .img-after {
  opacity: 1;
  transform: scale(1.05);
}

.port-card .btn-view {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

@keyframes carouselScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-420px * 10 - 0.75rem * 10)); }
}

@media(max-width:768px){
  .port-card { 
    width: 320px;
    aspect-ratio: 2 / 3.5;
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    font-size: 1rem;
    letter-spacing: 4px;
  }
  .port-carousel-wrap {
    padding: 0 1rem;
  }
}

@media(max-width:480px){
  .port-card { 
    width: 280px;
    aspect-ratio: 2 / 3.5;
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }
  .port-carousel-wrap {
    padding: 0 0.5rem;
  }
}


/* PORTFOLIO
   ════════════════════════════════════════════════════════ */
#portfolio { padding: 8rem 5vw; background: var(--bg); overflow: hidden; }

.port-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 2.5rem; gap: 1rem; }
.port-head p { text-align: center; max-width: 540px; margin: 0 auto; color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.port-toggle-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 1.5rem;
}

.port-carousel-wrap { 
  position: relative; 
  overflow: hidden; 
  margin-top: 2rem;
  padding: 0 2rem;
}

.port-carousel-track {
  display: flex; 
  gap: 0.75rem; 
  width: max-content;
  animation: carouselScrollLeft 90s linear infinite;
  padding: 0.5rem 0;
}
.port-carousel-track:hover { animation-play-state: paused; }

.port-card { 
  flex: 0 0 auto; 
  width: 420px;
  aspect-ratio: 2 / 3.5;
  overflow: hidden; 
  position: relative; 
  cursor: pointer; 
  border-radius: 0;
}

.port-card.is-center {
  opacity: 1;
  filter: brightness(1);
  transform: translateY(-6px) scale(1.03);
  z-index: 5;
}

.port-card:hover { 
  transform: translateY(-6px) scale(1.05); 
  opacity: 1;
  filter: brightness(1);
}

.port-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.port-image-wrapper img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;        
  display: block; 
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, transform 0.6s ease; 
}

.img-after {
  opacity: 0;
  z-index: 1;
}

.img-before {
  opacity: 1;
  z-index: 2;
}

.img-label {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  
  /* Sin efectos de sombra o stroke */
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  outline: none !important;
  filter: none;
  border-radius: 0;
  
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: 
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
  display: inline-block;
  width: max-content;
  white-space: nowrap;
}

.label-after {
  z-index: 11;
  opacity: 0;
  color: #0762c4;
  transform: translateX(-50%) translateY(-10px);
}

.label-before {
  z-index: 12;
  opacity: 1;
  color: #183c63;
  transform: translateX(-50%) translateY(0);
}

.port-card:hover .label-before {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

.port-card:hover .label-after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.port-card:hover .img-before {
  opacity: 0;
  transform: scale(1.05);
}

.port-card:hover .img-after {
  opacity: 1;
  transform: scale(1.05);
}

.port-card .btn-view {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

@keyframes carouselScrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-420px * 10 - 0.75rem * 10)); }
}

@media(max-width:768px){
  .port-card { 
    width: 320px;
    aspect-ratio: 2 / 3.5;
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-320px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    font-size: 1rem;
    letter-spacing: 4px;
    top: 1rem;
    padding: 0.2rem 0.6rem;
  }
  .port-carousel-wrap {
    padding: 0 1rem;
  }
}

@media(max-width:480px){
  .port-card { 
    width: 280px;
    aspect-ratio: 2 / 3.5;
  }
  @keyframes carouselScrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-280px * 10 - 0.75rem * 10)); }
  }
  .img-label {
    font-size: 0.85rem;
    letter-spacing: 3px;
    top: 0.75rem;
    padding: 0.15rem 0.5rem;
  }
  .port-carousel-wrap {
    padding: 0 0.5rem;
  }
}












#cta {
  padding: 4rem 2rem;
  background: #f8fafc;
  overflow: hidden;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.cta-image {
  position: relative;
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-form-wrapper {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-form-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.cta-form-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-darker);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 80, 130, 0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
}

.cta-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--primary);
  color: white;
  padding: 1.1rem 2rem;
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.5rem;
}

.cta-submit i {
  font-size: 1rem;
}

.cta-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 80, 130, 0.3);
}

.cta-submit:active {
  transform: translateY(0);
}

.form-contact-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.form-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-contact-link i {
  color: var(--primary);
  font-size: 0.9rem;
}

.form-contact-link:hover {
  color: var(--primary);
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.5s ease both;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-dark);
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer-main {
  padding: 3.5rem 5vw 4.5rem;
}
footer { background: var(--bg-darker); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 4.2rem; }
.foot-logo { display: block; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.85; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; transition: color 0.3s ease, gap 0.3s ease; font-weight: 400; }
.footer-col ul li a i { font-size: 0.65rem; color: var(--accent); }
.footer-col ul li a:hover { color: var(--accent); gap: 0.9rem; }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.soc { width: 42px; height: 42px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1rem; text-decoration: none; transition: all 0.3s ease; }
.soc:hover { background: var(--primary); border-color: var(--primary-light); color: var(--text-light); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 1.8rem 5vw; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom i { color: var(--accent); }

/* ════════════════════════════════════════════════════════
   SCROLL PROGRESS
   ════════════════════════════════════════════════════════ */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: transparent; }
.scroll-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0%; transition: width 0.1s linear; }

/* ════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.anim-up    { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-up.on,.anim-left.on,.anim-right.on { opacity: 1; transform: none; }
.stagger-children > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger-children.on > *:nth-child(1) {opacity:1;transform:none;transition-delay:0s}
.stagger-children.on > *:nth-child(2) {opacity:1;transform:none;transition-delay:.09s}
.stagger-children.on > *:nth-child(3) {opacity:1;transform:none;transition-delay:.18s}
.stagger-children.on > *:nth-child(4) {opacity:1;transform:none;transition-delay:.27s}
.stagger-children.on > *:nth-child(5) {opacity:1;transform:none;transition-delay:.36s}
.stagger-children.on > *:nth-child(6) {opacity:1;transform:none;transition-delay:.45s}
.stagger-children.on > *:nth-child(7) {opacity:1;transform:none;transition-delay:.54s}
.stagger-children.on > *:nth-child(8) {opacity:1;transform:none;transition-delay:.63s}
.stagger-children.on > *:nth-child(9) {opacity:1;transform:none;transition-delay:.72s}
.stagger-children.on > *:nth-child(10){opacity:1;transform:none;transition-delay:.81s}
.stagger-children.on > *:nth-child(11){opacity:1;transform:none;transition-delay:.90s}
.stagger-children.on > *:nth-child(12){opacity:1;transform:none;transition-delay:.99s}
.stagger-children.on > *:nth-child(13){opacity:1;transform:none;transition-delay:1.08s}
.stagger-children.on > *:nth-child(14){opacity:1;transform:none;transition-delay:1.17s}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */
@media(max-width:1200px){
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .brands-static-grid { grid-template-columns: repeat(5,1fr); }
}

@media(max-width:1100px){
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.8rem; }
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .about-circle-wrap { width: 100%; max-width: 460px; margin: 0 auto; }
}

@media(max-width:992px){
  .areas-inner { grid-template-columns: 1fr; gap: 3rem; }
  
  .cta-container {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  
  .cta-image {
    min-height: 300px;
  }
  
  .cta-form-wrapper {
    padding: 2.5rem 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media(max-width:768px){
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .brands-static-grid { grid-template-columns: repeat(3,1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(2.24rem,6.4vw,3.36rem); }
  .port-card { width: 240px; }
  
  #cta {
    padding: 2rem 1rem;
  }
  
  .cta-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }
  
  .cta-submit {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .form-contact-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  #services  { padding: 5rem 1.5rem; }
  #brands    { padding: 4rem 1.5rem; }
  #areas     { padding: 5rem 1.5rem; }
  #about     { padding: 5rem 1.5rem; }
  #portfolio { padding: 5rem 1.5rem; }
  .about-circle-wrap { width: 100%; max-width: 320px; }
  .logo-item { height: 45px; }
  .logo-item.logo-large { height: 55px; }
  .brand-static-chip img { width: 90px; height: 90px; }
  .logos-inner { gap: 3rem; }
}

@media(max-width:480px){
  .brands-static-grid { grid-template-columns: repeat(2,1fr); }
  .port-card { width: 200px; }
  .logo-item { height: 38px; }
  .logo-item.logo-large { height: 48px; }
  .brand-static-chip img { width: 75px; height: 75px; }
  .logos-inner { gap: 2rem; }
}
/* ── FOOTER ── */
.footer-main {
  padding: 3.5rem 5vw 4.5rem;
}
footer { background: var(--bg-darker); }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 4.2rem; }
.foot-logo { display: block; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.85; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1.6rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 0.6rem; transition: color 0.3s ease, gap 0.3s ease; font-weight: 400; }
.footer-col ul li a i { font-size: 0.65rem; color: var(--accent); }
.footer-col ul li a:hover { color: var(--accent); gap: 0.9rem; }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.soc { width: 42px; height: 42px; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 1rem; text-decoration: none; transition: all 0.3s ease; }
.soc:hover { background: var(--primary); border-color: var(--primary-light); color: var(--text-light); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 1.8rem 5vw; display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom i { color: var(--accent); }

/* ── SCROLL PROGRESS ── */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; background: transparent; }
.scroll-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); width: 0%; transition: width 0.1s linear; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.anim-up    { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-left  { opacity: 0; transform: translateX(-36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-right { opacity: 0; transform: translateX(36px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-up.on,.anim-left.on,.anim-right.on { opacity: 1; transform: none; }
.stagger-children > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger-children.on > *:nth-child(1) {opacity:1;transform:none;transition-delay:0s}
.stagger-children.on > *:nth-child(2) {opacity:1;transform:none;transition-delay:.09s}
.stagger-children.on > *:nth-child(3) {opacity:1;transform:none;transition-delay:.18s}
.stagger-children.on > *:nth-child(4) {opacity:1;transform:none;transition-delay:.27s}
.stagger-children.on > *:nth-child(5) {opacity:1;transform:none;transition-delay:.36s}
.stagger-children.on > *:nth-child(6) {opacity:1;transform:none;transition-delay:.45s}
.stagger-children.on > *:nth-child(7) {opacity:1;transform:none;transition-delay:.54s}
.stagger-children.on > *:nth-child(8) {opacity:1;transform:none;transition-delay:.63s}
.stagger-children.on > *:nth-child(9) {opacity:1;transform:none;transition-delay:.72s}
.stagger-children.on > *:nth-child(10){opacity:1;transform:none;transition-delay:.81s}
.stagger-children.on > *:nth-child(11){opacity:1;transform:none;transition-delay:.90s}
.stagger-children.on > *:nth-child(12){opacity:1;transform:none;transition-delay:.99s}
.stagger-children.on > *:nth-child(13){opacity:1;transform:none;transition-delay:1.08s}
.stagger-children.on > *:nth-child(14){opacity:1;transform:none;transition-delay:1.17s}

/* ── RESPONSIVE ── */
@media(max-width:1200px){
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .brands-static-grid { grid-template-columns: repeat(5,1fr); }
}
@media(max-width:1100px){
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.8rem; }
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .about-circle-wrap { width: 100%; max-width: 460px; margin: 0 auto; }
  #cta { grid-template-columns: 1fr; }
  .cta-image-panel { min-height: 420px; }
}
@media(max-width:992px){
  .areas-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media(max-width:768px){
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .brands-static-grid { grid-template-columns: repeat(3,1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(2.24rem,6.4vw,3.36rem); }
  .port-card { width: 240px; }
  .cta-form-panel { padding: 2.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-contact-links { flex-direction: column; gap: 0.8rem; }
  #services  { padding: 5rem 1.5rem; }
  #brands    { padding: 4rem 1.5rem; }
  #areas     { padding: 5rem 1.5rem; }
  #about     { padding: 5rem 1.5rem; }
  #portfolio { padding: 5rem 1.5rem; }
  .about-circle-wrap { width: 100%; max-width: 320px; }
  .logo-item { height: 45px; }
  .logo-item.logo-large { height: 55px; }
  .brand-static-chip img { width: 90px; height: 90px; }
  .logos-inner { gap: 3rem; }
}
@media(max-width:480px){
  .brands-static-grid { grid-template-columns: repeat(2,1fr); }
  .port-card { width: 200px; }
  .logo-item { height: 38px; }
  .logo-item.logo-large { height: 48px; }
  .brand-static-chip img { width: 75px; height: 75px; }
  .logos-inner { gap: 2rem; }
}