/* ═══════════════════════════════════════════════════
   SOCOPER CONSTRUCCIONES — Premium Dark Mode CSS
   ═══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Primary Palette */
  --blue-900: #0A1628;
  --blue-800: #0D1B2A;
  --blue-700: #112240;
  --blue-600: #1B3A5C;
  --blue-500: #2A5080;
  --blue-400: #3D6A9E;

  /* Accent */
  --orange: #E8712B;
  --orange-glow: rgba(232, 113, 43, 0.35);
  --orange-hover: #F07E3A;
  --swiper-theme-color: var(--orange);
  /* Forza el color de swiper a naranja */
  --swiper-navigation-color: var(--orange);

  /* Neutrals */
  --white: #FFFFFF;
  --gray-100: #F5F6F8;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;

  /* WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;

  /* Surfaces */
  --bg-body: var(--blue-900);
  --bg-card: rgba(17, 34, 64, 0.6);
  --bg-card-solid: #112240;
  --bg-glass: rgba(17, 34, 64, 0.4);
  --border-subtle: rgba(42, 80, 128, 0.3);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 120px);
  --container-px: clamp(20px, 5vw, 80px);
  --container-max: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  /* Crucial para evitar scroll horizontal accidental */
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

/* ─── UTILITIES ─────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.text-accent {
  color: var(--orange);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ─── REVEAL ANIMATION ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

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

/* ─── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn .material-symbols-rounded {
  font-size: 20px;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  box-shadow: 0 0 0 0 var(--orange-glow);
}

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

.btn--ghost {
  background: transparent;
  color: var(--gray-300);
  padding: 14px 28px;
  border: 1px solid var(--border-subtle);
}

.btn--ghost:hover {
  border-color: var(--gray-500);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  padding: 14px 28px;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

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

.btn--header {
  padding: 10px 22px;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--container-px);
  transition: all 0.4s var(--ease);
  background: transparent;
}

.header.scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}



/* Nav backdrop overlay (JS-managed, appended to body) */
#navBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

#navBackdrop.visible {
  background: rgba(0, 0, 0, 0.45);
  pointer-events: all;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 111px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__icon {
  width: 36px;
  height: 36px;
}

.logo__icon svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1;
}

.logo__sub {
  font-size: 9px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 4px;
  line-height: 1;
  margin-top: 2px;
}

.logo__img {
  height: 105px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  transform-origin: center;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, 0.92) 0%,
      rgba(10, 22, 40, 0.75) 50%,
      rgba(10, 22, 40, 0.6) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  padding-top: 72px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 113, 43, 0.12);
  border: 1px solid rgba(232, 113, 43, 0.25);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero__badge .material-symbols-rounded {
  font-size: 18px;
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 800px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--gray-500);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ═══════════════════════════════════════════════════
   METRICS BAR
   ═══════════════════════════════════════════════════ */
.metrics {
  background: var(--blue-700);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.metric__number {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.metric__suffix {
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
}

.metric__label {
  font-size: 14px;
  color: var(--gray-400);
  width: 100%;
  margin-top: 4px;
}

.metric__icon {
  font-size: 36px;
  color: var(--orange);
}

.metric__divider {
  width: 1px;
  height: 48px;
  background: var(--border-subtle);
}

/* ═══════════════════════════════════════════════════
   NUESTRO MÉTODO
   ═══════════════════════════════════════════════════ */
.method {
  padding: var(--section-py) 0;
  background: var(--bg-body);
  position: relative;
}

.method__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.method__line {
  display: none;
}

.method__step {
  position: relative;
}

.method__step-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
  transition: opacity 0.5s var(--ease);
}

.method__step:hover .method__step-number {
  opacity: 0.5;
}

.method__step-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.4s var(--ease);
  height: 100%;
}

.method__step:hover .method__step-card {
  border-color: rgba(232, 113, 43, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.method__step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 113, 43, 0.1);
  border-radius: 10px;
  margin-bottom: 20px;
}

