/* ============================================================
   REMO BUILDERS — style.css
   Clean, single-source-of-truth stylesheet.
   Dark theme: black / red / white
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
  --bg:        #0a0a0a;
  --bg-card:   #111111;
  --bg-card-2: #1a1a1a;
  --red:       #cc0000;
  --red-hover: #e60000;
  --red-dark:  #8b0000;
  --white:     #ffffff;
  --gray:      #cccccc;
  --border:    #2a2a2a;
  --font:      'Poppins', sans-serif;
  --shadow:    0 20px 60px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
}

body.public-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fffdfd;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ── LAYOUT ── */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-main {
  overflow: hidden;
  background: var(--bg);
}

body.public-body .site-main {
  flex: 1 0 auto;
}

.section    { padding: 80px 0; }
.section-sm { padding: 60px 0; }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-hover);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title          { margin-bottom: 34px; }
.section-title h2       { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
.section-title p,
.section-lead           { color: var(--gray); max-width: 760px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn-primary            { background: var(--red); color: var(--white); }
.btn-primary:hover      { background: var(--red-hover); }

.btn-outline            { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover      { background: var(--white); color: var(--bg); }

.btn-small              { padding: 10px 18px; }

/* ── TOPBAR ── */
.topbar {
  background: var(--red-dark);
  color: var(--white);
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 36px;
  padding: 6px 0;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-left span,
.topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.topbar-left span:hover,
.topbar-right a:hover {
  color: var(--white);
}

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
  background: #000000;
  border-bottom: 2px solid var(--red);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

/* ── LOGO / BRAND ── */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand span  { font-size: 1.15rem; color: var(--white); }

.brand strong {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 999px;
}

.logo-image {
  max-height: 50px;
  width: auto;
  display: block;
}

/* ── MOBILE TOGGLE ── */
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ── NAV PANEL ── */
.nav-panel {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list > li {
  position: relative;
}

/* ── NAV LINKS & DROPDOWN TOGGLE ── */
.nav-list a,
.dropdown-toggle {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.dropdown-toggle:hover {
  color: var(--red-hover);
}

/* ── ACTIVE PAGE LINK ── */
.nav-list a.nav-active {
  color: var(--red);
}

.nav-list > li > a.nav-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 999px;
}

/* ── ACTIVE DROPDOWN PARENT ── */
.has-dropdown.nav-parent-active > .dropdown-toggle {
  color: var(--red);
}

.has-dropdown.nav-parent-active > .dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 999px;
}

/* ── DROPDOWN MENU ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  background: var(--bg-card);           /* dark #111111 */
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);     /* red top accent */
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 999;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── DROPDOWN LINKS ── */
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--gray);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(204, 0, 0, 0.15);
  color: var(--white);
  padding-left: 18px;
}

/* Active item inside dropdown */
.dropdown-menu a.dropdown-active {
  background: linear-gradient(90deg, rgba(204, 0, 0, 0.98), rgba(139, 0, 0, 0.96));
  color: var(--white);
  border-left: 3px solid var(--red);
  padding-left: 11px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dropdown-menu a.dropdown-active:hover {
  background: linear-gradient(90deg, rgba(204, 0, 0, 1), rgba(139, 0, 0, 0.98));
  color: var(--white);
  padding-left: 11px;
}

/* ── MEGA MENU ── */
.has-megamenu {
  position: static;
}

.megamenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 580px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 240px 1fr;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 999;
}

.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu,
.has-megamenu.open .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaaaaa;
  padding: 8px 10px 6px;
  margin: 0;
}

.megamenu-left {
    background: #f7f7f7;
    border-right: 1px solid #eeeeee;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    height: 340px;
    max-height: 340px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dddddd transparent;
}

.megamenu-left .megamenu-label {
  padding: 8px 10px 6px;
}

.megamenu-left::-webkit-scrollbar { width: 3px; }
.megamenu-left::-webkit-scrollbar-track { background: transparent; }
.megamenu-left::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 3px; }

