/* =========================================================
   CERTEZA LLC
   Main Stylesheet
   ========================================================= */


/* =========================================================
   GLOBAL VARIABLES
   ========================================================= */

:root {
  --red: #e32127;
  --red-dark: #bd171c;
  --charcoal: #1f2832;
  --charcoal-dark: #111820;
  --gray: #59616a;
  --light-gray: #f5f6f7;
  --border: #e2e5e8;
  --white: #ffffff;
  --max-width: 1180px;
}

/* =========================================================
   ACTIVE MENU
   ========================================================= */


.submenu a.active-submenu {
    color: var(--red);
    font-weight: 700;
    background: #fafafa;
}

.contact-nav.active-contact {
    background: var(--charcoal-dark);
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    "Segoe UI",
    Arial,
    sans-serif;

  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

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

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


/* =========================================================
   KEYBOARD ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #eceff1;
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 325px;
  height: auto;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav > li {
  position: relative;
}

.nav > li > a {
  display: inline-block;
  padding: 32px 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav > li > a:hover,
.nav > li > a.active {
  color: var(--red);
}

.nav > li > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 23px;
  height: 2px;
  background: var(--red);
}


/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.dropdown-toggle::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 0.8rem;
}

.submenu {
  position: absolute;
  top: 72px;
  left: -24px;
  width: 250px;
  padding: 10px 0;

  background: var(--white);

  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.13);

  border-top: 3px solid var(--red);

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px);

  transition: 0.2s ease;
}

.nav li:hover .submenu,
.nav li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 12px 22px;
  font-size: 0.9rem;
}


.services-overview-link {
  display: none;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--red);
  background: #fafafa;
}


/* =========================================================
   CONTACT BUTTON IN NAVIGATION
   ========================================================= */

.contact-nav {
  padding: 12px 21px !important;
  color: white !important;
  background: var(--red);
}

.contact-nav:hover {
  background: var(--red-dark);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 520px;

  display: flex;
  align-items: center;

  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.95) 0%,
      rgba(10, 18, 26, 0.84) 38%,
      rgba(10, 18, 26, 0.38) 70%,
      rgba(10, 18, 26, 0.18) 100%
    ),
    url("../images/hero-dc.webp")
      center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    radial-gradient(
      circle at 32% 56%,
      rgba(227, 33, 39, 0.20),
      transparent 2px
    ),

    radial-gradient(
      circle at 41% 44%,
      rgba(227, 33, 39, 0.18),
      transparent 2px
    ),

    radial-gradient(
      circle at 53% 61%,
      rgba(227, 33, 39, 0.16),
      transparent 2px
    );

  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;

  max-width: 660px;
  padding: 78px 0;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;

  margin-bottom: 24px;
  max-width: 750px;
}

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

.hero p {
  max-width: 610px;
  margin-bottom: 32px;

  font-size: 1.05rem;

  color: rgba(255, 255, 255, 0.88);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 50px;
  padding: 0 25px;

  border: 1px solid transparent;

  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;

  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--charcoal);
}


/* =========================================================
   VALUE STRIP
   ========================================================= */

.value-strip {
  background: var(--charcoal-dark);
  color: white;
}

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

.value-item {
  display: grid;
  grid-template-columns: 50px 1fr;

  gap: 14px;

  padding: 25px 30px;

  border-right:
    1px solid rgba(255, 255, 255, 0.16);
}

.value-item:last-child {
  border-right: 0;
}

.value-icon {
  width: 44px;
  height: 44px;

  border: 2px solid var(--red);
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: var(--red);

  font-size: 1.25rem;
}

.value-item h3 {
  margin-bottom: 3px;

  font-size: 0.84rem;
  text-transform: uppercase;
}

.value-item p {
  font-size: 0.8rem;

  color:
    rgba(255, 255, 255, 0.72);

  line-height: 1.45;
}


/* =========================================================
   STANDARD SECTIONS
   ========================================================= */

.section {
  padding: 40px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--red);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Global Interior Page Eyebrow */

.page-eyebrow {
  color: var(--red);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* =========================================================
   STANDARD INTERIOR HERO LAYOUT
   ========================================================= */

.about-hero,
.contact-hero,
.industries-hero,
.insights-hero,
.service-page-hero {
  position: relative;
  min-height: 390px;
  height: auto;

  display: flex;
  align-items: flex-start;
}

.about-hero-content,
.contact-hero-content,
.industries-hero-content,
.insights-hero-content,
.service-page-hero-content {
  padding-top: 50px;
  padding-bottom: 50px;
}


.section-heading h2 {
  margin-top: 6px;

  font-size:
    clamp(1.9rem, 3vw, 2.6rem);

  line-height: 1.15;
}

.heading-rule {
  width: 34px;
  height: 2px;

  margin:
    15px auto 0;

  background: var(--red);
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 28px;
}

.service-card {
  border:
    1px solid var(--border);

  background: white;

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.03);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 16px 35px
    rgba(0, 0, 0, 0.08);
}


