@charset "utf-8";
/* =========================================================
   THEME / TOKENS — Site-wide design tokens
   ========================================================= */
:root {
  --bg: #07080b;         /* Default dark background */
  --panel: #0f1217;      /* Header/footer/panel background */
  --panel2: #141a22;     /* Alternate background */
  --text: #f4f6fb;       /* Primary text color */
  --muted: #b1b8c6;      /* Secondary text color */
  --line: rgba(255, 255, 255, .10); /* Border color */
  --shadow: 0 24px 70px rgba(0, 0, 0, .55); /* Card/hero shadow */
  --radius: 18px;        /* Border radius */
  --accent: #ff8900;     /* Brand orange */
  --accent2: #fdba22;    /* Secondary orange/yellow */
  --max: 1180px;         /* Max content width */
  --h1: clamp(2.3rem, 4.2vw, 4.1rem); /* Responsive H1 */
  --h2: clamp(1.5rem, 2.3vw, 2.2rem); /* Responsive H2 */
  --h3: clamp(1.05rem, 1.45vw, 1.25rem); /* Responsive H3 */
  --accentGlow: rgba(255, 137, 0, .22); /* Soft orange glow */
  --accentGlow2: rgba(253, 186, 34, .14); /* Yellow-orange glow */
}

/* =========================================================
   RESET / BASE STYLES
   ========================================================= */
* {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  background: #06070a;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  overflow-x: hidden;
}
main {
  margin: 0;
  font-family: inherit;
  color: inherit;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 18% 8%, rgba(255, 137, 0, .18), transparent 68%),
    radial-gradient(900px 600px at 88% 14%, rgba(253, 186, 34, .13), transparent 70%),
    radial-gradient(700px 500px at 55% 110%, rgba(255, 137, 0, .10), transparent 60%),
    radial-gradient(1100px 720px at 20% 145%, rgba(253, 186, 34, .11), transparent 70%),
    radial-gradient(900px 650px at 85% 160%, rgba(255, 137, 0, .12), transparent 72%),
    radial-gradient(1200px 800px at 35% 205%, rgba(255, 137, 0, .10), transparent 74%),
    radial-gradient(950px 720px at 78% 230%, rgba(253, 186, 34, .09), transparent 74%),
    radial-gradient(1200px 900px at 50% 270%, rgba(255, 137, 0, .08), transparent 78%),
    linear-gradient(180deg, #06070a 0%, #090b10 40%, #05060a 100%);
}
a {
  color: inherit;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   HEADER STYLES
   ========================================================= */
.header {
  position: sticky; /* Keeps header at top on scroll */
  top: 0;
  z-index: 1000; /* Keeps above dropdowns/hero */
  background: rgba(9, 10, 12, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); /* Frosted glass effect */
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 74px;
  overflow: visible;
}

/* =========================================================
   BRANDING: LOGO + TEXT
   ========================================================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 210px;
}
.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 30px var(--accentGlow);
  position: relative;
  overflow: hidden;
}
.logo:after {
  content: "";
  position: absolute;
  inset: -18px;
  background: conic-gradient(from 210deg, rgba(255, 255, 255, .30), transparent 25%, rgba(255, 255, 255, .10));
  animation: spin 6s linear infinite;
  mix-blend-mode: overlay;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.brand strong {
  font-size: 1.02rem;
  letter-spacing: .2px;
}
.brand span {
  display: block;
  font-size: .80rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Wordmark mode */
.brand--wordmark {
  gap: 0;
  min-width: unset;
}
.wordmark {
  display: block;
  height: 34px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

/* =========================================================
   NAVIGATION BAR STYLES
   ========================================================= */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.nav > button,
.nav > a,
.navbtn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.15s ease,
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
/* Hover / focus styles */
.nav > button:hover,
.nav > a:hover,
.navbtn:hover,
.navbtn:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 6px 2px rgba(255, 137, 0, 0.4);
  outline: none;
}
/* Click state */
.nav > button:active,
.nav > a:active,
.navbtn:active {
  transform: translateY(1px);
}
/* Dropdown chevron icon */
.chev {
  display: inline-block;
  transition: transform 0.2s ease;
  opacity: 0.75;
}
.navbtn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Burger menu (mobile) */
.burger {
  display: none;
}

/* Header right-side actions */
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   SEARCH FIELD (desktop only)
   ========================================================= */
.search {
  display: none; /* Only visible on wider viewports */
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  min-width: 220px;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: .95rem;
}

/* =========================================================
   BUTTONS (primary, icon, link-style)
   ========================================================= */
.btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    transform .15s ease,
    background .15s ease,
    border-color .15s ease;
}
.btn:hover {
  background: rgba(255, 255, 255, .07);
}
.btn:active {
  transform: translateY(1px);
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06101e;
  font-weight: 700;
  box-shadow:
    0 4px 40px var(--accentGlow),
    0 8px 20px var(--accentGlow2);
}
.btn.primary:hover {
  filter: brightness(1.05);
}
.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  justify-content: center;
  border-radius: 14px;
}

/* =========================================================
   MEGA MENU STYLES (used for nav dropdowns)
   ========================================================= */
.nav-item {
  position: relative; /* anchor for dropdown */
}
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  width: auto;
  min-width: 380px;
  max-width: 500px;
  background: rgba(9, 10, 12, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mega.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-inner {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px 28px 24px;
  width: 100%;
  max-width: 460px;
}
.mega-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  padding: 14px;
  width: 100%;
}
.mega-col h4 {
  margin: 0 0 8px;
  font-size: .95rem;
  letter-spacing: .3px;
  color: rgba(255, 255, 255, .92);
}
.mega-col p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}
.mega-links {
  display: grid;
  gap: 6px;
}
.mega-links a {
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  font-size: .94rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mega-links a:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .06);
}

