/* ==========================================================
   AK SERVICES LLC — styles.css
   ========================================================== */

/* ── AGENCY GOTHIC CT FONT ────────────────────────────────── */
@font-face {
  font-family: 'Agency Gothic CT';
  src: url('assets/agencygothicct_medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Agency Gothic CT';
  src: url('assets/agencygothicct_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --steel-blue:   #52AABE;
  --dark-navy:    #183449;
  --navy-deep:    #101f2d;
  --charcoal:     #555555;
  --light-gray:   #DBD9D9;
  --off-white:    #f4f3f3;

  --font-headline: 'Agency Gothic CT', 'Barlow Condensed', condensed, sans-serif;
  --font-body:     'Montserrat', sans-serif;

  --nav-h:         72px;
  --container-w:   1200px;
  --section-pad:   clamp(72px, 9vw, 128px);

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

[hidden] { display: none !important; }

/* ── ACCESSIBILITY ────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--steel-blue);
  outline-offset: 3px;
}

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--steel-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--dark-navy);
}

.section-title--light { color: #fff; }

.section-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 560px;
  margin-top: 16px;
}

.section-desc--light { color: rgba(255,255,255,0.7); }

.section-header {
  max-width: 720px;
  margin: 0 auto var(--section-pad);
  text-align: center;
}

.section-header .section-desc { margin-left: auto; margin-right: auto; }

/* ── SCROLL REVEAL HELPERS ────────────────────────────────── */
/* (section headers use data-aos — no hidden state needed here) */

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--steel-blue);
  color: #fff;
  border-color: var(--steel-blue);
}
.btn--primary:hover {
  background: #3d8fa0;
  border-color: #3d8fa0;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn--nav {
  background: var(--steel-blue);
  color: #fff;
  border-color: var(--steel-blue);
  padding: 10px 20px;
  font-size: 0.78rem;
}
.btn--nav:hover {
  background: #3d8fa0;
  border-color: #3d8fa0;
}

.btn--full { width: 100%; justify-content: center; }

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.35s var(--ease-out-expo),
              box-shadow 0.35s var(--ease-out-expo);
}

.nav.scrolled {
  background: var(--dark-navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-svg { height: 36px; width: auto; }
.nav__logo-img { height: 36px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--steel-blue); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,20,32,0.68) 0%,
    rgba(10,20,32,0.52) 50%,
    rgba(10,20,32,0.82) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline: 24px;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
}

.hero__headline {
  font-family: var(--font-headline);
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.hero__line1 {
  display: block;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-30px);
}

.hero__line2 {
  display: block;
  font-size: clamp(3.8rem, 9.5vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0;
  transform: translateX(30px);
  line-height: 0.9;
}

.hero__sub {
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 720px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(12px);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #fff, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; }
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  position: relative;
  background: #fff;
  padding: 48px 40px 40px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.service-card:hover {
  box-shadow: inset 3px 0 0 var(--steel-blue);
}

.service-card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: var(--font-headline);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(24,52,73,0.05);
  line-height: 1;
  user-select: none;
}

.service-card__photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}

.service-card__photo--placeholder {
  background: var(--dark-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
}

.service-card__photo--placeholder svg { opacity: 0.4; }

.service-card__photo--placeholder span {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
}

.service-card__title {
  font-family: var(--font-headline);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-navy);
  margin-bottom: 14px;
}

.service-card__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.service-card__specs {
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__specs li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
  padding-left: 16px;
  position: relative;
}

.service-card__specs li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--steel-blue);
}

.service-card__link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-blue);
  transition: color 0.2s;
}

.service-card__link:hover { color: var(--dark-navy); }

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: #fff;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
}

.about__content .section-title { margin-bottom: 20px; }

.about__content p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.about__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  border-top: 1px solid var(--light-gray);
  padding-top: 28px;
}

.about__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__detail-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-blue);
}

.about__detail-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-navy);
}

.about__photo {
  position: relative;
}

.about__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(
    45deg,
    var(--dark-navy) 0, var(--dark-navy) 10px,
    rgba(24,52,73,0.7) 10px, rgba(24,52,73,0.7) 20px
  );
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-direction: column;
  text-align: center;
}

.about__photo-placeholder em {
  font-style: normal;
  font-size: 0.72rem;
  opacity: 0.5;
  padding: 0 20px;
}

.about__photo-accent {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--steel-blue);
  z-index: -1;
  opacity: 0.4;
}