/* Service Images */

.service-image {
  height: 205px;

  overflow: hidden;

  background: #1b232c;
}

.service-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

.service-card:hover
.service-image img {
  transform: scale(1.035);
}


/* Service Content */

.service-content {
  padding: 28px;
}

.service-content h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.service-content > p {
  color: var(--gray);

  font-size: 0.92rem;

  margin-bottom: 18px;
}


/* Service Lists */

.service-list {
  margin-bottom: 24px;
}

.service-list li {
  position: relative;

  padding:
    5px 0 5px 20px;

  font-size: 0.88rem;

  color: #444d56;
}

.service-list li::before {
  content: "›";

  position: absolute;

  left: 2px;

  color: var(--red);

  font-weight: 800;
}


/* Learn More Links */

.text-link {
  color: var(--red);

  font-size: 0.8rem;
  font-weight: 700;

  text-transform: uppercase;
}

.text-link:hover {
  color: var(--red-dark);
}


/* =========================================================
   WHY CERTEZA
   ========================================================= */

.why-section {
  color: white;

  background:
    linear-gradient(
      rgba(14, 21, 28, 0.96),
      rgba(14, 21, 28, 0.96)
    ),
    radial-gradient(
      circle at center,
      #39434c,
      #121820
    );
}

.why-section
.section-heading h2 {
  color: white;
}

.why-grid {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 26px;

  text-align: center;
}

.why-item {
  padding: 4px 6px;
}

.why-icon {
  width: 58px;
  height: 58px;

  margin: 0 auto 10px;

  display: grid;
  place-items: center;

  color: var(--red);

  font-size: 2rem;
}

.why-item h3 {
  font-size: 0.93rem;
  margin-bottom: 7px;
}

.why-item p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.79rem;

  line-height: 1.5;
}


/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta {
  background:
    linear-gradient(
      135deg,
      #e32127,
      #bd171c
    );

  color: white;
}

.cta-inner {
  min-height: 190px;

  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 40px;

  align-items: center;
}

.cta h2 {
  max-width: 560px;

  font-size: 2rem;

  line-height: 1.15;

  margin-bottom: 10px;
}

.cta p {
  color:
    rgba(255, 255, 255, 0.85);

  max-width: 590px;
}


/*
   Because the CTA background is red,
   make the CTA button dark rather than red.
*/

.cta .btn-primary {
  background: var(--charcoal-dark);
  color: white;
  border-color: var(--charcoal-dark);
}

.cta .btn-primary:hover {
  background: white;
  color: var(--red);
  border-color: white;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 10px 0;

  color: var(--charcoal);

  background: white;

  border-top:
    1px solid var(--border);

  font-size: 0.79rem;
}

.footer-inner {
  display: grid;

  grid-template-columns:
    250px 1fr auto;

  gap: 35px;

  align-items: center;
}

.footer-logo {
  width: 215px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

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

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


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 980px) {

  /* Mobile Menu Button */

  .menu-button {
    display: block;
  }


  /* Mobile Navigation */

  .site-nav {
    position: absolute;

    top: 90px;
    left: 0;
    right: 0;

    display: none;

    background: white;

    border-top:
      1px solid #eee;

    box-shadow:
      0 14px 25px
      rgba(0, 0, 0, 0.08);
  }

  .site-nav.open {
    display: block;
  }

  .nav {
    width:
      min(92%, var(--max-width));

    margin: 0 auto;

    padding:
      12px 0 22px;

    display: block;
  }

  .nav > li > a {
    display: block;

    padding:
      13px 0;
  }

  .nav > li > a.active::after {
    display: none;
  }


  /* Mobile Submenu */

  .submenu {
    position: static;

    width: 100%;

    padding:
      0 0 8px 16px;

    opacity: 1;
    visibility: visible;

    transform: none;

    display: none;

    box-shadow: none;

    border-top: 0;
  }

  .nav li.submenu-open .submenu {
    display: block;
  }

  .services-overview-link {
    display: block;
  }


  /* Contact Navigation */

  .contact-nav {
    display:
      inline-block !important;

    padding:
      11px 18px !important;

    margin-top: 8px;
  }


  /* Services */

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


  /* Why Certeza */

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


  /* Value Strip */

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

  .value-item {
    border-right: 0;

    border-bottom:
      1px solid
      rgba(255, 255, 255, 0.14);
  }


  /* CTA */

  .cta-inner {
    grid-template-columns: 1fr;

    padding:
      45px 0;
  }


  /* Footer */

 
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  footer {
    padding: 20px 0;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .page-eyebrow {
    font-size: 0.9rem;
  }

  .brand img {
    width: 255px;
  }

  .header-inner {
    height: 76px;
  }

  .site-nav {
    top: 76px;
  }

  .hero {
    min-height: 540px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-buttons {
    display: grid;
  }

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

  .section {
    padding: 40px 0;
  }

  .cta h2 {
    font-size: 1.7rem;
  }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */


/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.94) 0%,
      rgba(10, 18, 26, 0.82) 38%,
      rgba(10, 18, 26, 0.42) 62%,
      rgba(10, 18, 26, 0.12) 100%
    ),
    url("../images/about-hero.webp")
      68% center / cover no-repeat;
}

