/* PIONEER BUSINESS SOLUTIONS LLC */

:root {
  --navy: #0c2331;
  --navy-deep: #071c28;
  --gold: #d9c394;
  --gold-dark: #937847;
  --ink: #18313e;
  --muted: #69767b;
  --line: #dce2e2;
  --soft: #f1f4f3;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

/* BASE */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

[hidden] {
  display: none !important;
}

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

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

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

button,
summary {
  cursor: pointer;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
}

h2 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: clamp(36px, 3.6vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

em {
  color: var(--gold-dark);
  font-weight: 400;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 5px;
}

.container {
  width: min(100% - 56px, 1224px);
  margin-inline: auto;
}

.section {
  padding-block: 100px;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: white;
  color: var(--ink);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

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

.button span {
  font-size: 21px;
  line-height: 1;
}

.button-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.button-gold:hover {
  background: #ead9b6;
}

.button-dark {
  background: var(--navy);
  color: white;
}

.button-dark:hover {
  background: #173c50;
}

.text-link,
.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.underlined-link {
  margin-top: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid #ae986e;
}

.text-link span,
.underlined-link span {
  font-size: 20px;
}

.text-link:hover,
.underlined-link:hover {
  color: var(--gold-dark);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.brand-symbol {
  padding-right: 17px;
  border-right: 1px solid #c0c9cc;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
}

.brand-name {
  display: grid;
  gap: 4px;
}

.brand-name strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.025em;
}

.brand-name small {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}

.main-navigation > a:not(.button) {
  padding-block: 12px;
}

.main-navigation > a:not(.button):hover {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* FULL-WIDTH HERO */

.hero-slider {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: white;
}

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 510px;
  padding-block: 80px 155px;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(7, 28, 40, 0.94) 0%,
      rgba(7, 28, 40, 0.74) 44%,
      rgba(7, 28, 40, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 28, 40, 0.85),
      transparent 45%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--gold);
}

.hero-content .eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero-content h1,
.hero-title {
  max-width: 990px;
  margin-bottom: 27px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.3vw, 78px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  
}

.hero-content em {
  color: #e3cfa8;
}

.hero-description {
  max-width: 540px;
  margin-bottom: 0;
  color: #dae2e6;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 35px;
}

.hero-actions .text-link {
  color: white;
}

.hero-actions .text-link:hover {
  color: var(--gold);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-signature {
  margin: 0;
  color: #d2dee4;
  font-size: 13px;
  line-height: 1.6;
}

.hero-signature strong {
  color: white;
  font-weight: 400;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slide-counter {
  margin-right: 20px;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
}

.slide-total {
  color: #acbcc6;
  font-family: var(--sans);
  font-size: 14px;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 20px;
  transition: background-color 0.2s ease;
}

.slider-controls button:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* CERTIFICATION STRIP */

.credentials-section {
  background: white;
}

.credentials-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  align-items: center;
  gap: 36px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.credentials-intro .eyebrow {
  margin-bottom: 12px;
}

.credentials-intro h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 23px;
  min-width: 0;
  padding-left: 38px;
  border-left: 1px solid var(--line);
}

.credential-item img {
  flex-shrink: 0;
  width: 77px;
  height: 100px;
  object-fit: contain;
}

.credential-item h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.credential-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-copy {
  padding-top: 25px;
  color: var(--muted);
}

.about-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.4;
}

.about-copy .underlined-link {
  color: var(--ink);
}

/* SERVICES */

.services-section {
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.section-heading > p {
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-width: 0;
  padding: 30px 26px;
  border-top: 2px solid transparent;
  background: white;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:nth-child(n + 4) {
  grid-column: span 3;
}

.service-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold-dark);
  box-shadow: 0 18px 35px rgba(12, 35, 49, 0.06);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.service-icon {
  color: var(--gold-dark);
  font-size: 32px;
  line-height: 1;
}

.service-number {
  color: #859299;
  font-family: var(--serif);
  font-size: 14px;
}

.service-card h3 {
  min-height: 66px;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.service-card > p {
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 16px;
}

.service-card details {
  margin-top: auto;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.service-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.service-card summary span {
  color: var(--gold-dark);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.service-card ul {
  margin: 15px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.service-card li {
  margin-bottom: 7px;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.service-link span {
  font-size: 21px;
}

.service-link:hover {
  color: var(--gold-dark);
}

summary::-webkit-details-marker {
  display: none;
}

details[open] > summary > span {
  transform: rotate(45deg);
}

/* INDUSTRIES */

.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 70px;
}

.industry-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}

.industry-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.industry-list > span > span {
  color: var(--gold-dark);
  font-size: 20px;
}

/* SERVICES GUIDE */

.resources-section {
  padding-block: 85px;
  background: var(--navy);
  color: white;
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 85px;
}

.resources-copy .eyebrow {
  color: var(--gold);
}

.resources-copy h2 em {
  color: #e3cfa8;
}

.resources-copy > p:not(.eyebrow) {
  max-width: 430px;
  color: #bacbd5;
}

.resources-copy .button {
  margin-top: 20px;
}

.resource-note {
  display: block;
  margin-top: 13px;
  color: #a8bbc6;
  font-size: 12px;
}

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 45px;
  border-left: 5px solid #bea472;
  background: #f8faf9;
  color: var(--ink);
}

.guide-format {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 5px 9px;
  border: 1px solid #c7cfcf;
  color: var(--muted);
  font-size: 12px;
}

.guide-company {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.guide-card h3 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.08;
}

.guide-card p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Full-width Google reviews section */
#reviews {
  padding: 56px 0;
  background: #fff;
}

#reviews .reviews-heading {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

#reviews .reviews-heading .eyebrow {
  margin-bottom: 12px;
}

#reviews .reviews-heading h2 {
  margin: 0 0 16px;
  color: #081d2a;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}

#reviews .reviews-heading h2 em {
  color: #987b43;
}

#reviews .reviews-heading > p:last-child {
  margin: 0;
  color: #64717a;
  font-size: 16px;
  line-height: 1.6;
}

#reviews .reviews-widget {
  width: 100%;
  min-width: 0;
}

