/* ==========================================================================
   PrimeGen Energy — website styles
   1. Design tokens
   2. Reset & base
   3. Layout utilities
   4. Buttons, links & icons
   5. Header & navigation
   6. Hero (home)
   7. Sections & reusable components
   8. Services
   9. Why choose us
   10. Process
   11. Call to action
   12. Page hero (inner pages)
   13. About page
   14. Contact page & form
   15. FAQ
   16. Footer
   17. Scroll-to-top & motion
   18. Responsive adjustments
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  --navy: #102a43;
  --navy-900: #0a1c2e;
  --navy-800: #0d2338;
  --navy-700: #173b5c;
  --emerald: #16a34a;
  --emerald-700: #15803d;
  --emerald-800: #166534;
  --emerald-100: #dcfce7;
  --emerald-50: #f0fdf4;
  --amber: #f59e0b;
  --amber-600: #d97706;
  --amber-200: #fde68a;
  --amber-50: #fffbeb;
  --white: #ffffff;
  --light: #f5f8fa;
  --light-2: #eef4f8;
  --text: #334155;
  --muted: #5b6b7f;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.14);
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #067647;
  --success-bg: #ecfdf3;

  --font-heading: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
  --shadow: 0 14px 40px -18px rgba(16, 42, 67, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(16, 42, 67, 0.38);

  --header-height: 78px;
  --section-space: clamp(4.5rem, 8vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--emerald-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald-800);
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.45em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--amber-200);
  color: var(--navy);
}

/* 3. Layout utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: 880px;
}

.section {
  padding-block: var(--section-space);
}

.section--light {
  background: var(--light);
}

.section--tight {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section--navy {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--navy .eyebrow {
  color: var(--amber);
}

.section--navy .eyebrow::before {
  background: var(--amber);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.075rem;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section--navy .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--emerald-700);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--amber);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--navy);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

/* 4. Buttons, links & icons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--emerald-700);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(21, 128, 61, 0.85);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease),
    box-shadow 0.25s ease;
}

.btn:hover {
  background: var(--emerald-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -16px rgba(21, 128, 61, 0.8);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--amber {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 12px 26px -16px rgba(245, 158, 11, 0.8);
}

.btn--amber:hover {
  background: #fbbf24;
  color: var(--navy);
  box-shadow: 0 16px 30px -16px rgba(245, 158, 11, 0.9);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: none;
}

.btn--ghost {
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--emerald-700);
  background: var(--white);
  color: var(--emerald-800);
}

.btn--lg {
  min-height: 56px;
  padding-inline: 1.9rem;
  font-size: 1rem;
}

.btn--sm {
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--emerald-700);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.icon-tile svg {
  width: 25px;
  height: 25px;
}

.icon-tile--amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.icon-tile--navy {
  background: rgba(16, 42, 67, 0.07);
  color: var(--navy);
}

/* 5. Header & navigation
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 42px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__group li {
  margin: 0;
}

.topbar a,
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

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

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
  }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -22px rgba(16, 42, 67, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  flex: none;
}

.logo:hover {
  color: var(--navy);
}

.logo__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  box-shadow: 0 8px 18px -10px rgba(16, 42, 67, 0.55);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.logo__suffix {
  font-weight: 600;
  opacity: 0.82;
}

.logo__tag {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.15rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li {
  margin: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--emerald-800);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
}

.header-actions .btn {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
}

.btn-label-short {
  display: none;
}

/* Quote button shown inside the mobile drawer on very narrow screens. */
.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
}

.nav-toggle__bars {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.28s var(--ease),
    opacity 0.2s ease,
    top 0.28s var(--ease);
}

.nav-toggle__bars span:nth-child(1) {
  top: 0;
}

.nav-toggle__bars span:nth-child(2) {
  top: 6px;
}