.about-hero-content {
  max-width: 690px;
  padding: 50px 0;
}


/* Hero Heading */

.about-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4.3rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 22px;
}

.about-hero h1 span {
  color: var(--red);
}

.about-hero p {
  max-width: 620px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 1.05rem;

  line-height: 1.65;
}


/* =========================================================
   WHO WE ARE
   ========================================================= */

.about-intro {
  padding: 40px 0;

  background: white;
}

.about-intro-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 70px;

  align-items: start;
}

.about-intro h2 {
  font-size:
    clamp(2rem, 3vw, 2.7rem);

  line-height: 1.15;

  margin-top: 4px;
}

.about-intro-copy p {
  color: var(--gray);

  margin-bottom: 16px;

  line-height: 1.7;
}

.about-intro-copy p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   WHAT SETS US APART
   ========================================================= */

.about-differentiators {
  background: var(--light-gray);
}

.about-feature-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 24px;
}

.about-feature {
  background: white;

  padding: 25px;

  border:
    1px solid var(--border);

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.about-feature:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.07);
}

.about-feature-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 14px;

  border:
    2px solid var(--red);

  border-radius: 50%;

  color: var(--red);

  font-size: 1.2rem;
}

.about-feature h3 {
  margin-bottom: 8px;

  font-size: 1.05rem;
}

.about-feature p {
  color: var(--gray);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* =========================================================
   OUR APPROACH
   ========================================================= */

.about-approach {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.about-approach
.section-heading h2 {
  color: white;
}

.about-approach
.section-heading {
  margin-bottom: 28px;
}

.approach-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.12);
}

.approach-step {
  background:
    var(--charcoal-dark);

  padding: 25px;
}

.approach-number {
  color: var(--red);

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  margin-bottom: 10px;
}

.approach-step h3 {
  font-size: 1.15rem;

  margin-bottom: 8px;
}

.approach-step p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.86rem;

  line-height: 1.6;
}


/* =========================================================
   EXPERIENCE THAT MATTERS
   ========================================================= */

.experience-section {
  background: white;
}

.experience-grid {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 70px;

  align-items: start;
}

.experience-heading h2 {
  font-size:
    clamp(2rem, 3vw, 2.7rem);

  line-height: 1.15;

  margin:
    4px 0 16px;
}

.experience-heading p {
  color: var(--gray);

  line-height: 1.7;
}

.experience-points {
  display: grid;

  gap: 18px;
}

.experience-point {
  padding:
    0 0 17px 20px;

  border-left:
    4px solid var(--red);

  border-bottom:
    1px solid var(--border);
}

.experience-point:last-child {
  border-bottom: none;

  padding-bottom: 0;
}

.experience-point h3 {
  margin-bottom: 6px;

  font-size: 1.05rem;
}

.experience-point p {
  color: var(--gray);

  font-size: 0.9rem;

  line-height: 1.6;
}


/* =========================================================
   ABOUT PAGE TABLET
   ========================================================= */

@media (max-width: 980px) {

  .about-intro-grid,
  .experience-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .about-feature-grid,
  .approach-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   ABOUT PAGE MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .about-hero {
    min-height: 330px;

    background-position: center;
  }

  .about-hero-content {
    padding: 45px 0;
  }

  .about-hero h1 {
    font-size: 2.6rem;
  }

  .about-intro {
    padding: 40px 0;
  }

  .about-intro-grid {
    gap: 25px;
  }

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

  .about-feature {
    padding: 23px;
  }

  .approach-step {
    padding: 23px;
  }

}

/* =========================================================
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.94) 0%,
      rgba(10, 18, 26, 0.78) 38%,
      rgba(10, 18, 26, 0.35) 65%,
      rgba(10, 18, 26, 0.08) 100%
    ),
    url("../images/contact-hero.webp")
      65% center / cover no-repeat;
}

.contact-hero-content {
  max-width: 700px;
  padding: 50px 0;
}

.contact-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4.2rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 20px;
}

.contact-hero h1 span {
  color: var(--red);
}

.contact-hero p {
  max-width: 620px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 1.05rem;

  line-height: 1.65;
}


/* =========================================================
   CONTACT MAIN SECTION
   ========================================================= */

.contact-section {
  padding: 40px 0;

  background: var(--light-gray);
}

