/* Barutoğlu Elektrik Mühendislik — Main Styles */
:root {
  --logo-lacivert: #0A2B53;
  --logo-turkuaz: #065F85;
  --logo-mavi: #176CA1;
  --logo-gri-mavi: #3D5A73;
  --primary: var(--logo-lacivert);
  --accent: var(--logo-turkuaz);
  --accent-dark: var(--logo-mavi);
  --accent-muted: var(--logo-gri-mavi);
  --white: #FFFFFF;
  --gray-50: #F4F8FB;
  --gray-100: #E3EBF2;
  --gray-300: #94A8B8;
  --gray-600: var(--logo-gri-mavi);
  --gray-900: var(--logo-lacivert);
  --success: #22C55E;
  --font-heading: 'Lexend', system-ui, sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(10,43,83,.08), 0 1px 2px rgba(10,43,83,.06);
  --shadow-md: 0 4px 16px rgba(10,43,83,.12);
  --shadow-lg: 0 12px 40px rgba(10,43,83,.18);
  --shadow-glow: 0 0 30px rgba(6,95,133,.28);
  --btn-radius: 12px;
  --btn-radius-pill: 999px;
  --btn-height: 2.75rem;
  --btn-height-sm: 2.25rem;
  --btn-height-lg: 3.25rem;
  --btn-shadow: 0 1px 2px rgba(10,43,83,.06), 0 4px 14px rgba(10,43,83,.08);
  --btn-shadow-hover: 0 6px 20px rgba(10,43,83,.12), 0 0 0 1px rgba(6,95,133,.2);
  --btn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --icon-shell-bg: #f4f8fb;
  --icon-shell-border: rgba(10,43,83,.08);
  --wa: #25D366;
  --wa-dark: #1da851;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  --header-height: 72px;
  /* High-contrast tokens for dark / navy overlays */
  --accent-on-dark: #7ec8e3;
  --accent-on-dark-bright: #9fd4eb;
  --accent-on-dark-soft: #b8e4f2;
  --text-on-dark: rgba(255, 255, 255, 0.94);
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);
  --text-on-dark-subtle: rgba(255, 255, 255, 0.58);
  --text-shadow-on-dark: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 18px rgba(0, 0, 0, 0.28);
  --pat-blueprint: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cdefs%3E%3Cpattern id='g' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3Cpath d='M120 0H0V120' fill='none' stroke='%230A2B53' stroke-opacity='.11'/%3E%3Cpath d='M60 0V120M0 60H120' fill='none' stroke='%230A2B53' stroke-opacity='.06' stroke-width='.75'/%3E%3Cpath d='M20 0V120M40 0V120M80 0V120M100 0V120M0 20H120M0 40H120M0 80H120M0 100H120' fill='none' stroke='%230A2B53' stroke-opacity='.038' stroke-width='.5'/%3E%3Ccircle cx='60' cy='60' r='2.5' fill='none' stroke='%23065F85' stroke-opacity='.22' stroke-width='.75'/%3E%3Ccircle cx='0' cy='0' r='2' fill='%23065F85' fill-opacity='.14'/%3E%3Ccircle cx='120' cy='0' r='2' fill='%23065F85' fill-opacity='.14'/%3E%3Ccircle cx='0' cy='120' r='2' fill='%23065F85' fill-opacity='.14'/%3E%3Ccircle cx='120' cy='120' r='2' fill='%23065F85' fill-opacity='.14'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  --pat-hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98'%3E%3Cdefs%3E%3Cpattern id='h' width='56' height='49' patternUnits='userSpaceOnUse'%3E%3Cpath d='M28 0 56 14v21L28 49 0 35V14z' fill='none' stroke='%230A2B53' stroke-opacity='.09' stroke-width='.75'/%3E%3Cpath d='M28 0v14M0 14h56M0 35h56M28 35v14' fill='none' stroke='%230A2B53' stroke-opacity='.045' stroke-width='.5'/%3E%3Ccircle cx='28' cy='24' r='1.2' fill='%23065F85' fill-opacity='.12'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  --pat-circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cdefs%3E%3Cpattern id='c' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 40h24M56 40h24M40 0v24M40 56v24' stroke='%230A2B53' stroke-opacity='.07' stroke-width='1' fill='none'/%3E%3Cpath d='M24 40h16v-8h16' stroke='%23065F85' stroke-opacity='.1' stroke-width='.75' fill='none'/%3E%3Ccircle cx='40' cy='40' r='3' fill='none' stroke='%23065F85' stroke-opacity='.15' stroke-width='.75'/%3E%3Ccircle cx='0' cy='40' r='2' fill='%23065F85' fill-opacity='.1'/%3E%3Ccircle cx='80' cy='40' r='2' fill='%23065F85' fill-opacity='.1'/%3E%3Ccircle cx='40' cy='0' r='2' fill='%23065F85' fill-opacity='.1'/%3E%3Ccircle cx='40' cy='80' r='2' fill='%23065F85' fill-opacity='.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  --pat-crosshatch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cdefs%3E%3Cpattern id='x' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 40L40 0M-10 10L10 -10M30 50L50 30' stroke='%230A2B53' stroke-opacity='.05' stroke-width='.75'/%3E%3Cpath d='M0 0L40 40M-10 30L10 50M30 -10L50 10' stroke='%230A2B53' stroke-opacity='.05' stroke-width='.75'/%3E%3Ccircle cx='20' cy='20' r='1' fill='%23065F85' fill-opacity='.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23x)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  --pat-navy-tech: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cdefs%3E%3Cpattern id='n' width='96' height='96' patternUnits='userSpaceOnUse'%3E%3Cpath d='M96 0H0V96' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3Cpath d='M48 0V96M0 48H96' fill='none' stroke='%23fff' stroke-opacity='.04' stroke-width='.75'/%3E%3Cpath d='M16 0V96M32 0V96M64 0V96M80 0V96M0 16H96M0 32H96M0 64H96M0 80H96' fill='none' stroke='%23fff' stroke-opacity='.025' stroke-width='.5'/%3E%3Cpath d='M44 48h8M48 44v8' stroke='%2365C4E8' stroke-opacity='.18' stroke-width='.75'/%3E%3Ccircle cx='48' cy='48' r='2' fill='none' stroke='%2365C4E8' stroke-opacity='.2' stroke-width='.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23n)' width='100%25' height='100%25'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  min-height: 100%;
  background-color: #e4ebf4;
  background-image: var(--pat-blueprint), var(--pat-circuit);
  background-size: 120px 120px, 80px 80px;
  background-position: 0 0, 40px 40px;
}
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: transparent;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { font-family: var(--font-heading); letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:focus-visible, button:focus-visible, .service-card:focus-visible, .filter-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
ul { list-style: none; }
address { font-style: normal; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; color: var(--gray-600); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.text-accent { color: var(--accent); }

/* ── Dark surfaces: page-hero, CTA, parallax, process, error ── */
.page-hero,
.cta-banner,
.parallax-banner,
.process-section,
.error-page {
  --surface-accent: var(--accent-on-dark-bright);
  --surface-accent-soft: var(--accent-on-dark);
  --surface-text: var(--text-on-dark);
  --surface-text-muted: var(--text-on-dark-muted);
}

.page-hero .text-accent,
.cta-banner .text-accent,
.parallax-banner .text-accent,
.process-section .text-accent,
.error-page .text-accent,
.section-header--white .text-accent {
  color: var(--surface-accent, var(--accent-on-dark-bright));
  text-shadow: var(--text-shadow-on-dark);
}

.page-hero h1 .text-accent,
.cta-banner h2 .text-accent,
.parallax-banner h2 .text-accent,
.process-section h2 .text-accent {
  color: var(--accent-on-dark-bright);
  font-weight: 800;
}

.section-header--white .section-label {
  color: var(--accent-on-dark-bright);
}
.section-header--white .section-label::before {
  background: var(--accent-on-dark-bright);
  box-shadow: 0 0 10px rgba(126, 200, 227, 0.35);
}

.text-center { text-align: center; }
.w-full { width: 100%; }

/* ── Button design system ── */
.btn-primary,
.btn-outline,
.btn-outline-dark,
.btn-outline-white,
.btn-whatsapp,
.btn-whatsapp-big,
.btn-wa-sm,
.btn-phone-big,
.btn-phone-sm,
.btn-call,
.btn-whatsapp-mini,
button.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--btn-height);
  padding: 0.65rem 1.35rem;
  border-radius: var(--btn-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: var(--btn-shadow);
  transition:
    transform 0.22s var(--btn-ease),
    box-shadow 0.22s var(--btn-ease),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn-primary::before,
.btn-whatsapp::before,
.btn-whatsapp-big::before,
.btn-wa-sm::before,
.btn-phone-big::before,
.btn-phone-sm::before,
.btn-call::before {
  display: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: rgba(23,108,161,.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover), 0 0 24px rgba(6,95,133,.32);
  border-color: rgba(23,108,161,.55);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn-outline:active { transform: translateY(0) scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: var(--btn-height);
  padding: 0.65rem 1.35rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  transition: transform 0.22s var(--btn-ease), box-shadow 0.22s var(--btn-ease), background 0.2s ease, border-color 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.btn-ghost:active { transform: translateY(0) scale(0.98); }

.btn-outline-dark {
  background: var(--white);
  color: var(--primary);
  border-color: rgba(10,43,83,.14);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}
.btn-outline-dark:active { transform: translateY(0) scale(0.98); }

.btn-outline-white {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  min-height: var(--btn-height-sm);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-radius: 6px;
  transition: gap 0.22s var(--btn-ease), color 0.2s ease;
}
.btn-text:hover { color: var(--accent-dark); gap: 0.65rem; }

.btn-lg {
  min-height: var(--btn-height-lg);
  padding: 0.85rem 1.85rem;
  font-size: 0.98rem;
  border-radius: 14px;
}
.btn-sm {
  min-height: var(--btn-height-sm);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-whatsapp,
.btn-whatsapp-big,
.btn-wa-sm,
.btn-whatsapp-mini {
  background: var(--wa);
  color: var(--white);
  border-color: rgba(29,168,81,.4);
}
.btn-whatsapp:hover,
.btn-whatsapp-big:hover,
.btn-wa-sm:hover,
.btn-whatsapp-mini:hover {
  background: var(--wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,211,102,.35);
  border-color: var(--wa-dark);
}
.btn-whatsapp:active,
.btn-whatsapp-big:active,
.btn-wa-sm:active { transform: translateY(0) scale(0.98); }

.btn-phone-big,
.btn-phone-sm,
.btn-call {
  background: var(--accent-dark);
  color: var(--white);
  border-color: rgba(23,108,161,.4);
}
.btn-phone-big:hover,
.btn-phone-sm:hover,
.btn-call:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover), 0 0 20px rgba(6,95,133,.25);
}

.btn-whatsapp-mini {
  margin-top: 0.65rem;
  width: 100%;
  min-height: var(--btn-height-sm);
  font-size: 0.82rem;
}

/* Topbar action chips */
.topbar-actions .btn-call,
.topbar-actions .btn-whatsapp {
  min-height: 1.85rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--btn-radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: none;
}
.topbar-actions .btn-call {
  background: rgba(6,95,133,.12);
  color: var(--accent);
  border-color: rgba(6,95,133,.28);
}
.topbar-actions .btn-call:hover {
  background: var(--accent);
  color: var(--white);
  transform: none;
  box-shadow: 0 4px 12px rgba(6,95,133,.25);
}
.topbar-actions .btn-whatsapp {
  background: rgba(37,211,102,.12);
  color: #4ade80;
  border-color: rgba(37,211,102,.28);
}
.topbar-actions .btn-whatsapp:hover {
  background: var(--wa);
  color: var(--white);
  transform: none;
  box-shadow: 0 4px 12px rgba(37,211,102,.3);
}

/* Icons inside buttons */
[class*="btn-"] .icon,
[class*="btn-"] svg,
.filter-btn .icon,
.filter-btn svg,
.btn-text .icon,
.btn-text svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}
.btn-lg .icon, .btn-lg svg { width: 1.15rem; height: 1.15rem; }
.btn-sm .icon, .btn-sm svg { width: 0.95rem; height: 0.95rem; }
.btn-primary .icon--whatsapp svg,
.btn-whatsapp .icon svg,
.btn-wa-sm .icon svg { fill: currentColor; stroke: none; }

.btn-primary, .btn-outline, .btn-outline-dark, .btn-outline-white, .btn-text, .fab, .filter-btn { cursor: pointer; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1200;
  transition: transform 0.3s ease, background 0.3s ease;
}
/* Scroll performance: lighter compositing on mobile */
@media (max-width: 1023px) {
  .section-bg--blend,
  .section-bg--noise,
  .section-deco { display: none; }
  .section-bg--photo-b { display: none; }
  .service-card,
  .feature-card,
  .contact-grid,
  .contact-main,
  .sidebar-card,
  .doc-card,
  .contact-card,
  .info-grid,
  .filter-tabs,
  .hero__eyebrow,
  .hero__contactbar {
    backdrop-filter: none;
  }
}
.header.hidden { transform: translateY(-100%); }
.navbar {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(10,43,83,.08);
  box-shadow: 0 2px 16px rgba(10,43,83,.06);
  padding: 0.7rem 0;
  transition: var(--transition);
}
.header.scrolled .navbar {
  box-shadow: 0 4px 24px rgba(10,43,83,.1);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { height: 48px; width: auto; }

.nav-menu { display: none; align-items: center; gap: 0.25rem; }
.nav-menu > li > a {
  color: var(--primary); font-weight: 500; font-size: 0.9rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 0.25rem;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent-dark); }
.nav-menu .arrow { font-size: 0.6rem; transition: transform 0.3s; }
.has-mega-menu:hover .arrow { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-12px);
  width: min(960px, 95vw); background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 1.5rem; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; pointer-events: none;
}
.has-mega-menu { position: relative; }
.has-mega-menu:hover .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all;
}
.mega-menu-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.mega-menu--projeler .mega-menu-inner { grid-template-columns: repeat(3, 1fr); }
.mega-col h4 {
  color: var(--primary); font-size: 0.72rem; margin-bottom: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 0.4rem;
}
.mega-col ul li a {
  display: block; color: var(--gray-600); font-size: 0.85rem; padding: 0.35rem 0;
}
.mega-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.mega-featured {
  background: var(--gray-50); border-radius: var(--radius-sm); padding: 1.25rem;
  border: 1px solid var(--gray-100);
}
.mega-featured p { font-size: 0.85rem; margin: 0.5rem 0 1rem; }
.mega-featured .btn-primary { width: 100%; margin-bottom: 0.5rem; }
.mega-featured .btn-whatsapp-mini { box-shadow: 0 4px 14px rgba(37,211,102,.2); }

