@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #1a2a4a;       /* Deep navy blue */
  --primary-dark: #0f1a2e;
  --primary-mid: #243554;
  --accent: #c8a96e;        /* Warm gold/sand — professional construction */
  --accent-dark: #a88843;
  --accent-light: rgba(200,169,110,0.12);
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;

  --r: 6px;
  --r-lg: 12px;
  --r-xl: 20px;

  --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ——————————————————————————
   TOP CONTACT BAR
—————————————————————————— */
.topbar {
  background: #0b1220;
  padding: 9px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-left span {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.5);
}
.topbar-left span i { color: var(--accent); font-size: 11px; }
.topbar-right {
  display: flex; align-items: center; gap: 20px;
}
.topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.6);
  font-size: 12.5px;
  transition: color .2s;
}
.topbar-right a:hover { color: var(--accent); }
.topbar-right a i { font-size: 12px; }
.topbar-wa {
  padding: 4px 14px;
  background: #25d366;
  color: #fff !important;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  transition: background .2s, transform .15s !important;
}
.topbar-wa:hover { background: #1da851 !important; transform: scale(1.04); }

/* ——————————————————————————
   HEADER / NAVBAR
—————————————————————————— */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 4px 24px rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.12);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text .logo-name {
  font-size: 21px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-text .logo-name span { color: var(--accent-dark); }
.logo-text .logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 1px;
}

/* --- Desktop Nav --- */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .22s ease;
}
.nav-link:hover { color: var(--primary); background: none; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after { transform: scaleX(1); }

/* --- Header CTA button --- */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(26,42,74,.18);
  white-space: nowrap;
}
.header-cta i { color: #25d366; font-size: 16px; }
.header-cta:hover {
  background: var(--primary-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,42,74,.22);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-link {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  border-radius: 6px;
  transition: background .2s;
}
.mobile-link:hover { background: var(--gray-100); }
.mobile-cta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}
.mobile-cta i { color: #25d366; }

/* ——————————————————————————
   HERO — Full-viewport con efecto 3D CSS
—————————————————————————— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #060e1c;
  perspective: 1200px;
}

/* Plano de imagen con perspectiva 3D */
.hero-bg {
  position: absolute;
  inset: -12% -8%;
  background-image: url('./images/obra_9.jpg');
  background-size: cover;
  background-position: center 35%;
  transform-origin: center bottom;
  animation: hero3d 18s ease-in-out infinite alternate;
  will-change: transform;
  filter: brightness(0.55) saturate(0.7);
}
@keyframes hero3d {
  0%   { transform: scale(1.08) rotateX(2deg) translateY(0px);    filter: brightness(0.55) saturate(0.7); }
  50%  { transform: scale(1.14) rotateX(0deg) translateY(-12px);  filter: brightness(0.62) saturate(0.85); }
  100% { transform: scale(1.10) rotateX(-1.5deg) translateY(-22px); filter: brightness(0.50) saturate(0.65); }
}

/* Capa overlay con profundidad 3D — multiples gradientes */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* borde izquierdo oscuro — efecto vuélta de página */
    linear-gradient(105deg,
      rgba(4,10,24,0.97) 0%,
      rgba(4,10,24,0.85) 35%,
      rgba(4,10,24,0.30) 65%,
      rgba(4,10,24,0.08) 100%
    ),
    /* gradiente vertical — piso oscuro */
    linear-gradient(to top,
      rgba(4,10,24,0.95) 0%,
      rgba(4,10,24,0.50) 30%,
      transparent 60%
    ),
    /* halo de luz central — profundidad */
    radial-gradient(
      ellipse 80% 60% at 72% 42%,
      rgba(200,169,110,0.08) 0%,
      transparent 70%
    );
}

/* Capa de cuadrícula 3D (grid perspectiva) */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,169,110,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,110,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(600px) rotateX(55deg) translateY(40%) scaleX(2.5);
  transform-origin: bottom center;
  opacity: 0.6;
  animation: gridMove 12s linear infinite;
  pointer-events: none;
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to   { background-position: 0 -80px; }
}

/* Content block */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 50px;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: rgba(200,169,110,.10);
  border: 1px solid rgba(200,169,110,.28);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(200,169,110,.85);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(74,222,128,.25);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(74,222,128,.25); }
  50%      { box-shadow: 0 0 0 5px rgba(74,222,128,.08); }
}

/* Headline refinado */
.hero-title {
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  max-width: 620px;
}
.hero-title span {
  font-weight: 800;
  background: linear-gradient(92deg, #c8a96e 10%, #e8d09a 55%, #b8944f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle refinado */
.hero-subtitle {
  font-size: 14.5px;
  font-weight: 400;
  color: rgba(255,255,255,.52);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 36px;
  letter-spacing: 0.1px;
}

/* CTA Buttons */
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 3px 14px rgba(200,169,110,.28);
}
.btn-primary-hero:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(200,169,110,.38);
}
.btn-wa-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-wa-hero i { color: #4ade80; font-size: 15px; }
.btn-wa-hero:hover {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}

/* Stats bar — base del hero, elegante */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(4,10,24,0.65);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-stat-item {
  flex: 1;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  text-align: center;
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.hero-stat-num span {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}
.hero-stat-lbl {
  font-size: 10.5px;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.08);
  margin: 14px 0;
}

/* ——————————————————————————
   SECTION HELPER CLASSES
—————————————————————————— */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-title span { color: var(--accent-dark); }
.section-subtitle { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ——————————————————————————
   SERVICES SECTION — Con fotos reales de obras
—————————————————————————— */
.services-section { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}
.svc-photo {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--gray-100);
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .svc-photo img {
  transform: scale(1.08);
}
.svc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,26,46,.7) 0%, transparent 60%);
}
.svc-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.svc-body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ——————————————————————————
   PROJECTS / GALLERY SECTION
