/* ============================================================
   C&C ROOFING — MASTER STYLESHEET
   Dark industrial construction brand
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --black: #0a0a0a;
  --dark-1: #0e0e10;
  --dark-2: #141416;
  --dark-3: #1a1a1e;
  --dark-4: #222226;
  --dark-5: #2a2a30;
  --white: #ffffff;
  --gray-100: #f0f0f2;
  --gray-200: #d4d4d8;
  --gray-300: #a1a1aa;
  --gray-400: #71717a;
  --gray-500: #52525b;
  --gray-600: #3f3f46;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-glow: rgba(37, 99, 235, 0.15);
  --blue-accent: #1d4ed8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --container: min(1320px, 92vw);
  --section-pad: clamp(100px, 12vw, 160px);
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #0a0a0a; }
body { font-family: var(--font-body); background: #0a0a0a; color: var(--gray-200); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* --- GRAIN OVERLAY --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* --- UTILITIES --- */
.container { width: var(--container); margin: 0 auto; }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--blue);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-600);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
}
.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* --- ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 44px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  color: var(--white) !important;
  background: var(--blue);
  padding: 10px 24px !important;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--blue-light) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-mobile-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: all 0.3s;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  /* Solid fallback for iOS Safari — backdrop-filter alone can cause white flash */
  background: #0a0a0a;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  /* Animate in/out with opacity instead of display toggle */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--blue-bright); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) contrast(1.1) saturate(0.8);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.7) 0%, transparent 60%);
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40%;
  height: 4px;
  background: var(--blue);
  z-index: 5;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.8s ease forwards;
}
.hero-label-line { width: 40px; height: 1px; background: var(--blue); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 0.92;
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s ease 0.15s both;
}
.hero h1 .accent { color: var(--blue-bright); display: block; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-300);
  max-width: 440px;
  margin-top: 28px;
  line-height: 1.7;
  animation: fadeUp 0.9s ease 0.3s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  animation: fadeUp 0.9s ease 0.45s both;
}
.hero-right { animation: fadeUp 0.9s ease 0.5s both; }
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gray-600);
  border: 1px solid var(--gray-600);
}
.hero-stat {
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 32px 28px;
  transition: background 0.3s;
}
.hero-stat:hover { background: rgba(37, 99, 235, 0.08); }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero-stat-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 28px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-img {
  height: 40px;
  width: auto;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.ticker-img:hover { opacity: 1; }
.trust-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
  margin: 0 40px;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 120px;
  background: var(--blue);
}
.services-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}
.services-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.services-desc {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 400px;
  line-height: 1.7;
  text-align: right;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.service-card {
  background: var(--dark-1);
  padding: 48px 36px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover { background: var(--dark-3); }
.service-card:hover::after { transform: scaleX(1); }
.service-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.65;
}
.service-tag {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 6px 14px;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: var(--section-pad) 0;
  background: var(--black);
}
.projects-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.projects-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.project-item { position: relative; overflow: hidden; cursor: pointer; }
.project-item.span-8 { grid-column: span 8; }
.project-item.span-4 { grid-column: span 4; }
.project-item.span-5 { grid-column: span 5; }
.project-item.span-6 { grid-column: span 6; }
.project-item.span-7 { grid-column: span 7; }
.project-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  filter: brightness(0.7) saturate(0.85);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project-item:hover img { filter: brightness(0.9) saturate(1); transform: scale(1.04); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.project-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.project-meta {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}
.project-corner {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.project-item:hover .project-corner { opacity: 1; border-color: var(--blue); }
.project-corner svg { width: 16px; height: 16px; color: var(--white); }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
  position: relative;
}
.about::before {
  content: 'C&C';
  position: absolute;
  top: -40px; right: 5%;
  font-family: var(--font-display);
  font-size: clamp(10rem, 20vw, 22rem);
  color: rgba(255,255,255,0.015);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
}
.about-image-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 20px 28px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 24px 0;
}
.about-heading .accent { color: var(--blue-bright); }
.about-text p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.about-feature:hover { border-color: rgba(37, 99, 235, 0.3); background: var(--blue-glow); }
.about-feature-icon {
  width: 8px; height: 8px;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
}
.about-feature span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.certs {
  padding: var(--section-pad) 0;
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}
.certs-top { text-align: center; margin-bottom: 64px; }
.certs-top .section-label { justify-content: center; }
.certs-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.certs-sub {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 500px;
  margin: 20px auto 0;
  line-height: 1.7;
}
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.cert-card {
  background: var(--dark-1);
  padding: 48px 32px;
  text-align: center;
  transition: all 0.4s;
  position: relative;
}
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.4s ease;
}
.cert-card:hover { background: var(--dark-3); }
.cert-card:hover::before { width: 60%; }
.cert-icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 24px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.cert-icon-wrap svg { width: 24px; height: 24px; color: var(--blue-bright); }
.cert-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.cert-card p { font-size: 0.88rem; color: var(--gray-400); line-height: 1.6; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.cta-desc {
  color: var(--gray-400);
  font-size: 1rem;
  margin-top: 16px;
  max-width: 500px;
  line-height: 1.7;
}
.cta-right { text-align: right; flex-shrink: 0; }
.cta-phone-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.cta-phone {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.cta-phone:hover { color: var(--blue-bright); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--dark-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}
.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 24px 0;
}
.contact-desc {
  color: var(--gray-400);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--blue-bright); }
.contact-detail-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.contact-detail-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
}
.contact-detail-value a { color: var(--white); transition: color 0.3s; }
.contact-detail-value a:hover { color: var(--blue-bright); }

/* --- FORM --- */
.contact-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
  transition: all 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-500); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.04);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2371717a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select option { background: var(--dark-2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; justify-content: center; padding: 18px; font-size: 0.88rem; }

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header {
  padding: 180px 0 80px;
  background: var(--dark-1);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40%; height: 4px;
  background: var(--blue);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 0.92;
  letter-spacing: 0.02em;
}
.page-header h1 .accent { color: var(--blue-bright); }
.page-header-sub {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-500);
  max-width: 300px;
  line-height: 1.6;
}
.footer-links { display: flex; gap: 64px; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; font-size: 0.88rem; color: var(--gray-400); }
.footer-col a { font-size: 0.88rem; color: var(--gray-400); transition: color 0.3s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer-copy { font-size: 0.78rem; color: var(--gray-600); }
.footer-credit { font-size: 0.75rem; color: var(--gray-600); }
.footer-credit a { color: var(--blue-bright); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero { align-items: center; padding-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(6, 1fr); }
  .project-item.span-8, .project-item.span-4,
  .project-item.span-5, .project-item.span-6,
  .project-item.span-7 { grid-column: span 6; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5rem); }
  .hero-actions { flex-direction: column; }
  .services-top { flex-direction: column; gap: 24px; }
  .services-desc { text-align: left; }
  .services-grid, .certs-grid { grid-template-columns: 1fr; }
  .projects-top { flex-direction: column; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-features { grid-template-columns: 1fr; }
  .about-image-badge { right: 0; }
  .cta-inner { flex-direction: column; padding: 48px 32px; text-align: center; }
  .cta-right { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ticker-img { height: 32px; }
  .page-header { padding: 140px 0 60px; }
}