.nav-cta { display: none; align-items: center; gap: 0.5rem; }
.btn-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(10,43,83,.12);
  box-shadow: 0 2px 8px rgba(10,43,83,.08);
  transition: transform 0.22s var(--btn-ease), box-shadow 0.22s var(--btn-ease), border-color 0.2s ease;
}
.btn-icon .icon, .btn-icon svg { width: 1.1rem; height: 1.1rem; }
.btn-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.22); }
.btn-icon:active { transform: scale(0.96); }
.btn-phone {
  background: var(--accent-dark);
  color: var(--white);
  border-color: rgba(6,95,133,.35);
}
.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: rgba(37,211,102,.35);
}
.btn-wa .icon svg { fill: currentColor; stroke: none; }
.nav-cta .btn-primary.btn-sm {
  border-radius: 11px;
  padding-inline: 1.1rem;
  box-shadow: 0 4px 14px rgba(6,95,133,.32);
}

/* ── Mobile header bar ── */
.navbar__mobile {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}
.navbar__mobile-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(10,43,83,.1);
  color: var(--primary);
  background: var(--gray-50);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.navbar__mobile-btn:active { transform: scale(0.96); }
.navbar__mobile-btn--phone { color: var(--accent-dark); }
.navbar__mobile-btn--wa {
  background: var(--wa);
  border-color: rgba(37,211,102,.35);
  color: var(--white);
}
.navbar__mobile-btn--wa .icon svg { fill: currentColor; stroke: none; }

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10,43,83,.12);
  border-radius: 11px;
  background: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-toggle__bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.28s var(--btn-ease), top 0.28s var(--btn-ease), opacity 0.2s ease;
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
.nav-toggle.is-active {
  background: var(--accent);
  border-color: rgba(6,95,133,.45);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ── Mobile drawer nav ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav__backdrop {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,43,83,.52);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
  position: absolute;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: min(100%, 400px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-left: 1px solid rgba(10,43,83,.08);
  box-shadow: -12px 0 48px rgba(10,43,83,.14);
  transform: translateX(104%);
  transition: transform 0.36s var(--btn-ease);
  overflow: hidden;
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }

.mobile-nav__top {
  flex-shrink: 0;
  padding: 1.1rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(10,43,83,.08);
  background: linear-gradient(180deg, #f4f9fc 0%, var(--white) 100%);
}
.mobile-nav__eyebrow {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.2rem;
}
.mobile-nav__tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
}
.mobile-nav__list { list-style: none; }
.mobile-nav__link,
.mobile-nav__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-bottom: 1px solid rgba(10,43,83,.06);
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-nav__link {
  text-decoration: none;
}
.mobile-nav__link .icon { color: var(--accent); flex-shrink: 0; }
.mobile-nav__link:hover,
.mobile-nav__link:active,
.mobile-nav__trigger:hover,
.mobile-nav__trigger:active {
  background: rgba(6,95,133,.06);
}
.mobile-nav__link.is-active {
  color: var(--accent-dark);
  background: rgba(6,95,133,.08);
  box-shadow: inset 3px 0 0 var(--accent);
}
.mobile-nav__chevron {
  display: inline-flex;
  color: var(--accent-muted);
  transition: transform 0.28s var(--btn-ease);
}
.mobile-nav__trigger[aria-expanded="true"] .mobile-nav__chevron { transform: rotate(180deg); }

.mobile-nav__sub {
  background: var(--gray-50);
  border-bottom: 1px solid rgba(10,43,83,.06);
}
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__overview {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  border-bottom: 1px dashed rgba(10,43,83,.1);
}
.mobile-nav__subgroups { padding: 0.65rem 0 0.85rem; }
.mobile-nav__subgroup { padding: 0 1.25rem 0.75rem; }
.mobile-nav__subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-muted);
  margin-bottom: 0.45rem;
}
.mobile-nav__sublist { list-style: none; }
.mobile-nav__sublink {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: none;
}
.mobile-nav__sublink:hover,
.mobile-nav__sublink:active { color: var(--accent-dark); }