.megamenu-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 9px;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    color: #333333;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.megamenu-cat-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cc0000;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.12);
  pointer-events: none;
}

.megamenu-cat-item:hover {
  background: #eeeeee;
  color: #111111;
}

.megamenu-cat-item:hover .megamenu-cat-icon {
  background: #e0e0e0;
  color: #555555;
}

.megamenu-cat-item.active {
  background: rgba(204, 0, 0, 0.08);
  color: #cc0000;
}

.megamenu-cat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 7px;
  background: #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: #888888;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.megamenu-cat-item:hover .megamenu-cat-icon,
.megamenu-cat-item.active .megamenu-cat-icon {
  background: rgba(204, 0, 0, 0.12);
  color: #cc0000;
}

.megamenu-cat-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.megamenu-cat-text strong {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
}

.megamenu-cat-text small {
  display: block;
  font-size: 0.7rem;
  color: #bbbbbb;
  font-weight: 400;
  line-height: 1.2;
}

.megamenu-cat-item.active .megamenu-cat-text small {
  color: rgba(204,0,0,0.6);
}

.megamenu-right {
    padding: 10px 10px 0 10px;
    height: 340px;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.megamenu-right-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: #e0e0e0 transparent;
}

.megamenu-right-scroll::-webkit-scrollbar {
  width: 3px;
}

.megamenu-right-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.megamenu-right-scroll::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.megamenu-right-scroll:hover::-webkit-scrollbar-thumb {
  background: #e0e0e0;
}

.megamenu-panel {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 0;
}

.megamenu-panel.active {
  display: flex;
}

.megamenu-panel .megamenu-label {
  padding: 6px 10px 4px;
}

.megamenu-link {
  display: block;
  padding: 6px 10px;
  margin-bottom: 6px;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  transition: background 0.13s ease, color 0.13s ease;
  line-height: 1.45;
  text-align: left;
  letter-spacing: 0.01em;
}

.megamenu-link:hover {
  background: #f2f2f2;
  color: #111111;
}

.megamenu-divider {
  width: 100%;
  height: 1px;
  background: #eeeeee;
  margin: 2px 0 6px;
  flex-shrink: 0;
}

.megamenu-empty {
  font-size: 0.82rem;
  color: #bbbbbb;
  padding: 10px 10px;
  font-style: italic;
}

.megamenu-view-all {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    padding: 6px 6px 7px !important;
    margin-top: auto !important;
    border-top: 1px solid #f0f0f0 !important;
    font-size: 0.65rem !important;
    font-weight: 400 !important;
    color: #c0c0c0 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    transition: color 0.15s ease !important;
    line-height: 1 !important;
    background: transparent !important;
}

.megamenu-view-all:hover {
    color: #999999 !important;
    background: transparent !important;
}

.megamenu-view-all ion-icon {
    font-size: 0.62rem !important;
    color: inherit !important;
}

/* ── SURFACE / DIVIDER ── */
.surface {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--red);
}

/* Card body padding */
.card-body,
.service-body,
.project-body,
.team-body,
.page-panel,
.info-card,
.form-card,
.content-card,
.panel {
  padding: 24px;
}

/* Card headings */
.service-card h3,
.product-card h3,
.team-card h3,
.content-card h3,
.page-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Card images */
.service-card img,
.product-card img,
.project-card img,
.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ── ICON BADGE ── */
.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 0, 0, 0.16);
  color: var(--red-hover);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.value-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(204, 0, 0, 0.16);
  color: var(--red-hover);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

/* ── ARROW / SERVICE LINK ── */
.arrow-link,
.service-link,
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--red-hover);
  font-weight: 700;
  transition: gap 0.2s ease;
}

.arrow-link:hover,
.service-link:hover,
.project-link:hover {
  gap: 12px;
}

