/* ==========================================================
   Arcux Energy — brand theme
   Primary blue sampled from logo: #002891
   ========================================================== */
:root {
  --primary: #002891;
  --primary-600: #0a37b5;
  --primary-400: #3b67e0;
  --primary-light: rgba(0, 40, 145, 0.08);
  --primary-dark: #001d6b;
  --navy: #071a4d;
  --navy-900: #040f30;
  --accent: #f5a623;          /* solar amber, used sparingly */
  --accent-dark: #d98c0a;
  --text-dark: #0f172a;
  --text-light: #4b5563;
  --text-lighter: #8a94a6;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f6f8fc;
  --gray-100: #eef2f8;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 2px rgba(7, 26, 77, 0.06);
  --shadow: 0 2px 8px rgba(7, 26, 77, 0.08);
  --shadow-md: 0 8px 24px rgba(7, 26, 77, 0.10);
  --shadow-lg: 0 20px 48px rgba(7, 26, 77, 0.14);
  --border-radius: 0.75rem;
  --border-radius-sm: 0.375rem;
  --border-radius-full: 9999px;
  --font-heading: 'Sora', 'Inter', sans-serif;
  --header-h: 4.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.6rem;
}

.eyebrow-light {
  color: #b9c8ff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-light);
}

/* Buttons */
.cta-button,
.primary-button,
.secondary-button,
.white-button,
.nav-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.cta-button,
.primary-button,
.submit-button {
  background-color: var(--primary);
  color: var(--white);
}

.cta-button:hover,
.primary-button:hover,
.submit-button:hover {
  background-color: var(--primary-600);
}

.primary-button.accent {
  background-color: var(--accent);
  color: var(--navy-900);
}

.primary-button.accent:hover {
  background-color: var(--accent-dark);
}

.secondary-button {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.white-button {
  background-color: var(--white);
  color: var(--primary);
  flex-shrink: 0;
}

.white-button:hover {
  background-color: var(--gray-100);
}

.nav-button {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: var(--border-radius-full);
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--primary);
}

.nav-button:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.primary-button i,
.white-button i {
  margin-left: 0.6rem;
  transition: transform 0.25s ease;
}

.primary-button:hover i,
.white-button:hover i {
  transform: translateX(4px);
}

/* Top bar */
.topbar {
  background-color: var(--navy-900);
  color: #c7d2f5;
  font-size: 0.8rem;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  gap: 1.5rem;
}

.topbar i {
  color: var(--accent);
  margin-right: 0.35rem;
}

.topbar-links {
  display: none;
  gap: 1.5rem;
}

.topbar-links a:hover {
  color: var(--white);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 2.4rem;
  width: auto;
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 1.75rem;
}

.desktop-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.desktop-only {
  display: none;
}

.mobile-menu-button,
.close-menu-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--white);
  z-index: 2000;
  display: none;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.mobile-nav {
  margin-top: 1.5rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-cta {
  margin-top: 1.75rem;
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h) - 2.25rem), 860px);
  min-height: min(calc(100svh - var(--header-h) - 2.25rem), 860px);
  display: flex;
  align-items: center;
  padding: 5rem 0 8rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4, 15, 48, 0.94) 0%, rgba(7, 26, 77, 0.82) 45%, rgba(0, 40, 145, 0.35) 100%);
}

.hero-content {
  color: var(--white);
  max-width: 720px;
}

.hero-content h1 {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.0625rem;
  color: #d5ddf5;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat {
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.stat:nth-child(odd) {
  border-right: 1px solid var(--gray-100);
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-value small {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--primary-400);
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.about-text > p {
  margin-bottom: 1.1rem;
  color: var(--text-light);
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
}

.feature-icon,
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--primary-light);
  margin-right: 1rem;
}

.feature-icon i,
.info-icon i {
  font-size: 1.25rem;
  color: var(--primary);
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-light);
}

.about-image {
  position: relative;
  height: 420px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.4rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--accent);
}

.about-badge-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-label {
  font-size: 0.8rem;
  color: #c7d2f5;
}

/* Capabilities */
.services {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background-color: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--primary);
  margin-bottom: 1.25rem;
}