.mobile-nav__foot {
  flex-shrink: 0;
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(10,43,83,.08);
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(10,43,83,.06);
}
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 11px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mobile-nav__cta:active { transform: scale(0.98); }
.mobile-nav__cta--call {
  background: var(--primary);
  color: var(--white);
}
.mobile-nav__cta--wa {
  background: var(--wa);
  color: var(--white);
}
.mobile-nav__cta--wa .icon svg { fill: currentColor; stroke: none; }
.mobile-nav__cta--quote {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(6,95,133,.28);
}

html.is-menu-open,
html.is-menu-open body {
  overflow: hidden;
}
.header.is-menu-open {
  transform: none !important;
}

/* ── Section surfaces & backgrounds ── */
section {
  position: relative;
  overflow: hidden;
}
section > .container { position: relative; z-index: 2; }

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  contain: paint;
  transform: translateZ(0);
}
.section-bg--blend { opacity: 0.42; }
.section-bg--noise { display: none; }
.section-bg--photo {
  background-size: 108% 108%;
  background-position: center;
}
.section-bg--photo-soft { opacity: 0.22; }
.section-bg--photo-medium { opacity: 0.34; }
.section-bg--photo-bold { opacity: 0.46; }
.section-bg--photo-b {
  background-position: 85% 15%;
  background-size: 105% 105%;
  opacity: 0.16;
}
.section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.section-bg-overlay--light {
  background: rgba(248,250,252,.82);
}
.section-bg-overlay--warm {
  background: rgba(240,248,252,.8);
}
.section-bg-overlay--cool {
  background: rgba(236,244,252,.8);
}
.section-bg-overlay--dark {
  background: rgba(10,43,83,.84);
}
.section-bg-overlay--dark-soft {
  background: rgba(10,43,83,.78);
}

