/* --------------------------------------------------
   GLOBAL VARIABLES
-------------------------------------------------- */
:root {
  --primary: #0a1a2f;
  --secondary: #5a6772;
  --accent: #ff7a00;
  --fabric-blue: #1e88e5;
  --bg: #050b12;
  --light: #ffffff;
  --muted: #c4ccd5;
  --radius: 10px;
  --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.35);
  --shadow-subtle: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top left, #12243b 0, #050b12 45%, #02040a 100%);
  color: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 11, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  color: var(--muted);
  position: relative;
}

.nav-links a:hover {
  color: var(--light);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--fabric-blue));
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* BUTTONS */
.btn {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--fabric-blue));
  color: var(--light);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 3.5rem 1.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-header p {
  color: var(--muted);
  max-width: 32rem;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fabric-blue);
  margin-bottom: 0.75rem;
}

.hero h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h2 span {
  background: linear-gradient(120deg, var(--accent), var(--fabric-blue));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.5rem;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* VALUE CARDS */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.value-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-subtle);
}

.value-icon {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* PRODUCTS */
.tabs {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tab.active {
  background: linear-gradient(135deg, var(--accent), var(--fabric-blue));
  color: var(--light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-body {
  padding: 1rem;
}

.product-tag {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.product-title {
  font-family: "Montserrat", sans-serif;
  margin: 0.4rem 0;
}

.product-footer {
  padding: 1rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
}

/* Product footer button styling */
.product-footer button {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.product-footer button:hover {
  background: linear-gradient(135deg, var(--accent), var(--fabric-blue));
  border-color: transparent;
  color: var(--light);
  box-shadow: var(--shadow-subtle);
  transform: translateY(-1px);
}

/* ABOUT */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.about-photo-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  /* grid-auto-rows: 180px; */
}

.about-photo-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* INDUSTRIES */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.industry-card {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.industry-icon {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-photo {
  width: 120px;
  height: 120px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.role {
  font-size: 0.8rem;
  color: var(--fabric-blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  display: block;
}

/* CTA BANNER */
.cta-banner {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* QUOTE FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.field input,
.field select,
.field textarea {
  padding: 0.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fabric-blue);
  outline: none;
}

.quote-aside ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* FOOTER */
footer {
  background: #050b12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-inner h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-bottom {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero,
  .split,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--light);
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(5, 11, 18, 0.95);
    padding: 1.5rem;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .section {
    padding: 2.2rem 1.2rem;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }
  .product-grid,
  .value-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .about-photo-grid img {
    height: 100%;
    object-fit: cover;
  }
  .product-card {
    margin-bottom: 1rem;
  }
}
/* MOBILE NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--light);
  cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(5, 11, 18, 0.95);
    padding: 1.5rem;
    position: absolute;
    top: 70px;
    right: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta a {
    width: 100%;
    text-align: center;
  }
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1rem 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.breadcrumb a {
  color: var(--fabric-blue);
}

/* ABOUT IMAGES MOBILE FIX */
@media (max-width: 640px) {
  .about-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .about-photo-grid img {
    height: 100%;
    object-fit: cover;
  }
}

/* MOBILE SPACING IMPROVEMENTS */
@media (max-width: 640px) {
  .section {
    padding: 2.2rem 1.2rem;
  }

  .hero h2 {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }
}
/* SLIDE-DOWN PRODUCT DETAILS */
.product-slide {
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    margin-top: 0.8rem;
    border-radius: 8px;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1rem;
}

.product-slide.open {
    padding: 1rem;
    max-height: 300px; /* Enough for 5–7 lines */
}