/* =========================================================
   HERO SECTION — page intros with large media and titles
   ========================================================= */
.hero {
  position: relative;
  z-index: 0;
  padding: 56px 0 30px;
}

/* Main hero card container */
.hero-card {
  position: relative;
  z-index: 0;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
}

/* Hero background media layer */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .55;
  filter: saturate(1.1) contrast(1.1);
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay on top of background video/image */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(980px 560px at 18% 30%, rgba(255, 137, 0, .38), transparent 62%),
    radial-gradient(760px 520px at 78% 22%, rgba(253, 186, 34, .18), transparent 60%),
    linear-gradient(90deg, rgba(6, 7, 10, .92) 0%, rgba(6, 7, 10, .62) 42%, rgba(6, 7, 10, .22) 70%, rgba(6, 7, 10, .90) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .68));
}

/* =========================================================
   HERO CONTENT LAYOUT
   ========================================================= */
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(22px, 4vw, 54px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: end;
  min-height: 440px;
}

/* Optional layout used for full-width title or two-column hero */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-rows: auto auto;
  gap: 22px 28px;
  align-items: end;
}
.hero-layout .hero-title {
  grid-column: 1 / -1;
  margin: 0;
  max-width: none;
  text-align: left;
  line-height: 1.02;
}
.hero-layout .hero-left {
  grid-column: 1;
  align-self: start;
}
.hero-layout .hero-right {
  grid-column: 2;
  align-self: end;
  display: flex;
  justify-content: flex-end;
}
.hero-quick {
  width: min(100%, 520px);
}
.hero-left p {
  max-width: 60ch;
}

/* "Kicker" badge-style pill before H1 */
.kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
  color: rgba(255, 255, 255, .90);
  font-size: .9rem;
  width: fit-content;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(255, 137, 0, .18);
}

/* Hero heading and paragraph text */
.hero h1 {
  margin: 14px 0 10px;
  font-size: var(--h1);
  line-height: 1.03;
  letter-spacing: -.02em;
}
.hero p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 52ch;
}

/* CTAs (quote, contact) below hero title */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Right-aligned stat blocks (optional) */
.hero-right {
  display: grid;
  gap: 12px;
  align-content: end;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.stat {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  border-radius: 18px;
  padding: 14px;
}
.stat strong {
  display: block;
  font-size: 1.25rem;
  letter-spacing: .2px;
}
.stat span {
  color: var(--muted);
  font-size: .9rem;
}

/* =========================================================
   SECTIONS / GRIDS / CARDS
   ========================================================= */
section {
  padding: 44px 0; /* Standard vertical spacing for sections */
}

/* Section headings with optional description */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 0;
  font-size: var(--h2);
  letter-spacing: -.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.5;
}

/* Grid layouts for cards or content */
.grid {
  display: grid;
  gap: 16px;
}
.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Cards: content blocks like quote, contact, services */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  overflow: hidden;
  position: relative;
}
.card-pad {
  padding: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: var(--h3);
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: .96rem;
}

/* Row of links in card (e.g. phone/email links) */
.card .linkrow {
  margin-top: 12px;
}
.linkrow a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
}
.linkrow a:hover {
  background: rgba(255, 255, 255, .06);
}

/* =========================================================
   THUMBNAIL IMAGE BACKGROUNDS (for cards)
   ========================================================= */
.thumb {
  height: 160px;
  background: linear-gradient(135deg, rgba(255, 137, 0, .22), rgba(253, 186, 34, .14));
  position: relative;
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  display: block;
}

/* Badge label over thumbnails */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .25);
  font-size: .82rem;
  color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

/* =========================================================
   LOGO CAROUSEL (clients, partners, etc.)
   ========================================================= */
.logo-carousel {
  padding: 2rem 0;
  text-align: center;
}
.carousel-shell {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.logo-item img {
  max-height: 60px;
  width: auto;
  margin: 0 auto;
  display: block;
  filter: grayscale(0%);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}
.swiper-button-prev {
  left: -30px;
}
.swiper-button-next {
  right: -30px;
}

/* =========================================================
   SLIDER: for featured work / testimonials
   ========================================================= */
.slide {
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.slide h3 {
  margin-top: 0;
}
.slider-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.slider-controls button {
  background: none;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.slider-controls button:hover {
  background: rgba(255, 255, 255, .05);
}

/* =========================================================
   QUOTE FORM / INPUT STYLES
   ========================================================= */
.quote-form {
  display: grid;
  gap: 16px;
}
.quote-form input,
.quote-form textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.quote-form input:focus,
.quote-form textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .06);
}
.quote-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox / Radios inline with label */
.checkrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkrow input {
  margin: 0;
}
.checkrow label {
  font-size: .9rem;
  color: var(--muted);
}

/* =========================================================
   FOOTER / FINEPRINT
   ========================================================= */
footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}
.fineprint {
  margin-top: 12px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* =========================================================
   UTILITY CLASSES
   ========================================================= */

/* Hide from display (visual and screen readers) */
.hidden {
  display: none !important;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Screen reader only alias */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   MEDIA QUERIES / RESPONSIVE DESIGN
   ========================================================= */
/* Tablet */
@media screen and (max-width: 960px) {
  .hero-content,
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-right {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .search {
    display: none;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  .grid.cols-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .logo-carousel {
    padding: 1rem 0;
  }

  .carousel-arrow {
    display: none;
  }
}