/* Decorative orbs per section */
.section-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.section-deco__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}
.section-deco__orb--a {
  width: 320px; height: 320px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(6,95,133,.22) 0%, rgba(6,95,133,.06) 45%, transparent 70%);
}
.section-deco__orb--b {
  width: 260px; height: 260px;
  bottom: -70px; left: -50px;
  background: radial-gradient(circle, rgba(10,43,83,.1) 0%, transparent 65%);
}
.section-deco__line {
  position: absolute;
  top: 20%; left: -10%;
  width: 120%; height: 1px;
  background: rgba(6,95,133,.12);
  transform: rotate(-4deg);
}
.process-section .section-deco__orb--b,
.cta-banner .section-deco__orb--b,
.trust-bar .section-deco__orb--b { background: rgba(6,95,133,.12); }
.section-header--white p { color: rgba(255,255,255,.7); max-width: 520px; margin-inline: auto; }

.section-bg--slate {
  background-color: #eef2f7;
  background-image:
    var(--pat-blueprint),
    radial-gradient(circle at 20% 30%, rgba(6,95,133,.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(10,43,83,.03) 0%, transparent 45%);
  background-size: 120px 120px, 100% 100%, 100% 100%;
}
.section-bg--warm {
  background-color: #f0f8fc;
  background-image:
    var(--pat-circuit),
    radial-gradient(circle, rgba(10,43,83,.09) 1px, transparent 1.2px),
    radial-gradient(circle, rgba(6,95,133,.05) 0.5px, transparent 0.7px);
  background-size: 80px 80px, 24px 24px, 8px 8px;
}
.section-bg--cool {
  background-color: #eef4f8;
  background-image:
    var(--pat-blueprint),
    var(--pat-crosshatch);
  background-size: 120px 120px, 40px 40px;
  background-position: 0 0, 20px 20px;
}
.section-bg--dots {
  background-color: #e8eef6;
  background-image:
    var(--pat-circuit),
    radial-gradient(circle, rgba(10,43,83,.1) 1.2px, transparent 1.4px),
    radial-gradient(circle, rgba(6,95,133,.06) 0.6px, transparent 0.8px);
  background-size: 80px 80px, 22px 22px, 7px 7px;
}
.section-bg--grid {
  background-color: #e2eaf4;
  background-image: var(--pat-blueprint);
  background-size: 120px 120px;
}
.section-bg--mesh {
  background-color: #e8eef6;
  background-image: var(--pat-hex), var(--pat-crosshatch);
  background-size: 56px 49px, 40px 40px;
  background-position: 0 0, 12px 12px;
}
.section-bg--mesh-warm {
  background-color: #e8f4fa;
  background-image: var(--pat-hex), radial-gradient(circle, rgba(6,95,133,.08) 1px, transparent 1.2px);
  background-size: 56px 49px, 18px 18px;
}
.section-bg--stripe {
  background-color: #ecf1f8;
  background-image:
    var(--pat-crosshatch),
    repeating-linear-gradient(-18deg, transparent, transparent 28px, rgba(10,43,83,.028) 28px, rgba(10,43,83,.028) 29px),
    repeating-linear-gradient(72deg, transparent, transparent 36px, rgba(6,95,133,.02) 36px, rgba(6,95,133,.02) 37px);
  background-size: 40px 40px, auto, auto;
}
.section-bg--trust {
  background-color: var(--primary);
  background-image: var(--pat-navy-tech);
  background-size: 96px 96px;
}
.section-bg--trust::after { display: none; }
.section-bg--navy-mesh {
  background-color: var(--primary);
  background-image: var(--pat-navy-tech);
  background-size: 96px 96px;
}

/* Sections */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header--white h2, .section-header--white .section-label { color: var(--white); }
.section-header--white p { color: rgba(255,255,255,0.75); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.75rem;
}
.section-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section-footer { text-align: center; margin-top: 3rem; }

/* Service Cards — refined */
.services-preview { /* bg via section-bg */ }
.service-categories { display: flex; flex-direction: column; gap: 3rem; }
.service-category__head { margin-bottom: 1.25rem; }
.service-category__head h3 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray-600); font-weight: 600;
}
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.service-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(10,43,83,.05);
  border: 1px solid rgba(255,255,255,.8);
  transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), border-color 0.2s, box-shadow 0.32s;
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  min-height: 100%; cursor: pointer;
}
.service-card::before { display: none; }
.service-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,43,83,0.08);
  border-color: rgba(6,95,133,0.35);
}
.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service-card__num {
  font-size: 0.7rem; font-weight: 600; color: var(--gray-300);
  font-variant-numeric: tabular-nums; letter-spacing: 0.05em;
}
.service-card--featured {
  background: var(--primary); border-color: var(--primary);
}
.service-card--featured .service-card__title { color: var(--white); -webkit-text-fill-color: var(--white); }
.service-card--featured .service-card__desc { color: rgba(255,255,255,0.72); }
.service-card--featured .service-card__num { color: rgba(255,255,255,.45); }
.service-icon {
  width: 48px; height: 48px;
  background: var(--icon-shell-bg);
  border: 1px solid var(--icon-shell-border);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(10,43,83,.05), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform 0.28s var(--btn-ease), box-shadow 0.28s var(--btn-ease), border-color 0.2s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-2px);
  border-color: rgba(6,95,133,.35);
  box-shadow: 0 6px 18px rgba(6,95,133,.15);
}
.service-card--featured:hover { border-color: var(--accent); }
.service-card--featured .service-icon {
  background: rgba(6,95,133,.14);
  border-color: rgba(6,95,133,.28);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.service-card__title {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}
.service-card__desc { font-size: 0.9rem; margin: 0; flex: 1; color: var(--gray-600); line-height: 1.55; }
.card-link, .service-card__footer {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--accent); font-weight: 600; font-size: 0.85rem; margin-top: auto;
  padding: 0.35rem 0.65rem 0.35rem 0;
  border-radius: 8px;
  transition: gap 0.22s var(--btn-ease), color 0.2s ease;
}
.service-card:hover .card-link,
.service-card:hover .service-card__footer { gap: 0.7rem; color: var(--accent-dark); }
.service-card--featured .service-card__footer { color: var(--accent); }
.service-card--featured:hover .service-card__footer { color: #5eb0d8; }

/* About Preview */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.feature-list li {
  padding: 0.6rem 0; color: var(--gray-600); font-weight: 500; font-size: 0.95rem;
  display: flex; align-items: flex-start; gap: 0.65rem;
  border-bottom: 1px solid var(--gray-100);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li svg, .feature-list li .icon { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.about-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1.5rem; }

.about-images {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 1rem;
}
.about-images .img-main { grid-column: 1 / -1; border-radius: var(--radius-md); height: 240px; object-fit: cover; width: 100%; }
.about-images .img-secondary, .about-images .img-tertiary { border-radius: var(--radius-md); height: 160px; object-fit: cover; width: 100%; }
.experience-badge {
  position: absolute; bottom: -1rem; right: -0.5rem; background: var(--accent); color: var(--white);
  border-radius: var(--radius-md); padding: 1.25rem; text-align: center; box-shadow: var(--shadow-lg);
}
.badge-number { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: 0.8rem; font-weight: 600; }

/* Process — step timeline */
.process-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0;
}
.section-header--process p {
  color: rgba(255,255,255,.78);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.75;
}

.process-timeline {
  position: relative;
  margin-top: 2.75rem;
}
.process-timeline__rail {
  display: none;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  text-align: left;
  background: linear-gradient(160deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover {
  background: linear-gradient(160deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.08) 100%);
  border-color: rgba(126,200,227,.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.24);
}

.process-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.process-step__num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-on-dark-bright);
  font-variant-numeric: tabular-nums;
  text-shadow: var(--text-shadow-on-dark);
}