—————————————————————————— */
.projects-section { background: var(--white); }
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-5px); }
.project-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-img img { transform: scale(1.08); }
.project-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--r);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.project-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.project-title { font-size: 15.5px; font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.project-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-light); margin-bottom: 10px; }
.project-meta span { display: flex; align-items: center; gap: 4px; }
.project-meta i { color: var(--accent-dark); }
.project-desc { font-size: 13px; color: var(--text-light); line-height: 1.55; flex: 1; margin-bottom: 16px; }
.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  width: fit-content;
}
.project-btn:hover { background: var(--primary); color: var(--white); }

/* ——————————————————————————
   ABOUT / WHY SECTION
—————————————————————————— */
.about-section { background: var(--primary); padding: 80px 24px; }
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-eyebrow { font-size: 12px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.about-title { font-size: 36px; font-weight: 900; color: var(--white); letter-spacing: -.5px; margin-bottom: 18px; line-height: 1.2; }
.about-title span { color: var(--accent); }
.about-desc { font-size: 15.5px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 32px; }
.about-features { display: flex; flex-direction: column; gap: 14px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(200,169,110,.15);
  border: 1px solid rgba(200,169,110,.3);
  color: var(--accent);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-title { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 3px; }
.feature-desc { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.about-stat-num { font-size: 42px; font-weight: 900; color: var(--accent); letter-spacing: -1px; }
.about-stat-label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* Mosaico de fotos — sección Nosotros */
.about-mosaic { display: flex; flex-direction: column; gap: 12px; }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 340px;
}
.mosaic-item {
  position: relative;
  overflow: hidden;
}
.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,18,32,.75) 0%, transparent 55%);
}
.mosaic-tall {
  grid-row: 1 / 3;
}
.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mosaic-col .mosaic-item { flex: 1; }
.mosaic-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .6px;
  background: rgba(0,0,0,.35);
  padding: 3px 8px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
/* KPI row horizontal */
.about-kpi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 16px 20px;
}
.about-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 600;
}
.about-kpi span {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
}
.about-kpi-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.12);
}

/* ——————————————————————————
   CONTACT SECTION
—————————————————————————— */
.contact-section { background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-title { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 14px; }
.contact-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  color: var(--accent-dark);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 11.5px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; }
.contact-item-value { font-size: 14.5px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: 20px; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--primary); }
.form-input, .form-select, .form-textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,42,74,.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover { background: var(--primary-mid); }

/* ——————————————————————————
   FOOTER
—————————————————————————— */
.footer { background: var(--primary-dark); padding: 60px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.45); line-height: 1.7; margin-top: 14px; }
.footer-title { font-size: 13px; font-weight: 800; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.3);
}

/* ——————————————————————————
   FLOATING WHATSAPP
—————————————————————————— */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 9999;
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.1); }

/* ——————————————————————————
   MODAL
—————————————————————————— */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: white;
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--border); }

/* —— Responsive & Mobile Optimization —— */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .topbar-right a:not(.topbar-wa) { display: none; }
  .topbar-left span:not(:first-child) { display: none; }
  .hero { min-height: auto; padding-top: 40px; padding-bottom: 90px; }
  .hero-content { padding-top: 20px; padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: clamp(24px, 6.5vw, 36px); }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn-primary-hero, .btn-wa-hero { width: 100%; justify-content: center; padding: 14px 20px; font-size: 14.5px; }
  .hero-stats-bar { position: relative; flex-wrap: wrap; margin-top: 30px; background: rgba(4,10,24,0.9); }
  .hero-stat-item { min-width: 45%; padding: 14px 8px; }
  .hero-stat-divider { display: none; }
  .mosaic-grid { height: 260px; }
  .about-kpi-row { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .about-kpi-div { display: none; }
  
  /* Modal responsive adjustment */
  .modal > div { grid-template-columns: 1fr !important; gap: 16px !important; }
  .modal { padding: 20px; max-height: 85vh; }
  
  /* Mobile Bottom Quick Action Bar */
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(15, 26, 46, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 10px 14px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  }
  .m-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .m-bar-call {
    background: var(--accent);
    color: var(--primary-dark);
  }
  .m-bar-wa {
    background: #25d366;
    color: #fff;
  }
  .float-wa {
    bottom: 74px; /* offset above sticky bar */
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .services-grid, .projects-grid { grid-template-columns: 1fr; }
  .hero-stat-item { min-width: calc(50% - 1px); }
  .section { padding: 50px 16px; }
  .section-title { font-size: 26px; }
  .section-header { margin-bottom: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .mosaic-grid { grid-template-columns: 1fr; height: auto; }
  .mosaic-tall { grid-row: auto; height: 180px; }
  .mosaic-col .mosaic-item { height: 140px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 16px; height: 64px; }
  .logo-name { font-size: 18px; }
  .logo-icon { width: 36px; height: 36px; font-size: 15px; }
  .header-cta span { display: none; }
  .contact-form { padding: 20px 16px; }
}