.contact-grid {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 55px;

  align-items: start;
}


/* =========================================================
   CONTACT INTRO
   ========================================================= */

.contact-intro h2 {
  font-size:
    clamp(2rem, 3vw, 2.7rem);

  line-height: 1.15;

  margin-bottom: 16px;
}

.contact-intro > p {
  color: var(--gray);

  line-height: 1.7;

  margin-bottom: 16px;
}

.contact-details {
  display: grid;

  gap: 18px;

  margin-top: 28px;
}

.contact-detail {
  padding: 0 0 16px 18px;

  border-left:
    4px solid var(--red);

  border-bottom:
    1px solid var(--border);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail h3 {
  margin-bottom: 5px;

  font-size: 1rem;
}

.contact-detail p {
  color: var(--gray);

  font-size: 0.9rem;

  line-height: 1.6;

  margin-bottom: 5px;
}


/* =========================================================
   CONTACT FORM CARD
   ========================================================= */

.contact-form-card {
  background: white;

  padding: 32px;

  border:
    1px solid var(--border);

  box-shadow:
    0 8px 28px
    rgba(0, 0, 0, 0.06);
}

.contact-form-card h2 {
  font-size: 1.7rem;

  margin-bottom: 5px;
}

.contact-form-intro {
  color: var(--gray);

  margin-bottom: 22px;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.contact-form {
  display: grid;

  gap: 17px;
}

.form-row {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 16px;
}

.form-group {
  display: grid;

  gap: 6px;
}

.form-group label {
  font-size: 0.86rem;

  font-weight: 600;

  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 12px 13px;

  border:
    1px solid #cfd4d8;

  background: white;

  color: var(--charcoal);

  font-family: inherit;

  font-size: 0.95rem;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);

  box-shadow:
    0 0 0 3px
    rgba(227, 33, 39, 0.10);
}


/* =========================================================
   CONSENT
   ========================================================= */

.form-consent label {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  font-weight: 400;

  color: var(--gray);

  line-height: 1.5;
}

.form-consent input {
  width: auto;

  margin-top: 4px;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-submit {
  width: fit-content;

  cursor: pointer;

  border: none;
}


/* =========================================================
   CONTACT BOTTOM
   ========================================================= */

.contact-bottom {
  padding: 40px 15px;

  color: white;

  background: var(--charcoal-dark);
}

.contact-bottom-inner {
  max-width: 1050px;

  margin: 0 auto;

  text-align: center;
}

.contact-bottom h2 {
  font-size:
    clamp(1.8rem, 3vw, 2.4rem);

  margin-bottom: 10px;
}

.contact-bottom p {
  color:
    rgba(255, 255, 255, 0.72);

  line-height: 1.65;
}


/* =========================================================
   CONTACT PAGE TABLET
   ========================================================= */

@media (max-width: 980px) {

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

    gap: 30px;
  }

}


/* =========================================================
   CONTACT PAGE MOBILE
   ========================================================= */

@media (max-width: 620px) {

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

  .contact-hero-content {
    padding: 45px 0;
  }

  .contact-hero h1 {
    font-size: 2.6rem;
  }

  .contact-section {
    padding: 40px 0;
  }

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

  .contact-form-card {
    padding: 24px;
  }

  .contact-submit {
    width: 100%;
  }

}

/* =========================================================
   CONTACT FORM RESPONSE
   ========================================================= */

.contact-response {
  min-height: 560px;

  padding: 60px 0;

  display: flex;
  background: var(--light-gray);
}

.contact-response-card {
  max-width: 720px;

  margin: 0 auto;

  padding: 45px;

  text-align: center;

  background: white;

  border: 1px solid var(--border);

  box-shadow:
    0 8px 30px
    rgba(0, 0, 0, 0.06);
}

.contact-response-card h1 {
  margin: 6px 0 15px;

  font-size:
    clamp(2rem, 4vw, 2.8rem);

  line-height: 1.15;
}

.contact-response-card > p {
  max-width: 570px;

  margin: 0 auto 25px;

  color: var(--gray);

  line-height: 1.7;
}


/* Response Icon */

.response-icon {
  width: 62px;
  height: 62px;

  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  font-size: 1.6rem;
  font-weight: 700;
}

.success-icon {
  color: var(--red);

  border:
    2px solid var(--red);
}

.error-icon {
  color: var(--charcoal);

  border:
    2px solid var(--charcoal);
}


/* Error List */

.response-errors {
  max-width: 500px;

  margin:
    0 auto 25px;

  padding: 18px 22px;

  text-align: left;

  list-style: disc;

  background: var(--light-gray);

  color: var(--gray);
}

.response-errors li {
  margin-left: 18px;

  margin-bottom: 6px;
}


/* Mobile */

@media (max-width: 620px) {

  .contact-response {
    min-height: 480px;

    padding: 40px 0;
  }

  .contact-response-card {
    padding: 30px 22px;
  }

}
/* =========================================================
   INDUSTRIES PAGE
   ========================================================= */


/* =========================================================
   INDUSTRIES HERO
   ========================================================= */

.industries-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.94) 0%,
      rgba(10, 18, 26, 0.78) 38%,
      rgba(10, 18, 26, 0.36) 65%,
      rgba(10, 18, 26, 0.08) 100%
    ),
    url("../images/industries-hero.webp")
      60% center / cover no-repeat;
}