.process-step__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 6px 20px rgba(6,95,133,.45);
}
.process-step__icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-step__title {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.process-step__text {
  color: rgba(255,255,255,.76);
  font-size: 0.9rem;
  line-height: 1.68;
  margin: 0;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1100px) {
  .process-timeline__rail {
    display: block;
    position: absolute;
    top: 2.35rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(126,200,227,.5) 12%,
      rgba(126,200,227,.5) 88%,
      transparent 100%
    );
    z-index: 0;
  }

  .process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
  }

  .process-step {
    padding: 1.5rem 1.2rem 1.35rem;
    min-height: 100%;
  }

  .process-step__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.15rem;
  }

  .process-step__num {
    font-size: 1.85rem;
  }
}

@media (max-width: 767px) {
  .process-section { padding: 3.5rem 0; }
  .process-step {
    padding-left: 1.15rem;
    border-left: 3px solid rgba(126,200,227,.45);
    border-radius: 0 16px 16px 0;
  }
  .process-step__num { font-size: 1.45rem; }
  .process-step__text { font-size: 0.88rem; }
}

/* Projects */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center;
  padding: 0.35rem;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--btn-radius-pill);
  margin-bottom: 2rem; max-width: fit-content; margin-inline: auto;
  box-shadow: 0 4px 16px rgba(10,43,83,.05);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem; border-radius: var(--btn-radius-pill);
  border: 1px solid transparent; background: transparent;
  color: var(--gray-600); font-family: var(--font-heading);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}