.nav-toggle__bars span:nth-child(3) {
  top: 12px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 899px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    padding: 0.75rem clamp(1.15rem, 4vw, 2.5rem) 1.6rem;
    overflow-y: auto;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 50px -30px rgba(16, 42, 67, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    min-height: 54px;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link[aria-current="page"] {
    color: var(--emerald-700);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }
}

@media (max-width: 767px) {
  .topbar {
    display: none;
  }
}

@media (max-width: 559px) {
  .header-actions .btn-label-long {
    display: none;
  }

  .header-actions .btn-label-short {
    display: inline;
  }

  .header-actions .btn {
    padding-inline: 1rem;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
  }

  .logo__name {
    font-size: 1.13rem;
  }

  .logo__tag {
    letter-spacing: 0.17em;
  }
}

/* The full wordmark needs the extra room, so the quote button moves into
   the mobile drawer on the narrowest phones. */
@media (max-width: 479px) {
  .header-actions .btn {
    display: none;
  }

  .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.1rem;
  }
}

/* 6. Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 84vh, 820px);
  padding-block: clamp(4.5rem, 9vw, 7rem);
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 40, 0.93) 0%, rgba(8, 24, 40, 0.8) 42%, rgba(8, 24, 40, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 24, 40, 0.32) 0%, rgba(8, 24, 40, 0.06) 35%, rgba(8, 24, 40, 0.55) 100%);
}

.hero__content {
  max-width: 44rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  padding: 0.42rem 0.9rem 0.42rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero__eyebrow-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
}

.hero__eyebrow-icon svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.55rem, 5.6vw, 4.5rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title-accent {
  color: #fbbf24;
}

.hero__text {
  max-width: 36rem;
  margin-bottom: 2.1rem;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.hero__badges svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: #86efac;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -54px;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-item h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.trust-item .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.trust-item .icon-tile svg {
  width: 22px;
  height: 22px;
}

/* 7. Sections & reusable components
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.image-frame {
  position: relative;
  isolation: isolate;
}

.image-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald) 0%, #0d9488 100%);
  opacity: 0.14;
}

.image-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1.15rem;
  right: -1.15rem;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, var(--amber-200) 0 2px, transparent 2px 8px);
  opacity: 0.75;
}

.image-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-frame__badge {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.3;
}

.image-frame__badge svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--emerald-700);
}

.check-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  font-size: 0.97rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.33em;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--emerald-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-size: 0.72rem;
  background-position: center;
  background-repeat: no-repeat;
}

.check-list--light li {
  color: rgba(255, 255, 255, 0.82);
}

.check-list--light li::before {
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386efac' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
}

/* Wide image used beside service copy (services page). */
.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-media picture {
  display: block;
  height: 100%;
}

.split-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 8. Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: var(--shadow);
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light-2);
}

.service-card__media picture,
.image-frame picture,
.why-customers__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.045);
}

.service-card__icon {
  position: absolute;
  left: 1.1rem;
  bottom: -20px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  color: var(--emerald-700);
  box-shadow: 0 8px 18px -8px rgba(16, 42, 67, 0.35);
}

.service-card__icon svg {
  width: 23px;
  height: 23px;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem 1.35rem 1.45rem;
}

.service-card__body h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.service-card__body p {
  flex: 1;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-card .link-arrow {
  align-self: flex-start;
  font-size: 0.84rem;
}

/* 9. Why choose us
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.why-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature {
  padding: 1.65rem 1.45rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px -24px rgba(16, 42, 67, 0.4);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow);
}

.feature .icon-tile {
  margin-bottom: 1.1rem;
}

.feature h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* 10. Process
   ========================================================================== */
.process::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.24), transparent 68%);
  pointer-events: none;
}