.industries-hero-content {
  max-width: 720px;
  padding: 50px 0;
}

.industries-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4.2rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 20px;
}

.industries-hero h1 span {
  color: var(--red);
}

.industries-hero p {
  max-width: 640px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 1.05rem;

  line-height: 1.65;
}


/* =========================================================
   INDUSTRIES INTRO
   ========================================================= */

.industries-intro {
  padding: 40px 0;

  background: white;
}

.industries-intro-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 70px;

  align-items: start;
}

.industries-intro h2 {
  font-size:
    clamp(2rem, 3vw, 2.7rem);

  line-height: 1.15;
}

.industries-intro p {
  color: var(--gray);

  line-height: 1.7;

  margin-bottom: 16px;
}

.industries-intro p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   INDUSTRY CARDS
   ========================================================= */

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

.industries-card-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 22px;
}

.industry-card {
  background: white;

  padding: 25px;

  border:
    1px solid var(--border);

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.industry-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.07);
}

.industry-card-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 14px;

  border:
    2px solid var(--red);

  border-radius: 50%;

  color: var(--red);

  font-size: 1.2rem;
}

.industry-card h3 {
  font-size: 1.05rem;

  margin-bottom: 8px;
}

.industry-card p {
  color: var(--gray);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* =========================================================
   CROSS-INDUSTRY THEMES
   ========================================================= */

.industries-themes {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.industries-themes
.section-heading h2 {
  color: white;
}

.industries-theme-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.12);
}

.industries-theme {
  background:
    var(--charcoal-dark);

  padding: 25px;
}

.industries-theme h3 {
  font-size: 1.05rem;

  margin-bottom: 8px;
}

.industries-theme p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.87rem;

  line-height: 1.6;
}


/* =========================================================
   INDUSTRIES TABLET
   ========================================================= */

@media (max-width: 980px) {

  .industries-intro-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

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

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

}


/* =========================================================
   INDUSTRIES MOBILE
   ========================================================= */

@media (max-width: 620px) {

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

  .industries-hero-content {
    padding: 45px 0;
  }

  .industries-hero h1 {
    font-size: 2.6rem;
  }

  .industries-intro {
    padding: 40px 0;
  }

  .industries-card-grid,
  .industries-theme-grid {
    grid-template-columns: 1fr;
  }

  .industry-card,
  .industries-theme {
    padding: 23px;
  }

}
/* =========================================================
   INSIGHTS PAGE
   ========================================================= */


/* =========================================================
   INSIGHTS HERO
   ========================================================= */

.insights-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.96) 0%,
      rgba(10, 18, 26, 0.82) 35%,
      rgba(10, 18, 26, 0.45) 60%,
      rgba(10, 18, 26, 0.10) 100%
    ),
    url("../images/insights-hero.webp")
      65% center / cover no-repeat;
}

.insights-hero-content {
  max-width: 690px;

  padding: 50px 0;
}

.insights-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4.2rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 20px;
}

.insights-hero h1 span {
  color: var(--red);
}

.insights-hero p {
  max-width: 640px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 1.05rem;

  line-height: 1.65;
}


/* =========================================================
   FEATURED INSIGHT
   ========================================================= */

.insights-featured-section {
  padding: 40px 0;

  background: white;
}

.featured-insight {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  min-height: 350px;

  border:
    1px solid var(--border);

  background: white;

  box-shadow:
    0 6px 24px
    rgba(0, 0, 0, 0.05);
}

.featured-insight-image {
  overflow: hidden;

  background: var(--charcoal-dark);
}

.featured-insight-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

.featured-insight:hover
.featured-insight-image img {
  transform: scale(1.025);
}

.featured-insight-content {
  padding: 38px;

  display: flex;
  flex-direction: column;

  justify-content: center;
}

.insight-category {
  color: var(--red);

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  margin-bottom: 10px;
}

.featured-insight-content h2 {
  font-size:
    clamp(1.8rem, 3vw, 2.4rem);

  line-height: 1.15;

  margin-bottom: 15px;
}

.featured-insight-content p {
  color: var(--gray);

  line-height: 1.7;

  margin-bottom: 22px;
}


/* =========================================================
   INSIGHT LIBRARY
   ========================================================= */

.insights-library {
  background: var(--light-gray);
}

