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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul, ol {
  list-style: none;
}

/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
  --clr-platinum: #E7ECEF;
  --clr-dusk-blue: #274C77;
  --clr-steel-blue: #6096BA;
  --clr-icy-blue: #A3CEF1;
  --clr-grey-olive: #8B8C89;
  --clr-white: #ffffff;
  --clr-dark: #1a1a1a;
  --clr-dark-soft: #2d2d2d;

  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --container-max: 1200px;
  --container-padding: 1.25rem;
  --nav-height: 72px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* ====== UTILITY ====== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.text-center {
  text-align: center;
}

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
  line-height: 1.3;
}

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

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary {
  background-color: var(--clr-dusk-blue);
  color: var(--clr-white);
  border-color: var(--clr-dusk-blue);
}

.btn--primary:hover {
  background-color: #1e3b5e;
  border-color: #1e3b5e;
}

.btn--accent {
  background-color: var(--clr-steel-blue);
  color: var(--clr-white);
  border-color: var(--clr-steel-blue);
}

.btn--accent:hover {
  background-color: #4a7d9e;
  border-color: #4a7d9e;
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(39, 76, 119, 0.08);
  height: var(--nav-height);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--clr-dark);
  line-height: 1;
}

.nav__logo-highlight {
  color: var(--clr-dusk-blue);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: var(--clr-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--clr-dark);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-dusk-blue);
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: var(--clr-dusk-blue);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  background-color: var(--clr-dusk-blue);
  color: var(--clr-white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  font-weight: var(--fw-semibold);
  transition: background-color 0.2s ease;
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: #1e3b5e;
}

@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .nav__list {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--clr-white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
  }

  .nav__list--open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    font-size: 1.25rem;
  }

  .nav__link--cta {
    padding: 0.75rem 2rem;
  }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__mosaic {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__panel {
  flex: 1;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.hero__panel:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.hero__panel--electrician { background-image: url('../Media/Electrician_Hero.png'); }
.hero__panel--plumber { background-image: url('../Media/Plumber_Hero.png'); }
.hero__panel--handyman { background-image: url('../Media/HandyMan_Hero.png'); }
.hero__panel--landscaper { background-image: url('../Media/landscaper_Hero.png'); }
.hero__panel--roofer { background-image: url('../Media/roofer_Hero.png'); }

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 3;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  text-align: center;
  width: 100%;
  padding: 0 var(--container-padding);
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.hero__title-accent {
  color: var(--clr-icy-blue);
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: var(--space-2xl);
  width: 100%;
}

.hero__pre {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-white);
  align-self: center;
  position: relative;
  left: -3.25em;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__post {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--clr-white);
  align-self: center;
  position: relative;
  left: 3.5em;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 0.25em;
}

@media (max-width: 899px) {
  .hero {
    height: 50vh;
    min-height: 400px;
    max-height: none;
  }

  .hero__panel {
    background-position: center 20%;
  }

  .hero__panel:not(:last-child)::after {
    width: 1.5px;
  }
}

@media (max-width: 540px) {
  .hero {
    height: 45vh;
    min-height: 320px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__pre,
  .hero__post {
    font-size: 0.85rem;
  }

  .hero__pre {
    left: -1.75em;
  }

  .hero__post {
    left: 1.75em;
  }

  .hero__headline {
    margin-bottom: var(--space-lg);
  }
}

/* ====== SECTION BASE ====== */
.section {
  padding: var(--space-4xl) 0;
}

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

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-dark);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section__title--light {
  color: var(--clr-white);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--clr-grey-olive);
  line-height: 1.5;
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ====== OFFER / WHAT WE DO (MATCHES TEMPLATE feature_area) ====== */
.feature_area {
  padding-bottom: 80px;
  position: relative;
  margin-top: -80px;
  z-index: 5;
}

.feature_area .container {
  max-width: 1140px;
}

.feature_bg {
  padding: 60px;
  background: #fff;
  box-shadow: 0 10px 40px -10px rgba(0,64,128,.2);
  border-radius: 10px;
  margin-top: -100px;
  display: flex;
  flex-wrap: wrap;
}

/* Section title — matches template exactly */
.feature_bg .section-title {
  margin-bottom: 60px;
  width: 100%;
}

.feature_bg .section-title h2 {
  font-size: 54px;
  font-weight: 600;
  margin-top: 0;
  position: relative;
  text-transform: capitalize;
  color: #1b2032;
  line-height: 1.2;
  font-family: var(--ff-body);
}

.feature_bg .section-title p {
  padding: 0 10px;
  width: 60%;
  margin: 20px auto 0;
  font-size: 1rem;
  color: #747474;
}

/* Card column (matches Bootstrap .col-lg-4.no-padding) */
.offer__card-col {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0;
  display: flex;
  min-width: 0;
}

/* Single feature card — matches template EXACTLY */
.single_feature {
  background: #f9fcff;
  position: relative;
  padding: 60px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 5px;
  transition: 0.3s;
  width: 100%;
}

.single_feature:hover {
  background: #fff;
  box-shadow: 0px 60px 60px rgba(0,0,0,0.1);
  -webkit-transform: translate(0, -10px);
  transform: translate(0, -10px);
}

.single_feature_icon {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.single_feature_icon svg {
  width: 56px;
  height: 56px;
}

.single_feature_icon svg rect,
.single_feature_icon svg path {
  stroke: var(--clr-dusk-blue);
}

.single_feature_icon svg circle {
  fill: var(--clr-steel-blue);
}

.single_feature_icon svg circle:last-child {
  fill: var(--clr-icy-blue);
}

.single_feature h4 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: var(--clr-dusk-blue);
}

.single_feature p {
  font-size: 0.95rem;
  color: #2d2d2d;
  line-height: 1.65;
}

/* Framing line after cards */
.offer__framing {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 1.05rem;
  width: 100%;
  font-weight: var(--fw-medium);
  color: var(--clr-steel-blue);
  font-style: italic;
  line-height: 1.5;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .offer__card-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 899px) {
  .single_feature {
    padding: 40px;
  }
  .feature_bg .section-title h2 {
    font-size: 36px;
  }
  .feature_bg .section-title p {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .feature_area {
    margin-top: 0;
  }
  .feature_bg {
    margin-top: 0;
    padding: 30px;
  }
  .offer__card-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .feature_bg .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 540px) {
  .single_feature {
    padding: 30px 20px;
  }
}



/* ====== STATS STRIP ====== */
.stats-strip {
  background-color: var(--clr-dusk-blue);
  padding: var(--space-2xl) 0;
}

.stats__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4xl);
  flex-wrap: wrap;
}