.filter-btn:hover {
  color: var(--primary);
  background: rgba(255,255,255,.7);
}
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(10,43,83,.18);
}
.filter-btn .icon { opacity: 0.88; }
.filter-btn.active .icon { opacity: 1; }
.filter-btn:active { transform: scale(0.97); }

.projects-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
.project-card { border-radius: var(--radius-md); overflow: hidden; transition: opacity 0.4s, transform 0.4s; cursor: pointer; }

/* Trust bar */
.trust-bar {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-bar__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.1);
}
.trust-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  color: var(--accent-on-dark-bright);
  border: 1px solid rgba(159, 212, 235, 0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.trust-item strong { display: block; font-size: 0.85rem; color: var(--white); }
.trust-item span { font-size: 0.75rem; color: rgba(255,255,255,.65); }
@media (min-width: 768px) {
  .trust-bar__grid { grid-template-columns: repeat(4, 1fr); }
}

/* Page shell */
.page-shell { padding-top: 0; }
body:not(.home) section:first-of-type { scroll-margin-top: calc(var(--header-height) + 1rem); }

.project-card.hidden-card { opacity: 0; transform: scale(0.9); pointer-events: none; position: absolute; visibility: hidden; }
.project-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.project-card--wide .project-img-wrap { aspect-ratio: 16/9; }
.project-card--tall .project-img-wrap { aspect-ratio: 3/4; }
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0; background: rgba(10,43,83,.82);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  opacity: 0; transform: translateY(20px); transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-overlay h3 { color: var(--white); margin-bottom: 0.25rem; }
.project-overlay span {
  color: var(--accent-on-dark-bright);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Why Us */
.why-us { /* bg via section-bg */ }
.features-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.feature-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(10,43,83,.06);
  border: 1px solid rgba(255,255,255,.9);
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--primary);
}
.feature-icon--blue { background: rgba(10,43,83,0.06); }
.feature-icon--gold { background: rgba(6,95,133,0.12); color: var(--accent-dark); }
.feature-icon--green { background: rgba(34,197,94,0.08); color: #16a34a; }
.feature-card h3 { color: var(--primary); margin-bottom: 0.75rem; }

/* Parallax Banner */
.parallax-banner {
  position: relative; min-height: 400px; display: flex; align-items: center;
  overflow: hidden;
}
.parallax-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-attachment: scroll;
  will-change: auto;
}
.parallax-bg--alt {
  opacity: 0.28;
  background-position: 20% 60%;
}
.parallax-fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.parallax-fx__mesh { display: none; }
.parallax-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(10, 43, 83, 0.88) 0%, rgba(10, 43, 83, 0.82) 100%);
}
.parallax-banner .container { position: relative; z-index: 3; text-align: center; }
.parallax-banner h2 {
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.cta-group { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Clients */
.clients-logos {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
  margin-top: 1.5rem;
}
.client-badge {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(10,43,83,.08);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(10,43,83,.05);
}

/* Contact CTA */
.contact-cta { /* bg via section-bg */ }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(10,43,83,.08);
}
.contact-items { margin: 2rem 0; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-shell-bg);
  border-radius: 12px;
  color: var(--primary);
  border: 1px solid var(--icon-shell-border);
  box-shadow: 0 2px 10px rgba(10,43,83,.05), inset 0 1px 0 rgba(255,255,255,.85);
}
.quick-btns { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.quick-btns .btn-phone-sm,
.quick-btns .btn-wa-sm { flex: 1; min-width: 7rem; }
.contact-item label { display: block; font-weight: 600; color: var(--primary); font-size: 0.85rem; margin-bottom: 0.25rem; }
.contact-item a { color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-btns .btn-phone-big,
.contact-btns .btn-whatsapp-big { flex: 1; min-width: 9rem; }
.contact-map iframe { border-radius: var(--radius-lg); width: 100%; }

/* Page Hero */
.page-hero {
  position: relative; padding: 8rem 0 4rem;
  background: var(--primary);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.page-hero__fx {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.page-hero__mesh { display: none; }
.page-hero__grid {
  position: absolute; inset: 0; opacity: 0.14;
  background-image: var(--pat-navy-tech);
  background-size: 96px 96px;
}
.page-hero__glow { display: none; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(112deg, rgba(10, 43, 83, 0.93) 0%, rgba(10, 43, 83, 0.86) 42%, rgba(8, 38, 62, 0.9) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.page-hero p {
  color: var(--text-on-dark-muted);
  max-width: 600px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.breadcrumb {
  color: var(--text-on-dark-subtle);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--accent);
  transition: color 0.2s ease;
}
.breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb,
.cta-banner .breadcrumb,
.error-page .breadcrumb {
  color: var(--text-on-dark-subtle);
}
.page-hero .breadcrumb a,
.cta-banner .breadcrumb a,
.error-page .breadcrumb a {
  color: var(--text-on-dark);
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.page-hero .breadcrumb a:hover,
.cta-banner .breadcrumb a:hover,
.error-page .breadcrumb a:hover {
  color: var(--accent-on-dark-bright);
  text-decoration: underline;
}
.page-hero .breadcrumb span,
.cta-banner .breadcrumb span,
.error-page .breadcrumb span {
  color: var(--text-on-dark-muted);
}
.page-hero .project-badge {
  background: rgba(126, 200, 227, 0.2);
  color: var(--accent-on-dark-bright);
  border: 1px solid rgba(159, 212, 235, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

/* Service Detail */
.service-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.service-content {
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 8px 32px rgba(10,43,83,.07);
}
.service-content h2 { color: var(--primary); margin: 2rem 0 1rem; }
.service-content h3 { color: var(--primary); margin: 1.5rem 0 0.75rem; }
.service-content p { margin-bottom: 1.1rem; line-height: 1.75; color: var(--gray-600); }
.service-content p:first-of-type { font-size: 1.05rem; color: var(--gray-700); }
.service-content ul { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.service-content ul li { color: var(--gray-600); margin-bottom: 0.5rem; line-height: 1.6; }
.service-content img { border-radius: var(--radius-md); margin: 1.5rem 0; }

.service-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 20px rgba(10,43,83,.06);
}
.sidebar-card h4 { color: var(--primary); margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.9rem; margin-bottom: 1rem; }
.sidebar-card .btn-primary, .sidebar-card .btn-whatsapp, .sidebar-card .btn-outline-dark { width: 100%; margin-bottom: 0.5rem; }
.sidebar-links li a {
  display: block; padding: 0.5rem 0; color: var(--gray-600); font-size: 0.9rem;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-links li a:hover { color: var(--accent); }

.toc-nav {
  background: var(--gray-50); padding: 1rem 0; border-bottom: 1px solid var(--gray-100);
  position: sticky; top: var(--header-height); z-index: 100;
}
.toc-nav .container { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.toc-nav a {
  padding: 0.4rem 0.75rem; background: var(--white); border-radius: var(--radius-sm);
  font-size: 0.8rem; color: var(--gray-600); border: 1px solid var(--gray-100);
}
.toc-nav a:hover { color: var(--accent); border-color: var(--accent); }

/* Project Detail */
.project-hero {
  position: relative; min-height: 50vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
}
.project-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,43,83,.86);
}
.project-hero .container { position: relative; z-index: 2; padding-bottom: 3rem; }
.project-hero h1 { color: var(--white); }
.project-badge {
  display: inline-block; background: var(--accent); color: var(--primary);
  padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
}

.info-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 24px rgba(10,43,83,.07);
}
.project-description .container {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 6px 24px rgba(10,43,83,.07);
}
.project-gallery-section .container {
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.7);
}
.info-item label { display: block; font-size: 0.8rem; color: var(--gray-600); margin-bottom: 0.25rem; }
.info-item span { font-weight: 700; color: var(--primary); }

.project-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.project-gallery img {
  border-radius: var(--radius-sm); cursor: pointer; aspect-ratio: 4/3; object-fit: cover; width: 100%;
  transition: var(--transition);
}
.project-gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

.project-nav {
  display: flex; justify-content: space-between; gap: 1rem; padding: 2rem 0;
  border-top: 1px solid var(--gray-100);
}
.project-nav a { color: var(--accent); font-weight: 600; }

/* Documents */
.doc-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.doc-card {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(10,43,83,.07);
  border: 1px solid rgba(255,255,255,.95);
  text-align: center;
}
.doc-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--icon-shell-bg);
  border-radius: 16px;
  color: var(--accent-dark);
  border: 1px solid var(--icon-shell-border);
  box-shadow: 0 4px 16px rgba(10,43,83,.06), inset 0 1px 0 rgba(255,255,255,.9);
}
.doc-card .btn-outline-dark { margin-top: 0.25rem; }
.doc-card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.doc-card p { margin-bottom: 1.5rem; }

/* Contact Page */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.form-group label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--gray-100); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6,95,133,0.25);
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.45;
}
.form-status--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}
.form-status--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}
.contact-form button[disabled] { opacity: 0.72; cursor: not-allowed; }
.contact-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 16px rgba(10,43,83,.05);
}
.contact-main {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 8px 32px rgba(10,43,83,.08);
}
.contact-main h2 { color: var(--primary); margin-bottom: 1.25rem; }
.gallery-heading { margin-bottom: 1.5rem; color: var(--primary); }
.vm-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.9);
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(10,43,83,.06);
}
.contact-card h4 { color: var(--primary); margin-bottom: 0.5rem; }
/* CTA Banner */
.cta-banner {
  position: relative;
  padding: 4.5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.cta-banner .btn-primary { position: relative; z-index: 1; }

/* Vision Mission */
.vm-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 0 0 3rem; }
.vm-card h3 { color: var(--primary); margin-bottom: 1rem; }