.insights-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.insight-card {
  background: white;

  border:
    1px solid var(--border);

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.insight-card:hover {
  transform:
    translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.07);
}

.insight-card-image {
  height: 190px;

  overflow: hidden;

  background: var(--charcoal-dark);
}

.insight-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

.insight-card:hover
.insight-card-image img {
  transform: scale(1.035);
}

.insight-card-content {
  padding: 24px;
}

.insight-card h3 {
  font-size: 1.1rem;

  line-height: 1.35;

  margin-bottom: 10px;
}

.insight-card p {
  color: var(--gray);

  font-size: 0.88rem;

  line-height: 1.6;

  margin-bottom: 18px;
}


/* =========================================================
   STAY INFORMED
   ========================================================= */

.insights-follow {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.insights-follow-inner {
  display: grid;

  grid-template-columns:
    1fr auto;

  gap: 40px;

  align-items: center;
}

.insights-follow h2 {
  font-size:
    clamp(1.8rem, 3vw, 2.4rem);

  margin-bottom: 8px;
}

.insights-follow p {
  max-width: 680px;

  color:
    rgba(255, 255, 255, 0.72);

  line-height: 1.65;
}


/* =========================================================
   INSIGHTS TABLET
   ========================================================= */

@media (max-width: 980px) {

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

  .featured-insight-image {
    min-height: 300px;
  }

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

  .insights-follow-inner {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   INSIGHTS MOBILE
   ========================================================= */

@media (max-width: 620px) {

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

  .insights-hero-content {
    padding: 45px 0;
  }

  .insights-hero h1 {
    font-size: 2.6rem;
  }

  .featured-insight-content {
    padding: 25px;
  }

  .featured-insight-image {
    min-height: 230px;
  }

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

  .insight-card-image {
    height: 210px;
  }

  .insights-follow {
    padding: 40px 0;
  }

}
/* =========================================================
   SERVICES PAGES
   ========================================================= */


/* =========================================================
   SHARED HERO
   ========================================================= */

.service-page-hero {
  position: relative;
  min-height: 340px;

  display: flex;
  align-items: center;

  color: white;
}

.services-overview-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.95) 0%,
      rgba(10, 18, 26, 0.80) 40%,
      rgba(10, 18, 26, 0.38) 70%,
      rgba(10, 18, 26, 0.10) 100%
    ),
    url("../images/services-hero.webp");

  background-size: cover, 110% auto;
  background-repeat: no-repeat;
  background-position: center, 40% center;
}

.risk-governance-hero {
  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.95) 0%,
      rgba(10, 18, 26, 0.80) 40%,
      rgba(10, 18, 26, 0.38) 70%,
      rgba(10, 18, 26, 0.10) 100%
    ),
    url("../images/risk-governance-hero.webp");

  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  background-position: center, 30% center;
}

.assurance-hero {
  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.95) 0%,
      rgba(10, 18, 26, 0.80) 40%,
      rgba(10, 18, 26, 0.38) 70%,
      rgba(10, 18, 26, 0.10) 100%
    ),
    url("../images/it-assurance-hero.webp")
      65% center / cover no-repeat;
}

.business-advisory-hero {
  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 26, 0.95) 0%,
      rgba(10, 18, 26, 0.80) 40%,
      rgba(10, 18, 26, 0.38) 70%,
      rgba(10, 18, 26, 0.10) 100%
    ),
    url("../images/business-advisory-hero.webp")
      65% center / cover no-repeat;
}

.service-page-hero-content {
  max-width: 730px;

  padding: 50px 0;
}

.service-page-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4.2rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 20px;
}

.service-page-hero h1 span {
  color: var(--red);
}

.service-page-hero p {
  max-width: 650px;

  color:
    rgba(255, 255, 255, 0.86);

  font-size: 1.05rem;

  line-height: 1.65;
}


/* =========================================================
   SERVICE INTRO
   ========================================================= */

.service-page-intro {
  padding: 40px 0;

  background: white;
}

.service-page-intro-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 70px;

  align-items: start;
}

.service-page-intro h2 {
  font-size:
    clamp(2rem, 3vw, 2.7rem);

  line-height: 1.15;
}

.service-page-intro p {
  color: var(--gray);

  line-height: 1.7;

  margin-bottom: 16px;
}

.service-page-intro p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   SERVICES OVERVIEW CARDS
   ========================================================= */

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

.service-area-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.service-area-card {
  background: white;

  border:
    1px solid var(--border);

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.04);

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-area-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.07);
}

.service-area-image {
  height: 190px;

  overflow: hidden;
}

.service-area-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

.service-area-card:hover
.service-area-image img {
  transform: scale(1.035);
}

.service-area-content {
  padding: 25px;
}

.service-number {
  color: var(--red);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  margin-bottom: 7px;
}

.service-area-content h3 {
  font-size: 1.3rem;

  margin-bottom: 8px;
}

