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

:root {
  --blue-dark: #03045e;
  --blue-deep: #023e8a;
  --blue-mid: #0077b6;
  --blue-bright: #0096c7;
  --blue-light: #00b4d8;
  --blue-pale: #48cae4;
  --cyan: #90e0ef;
  --white: #ffffff;
  --off-white: #f0f9ff;
  --dark-bg: #050d1a;
  --darker-bg: #030810;
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(0,180,216,0.2);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --gradient-main: linear-gradient(135deg, #00b4d8, #0077b6);
  --gradient-hero: linear-gradient(160deg, #03045e 0%, #0077b6 50%, #00b4d8 100%);
  --shadow-glow: 0 0 40px rgba(0,180,216,0.35);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.4);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --header-offset: calc(5rem + env(safe-area-inset-top, 0px));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 5rem);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
  min-width: 0;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION SHARED ===== */
.section { padding: 4.5rem 0; position: relative; overflow: hidden; }

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,180,216,0.15), rgba(0,119,182,0.1));
  border: 1px solid rgba(0,180,216,0.3);
  color: var(--blue-pale);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 8px 32px rgba(0,180,216,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,180,216,0.5);
}

.btn-glass {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.btn-nav {
  background: var(--gradient-main);
  color: white;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(0,180,216,0.4);
}

.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,180,216,0.5); }

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

.btn-arrow { transition: transform 0.3s; }
.btn-glass:hover .btn-arrow { transform: translateX(4px); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(5,13,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,180,216,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue-pale);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: white;
  background: rgba(0,180,216,0.12);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3, 4, 94, 0.94) 0%,
    rgba(3, 4, 94, 0.82) 38%,
    rgba(0, 80, 130, 0.72) 62%,
    rgba(3, 4, 94, 0.9) 100%
  );
}

.water-ripple {
  position: absolute;
  bottom: -50px;
  left: -50px;
  right: -50px;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150'%3E%3Cpath fill='%23050d1a' d='M0,80 C360,130 1080,20 1440,80 L1440,150 L0,150 Z'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  max-width: 700px;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

/* Hero accent — legible sobre foto azul */
.hero-accent {
  display: inline-block;
  position: relative;
  margin: 0.1rem 0 0.15rem;
}

.hero-accent-text {
  display: inline-block;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #ffffff;
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #e0f7ff 28%,
    #90e0ef 55%,
    #48cae4 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: heroShimmer 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(144, 224, 239, 0.65))
          drop-shadow(0 3px 12px rgba(0, 0, 0, 0.55));
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  paint-order: stroke fill;
}

.hero-accent-wave {
  display: block;
  height: 5px;
  width: 100%;
  margin-top: 0.2rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #48cae4 20%,
    #00b4d8 50%,
    #48cae4 80%,
    transparent 100%
  );
  box-shadow: 0 0 16px rgba(0, 180, 216, 0.55);
  animation: heroWave 2.8s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes heroWave {
  0%, 100% { transform: scaleX(0.92); opacity: 0.75; }
  50% { transform: scaleX(1); opacity: 1; }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
  white-space: nowrap;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 4px 15px rgba(0, 180, 216, 0.5);
  line-height: 1;
}

.stat-suffix,
.stat-plus {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 4px 15px rgba(0, 180, 216, 0.5);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,180,216,0.8));
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #060f22 100%);
}

.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-mid), transparent);
}

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

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,180,216,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,180,216,0.5);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

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

.service-card.featured {
  background: linear-gradient(135deg, rgba(0,119,182,0.2), rgba(0,180,216,0.1));
  border-color: rgba(0,180,216,0.4);
  box-shadow: 0 0 40px rgba(0,180,216,0.15);
}

.service-badge-card {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--gradient-main);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.service-list {
  margin-bottom: 1rem;
}

.service-list li {
  color: var(--text-secondary);
  font-size: 0.82rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-list li:last-child { border: none; }

.service-cta {
  color: var(--blue-pale);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.2s;
}

.service-cta:hover { gap: 0.6rem; color: var(--cyan); }

/* ===== PROJECTS ===== */
.projects {
  background: var(--darker-bg);
}

.gallery-filter {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(0,180,216,0.25);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-main);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,180,216,0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 112px;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  position: relative;
  transition: max-height 0.45s ease;
}