.process .container {
  position: relative;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.25rem 1.5rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(2px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.step__number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 50%;
  color: var(--amber);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.89rem;
  line-height: 1.65;
}

/* 11. Call to action
   ========================================================================== */
.cta-section {
  padding-block: var(--section-space);
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(245, 158, 11, 0.22) 0%, transparent 55%),
    linear-gradient(120deg, #0b3d2c 0%, #14532d 45%, #15803d 100%);
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta-panel::before {
  top: -7rem;
  right: -4rem;
  width: 22rem;
  height: 22rem;
}

.cta-panel::after {
  bottom: -10rem;
  left: -5rem;
  width: 26rem;
  height: 26rem;
}

.cta-panel__sun {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  color: var(--amber);
}

.cta-panel__sun svg {
  width: 28px;
  height: 28px;
}

.cta-panel h2 {
  max-width: 21ch;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

.cta-panel p {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.03rem;
}

.cta-panel .btn {
  position: relative;
}

/* 12. Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(350px, 52vh, 470px);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__media,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.page-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 24, 40, 0.9) 0%, rgba(8, 24, 40, 0.68) 55%, rgba(8, 24, 40, 0.4) 100%),
    linear-gradient(180deg, rgba(8, 24, 40, 0.25), rgba(8, 24, 40, 0.55));
}

.page-hero__content {
  max-width: 48rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.32);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.page-hero h1 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.9rem);
}

.page-hero__text {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* 13. About page
   ========================================================================== */
.about-intro__body h2 {
  margin-bottom: 1rem;
}

.about-intro__body > p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-intro .image-frame img {
  aspect-ratio: 9 / 11;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.pillar {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.pillar__tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--amber-600);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pillar h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.96rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.expertise-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease);
}

.expertise-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: var(--shadow);
}

.expertise-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.expertise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.value-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.value-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.value-card .icon-tile {
  margin-bottom: 1.1rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
}

.value-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.65;
}

.why-customers__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.why-customers__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.why-customers__body {
  align-self: center;
}

/* 14. Contact page & form
   ========================================================================== */
.contact-hero {
  min-height: clamp(320px, 44vh, 400px);
}

.contact-cards {
  position: relative;
  z-index: 2;
  margin-top: -60px;
}

.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.contact-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s ease;
}

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

.contact-card .icon-tile {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
}

.contact-card .icon-tile svg {
  width: 21px;
  height: 21px;
}