.stats__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  color: var(--clr-white);
  text-align: center;
}

.stats__number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats__plus {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-bold);
  color: var(--clr-icy-blue);
  line-height: 1;
}

.stats__label {
  width: 100%;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--clr-icy-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .stats__grid {
    gap: var(--space-2xl);
  }
}

/* ====== PORTFOLIO / OUR WORK (FILTERABLE) ====== */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-2xl);
}

.filter__btn {
  background: none;
  border: 2px solid #d1d5db;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-grey-olive);
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: capitalize;
}

.filter__btn:hover {
  border-color: var(--clr-steel-blue);
  color: var(--clr-steel-blue);
}

.filter__btn--active {
  background-color: var(--clr-dusk-blue);
  border-color: var(--clr-dusk-blue);
  color: var(--clr-white);
}

.filter__btn--active:hover {
  background-color: #1e3b5e;
  border-color: #1e3b5e;
  color: var(--clr-white);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 899px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.portfolio__item {
  background: var(--clr-platinum);
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e4e8;
  transition: 0.3s;
}

.portfolio__item:hover {
  background: var(--clr-white);
  -webkit-transform: translate(0, -10px);
  transform: translate(0, -10px);
  box-shadow: 0px 60px 60px rgba(0,0,0,0.1);
}

.portfolio__image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.portfolio__image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(39, 76, 119, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  border-radius: 4px;
  pointer-events: none;
}

.portfolio__item:hover .portfolio__image-wrap::before {
  opacity: 1;
}

.portfolio__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 4px 0 0;
}

.portfolio__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--clr-steel-blue);
  color: var(--clr-white);
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.portfolio__item:hover .portfolio__label {
  opacity: 1;
}

.portfolio__caption {
  padding: var(--space-md);
  font-size: 0.9rem;
  color: var(--clr-dark-soft);
  line-height: 1.5;
  text-align: center;
}

/* Filtered items animation */
.portfolio__item--hidden {
  display: none;
}

/* ====== LIGHTBOX (IMAGE ENLARGE ON CLICK) ====== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: pointer;
  padding: 1rem;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__arrow--prev {
  left: 1rem;
}

.lightbox__arrow--next {
  right: 1rem;
}

.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: var(--fw-medium, 500);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 0.5rem;
  }

  .lightbox__close {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  .lightbox__arrow {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .lightbox__arrow--prev {
    left: 0.35rem;
  }

  .lightbox__arrow--next {
    right: 0.35rem;
  }

  .lightbox__img {
    max-width: 94vw;
    max-height: 78vh;
  }

  .lightbox__counter {
    bottom: 0.65rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 400px) {
  .portfolio-filter {
    gap: 0.4rem;
  }

  .filter__btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
  }
}

/* ====== HOW IT WORKS ====== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: var(--space-xl) var(--space-lg);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--clr-dusk-blue);
  color: var(--clr-white);
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-lg);
}

.step__title {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dusk-blue);
  margin-bottom: var(--space-sm);
}

.step__text {
  font-size: 0.95rem;
  color: var(--clr-dark-soft);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .step__connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .step {
    max-width: 360px;
    padding: var(--space-lg);
  }
}

/* ====== CONTACT / CTA SECTION ====== */
.contact-section {
  background-color: var(--clr-dusk-blue);
  position: relative;
}