.service-icon i {
  font-size: 1.35rem;
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Portfolio */
.portfolio {
  padding: 5rem 0;
}

.featured-project {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
  overflow: hidden;
  border-radius: var(--border-radius);
  background-color: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  height: 280px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.capacity-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}

.capacity-badge.small {
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.95rem;
  padding: 0.3rem 0.7rem;
  border-left-width: 3px;
}

.project-details {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.segment-tag {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.75rem;
}

.project-details h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

.project-meta > span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.project-meta i {
  color: var(--primary);
  margin-right: 0.25rem;
}

.project-details p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.project-kpi {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.75rem;
}

.project-kpi > i {
  font-size: 1.25rem;
  color: var(--accent);
}

.kpi-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}

.kpi-label {
  font-size: 0.8rem;
  color: var(--text-lighter);
}

.project-navigation {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.project-counter {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.project-card {
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-card.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-md);
}

.project-card-image {
  position: relative;
  height: 11rem;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-details {
  padding: 1rem 1.25rem 1.25rem;
}

.project-card-details .segment-tag {
  margin-bottom: 0.5rem;
}

.project-card-details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.project-card-meta span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.project-card-meta i {
  color: var(--primary);
  margin-right: 0.2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 15, 48, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-height: 90vh;
  border-radius: var(--border-radius);
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.close-lightbox:hover {
  background-color: var(--black);
}

/* Process (dark band) */
.process {
  padding: 5rem 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(59, 103, 224, 0.35), transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.process .section-header h2 {
  color: var(--white);
}

.process .section-header p {
  color: #b9c4e6;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.process-step {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 166, 35, 0.5);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.process-step p {
  color: #b9c4e6;
  font-size: 0.925rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.testimonial-carousel {
  max-width: 820px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  background-color: var(--white);
  padding: 2.5rem 1.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-mark {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.75rem;
  gap: 1.25rem;
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: none;
  border-radius: var(--border-radius-full);
  background-color: var(--gray-300);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  width: 1.75rem;
  background-color: var(--primary);
}

/* Why Arcux */
.benefits {
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-card {
  padding: 1.75rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
  background-color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  margin-bottom: 1rem;
}

.benefit-icon i {
  font-size: 1.75rem;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.quality-band {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--border-radius);
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.quality-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.quality-item:last-child {
  border-bottom: none;
}

.quality-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.quality-label {
  font-size: 0.875rem;
  color: #c7d2f5;
}

/* CTA band */
.cta-section {
  padding: 3.5rem 0;
  background:
    linear-gradient(110deg, rgba(0, 40, 145, 0.96), rgba(10, 55, 181, 0.9)),
    url('https://images.unsplash.com/photo-1545209463-e2825498edbf?q=80&w=1600&auto=format&fit=crop') center/cover;
  border-top: 4px solid var(--accent);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.cta-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: #d5ddf5;
  max-width: 640px;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background-color: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-form-container {
  background-color: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-full);
  background-color: var(--primary-light);
  margin-bottom: 1rem;
}

.success-icon i {
  font-size: 1.75rem;
  color: var(--primary);
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 40, 145, 0.15);
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
}

.checkbox-group input {
  margin-right: 0.6rem;
  margin-top: 0.25rem;
  accent-color: var(--primary);
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--text-light);
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

.submit-button {
  width: 100%;
}

.submit-button i {
  margin-right: 0.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.info-text p {
  color: var(--text-light);
}

.info-text a:hover {
  color: var(--primary);
}

.info-note {
  font-size: 0.85rem;
  color: var(--text-lighter) !important;
}

/* Footer */
.footer {
  background-color: var(--navy-900);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-info {
  max-width: 21rem;
}

.footer-logo {
  height: 2.6rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-info p {
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-300);
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact li {
  color: var(--gray-400);
  font-size: 0.925rem;
}

.footer-links a {
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-bottom p,
.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Responsive */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.1rem;
  }

  .section-header h2,
  .about-text h2 {
    font-size: 2.25rem;
  }

  .services-grid,
  .project-gallery,
  .benefits-grid,
  .process-steps,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-value {
    font-size: 2.4rem;
  }

  .testimonial-card {
    padding: 3rem 3rem 2.5rem;
  }

  .testimonial-card blockquote {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .topbar-content {
    justify-content: space-between;
  }

  .topbar-links {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    padding: 2rem 1rem;
    border-bottom: none;
    border-right: 1px solid var(--gray-100);
  }

  .stat:last-child {
    border-right: none;
  }

  .quality-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .quality-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .quality-item:last-child {
    border-right: none;
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form-container {
    padding: 2.5rem;
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .desktop-nav,
  .desktop-only {
    display: block;
  }

  .mobile-menu-button {
    display: none;
  }

  .logo img {
    height: 2.6rem;
  }

  .hero-content h1 {
    font-size: 3.75rem;
  }

  .about-content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .about-image {
    height: 560px;
  }

  .services-grid,
  .project-gallery,
  .benefits-grid,
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-project {
    grid-template-columns: 1.15fr 1fr;
  }

  .project-image {
    height: 100%;
    min-height: 480px;
  }

  .project-details {
    padding: 2.75rem;
  }

  .contact-content {
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
  }

  .footer-content {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-error {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  background: #fdecec;
  color: #a61b1b;
  font-size: 0.9rem;
}

.form-error i {
  margin-right: 0.4rem;
}

.form-error.hidden {
  display: none;
}

/* Utility */
.hidden {
  display: none;
}