.contact-card h2 {
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card p {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-card a {
  color: var(--navy);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--emerald-700);
  text-decoration: underline;
}

.contact-card__meta {
  margin-top: 0.35rem !important;
  color: var(--muted) !important;
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.contact-aside {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-aside h2 {
  margin-bottom: 1rem;
}

.contact-aside > p {
  color: var(--muted);
}

.contact-aside .check-list {
  margin-top: 1.35rem;
}

.contact-aside__divider {
  height: 1px;
  margin: 1.9rem 0;
  border: 0;
  background: var(--border);
}

.contact-direct {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.contact-direct .icon-tile {
  width: 44px;
  height: 44px;
}

.contact-direct__label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct a {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-direct a:hover {
  color: var(--emerald-700);
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-card__head {
  margin-bottom: 1.6rem;
}

.form-card__head h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.form-card__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

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

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.form-group label .req {
  color: var(--amber-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.95rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.form-group textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.05rem;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #cbd5e1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-700);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
  outline: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
  background: #fffafa;
}

.form-group.has-error input:focus,
.form-group.has-error select:focus,
.form-group.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.error-message {
  display: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.form-group.has-error .error-message {
  display: block;
}

.form-submit {
  margin-top: 1.35rem;
}

.form-submit .btn {
  width: 100%;
}

.form-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status--info {
  border-color: var(--amber-200);
  background: var(--amber-50);
  color: #7c4a03;
}

.form-status--success {
  border-color: #abefc6;
  background: var(--success-bg);
  color: var(--success);
}

.form-status--error {
  border-color: #fecdca;
  background: var(--danger-bg);
  color: var(--danger);
}

.form-status a {
  color: inherit;
  font-weight: 600;
}

/* Map */
.map-section {
  padding-top: 0;
}

.map-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-caption {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* 15. FAQ
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 6px 20px -22px rgba(16, 42, 67, 0.4);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background-color: var(--emerald-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.8rem;
  transition: transform 0.28s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-item__answer p {
  margin: 0;
}

/* 16. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -16rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.14), transparent 68%);
  pointer-events: none;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  padding-block: clamp(3.25rem, 6vw, 5rem);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-brand .logo:hover {
  color: var(--white);
}

.footer-brand .logo__name {
  color: var(--white);
}

.footer-brand .logo__tag {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand p {
  max-width: 31ch;
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer-heading {
  margin: 0 0 1.1rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 0 0 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.22rem;
  color: var(--amber);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-socials li {
  margin: 0;
}

.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.72);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
  background: var(--emerald-700);
  color: var(--white);
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .footer-legal {
  flex-basis: 100%;
  margin-bottom: 0.15rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

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

/* Company information panel (about page). */
.company-panel {
  display: grid;
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--light);
}

.company-panel h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.company-panel p {
  margin: 0;
  color: var(--muted);
}

.company-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.company-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.company-facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-facts dd {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 849px) {
  .company-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .company-facts,
  .company-facts dd {
    text-align: left;
  }
}

/* 17. Scroll-to-top & motion
   ========================================================================== */
.scroll-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s,
    transform 0.3s var(--ease),
    background-color 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--emerald-700);
}

.scroll-top svg {
  width: 19px;
  height: 19px;
}

.body-fade {
  animation: pageFade 0.45s ease both;
}

/* Reveal styles only apply when JavaScript is available, so content remains
   visible if scripts fail to load. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__content > * {
  animation: fadeUp 0.75s var(--ease) both;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.14s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.23s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.32s;
}

.hero__content > *:nth-child(5) {
  animation-delay: 0.41s;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 18. Responsive adjustments
   ========================================================================== */
@media (max-width: 1099px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card__media {
    aspect-ratio: 16 / 9;
  }

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

  .contact-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 72px;
  }

  .why-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .why-intro,
  .faq-intro,
  .contact-aside {
    position: static;
  }

  .why-intro {
    max-width: 40rem;
  }

  .process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    gap: 2.75rem;
  }

  .about-intro .image-frame {
    max-width: 460px;
  }

  .contact-layout {
    gap: 2.25rem;
  }

  .contact-aside__divider {
    display: none;
  }

  .contact-aside .contact-direct {
    display: none;
  }

  .contact-aside__extra {
    display: none;
  }

  .why-customers__media img {
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }

}

@media (max-width: 849px) {
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8, 24, 40, 0.93) 0%, rgba(8, 24, 40, 0.78) 55%, rgba(8, 24, 40, 0.5) 100%),
      linear-gradient(180deg, rgba(8, 24, 40, 0.3), rgba(8, 24, 40, 0.55));
  }

  .hero__media img {
    object-position: 68% 55%;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--media-first .split__media {
    order: -1;
  }

  .about-intro .split__media {
    order: -1;
  }

  .image-frame::before {
    inset: 0.9rem -0.9rem -0.9rem 0.9rem;
  }

  .image-frame::after {
    top: -0.8rem;
    right: -0.8rem;
    width: 70px;
    height: 70px;
  }

  .about-intro .image-frame img {
    aspect-ratio: 4 / 3;
  }

  .why-grid {
    gap: 2.25rem;
  }

  .about-why .split__media {
    order: -1;
  }

  .footer-main {
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: 45ch;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }

  .trust-strip {
    margin-top: -30px;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
    padding: 0.35rem;
  }

  .trust-item {
    padding: 1rem 1.15rem;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .mission-vision,
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    margin-top: -34px;
  }

  .page-hero {
    min-height: 330px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > div:nth-child(2),
  .footer-main > div:nth-child(3) {
    grid-column: auto;
  }

  .footer-contact-block {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 639px) {
  .hero {
    min-height: 640px;
    padding-block: 4rem 5.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .hero__text {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__badges {
    margin-top: 1.8rem;
    gap: 0.45rem 1rem;
  }

  .hero__badges li {
    font-size: 0.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card__media {
    aspect-ratio: 16 / 9;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .process__steps {
    grid-template-columns: 1fr;
  }

  .step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
  }

  .step__number {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .step h3 {
    margin-bottom: 0.3rem;
  }

  .cta-panel {
    text-align: left;
  }

  .cta-panel__sun {
    margin-left: 0;
  }

  .cta-panel h2 {
    margin-left: 0;
  }

  .cta-panel p {
    margin-left: 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: auto;
  }

  .contact-cards__grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    margin-top: -24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact-block {
    grid-column: auto;
  }

}

@media (max-width: 399px) {
  .logo__tag {
    display: none;
  }

  .logo__name {
    font-size: 1.05rem;
  }

  .hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  .btn {
    padding-inline: 1.25rem;
  }
}