.gallery-grid--compact:not(.is-expanded) {
  max-height: 236px;
  overflow: hidden;
}

.gallery-grid--compact:not(.is-expanded)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--darker-bg));
  pointer-events: none;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-toggle {
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item--large {
  grid-row: span 1;
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,4,94,0.9) 0%, rgba(0,0,0,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.4rem 0.5rem;
  opacity: 1;
  transition: var(--transition);
}

.gallery-overlay p {
  color: white;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  margin-top: 0.15rem;
  display: none;
}

.gallery-item:hover .gallery-overlay p {
  display: block;
}

.gallery-tag {
  display: inline-block;
  background: var(--gradient-main);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 50px;
  margin-bottom: 0;
  width: fit-content;
}

.gallery-item:hover .gallery-img-wrap img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { background: linear-gradient(to top, rgba(3,4,94,0.95) 0%, rgba(0,0,0,0.2) 70%); }

/* VIDEO SECTION */
.video-section {
  margin-top: 0.5rem;
}

.video-section .section-header {
  margin-bottom: 1.25rem !important;
}

.video-section .section-title {
  font-size: 1.65rem !important;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.video-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,180,216,0.4);
  box-shadow: var(--shadow-glow);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  max-height: 180px;
}

.video-caption {
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
}

/* ===== PROCESS ===== */
.process {
  background: linear-gradient(180deg, #060f22 0%, var(--dark-bg) 100%);
}

.process-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,119,182,0.08) 0%, transparent 70%);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-number {
  font-size: 3.25rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(0,180,216,0.25) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: -0.5rem;
}

.step-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1rem 0.85rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.step-content:hover {
  border-color: rgba(0,180,216,0.5);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.step-icon {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.process-connector {
  display: flex;
  align-items: center;
  padding-top: 6.5rem;
  flex-shrink: 0;
}

.connector-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  position: relative;
}

.connector-line::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: -10px;
  color: var(--blue-light);
  font-size: 1rem;
}

/* ===== WHY US ===== */
.whyus {
  background: var(--dark-bg);
}

.whyus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.whyus-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 1.5rem 0 2rem;
  line-height: 1.7;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(0,180,216,0.4);
  background: rgba(0,180,216,0.05);
}

.feature-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.whyus-visual { position: relative; }

.whyus-img-stack {
  position: relative;
  height: 400px;
}

.whyus-img {
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.whyus-img--main {
  width: 78%;
  height: 300px;
  position: absolute;
  top: 0;
  right: 0;
}

.whyus-img--secondary {
  width: 55%;
  height: 190px;
  position: absolute;
  bottom: 0;
  left: 0;
  border: 4px solid var(--dark-bg);
}

.whyus-badge-float {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: var(--gradient-main);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.badge-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  overflow: hidden;
  background: var(--darker-bg);
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,119,182,0.08), transparent 60%);
}

.testimonials-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  min-width: calc(33.333% - 1rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 1.35rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.testi-stars {
  color: #ffd700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.95rem;
}

.testi-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
}

.testi-dot.active {
  background: var(--blue-light);
  width: 24px;
  border-radius: 4px;
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #060f22 100%);
}

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

.contact-info .section-title {
  text-align: left;
  margin-top: 1rem;
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1.5rem 0 2rem;
}

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

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

.contact-method:hover {
  border-color: rgba(0,180,216,0.4);
  background: rgba(0,180,216,0.05);
  transform: translateX(5px);
}

.contact-method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: white; }
.contact-method-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.contact-method-icon.location { background: linear-gradient(135deg, var(--blue-mid), var(--blue-light)); color: white; }

.method-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.method-value {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: white;
}

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 1.65rem;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group select option { background: #0a1628; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
  background: rgba(0,180,216,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #030810;
  position: relative;
  padding-top: 0;
}

.footer-wave {
  height: 80px;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100%;
}

.footer-content {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: white;
}

.footer-links-col ul li {
  margin-bottom: 0.65rem;
}

.footer-links-col ul li a,
.footer-links-col ul li span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links-col ul li a:hover { color: var(--blue-pale); }

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50px;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  transition: var(--transition);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }

.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 50px rgba(37,211,102,0.6);
}

.wa-float-text { white-space: nowrap; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-steps {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .process-connector { display: none; }
  .process-step { flex: 1 1 45%; }
  .whyus-grid { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,13,26,0.97);
    padding: 2rem;
    gap: 0.5rem;
    z-index: 999;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-links.open {
    display: flex;
    pointer-events: auto;
    visibility: visible;
  }
  .nav-link { font-size: 1.2rem; padding: 0.8rem 1rem; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-stats { gap: 1.25rem; }
  .stat-number { font-size: 2rem; }
  .stat-suffix, .stat-plus { font-size: 1.35rem; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 100px;
  }
  .gallery-grid--compact:not(.is-expanded) {
    max-height: 212px;
  }

  .process-step { flex: 1 1 100%; }

  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-img-stack { height: 320px; }
  .whyus-img--main { width: 90%; height: 280px; }
  .whyus-img--secondary { display: none; }

  .testimonial-card { min-width: 85vw; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

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

  .wa-float-text { display: none; }
  .wa-float { padding: 1rem; border-radius: 50%; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 92px;
  }
  .gallery-grid--compact:not(.is-expanded) {
    max-height: 196px;
  }
  .section { padding: 3.5rem 0; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .video-grid { grid-template-columns: 1fr; }
}

/* === BUILD: PAC 20260707 === */

/* process-visual */
.process-visual,
.zones {
  padding: 4rem 0;
}

.process-visual .section-header,
.zones .section-header {
  margin-bottom: 2rem;
}

.process-visual .section-desc,
.zones .section-desc {
  max-width: 520px;
}

.process-visual {
  background: linear-gradient(180deg, rgba(3, 4, 94, 0.04) 0%, transparent 100%);
}

.process-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.process-visual-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  overflow: hidden;
  min-width: 0;
}

.process-visual-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.process-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-visual-num {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: rgba(0, 180, 216, 0.92);
  color: #fff;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.2;
}

.process-visual-body {
  padding: 0.65rem 0.8rem 0.75rem;
}

.process-visual-body h3 {
  margin: 0 0 0.2rem;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.process-visual-body p {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.82;
  line-height: 1.4;
}

/* zones */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.zones-card {
  position: relative;
  min-height: 220px;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.zones-card-media {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.zones-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zones-card-overlay {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(to top, rgba(3, 4, 94, 0.94) 0%, rgba(3, 4, 94, 0.35) 48%, transparent 100%);
}

.zones-card-overlay h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.zones-card-overlay p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.88;
  line-height: 1.35;
}

/* service-thumb */
.service-thumb-wrap {
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  aspect-ratio: 16 / 9;
}
.service-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* footer-credit */
.footer-credit {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.footer-credit a:hover {
  color: #00b4d8;
}

/* whatsapp-float */
.whatsapp-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, calc(22px + env(safe-area-inset-bottom, 0px)));
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}
.whatsapp-float-icon {
  width: 30px;
  height: 30px;
}

@media (max-width: 991px) {
  .process-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .zones-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .zones-card,
  .zones-card-overlay {
    min-height: 200px;
  }
}

@media (max-width: 600px) {
  .process-visual-grid {
    grid-template-columns: 1fr;
  }
  .process-visual-media {
    aspect-ratio: 16 / 11;
  }
  .process-visual,
  .zones {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(24px, calc(20px + env(safe-area-inset-bottom, 0px)));
    width: 54px;
    height: 54px;
  }
  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
}

/* Regla 08 — hero móvil */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    height: auto;
    align-items: flex-start;
    overflow-x: clip;
    padding-top: calc(var(--header-offset) + 1rem);
  }
  .hero-bg { inset: 0; }
  .hero-content { width: 100%; max-width: 100%; min-width: 0; }
  .hero-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 0.55rem;
  }
  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; width: 100%; }
}

.zones { background: var(--darker-bg); }