/* ── GRIDS ── */
.grid-4 { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.value-grid   { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid,
.project-grid,
.team-grid,
.feature-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid   { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Two-column splits */
.split-grid,
.about-grid,
.two-col,
.page-grid,
.contact-grid,
.mission-grid,
.why-grid {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  min-height: calc(100vh - 114px);
  background: #000;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.42));
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 140px 0 110px;
  max-width: 780px;
}

.hero-copy .tag,
.hero-copy .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(204, 0, 0, 0.16);
  border: 1px solid rgba(204, 0, 0, 0.4);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .subtitle {
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 1.06;
  margin: 16px 0 18px;
  color: var(--white);
}

.hero-copy p {
  margin: 18px 0 30px;
  color: var(--gray);
  max-width: 640px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Slider controls */
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(17,17,17,0.72);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-arrow:hover { background: var(--red); }

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-dot.active { background: var(--red-hover); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.78)),
    linear-gradient(120deg, rgba(204,0,0,0.14), transparent 48%),
    #0b0b0b;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
}

.page-hero p { color: var(--gray); }

.page-hero .breadcrumbs {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--gray);
  margin-top: 16px;
  flex-wrap: wrap;
}

.page-hero .breadcrumbs a { color: var(--white); }

/* ── VISUAL STACK (stacked images) ── */
.visual-stack {
  position: relative;
  min-height: 560px;
}

.visual-stack .stack-image {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.visual-stack .stack-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-stack .image-one   { width: 70%; height: 430px; top: 0;     left: 0;   }
.visual-stack .image-two   { width: 42%; height: 250px; right: 0;   top: 110px;}
.visual-stack .image-three { width: 48%; height: 240px; left: 12%;  bottom: 0; }

.experience-badge {
  position: absolute;
  left: 18px;
  bottom: 20px;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Legacy stacked-images support */
.stacked-images { position: relative; min-height: 520px; }

.stacked-images img {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stacked-images img:nth-child(1) { width: 68%; height: 72%; top: 0;    left: 0;   }
.stacked-images img:nth-child(2) { width: 48%; height: 42%; right: 0;  top: 12%;  }
.stacked-images img:nth-child(3) { width: 56%; height: 44%; left: 18%; bottom: 0; }

/* ── STATS STRIP ── */
.stats-strip {
  background: linear-gradient(180deg, #000, #090909);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-card {
  text-align: center;
  padding: 34px 24px;
  border-top: 3px solid var(--red);
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.stat-card ion-icon {
  font-size: 2rem;
  color: var(--red-hover);
  margin-bottom: 14px;
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

/* ── INDUSTRIES SECTION ── */
.industries-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
}

.industries-list { display: grid; gap: 10px; }

.industry-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.industry-item span {
  color: var(--red-hover);
  font-weight: 700;
  font-size: 1rem;
}

.industry-item.active,
.industry-item:hover {
  border-color: var(--red);
  background: rgba(204, 0, 0, 0.08);
}

.industries-showcase {
  position: relative;
  min-height: 430px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.industries-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.industries-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  right: 22px;
  padding: 18px 20px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}

.info-list { display: grid; gap: 14px; margin-top: 20px; }

.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.info-item ion-icon {
  color: var(--red-hover);
  font-size: 1.3rem;
  margin-top: 2px;
}

.contact-form { display: grid; gap: 16px; }

.field { display: grid; gap: 8px; }

.field label { font-size: 0.9rem; font-weight: 600; color: var(--gray); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
}

.field textarea { min-height: 160px; resize: vertical; }

.map-frame {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 14px;
  margin-top: 18px;
  background: #161616;
}

/* ── FORM MESSAGES ── */
.form-message {
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(40, 167, 69, 0.16);
  border: 1px solid rgba(40, 167, 69, 0.35);
  color: #98e5a7;
}

.form-message.error {
  display: block;
  background: rgba(204, 0, 0, 0.14);
  border: 1px solid rgba(204, 0, 0, 0.35);
  color: #ffb6b6;
}

/* ── CONTENT SECTIONS (about, mission, etc.) ── */
.content-section     { padding: 70px 0; }
.text-block p + p    { margin-top: 16px; }

.feature-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-list li {
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--gray);
}

.bio-list,
.bullet-list { display: grid; gap: 12px; margin-top: 18px; }

.bio-list li,
.bullet-list li {
  list-style: none;
  display: flex;
  gap: 10px;
  color: var(--gray);
}

.bio-list ion-icon,
.bullet-list ion-icon {
  color: var(--red-hover);
  margin-top: 4px;
}

.page-note {
  padding: 18px 20px;
  border: 1px dashed rgba(204,0,0,0.45);
  border-radius: 12px;
  color: var(--gray);
  background: rgba(204,0,0,0.08);
}

/* ── TEAM SOCIALS ── */
.team-card .socials { display: flex; gap: 10px; margin-top: 18px; }

.team-card .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.team-card .socials a:hover {
  border-color: var(--red);
  color: var(--red-hover);
}

/* ── PROJECT CAROUSEL ── */
.project-carousel { position: relative; }

.project-carousel-slide {
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.86), rgba(10,10,10,0.4));
}

.project-carousel-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.project-carousel-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 1.06;
  color: var(--white);
}

.project-carousel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
  color: var(--gray);
}

/* ── FILTER TABS ── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gray);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: rgba(204,0,0,0.12);
  border-color: rgba(204,0,0,0.35);
  color: var(--white);
}

/* ── EYEBROW / BADGE LABELS ── */
.section-label,
.project-badge,
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204,0,0,0.16);
  color: var(--white);
  border: 1px solid rgba(204,0,0,0.4);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* ── FOOTER ── */