.about__tribal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.about__tribal-crest {
  height: 52px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

/* ── CERTIFICATIONS ───────────────────────────────────────── */
.certifications .section-desc {
  max-width: 780px;
}

.certifications {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.cert-badge {
  background: #fff;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: default;
  transition: background 0.25s;
}

.cert-badge:hover {
  background: var(--dark-navy);
}

.cert-badge:hover .cert-badge__name,
.cert-badge:hover .cert-badge__full { color: #fff; }

.cert-badge__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 6px;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}

.cert-badge:hover .cert-badge__logo {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

.cert-badge__logo--placeholder {
  width: 64px;
  height: 64px;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--steel-blue);
  flex-shrink: 0;
  transition: background 0.25s;
}

.cert-badge:hover .cert-badge__logo--placeholder {
  background: rgba(255,255,255,0.12);
}

.cert-badge__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cert-badge__name {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dark-navy);
  transition: color 0.25s;
}

.cert-badge__full {
  font-size: 0.73rem;
  line-height: 1.4;
  color: var(--charcoal);
  transition: color 0.25s;
}

/* ── PROJECT TYPES ────────────────────────────────────────── */
.project-types {
  padding: var(--section-pad) 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.project-types::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(82,170,190,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82,170,190,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.project-types .section-header {
  position: relative;
  z-index: 1;
}

.project-types__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.project-type {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: background 0.25s, border-color 0.25s;
}

.project-type:hover {
  background: rgba(82,170,190,0.1);
  border-color: rgba(82,170,190,0.3);
}

.project-type__icon svg {
  width: 36px;
  height: 36px;
}

.project-type span {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 12px rgba(24,52,73,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(24,52,73,0.13);
}

.testimonial-card__mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.8;
  color: var(--steel-blue);
  opacity: 0.4;
}

.testimonial-card__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--charcoal);
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-navy);
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--charcoal);
}

/* ── PRODUCTS ─────────────────────────────────────────────── */
.products {
  padding: var(--section-pad) 0;
  background: #fff;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.product-badge {
  background: var(--off-white);
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: background 0.25s, box-shadow 0.25s;
}

.product-badge:hover {
  background: #fff;
  box-shadow: 0 4px 24px rgba(24,52,73,0.09);
}

.product-badge__logo--placeholder {
  width: 72px;
  height: 72px;
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--steel-blue);
  flex-shrink: 0;
  transition: background 0.25s;
}

.product-badge:hover .product-badge__logo--placeholder {
  background: var(--steel-blue);
  color: #fff;
}

.product-badge__logo {
  width: 120px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.product-badge__name {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-navy);
  line-height: 1;
}

.product-badge__sub {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.65;
}

/* ── PORTFOLIO ────────────────────────────────────────────── */
.portfolio {
  padding: var(--section-pad) 0;
  background: var(--navy-deep);
}

.portfolio .section-header {
  margin-bottom: 32px;
}

.portfolio__widget {
  margin-top: 0;
}

.portfolio__cta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.ig-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 56px 64px;
  max-width: 520px;
  width: 100%;
}

.ig-card__icon {
  width: 48px;
  height: 48px;
  color: var(--steel-blue);
}

.ig-card__handle {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.ig-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 380px;
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.contact__info {
  background: var(--dark-navy);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__info .section-title {
  color: #fff;
  margin-bottom: 20px;
  margin-top: 12px;
}

.contact__info > p {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 340px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__detail-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel-blue);
  text-transform: uppercase;
}

.contact__detail-value {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s;
}

a.contact__detail-value:hover { color: var(--steel-blue); }

/* ── CONTACT FORM ─────────────────────────────────────────── */
.contact__form-wrap {
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 72px);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; gap: 16px; }
.form-row--2 > * { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--light-gray);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark-navy);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23183449' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 48px;
  height: 100%;
}

.form-success__icon svg {
  width: 56px;
  height: 56px;
}

.form-success h3 {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--dark-navy);
}

.form-success p {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #fff;
  padding: 64px 0 0;
  border-top: 1px solid var(--light-gray);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  width: min(var(--container-w), 100% - 48px);
  margin-inline: auto;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--light-gray);
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 16px;
}
.footer__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 10px;
}

.footer__certs {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel-blue);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h4 {
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--charcoal);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--steel-blue); }

.footer__social h4 {
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--charcoal);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: color 0.2s;
}

.footer__social-links a:hover { color: var(--steel-blue); }

.footer__social-links svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px min(calc((100% - var(--container-w)) / 2 + 24px), 24px);
  font-size: 0.74rem;
  color: rgba(0,0,0,0.35);
}

.footer__bottom a { color: rgba(0,0,0,0.45); transition: color 0.2s; }
.footer__bottom a:hover { color: var(--steel-blue); }

/* ── REDUCED MOTION ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__eyebrow,
  .hero__line1,
  .hero__line2,
  .hero__sub,
  .hero__ctas,
  .reveal-label,
  .reveal-title {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__scroll-line { animation: none; }
}

/* ── RESPONSIVE: 1080px ───────────────────────────────────── */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .project-types__grid { grid-template-columns: repeat(4, 1fr); }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ── RESPONSIVE: 880px (mobile nav) ──────────────────────── */
@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.38s var(--ease-out-expo);
    overflow-y: auto;
    z-index: 800;
  }

  .nav__links.open { transform: translateX(0); }

  .nav__links a {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }

  .nav__hamburger { display: flex; }
  .btn--nav { display: none; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__photo { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .about__details { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__info,
  .contact__form-wrap { padding: 48px 28px; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .project-types__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE: 580px ────────────────────────────────────── */
@media (max-width: 580px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 40px 24px 32px; }

  .certs__grid { grid-template-columns: 1fr 1fr; }
  .cert-badge { flex-direction: column; text-align: center; padding: 28px 16px; }

  .project-types__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .ig-card { padding: 40px 28px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .form-row { flex-direction: column; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
}