@media (max-width: 600px) {
  #reviews {
    padding: 36px 0;
  }

  #reviews .reviews-heading {
    margin-bottom: 22px;
  }

  #reviews .reviews-heading h2 em {
    display: block;
  }
}

/* FAQ */

.faq-section {
  padding-top: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 23px;
  list-style: none;
  font-size: 16px;
}

.faq-list summary span {
  flex-shrink: 0;
  color: var(--gold-dark);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-list details p {
  padding-right: 30px;
  color: var(--muted);
}

/* CONTACT */

.contact-section {
  background: #edf2f2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 90px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 400px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 35px;
  font-size: 16px;
  font-style: normal;
}

.contact-details > div {
  display: grid;
  gap: 4px;
}

.contact-label {
  color: var(--muted);
  font-size: 13px;
}

.contact-details a {
  overflow-wrap: anywhere;
}

.contact-details a:hover {
  color: var(--gold-dark);
}

.quote-form {
  min-width: 0;
  padding: 36px;
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.quote-form label {
  display: grid;
  font-size: 14px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-width: 0;
  margin: 0 0 24px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #bfcacd;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.quote-form textarea {
  resize: vertical;
  min-height: 110px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-bottom-color: var(--gold-dark);
  box-shadow: 0 1px 0 var(--gold-dark);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #899499;
  opacity: 1;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  margin: 15px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.form-status:empty {
  display: none;
}

/* FOOTER */

.site-footer {
  background: var(--navy);
  color: #dce6eb;
}

.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;

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

  padding-block: 25px;
  gap: 24px;
}

.newsletter-section .eyebrow {
  color: var(--gold);

  margin-bottom: 8px;
}

.newsletter-section h2 {
  margin: 0;

  font-size: 28px;
}

.newsletter-section h2 em {
  color: #e3cfa8;
}

.newsletter-form {
  min-width: 0;
}

.newsletter-form label {
  display: block;
  color: #bacad4;
  font-size: 14px;
}

.newsletter-input {
  display: flex;
  align-items: center;
  margin-top: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.newsletter-input:focus-within {
  border-bottom-color: var(--gold);
}

.newsletter-input input {
  width: 100%;
  min-width: 0;
  padding: 15px 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: white;
  font-size: 17px;
}

.newsletter-input input::placeholder {
  color: #9caeb9;
  opacity: 1;
}

.newsletter-input button {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 27px;
}

.newsletter-input button:hover {
  color: white;
}

.newsletter-form small {
  display: block;
  margin-top: 10px;
  color: #9fb1bc;
  font-size: 12px;
}

#newsletter-status {
  margin: 12px 0 0;
  color: #dce6eb;
  font-size: 14px;
}

#newsletter-status:empty {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) repeat(2, minmax(0, 1.1fr));

  padding-block: 25px;
  gap: 22px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand .brand-symbol {
  color: var(--gold);
}

.footer-brand > p {
  color: #a9bcc8;
  font-size: 14px;

  margin-top: 12px;
  margin-bottom: 0;
}

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

  min-width: 0;
  color: #a9bcc8;
  font-size: 14px;

  gap: 5px;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 14px;
  font-weight: 600;

  margin-bottom: 5px;
}

.footer-column p {
  margin: 0;
}

.footer-column a {
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #9fb1bc;
  font-size: 12px;

  padding-block: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  margin: 0;
  width: 44px;
  height: 44px;
  border: 1px solid #987b43;
  border-radius: 50%;
  color: #d5b16b;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.footer-socials a:hover {
  background: #d5b16b;
  color: #081d2a;
}

.footer-socials a:focus-visible {
  outline: 2px solid #d5b16b;
  outline-offset: 4px;
}

.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.footer-socials svg[fill="none"] {
  fill: none;
}
/* ANIMATION */

@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active .hero-content {
    animation: hero-reveal 0.7s ease both;
  }

  @keyframes hero-reveal {
    from {
      opacity: 0;
      transform: translateY(16px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* TABLETS AND SMALL LAPTOPS */

@media (max-width: 1100px) {
  .main-navigation {
    gap: 16px;
  }

  .main-navigation .button {
    padding-inline: 16px;
  }

  .about-grid,

  .faq-grid,
  .contact-grid {
    gap: 45px;
  }

  .credential-item {
    gap: 15px;
    padding-left: 22px;
  }

  .credential-item img {
    width: 65px;
    height: 90px;
  }

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

  .service-card,
  .service-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .service-card h3 {
    min-height: 0;
  }

  .industries-grid,
  .resources-grid {
    gap: 45px;
  }

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

/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 850px) {
  html {
    scroll-padding-top: 90px;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-symbol {
    font-size: 46px;
  }

  .brand-name strong {
    font-size: 23px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 20px 28px 26px;
    border-top: 1px solid var(--line);
    background: white;
    box-shadow: 0 18px 25px rgba(12, 35, 49, 0.1);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation > a:not(.button) {
    padding: 11px 0;
  }

  .main-navigation .button {
    margin-top: 10px;
  }

  .credentials-inner {
    gap: 23px;
  }

  .credential-item {
    gap: 12px;
    padding-left: 15px;
  }

  .credential-item h3 {
    font-size: 14px;
  }

  .credential-item p {
    font-size: 13px;
  }

  .credential-item img {
    width: 52px;
    height: 77px;
  }

  .industry-list {
    grid-template-columns: 1fr;
  }
}

/* PHONES */

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding-block: 70px;
  }

  h2 {
    font-size: clamp(35px, 7.5vw, 45px);
  }

  .hero-slide {
    min-height: 690px;
    padding-block: 65px 150px;
  }

  .hero-background {
    object-position: 65% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(7, 28, 40, 0.91),
        rgba(7, 28, 40, 0.62)
      ),
      linear-gradient(
        0deg,
        rgba(7, 28, 40, 0.85),
        transparent 50%
      );
  }

  .hero-content h1,
  .hero-title {
    font-size: clamp(40px, 8.6vw, 59px);
  }

  .hero-description {
    max-width: 490px;
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
    margin-top: 28px;
  }

  .hero-signature {
    display: none;
  }

  .hero-bottom {
    justify-content: flex-end;
  }

  .credentials-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-block: 27px;
  }

  .credentials-intro {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line);
  }

  .credentials-intro .eyebrow {
    max-width: 155px;
    margin-bottom: 0;
  }

  .credentials-intro h2 {
    font-size: 25px;
  }

  .credential-item {
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .about-grid,
  .industries-grid,
  .resources-grid,

  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-copy .lead {
    font-size: 26px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p br {
    display: none;
  }

  .service-card {
    padding: 27px 22px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .industry-list {
    grid-template-columns: 1fr 1fr;
  }

  .resources-section {
    padding-block: 65px;
  }

  .guide-card {
    min-height: 320px;
    padding: 35px;
  }

  .faq-section {
    padding-top: 0;
  }

  .quote-form {
    padding: 27px;
  }

  .newsletter-section {
    grid-template-columns: 1fr;
  }

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

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

/* SMALL PHONES */

@media (max-width: 450px) {
  .brand {
    gap: 12px;
  }

  .brand-symbol {
    padding-right: 12px;
    font-size: 43px;
  }

  .brand-name strong {
    font-size: 22px;
  }

  .brand-name small {
    font-size: 9px;
  }

  .hero-content .eyebrow {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero-content .eyebrow::before {
    width: 25px;
  }

  .button {
    gap: 15px;
    padding: 15px 18px;
  }

  .slider-controls {
    gap: 8px;
  }

  .slide-counter {
    margin-right: 12px;
  }

  .credentials-inner {
    gap: 22px 12px;
  }

  .credentials-intro h2 {
    font-size: 23px;
  }

  .credentials-intro .eyebrow {
    max-width: 125px;
    font-size: 11px;
  }

  .credential-item {
    align-items: flex-start;
    gap: 9px;
  }

  .credential-item img {
    width: 40px;
    height: 65px;
  }

  .credential-item h3 {
    font-size: 13px;
  }

  .credential-item p {
    font-size: 12px;
  }

  .services-grid,
  .industry-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    padding: 28px;
  }

  .form-row {
    gap: 0;
  }

  .quote-form {
    padding: 23px;
  }

  .quote-form .button {
    width: 100%;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

/* ACCESSIBILITY */

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

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

/* Fit the complete slider below the desktop header */
@media (min-width: 851px) {
  .hero-slide {
    min-height: calc(100svh - 97px);
    padding-block: 35px 115px;
  }

  .hero-content h1,
  .hero-title {
    font-size: clamp(36px, 4.5vw, 64px);
    margin-bottom: 18px;
  }

  .hero-content .eyebrow {
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-bottom {
    bottom: 18px;
    padding-top: 16px;
  }
}

/* Six services: three columns, two on tablets, one on phones */
.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid > .service-card,
.services-grid > .service-card:nth-child(n + 4),
.services-grid > .service-card:last-child {
  grid-column: auto;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* Service detail pages; shared homepage layout remains unchanged. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.service-detail-link{display:inline-block;text-decoration:underline;text-underline-offset:4px;font-size:14px;margin:-4px 0 20px}
.service-page .service-intro{background:var(--navy-deep);color:white;padding:40px 0 64px}
.service-page .breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;margin-bottom:36px}
.service-page .breadcrumbs a{text-decoration:underline;text-underline-offset:4px}
.service-page .eyebrow{font-size:14px}
.service-page .service-intro .eyebrow{color:var(--gold)}
.service-page h1{font-family:var(--serif);font-size:clamp(36px,5vw,64px);line-height:1.1;max-width:950px;margin-bottom:24px}
.service-page .intro-copy{font-size:20px;max-width:740px;color:#dce2e2}
.service-page .detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:64px;align-items:start}
.service-page .detail-copy h2{font-size:clamp(28px,3vw,38px);margin:36px 0 18px}
.service-page .detail-copy h2:first-child{margin-top:0}
.service-page .detail-copy p{max-width: 70ch;}
.service-page .detail-panel{background:var(--soft);border-top:3px solid var(--gold-dark);padding:30px}
.service-page .detail-panel h2{font-size:28px}
.service-page .detail-panel ul{padding-left:22px}
.service-page .detail-panel li{margin-bottom:12px}
.service-page .detail-panel a:not(.button){text-decoration:underline;text-underline-offset:4px}
.service-page .detail-panel .button{width:100%;margin-top:15px}
.service-page .detail-question{border-top:1px solid var(--line);padding-top:24px;margin-top:32px}
.service-page .detail-question summary{font-weight:600;cursor:pointer}
.service-page .detail-question p{margin-top:16px}
.service-page .related-service{margin-top:28px}
.service-page .related-service a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:850px){.service-page .detail-layout{grid-template-columns:1fr;gap:30px}.service-page .service-intro{padding:28px 0 44px}}