.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.area-tags span {
  background: rgba(6,95,133,0.12); color: var(--primary); padding: 0.35rem 0.75rem;
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}

/* Footer */
.footer {
  position: relative;
  background: var(--white);
  color: var(--gray-600);
  overflow: hidden;
  border-top: 1px solid rgba(10,43,83,.08);
}

.footer__cta {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid rgba(10,43,83,.08);
  padding: 2.25rem 0;
}
.footer__cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.footer__cta-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: .35rem;
}
.footer__cta-copy p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.5;
  max-width: 36rem;
}
.footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  width: 100%;
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.15rem;
  border-radius: 11px;
  font-size: .88rem;
  font-weight: 600;
  transition: transform .22s var(--btn-ease), box-shadow .22s var(--btn-ease), background .2s ease;
}
.footer__cta-btn:hover { transform: translateY(-2px); }
.footer__cta-btn--phone,
.footer__cta-btn--wa {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(10,43,83,.15);
}
.footer__cta-btn--phone:hover,
.footer__cta-btn--wa:hover { box-shadow: 0 8px 22px rgba(10,43,83,.2); }
.footer__cta-btn--phone .icon svg { stroke: currentColor; }
.footer__cta-btn--wa .icon svg { fill: var(--white); stroke: none; }
.footer__cta-btn--outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid rgba(10,43,83,.14);
  box-shadow: 0 2px 8px rgba(10,43,83,.06);
}
.footer__cta-btn--outline:hover {
  background: var(--gray-50);
  border-color: rgba(10,43,83,.2);
}

.footer__main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 4rem 0 2.5rem;
  background: var(--white);
}
.footer__main > .container {
  position: relative;
  z-index: 2;
}
.footer__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.footer__fx-mesh {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(10,43,83,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,43,83,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.footer__fx-glow { display: none; }

.footer__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer__logo-link { display: inline-block; margin-bottom: 1.1rem; }
.footer__logo { height: 48px; width: auto; display: block; }
.footer__tagline {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  max-width: 22rem;
}
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .75rem;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--gray-50);
  border: 1px solid rgba(10,43,83,.1);
}
.footer__badge .icon { color: var(--accent-dark); }