.contact__form {
  max-width: 640px;
  margin: 0 auto;
}

.contact__form .form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (max-width: 600px) {
  .contact__form .form__row {
    grid-template-columns: 1fr;
  }
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__group--radio {
  border: none;
  padding: 0;
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.form__label--light {
  color: var(--clr-white);
}

.form__input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--ff-body);
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--clr-white);
  color: var(--clr-dark);
  transition: box-shadow 0.2s ease;
  appearance: none;
}

.form__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(163, 206, 241, 0.4);
}

.form__input::placeholder {
  color: #9ca3af;
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238B8C89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form__radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.4rem 0;
  color: var(--clr-white);
}

.form__radio-label input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--clr-icy-blue);
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__submit {
  width: 100%;
  margin-top: var(--space-lg);
}

.form__disclaimer {
  font-size: 0.85rem;
  color: var(--clr-grey-olive);
  line-height: 1.4;
  text-align: center;
  margin-top: var(--space-md);
}

.form__disclaimer--light {
  color: rgba(255, 255, 255, 0.6);
}

.form__status {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  font-weight: var(--fw-medium);
  display: none;
}

.form__status--success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form__status--error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form__input--error {
  outline: 3px solid #d32f2f;
}

/* ====== FOOTER ====== */
.site-footer {
  background-color: var(--clr-dark);
  color: var(--clr-white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 899px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 540px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--clr-white);
  line-height: 1;
}

.footer__logo-accent {
  color: var(--clr-icy-blue);
}

.footer__desc {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--clr-grey-olive);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-icy-blue);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links li a {
  font-size: 0.9rem;
  color: var(--clr-grey-olive);
  transition: color 0.2s ease;
}

.footer__links li a:hover {
  color: var(--clr-white);
}

.footer__subscribe-text {
  font-size: 0.9rem;
  color: var(--clr-grey-olive);
  margin-bottom: var(--space-md);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.subscribe__row {
  display: flex;
  gap: 0.5rem;
}

.subscribe__input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--clr-white);
  transition: border-color 0.2s ease;
}

.subscribe__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe__input:focus {
  outline: none;
  border-color: var(--clr-icy-blue);
}

.subscribe__btn {
  padding: 0.65rem 1rem;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--clr-steel-blue);
  color: var(--clr-white);
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.subscribe__btn:hover {
  background-color: var(--clr-icy-blue);
  color: var(--clr-dark);
}

.subscribe__status {
  font-size: 0.85rem;
  display: none;
  color: var(--clr-icy-blue);
}

.subscribe__status--show {
  display: block;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--clr-grey-olive);
}

/* ====== LEGAL PAGES (Privacy Policy / Terms & Conditions) ====== */
.legal-section {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-4xl);
  background-color: var(--clr-white);
}

.legal__content {
  max-width: 760px;
  margin: 0 auto;
}

.legal__content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.legal__date {
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-steel-blue);
  margin-bottom: var(--space-xl);
}

.legal__content h2 {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--clr-dusk-blue);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.legal__content p {
  font-size: 1rem;
  color: var(--clr-dark-soft);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal__content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-md);
}

.legal__content ul li {
  font-size: 1rem;
  color: var(--clr-dark-soft);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.legal__content strong {
  font-weight: var(--fw-semibold);
  color: var(--clr-dark);
}

.legal__content a {
  color: var(--clr-steel-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal__content a:hover {
  color: var(--clr-dusk-blue);
}

@media (max-width: 540px) {
  .legal__content h1 {
    font-size: 1.5rem;
  }
  .legal__content h2 {
    font-size: 1.05rem;
  }
  .legal__content p,
  .legal__content ul li {
    font-size: 0.95rem;
  }
}

/* ====== STICKY GO HOME BUTTON ====== */
.go-home-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background-color: var(--clr-dusk-blue);
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(39, 76, 119, 0.4);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.go-home-btn:hover {
  background-color: #1e3b5e;
  box-shadow: 0 6px 28px rgba(39, 76, 119, 0.55);
  transform: translateX(-50%) translateY(-2px);
}

.go-home-btn:active {
  transform: translateX(-50%) translateY(0);
}

.go-home-btn:focus-visible {
  outline: 3px solid var(--clr-icy-blue);
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .go-home-btn {
    bottom: 1rem;
    font-size: 0.85rem;
    padding: 0.65rem 1.4rem;
  }
}