.service-area-content > p {
  color: var(--gray);

  font-size: 0.9rem;

  line-height: 1.6;

  margin-bottom: 15px;
}


/* =========================================================
   SERVICE LISTS
   ========================================================= */

.service-detail-list {
  margin-bottom: 20px;
}

.service-detail-list li {
  position: relative;

  padding:
    5px 0 5px 18px;

  color: var(--gray);

  font-size: 0.87rem;
}

.service-detail-list li::before {
  content: "›";

  position: absolute;

  left: 1px;

  color: var(--red);

  font-weight: 700;
}


/* =========================================================
   SERVICES OVERVIEW METHOD
   ========================================================= */

.service-method-section {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.service-method-section
.section-heading h2 {
  color: white;
}

.service-method-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.12);
}

.service-method-grid article {
  padding: 25px;

  background: var(--charcoal-dark);
}

.service-method-number {
  color: var(--red);

  font-size: 0.8rem;
  font-weight: 700;

  margin-bottom: 10px;
}

.service-method-grid h3 {
  margin-bottom: 8px;

  font-size: 1.08rem;
}

.service-method-grid p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* =========================================================
   CAPABILITY CARDS
   ========================================================= */

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

.capability-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.capability-card {
  padding: 25px;

  background: white;

  border:
    1px solid var(--border);

  box-shadow:
    0 5px 20px
    rgba(0, 0, 0, 0.04);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 14px 30px
    rgba(0, 0, 0, 0.07);
}

.capability-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  margin-bottom: 14px;

  border:
    2px solid var(--red);

  border-radius: 50%;

  color: var(--red);

  font-size: 1.2rem;
}

.capability-card h3 {
  font-size: 1.05rem;

  margin-bottom: 8px;
}

.capability-card p {
  color: var(--gray);

  font-size: 0.88rem;

  line-height: 1.6;
}


/* =========================================================
   FRAMEWORK SECTION
   ========================================================= */

.service-framework-section {
  padding: 40px 0;

  background: white;
}

.service-framework-grid {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 60px;

  align-items: center;
}

.service-framework-grid h2 {
  font-size:
    clamp(2rem, 3vw, 2.6rem);

  line-height: 1.15;
}

.framework-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;
}

.framework-tags span {
  padding:
    9px 14px;

  border:
    1px solid var(--border);

  border-left:
    3px solid var(--red);

  background: var(--light-gray);

  font-size: 0.85rem;

  color: var(--charcoal);
}


/* =========================================================
   ASSURANCE FOCUS
   ========================================================= */

.assurance-focus-section {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.assurance-focus-section
.section-heading h2 {
  color: white;
}

.assurance-focus-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.12);
}

.assurance-focus-grid div {
  padding: 18px;

  text-align: center;

  background: var(--charcoal-dark);

  font-size: 0.9rem;
}


/* =========================================================
   NON-ATTEST DISCLAIMER
   ========================================================= */

.service-disclaimer {
  padding: 20px 0;

  background: var(--light-gray);

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}

.service-disclaimer p {
  max-width: 920px;

  margin: 0 auto;

  color: var(--gray);

  text-align: center;

  font-size: 0.82rem;

  line-height: 1.6;
}


/* =========================================================
   BUSINESS ADVISORY APPROACH
   ========================================================= */

.business-approach-section {
  padding: 40px 0;

  color: white;

  background: var(--charcoal-dark);
}

.business-approach-section
.section-heading h2 {
  color: white;
}

.business-approach-grid {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 1px;

  background:
    rgba(255, 255, 255, 0.12);
}

.business-approach-grid article {
  padding: 22px;

  background: var(--charcoal-dark);
}

.business-approach-grid span {
  color: var(--red);

  font-size: 0.8rem;
  font-weight: 700;
}

.business-approach-grid h3 {
  margin:
    8px 0 7px;

  font-size: 1.05rem;
}

.business-approach-grid p {
  color:
    rgba(255, 255, 255, 0.68);

  font-size: 0.85rem;

  line-height: 1.55;
}


/* =========================================================
   SERVICES TABLET
   ========================================================= */