.footer__heading {
  color: var(--primary);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid rgba(6,95,133,.4);
  display: inline-block;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--gray-600);
  transition: color .2s ease, transform .2s ease;
}
.footer__links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--accent);
  margin-right: 0;
  transition: width .2s ease, margin .2s ease;
}
.footer__links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.footer__links a:hover::before {
  width: 8px;
  margin-right: .5rem;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer__contact-list li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.footer__contact-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(6,95,133,.1);
  border: 1px solid rgba(6,95,133,.18);
  color: var(--accent-dark);
}
.footer__contact-icon .icon svg { stroke: currentColor; }
.footer__contact-icon .icon svg[fill="currentColor"] { fill: currentColor; stroke: none; }
.footer__contact-list strong {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .2rem;
}
.footer__contact-list address {
  font-style: normal;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--gray-600);
}
.footer__contact-list a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.footer__contact-list a:hover { color: var(--primary); }
.footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  padding: .5rem 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer__map-link:hover {
  color: var(--accent-dark);
  border-bottom-color: rgba(6,95,133,.35);
}
.footer__areas-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: .6rem;
}
.footer__area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.footer__area-tags span {
  padding: .3rem .65rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(6,95,133,.1);
  border: 1px solid rgba(6,95,133,.18);
}

.footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(10,43,83,.08);
  background-color: var(--gray-50);
  background-image: var(--pat-blueprint), var(--pat-crosshatch);
  background-size: 120px 120px, 40px 40px;
  background-position: 0 0, 20px 20px;
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-align: center;
}
.footer__copy {
  font-size: .85rem;
  color: var(--gray-600);
  margin: 0;
}
.footer__legal {
  font-size: .78rem;
  color: var(--gray-500);
  margin: 0;
}

/* Floating Actions */
.floating-actions {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 10px; z-index: 1000;
}
.fab {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 28px rgba(10,43,83,.22), 0 2px 6px rgba(10,43,83,.12);
  transition: transform 0.22s var(--btn-ease), box-shadow 0.22s var(--btn-ease);
  position: relative;
  color: var(--white);
}
.fab .icon, .fab svg { width: 1.35rem; height: 1.35rem; }
.fab--whatsapp .icon svg { fill: currentColor; stroke: none; }
.fab--phone .icon svg { fill: none; stroke: currentColor; stroke-width: 1.75; }
.fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(10,43,83,.28);
}
.fab:active { transform: translateY(-1px) scale(0.98); }
.fab:hover .fab-label { opacity: 1; transform: translateX(-8px); }
.fab--whatsapp {
  background: var(--wa);
  border-color: rgba(29,168,81,.35);
}
.fab--phone {
  background: var(--accent-dark);
  color: var(--white);
  border-color: rgba(23,108,161,.35);
}
.fab-label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--gray-900); color: white;
  padding: 0.35rem 0.75rem; border-radius: 8px; font-size: 0.75rem; font-weight: 600;
  white-space: nowrap; opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s var(--btn-ease);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.fab-label::after {
  content: '';
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px; background: var(--gray-900);
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px;
  width: 48px; height: 48px;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--icon-shell-border);
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10,43,83,.14);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.22s var(--btn-ease), background 0.2s ease, color 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top .icon, .back-to-top svg { width: 1.25rem; height: 1.25rem; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10,43,83,.2);
}
.back-to-top:active { transform: scale(0.96); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,43,83,0.95); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: var(--white); font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); transform: scale(1.05); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 14px;
  cursor: pointer; font-size: 1.35rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* 404 */
.error-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; position: relative; overflow: hidden;
}
.error-page__inner { position: relative; z-index: 2; }
.error-page h1 {
  color: var(--accent-on-dark-bright);
  font-size: 6rem;
  text-shadow: var(--text-shadow-on-dark);
}
.error-page h2 { color: var(--white); margin-bottom: 1rem; }
.error-page p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* Services list page */
.services-list-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-list-card {
  display: flex; gap: 1.5rem;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(10,43,83,.06);
  border: 1px solid rgba(255,255,255,.95);
  align-items: flex-start;
  transition: var(--transition);
}
.service-list-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-list-card .service-icon {
  flex-shrink: 0;
  margin-bottom: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.service-list-card:hover .service-icon {
  transform: translateY(-2px);
  border-color: rgba(6,95,133,.35);
}

/* Blog */
.blog-index,
.blog-article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.blog-index > .container,
.blog-article > .container {
  position: relative;
  z-index: 2;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.98);
  box-shadow: 0 8px 28px rgba(10,43,83,.07);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card--featured {
  border-color: rgba(6,95,133,.2);
  box-shadow: 0 12px 36px rgba(6,95,133,.12);
}
.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__category {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(10,43,83,.88);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.blog-card__body { padding: 1.35rem 1.5rem 1.5rem; }
.blog-card__title {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: .65rem;
}
.blog-card__title a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: .92rem;
}
.blog-card__link:hover { color: var(--accent-dark); }
.blog-article__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  min-width: 0;
}
.blog-sidebar {
  min-width: 0;
}
.blog-article__main {
  background: rgba(255,255,255,.94);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,.98);
  box-shadow: 0 8px 28px rgba(10,43,83,.06);
  min-width: 0;
}
.blog-article__figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.blog-article__figure img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-article__cta {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6,95,133,.08), rgba(10,43,83,.04));
  border: 1px solid rgba(6,95,133,.15);
}
.blog-article__cta h3 {
  color: var(--primary);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}
.blog-article__cta p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.blog-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}
.blog-sidebar .blog-sidebar__posts a {
  font-size: .9rem;
  line-height: 1.45;
}

/* Scroll performance — avoid backdrop-filter repaint during scroll */
.trust-item,
.feature-card,
.client-badge,
.filter-tabs,
.sidebar-card,
.doc-card,
.contact-card,
.info-card,
.project-meta-card,
.contact-main,
.service-sidebar,
.service-list-card,
.btn-outline,
.btn-ghost,
.hero__eyebrow,
.hero__contactbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.feature-card { background: rgba(255,255,255,.97); }
.client-badge { background: rgba(255,255,255,.96); }
.trust-item { background: rgba(255,255,255,.09); }
.blog-card,
.blog-article__main {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.blog-card { background: rgba(255,255,255,.97); }
.blog-article__main { background: rgba(255,255,255,.97); }