.site-footer {
  background: #fffdfd;
  color: #111111;
  border-top: 1px solid #efdddd;
  padding-top: 18px;
  padding-bottom: 60px;
  margin-top: auto;
}

.site-footer .container {
  width: min(100%, 1280px);
  max-width: 1280px;
  padding-left: 48px;
  padding-right: 48px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 360px) 1fr minmax(360px, 480px);
  align-items: start;
  padding: 34px 0 16px;
}

.footer-spacer {
  min-height: 1px;
}

.footer-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  justify-self: end;
  width: 100%;
}

.site-footer h3 {
  font-size: 0.7rem;
  margin-bottom: 8px;
  color: #b61029;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-footer p {
  color: #646464;
  margin: 0;
  font-size: 0.84rem;
}

.site-footer a {
  color: #3d3d3d;
  font-size: 0.84rem;
  line-height: 2.00;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  
}

.site-footer a:hover {
  color: #c03a4e;
}

.footer-brand { 
  padding-bottom: 50px;
}

.footer-brand .brand-footer {
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 33ch;
  line-height: 1.65;
}

.footer-nav {
  display: grid;
  gap: 6px;
}

.footer-contact-list {
  display: grid;
  gap: 6px;
}

.footer-contact-item {
  display: inline-grid;
  grid-template-columns: 14px auto;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0;
  border: none;
  background: transparent;
  font-weight: 400;
}

.footer-contact-item ion-icon {
  font-size: 0.92rem;
  color: #d06675;
  flex-shrink: 0;
}

.footer-admin-btn {
  margin-top: 10px;
}

.site-footer .btn.btn-outline {
  border-color: #d8a5ad;
  color: #923643;
  background: #fff8f9;
  font-size: 0.78rem;
  padding: 8px 14px;
}

.site-footer .btn.btn-outline:hover {
  border-color: #c45563;
  background: #fbecef;
  color: #7f2432;
}

.footer-bottom {
  margin-bottom: 0;
  border: 1px solid #f0ccd2;
  border-radius: 20px;
  background: #fcecef;
  padding: 20px 14px;
  color: #885d63; 
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

.footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-socials a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #efcfd5;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #a77880;
  font-size: 0.78rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-socials a:hover {
  border-color: #c45563;
  color: #b23a49;
  transform: translateY(-1px);
}

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(204,0,0,0.12), transparent 35%), var(--bg);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.login-card {
  width: min(100%, 520px);
  padding: 34px;
}