.method__step-icon .material-symbols-rounded {
  font-size: 24px;
  color: var(--orange);
}

.method__step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.method__step-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.method__step-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.method__step-deliverable .material-symbols-rounded {
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════ */
.services {
  padding: var(--section-py) 0;
  background: var(--blue-800);
  position: relative;
  overflow: hidden;
  /* Garantiza que nada escape de la sección */
}

.services__filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--gray-400);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gray-500);
  color: var(--white);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 15px var(--orange-glow);
}

.services__slider-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
}

.services-swiper {
  padding: 20px 0 60px !important;
  overflow: hidden !important;
  /* Volvemos a ocultar para evitar desbordamiento */
}

.services-swiper .swiper-slide {
  height: auto;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.services-swiper .swiper-slide-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.services-swiper .swiper-pagination-bullet {
  background: var(--gray-500);
  opacity: 0.3;
}

.services-swiper .swiper-pagination-bullet-active {
  background: var(--orange) !important;
  opacity: 1;
}

/* Ocultar flechas por si acaso el JS las inyecta */
.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
  display: none !important;
}

.service-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.service-card:hover {
  border-color: rgba(232, 113, 43, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-card__img {
  height: 200px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.service-card__body {
  padding: 28px;
}

.service-card__icon {
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.service-card__body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card__body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   PROYECTOS
   ═══════════════════════════════════════════════════ */
.projects {
  padding: var(--section-py) 0;
  background: var(--bg-body);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Video variant: 4 columns for vertical videos */
.projects__grid--videos {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.project-card:hover {
  border-color: rgba(232, 113, 43, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.project-card--video {
  cursor: pointer;
}

/* Video container — natural vertical aspect ratio */
.project-card__video {
  position: relative;
  background: #000;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.project-card__video video {
  width: 100%;
  display: block;
  max-height: 480px;
  object-fit: contain;
  background: #000;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 2;
  pointer-events: none;
  /* Let clicks pass to the card */
}

.video-play-btn .material-symbols-rounded {
  font-size: 36px;
}

.project-card--video:hover .video-play-btn {
  background: rgba(232, 113, 43, 0.2);
  border-color: var(--orange);
  transform: translate(-50%, -50%) scale(1.1);
}

.project-card--video.is-playing .video-play-btn {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Phase badge (Fase 1, Fase 2) */
.project-card__phase {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(8px);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* Legacy image-based cards */
.project-card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.project-card__overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.project-card__tag {
  display: inline-block;
  background: rgba(232, 113, 43, 0.9);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.project-card__info {
  padding: 20px;
}

.project-card__info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.project-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 0;
}

.project-card__location .material-symbols-rounded {
  font-size: 16px;
  color: var(--orange);
}

.project-card__details {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.project-card__detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-card__detail-label {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-card__detail-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════
   TESTIMONIOS
   ═══════════════════════════════════════════════════ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--blue-800);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(232, 113, 43, 0.2);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

.testimonial-card__stars .material-symbols-rounded {
  font-size: 18px;
  color: #F5C518;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-card__author strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════════════
   QUIÉNES SOMOS
   ═══════════════════════════════════════════════════ */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-body);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content .section-title {
  text-align: left;
}

.about__content p {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about__features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__feature .material-symbols-rounded {
  font-size: 24px;
  color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}

.about__feature strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 2px;
}

.about__feature span {
  font-size: 14px;
  color: var(--gray-500);
}

.about__visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.about__visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about__visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.95));
}

.about__stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.about__stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--orange);
}

.about__stat-label {
  font-size: 16px;
  color: var(--gray-300);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   CTA / CONTACT
   ═══════════════════════════════════════════════════ */
.cta {
  padding: var(--section-py) 0;
  background: var(--blue-800);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 17px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Form */
.cta__form {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}

.cta__form h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-group select option {
  background: var(--blue-800);
}

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

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  padding: 60px 0 0;
  background: var(--blue-800);
  border-top: 1px solid var(--border-subtle);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.logo--footer .logo__name {
  font-size: 16px;
}

.logo--footer .logo__icon {
  width: 28px;
  height: 28px;
}

.footer__col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer__col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-500);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__col a .material-symbols-rounded {
  font-size: 16px;
}

.footer__email {
  color: var(--orange) !important;
}

.footer__divider {
  height: 1px;
  background: var(--border-subtle);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--gray-600);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: var(--gray-500);
  transition: color 0.3s, transform 0.3s;
  display: flex;
}

.footer__social a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* ─── TABLET / SMALL DESKTOP (≤ 1024px) ────────── */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  /* Mobile nav — right side panel */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--blue-800);
    border-left: 1px solid var(--border-subtle);
    padding: 100px 32px 40px;
    gap: 8px;
    z-index: 1050;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(0);
    animation: navSlideIn 0.3s var(--ease);
    overflow-y: auto;
  }

  .nav.open .nav__link {
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-300);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav.open .nav__link:last-child {
    border-bottom: none;
  }

  .nav.open .nav__link:hover,
  .nav.open .nav__link.active {
    color: var(--orange);
  }

  @keyframes navSlideIn {
    from {
      transform: translateX(100%);
    }

    to {
      transform: translateX(0);
    }
  }


  /* Hamburger active animation → X */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Grid adjustments */
  .method__timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid,
  .projects__grid,
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__content .section-title {
    text-align: center;
  }

  .about__content .section-tag {
    display: block;
    text-align: center;
  }

  .about__content p {
    text-align: center;
  }

  .about__visual img {
    height: 360px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta__content {
    text-align: center;
  }

  .cta__actions {
    justify-content: center;
  }

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

/* ─── TABLET PORTRAIT (≤ 768px) ────────────────── */
@media (max-width: 768px) {
  .header__inner {
    height: 80px;
  }

  .logo__img {
    height: 70px;
  }

  .nav.open {
    padding-top: 90px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__content {
    padding-top: 60px;
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 14px;
  }


  .services__grid,
  .projects__grid {
    grid-template-columns: 1fr;
  }

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

  .cta__form {
    padding: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__brand p {
    max-width: 100%;
  }
}

/* ─── MOBILE (≤ 640px) ─────────────────────────── */
@media (max-width: 640px) {
  :root {
    --section-py: 60px;
    --container-px: 20px;
  }

  .hero__title {
    font-size: 28px;
  }


  .hero__subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }


  .hero__actions {
    flex-direction: column;
  }

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

  .hero__scroll-indicator {
    display: none;
  }

  /* Metrics bar → vertical stack */
  .metrics__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    padding: 32px var(--container-px);
  }

  .metric {
    justify-content: center;
  }

  .metric__number {
    font-size: 32px;
  }

  .metric__suffix {
    font-size: 22px;
  }

  .metric__label {
    text-align: center;
  }

  .metric__divider {
    width: 60px;
    height: 1px;
  }

  /* Method → single column with inline step number */
  .method__timeline {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .method__step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .method__step-number {
    font-size: 28px;
    margin-bottom: 0;
    opacity: 0.35;
    flex-shrink: 0;
    min-width: 40px;
    padding-top: 20px;
  }

  .method__step-card {
    padding: 20px;
    flex: 1;
  }

  /* Services & Projects → single column */
  .services__grid,
  .projects__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card__img {
    height: 200px;
  }

  /* About */
  .about__visual img {
    height: 280px;
  }

  .about__stat-number {
    font-size: 36px;
  }

  /* CTA */
  .cta__title {
    font-size: 28px;
  }


  .cta__actions {
    flex-direction: column;
  }

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

  .cta__form {
    padding: 24px 20px;
  }

  .cta__form h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* Footer */
  .footer {
    padding-top: 40px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ─── SMALL MOBILE (≤ 400px) ───────────────────── */
@media (max-width: 400px) {
  :root {
    --container-px: 16px;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 15px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .method__step-card h3 {
    font-size: 16px;
  }
}