@media (max-width: 980px) {

  .service-page-intro-grid,
  .service-framework-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .service-area-grid,
  .capability-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .service-method-grid {
    grid-template-columns: 1fr;
  }

  .assurance-focus-grid,
  .business-approach-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* =========================================================
   SERVICES MOBILE
   ========================================================= */

@media (max-width: 620px) {

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

  .service-page-hero-content {
    padding: 45px 0;
  }

  .service-page-hero h1 {
    font-size: 2.55rem;
  }

  .service-page-intro {
    padding: 40px 0;
  }

  .service-area-grid,
  .capability-grid,
  .assurance-focus-grid,
  .business-approach-grid {
    grid-template-columns: 1fr;
  }

  .service-area-image {
    height: 210px;
  }

  .capability-card,
  .service-area-content,
  .service-method-grid article,
  .business-approach-grid article {
    padding: 23px;
  }

}
/* =========================================================
   LEGAL / UTILITY PAGES
   ========================================================= */


/* =========================================================
   LEGAL HERO
   ========================================================= */

.legal-hero {
  padding: 55px 0;

  color: white;

  background:
    linear-gradient(
      135deg,
      #111820 0%,
      #1f2832 65%,
      #2d3741 100%
    );
}

.legal-hero-content {
  max-width: 760px;
}

.legal-hero .page-eyebrow {
  color: var(--red);
  font-family: inherit;
}

.legal-hero h1 {
  font-size:
    clamp(2.7rem, 5vw, 4rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 18px;
}

.legal-hero h1 span {
  color: var(--red);
}

.legal-hero p {
  max-width: 650px;

  color:
    rgba(255, 255, 255, 0.82);

  font-size: 1.05rem;

  line-height: 1.65;
}

.legal-effective-date {
  margin-top: 18px;

  color:
    rgba(255, 255, 255, 0.58);

  font-size: 0.85rem;
}


/* =========================================================
   LEGAL CONTENT
   ========================================================= */

.legal-content {
  padding: 40px 0;

  background: var(--light-gray);
}

.legal-container {
  max-width: 900px;
}

.legal-card {
  margin-bottom: 20px;

  padding: 28px;

  background: white;

  border-left:
    4px solid var(--red);

  border-top:
    1px solid var(--border);

  border-right:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  box-shadow:
    0 5px 18px
    rgba(0, 0, 0, 0.035);
}

.legal-card:last-child {
  margin-bottom: 0;
}

.legal-card h2 {
  margin-bottom: 10px;

  color: var(--charcoal);

  font-size: 1.35rem;
}

.legal-card p {
  margin-bottom: 12px;

  color: var(--gray);

  line-height: 1.75;
}

.legal-card p:last-of-type {
  margin-bottom: 0;
}

.legal-card ul {
  margin:
    12px 0 0 22px;

  list-style: disc;

  color: var(--gray);
}

.legal-card li {
  margin-bottom: 8px;

  line-height: 1.6;
}

.legal-card .btn,
.legal-card .text-link {
  margin-top: 16px;
}


/* =========================================================
   404 PAGE
   ========================================================= */

.error-page {
  min-height: 620px;

  display: flex;
  align-items: center;

  color: white;

  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(227, 33, 39, 0.16),
      transparent 26%
    ),
    linear-gradient(
      135deg,
      #111820,
      #1f2832
    );
}

.error-page-content {
  max-width: 700px;

  padding: 60px 0;
}

.error-number {
  color:
    rgba(255, 255, 255, 0.08);

  font-size:
    clamp(7rem, 16vw, 13rem);

  font-weight: 800;

  line-height: 0.8;

  letter-spacing: -0.06em;

  margin-bottom: -10px;
}

.error-eyebrow {
  color: var(--red);

  font-size: 1rem;
  font-weight: 700;

  letter-spacing: 0.06em;
  text-transform: uppercase;

  margin-bottom: 10px;
}

.error-page h1 {
  font-size:
    clamp(2.5rem, 5vw, 4rem);

  line-height: 1.05;

  letter-spacing: -0.035em;

  margin-bottom: 18px;
}

.error-page h1 span {
  color: var(--red);
}

.error-page p {
  max-width: 600px;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 1rem;

  line-height: 1.65;

  margin-bottom: 26px;
}

.error-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;
}

.error-secondary-btn {
  color: white;

  border:
    1px solid rgba(255, 255, 255, 0.55);

  background: transparent;
}

.error-secondary-btn:hover {
  color: var(--charcoal);

  background: white;

  border-color: white;
}


/* =========================================================
   LEGAL / ERROR MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .legal-hero {
    padding: 45px 0;
  }

  .legal-hero h1 {
    font-size: 2.6rem;
  }

  .error-eyebrow {
    font-size: 0.9rem;
  }

  .legal-card {
    padding: 23px;
  }

  .error-page {
    min-height: 560px;
  }

  .error-page-content {
    padding: 45px 0;
  }

  .error-actions {
    display: grid;
  }

  .error-actions .btn {
    width: 100%;
  }

}

/* =========================================================
   STANDARD INTERIOR HERO LAYOUT — MOBILE
   ========================================================= */

@media (max-width: 620px) {

  .about-hero,
  .contact-hero,
  .industries-hero,
  .insights-hero,
  .service-page-hero {
    height: auto;
    min-height: 330px;
    align-items: flex-start;
  }

  .about-hero-content,
  .contact-hero-content,
  .industries-hero-content,
  .insights-hero-content,
  .service-page-hero-content {
    padding-top: 45px;
    padding-bottom: 45px;
  }

}