.login-card h1 {
  margin: 14px 0 22px;
  font-size: 2.4rem;
  line-height: 1.05;
}

/* ── ABOUT / CONTENT CARDS ── */
.about-grid .content-card,
.why-grid .content-card,
.mission-grid .content-card { padding: 30px; }

.content-card ul {
  margin-top: 18px;
  padding-left: 20px;
  color: var(--gray);
}

.content-card li + li { margin-top: 10px; }
.content-section p + p,
.content-card p + p   { margin-top: 14px; }

/* ── RESPONSIVE: TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .grid-4,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .service-grid,
  .project-grid,
  .team-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .container {
    width: min(100%, 1280px);
    padding-left: 32px;
    padding-right: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0 14px;
  }

  .footer-spacer { display: none; }

  .footer-right {
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .contact-grid,
  .split-grid,
  .about-grid,
  .two-col,
  .page-grid,
  .mission-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .visual-stack { min-height: 500px; }

  .hero-slide,
  .project-carousel-slide { min-height: 80vh; }
}

/* ── RESPONSIVE: MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .section,
  .content-section { padding: 50px 0; }

  .container { width: min(100% - 28px, var(--container)); }

  /* Hide topbar on mobile */
  .topbar { display: none; }

  /* Show hamburger */
  .nav-toggle { display: inline-flex; }

  /* Slide-down mobile nav */
  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000000;
    border-bottom: 1px solid var(--border);
    display: grid;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 999;
  }

  .navbar.open .nav-panel {
    max-height: 1200px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
  }

  .nav-list > li { width: 100%; }

  .nav-list a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--white);
  }

  /* Active underline hidden on mobile, use color only */
  .nav-list > li > a.nav-active::after,
  .has-dropdown.nav-parent-active > .dropdown-toggle::after { display: none; }

  .megamenu {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    transform: none;
    border-radius: 0;
    border: none;
    border-top: 1px solid #eeeeee;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    max-height: 60vh;
    overflow-y: auto;
  }


  .megamenu-left {
    border-right: none;
    border-bottom: 1px solid #eeeeee;
    max-height: none;
    background: #f9f9f9;
  }

  .megamenu-right {
    max-height: none;
    overflow: visible;
  }

  .megamenu-right-scroll {
    overflow-y: visible;
    padding-right: 0;
  }

  .megamenu-panel {
    display: flex;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    margin: 0;
    padding: 4px 0 4px 16px;
    background: #0a0a0a;
    display: none;
    max-height: 50vh;
    overflow-y: auto;
  }


  .dropdown-menu a {
    padding: 10px 12px;
    border-radius: 0;
    border-bottom: 1px solid rgba(42,42,42,0.5);
    color: var(--gray);
  }

  .dropdown-menu a:last-child { border-bottom: 0; }

  /* All grids collapse to 1 col */
  .grid-2,
  .grid-3,
  .grid-4,
  .value-grid,
  .service-grid,
  .project-grid,
  .team-grid,
  .footer-grid,
  .feature-grid,
  .stats-grid,
  .feature-list,
  .contact-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-slider    { min-height: 740px; }
  .hero-copy      { padding: 120px 0; }
  .hero-actions   { flex-direction: column; }
  .hero-controls  { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-dots      { margin-left: 0; }

  .visual-stack   { min-height: 420px; }
  .visual-stack .image-one   { width: 78%; height: 340px; }
  .visual-stack .image-two   { width: 44%; height: 190px; top: 90px; }
  .visual-stack .image-three { width: 50%; height: 170px; }

  .stacked-images { min-height: 420px; }

  .service-card img,
  .product-card img,
  .project-card img { aspect-ratio: 16 / 11; height: auto; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-right {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-bottom {
    border-radius: 14px;
    flex-direction: row;
    align-items: center;
  }
}