:root {
  --red: #c91d22;
  --red-dark: #9f1016;
  --black: #050505;
  --charcoal: #1f292b;
  --cream: #f4efe7;
  --cream-2: #ebe4dc;
  --gray: #6e7374;
  --light-gray: #f3f4f4;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(201, 29, 34, 0.5);
  outline-offset: 4px;
}

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

.skip-link:focus {
  z-index: 999;
  width: auto;
  height: auto;
  top: 16px;
  left: 16px;
  clip: auto;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 0 24px;
}

.site-header--solid {
  position: sticky;
  background: var(--cream);
  padding: 22px 0;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 14px 5%;
  color: var(--white);
  background: var(--red);
  font-weight: 700;
}

.top-bar p {
  margin: 0;
  font-style: italic;
}

.top-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.top-bar__links span,
.top-bar__links a {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.navbar {
  width: min(100% - 40px, 1180px);
  min-height: 92px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: rgba(12, 18, 20, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-header--solid .navbar {
  margin-top: 0;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.86);
}

.brand img {
  width: 150px;
  max-height: 66px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  align-items: center;
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  color: inherit;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-links a.active {
  color: var(--red);
}

.nav-links a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

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

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

.button:not(.nav-cta):not(.contact-submit):hover {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 42px rgba(201, 29, 34, 0.28);
}

.nav-cta:hover,
.contact-submit:hover {
  color: var(--white);
  background: var(--red);
  box-shadow: none;
}

.button--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
}

.menu-toggle__line,
.menu-toggle__line::before,
.menu-toggle__line::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  content: "";
}

.menu-toggle__line::before {
  transform: translateY(-7px);
}

.menu-toggle__line::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  min-height: 830px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.18)),
    linear-gradient(135deg, #050505 0%, #050505 55%, #111 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero__video--active {
  opacity: 1;
}

.hero--home::after {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.hero__overlay::after {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
  align-items: end;
  padding-top: 190px;
}

.hero__text {
  max-width: 900px;
}

.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.hero h1,
.page-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 span,
.difference h2 span {
  display: block;
  color: var(--red);
  font-style: italic;
}

.hero__lead {
  max-width: 650px;
  margin: 30px 0 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.hero__cards {
  display: grid;
  gap: 18px;
}

.stat-card,
.veteran-card,
.stat-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(18, 25, 27, 0.62);
  backdrop-filter: blur(14px);
}

.stat-card strong,
.stat-panel strong {
  display: block;
  color: var(--white);
  font-size: 4.4rem;
  line-height: 0.9;
  font-weight: 500;
}

.stat-card span,
.stat-panel span {
  display: block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-card p,
.veteran-card p,
.stat-panel p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.veteran-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: rgba(201, 29, 34, 0.9);
}

.veteran-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
  font-size: 1.35rem;
}

.veteran-card strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
}

.section {
  padding: 96px 0;
}

.section--dark {
  color: var(--white);
  background: var(--black);
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5.1rem);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.split-heading p:last-child,
.section-heading p,
.difference p,
.service-section__copy p,
.page-hero p {
  color: var(--gray);
  font-size: 1.08rem;
}

.section--dark .split-heading p:last-child,
.section--dark .reason-grid p,
.section--dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 64px;
}

.image-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(201, 29, 34, 0.78), rgba(101, 9, 12, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

a.image-card:hover {
  color: var(--white);
  transform: translateY(-4px);
}
/*Remove hover over home page services cards here. Just comment out */
a.image-card:hover::before {
  opacity: 1;
}

.image-card > * {
  position: relative;
  z-index: 1;
}

.image-card--prosthetics {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("../assets/images/prosthetics-card.png");
}

.image-card--orthotics {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("../assets/images/orthotics-card.png");
}

.image-card--care {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("../assets/images/comprehensive-care-card.jpg");
}

.image-card span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.image-card h3 {
  font-size: 1.8rem;
}

.image-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.difference {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 72px;
  align-items: center;
}

.difference__copy p {
  max-width: 690px;
}

.feature-stack {
  display: grid;
  gap: 20px;
}

.feature-stack article,
.reason-grid article,
.team-card,
.map-card {
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.feature-stack article,
.reason-grid article {
  padding: 28px;
}

.reason-grid article {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.reason-grid article:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 22px 54px rgba(201, 29, 34, 0.18);
}

.feature-stack article {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-stack article:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 22px 54px rgba(201, 29, 34, 0.14);
}

.feature-stack p,
.reason-grid p,
.team-card p,
.map-card p {
  margin: 10px 0 0;
  color: var(--gray);
}

.map-embed {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

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

.section-heading {
  max-width: 860px;
  text-align: center;
}

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

.section-heading--left {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.section-heading--left .eyebrow {
  justify-content: flex-start;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.reason-grid--four {
  margin-top: 34px;
}

.cta-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--red);
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.cta-band .eyebrow,
.cta-band .button--primary {
  color: var(--white);
}

.cta-band .button--primary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: var(--black);
}

.cta-band h2 {
  max-width: 790px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.site-footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--black);
  background-size: 80px 80px;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer p {
  max-width: 320px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 56px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 22px;
}

.site-footer h2 {
  margin-bottom: 16px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  
}

.footer-bottom {
  margin-top: 24px;   /* reduce from ~60px */
  padding-top: 16px;  /* reduce from ~40px */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  
}

.page-hero {
  padding: 150px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 25%, rgba(201, 29, 34, 0.45), transparent 28%),
    linear-gradient(135deg, #161c1e, #050505);
}

.page-hero--about {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.13), transparent 26%),
    linear-gradient(135deg, #050505, #201012 58%, #050505);
}

.page-hero--contact {
  padding: 118px 0 62px;
  background:
    radial-gradient(circle at 74% 22%, rgba(201, 29, 34, 0.42), transparent 28%),
    linear-gradient(135deg, #231819, #050505);
}

.page-hero__inner p {
  max-width: 720px;
}

.services-detail {
  display: grid;
  gap: 72px;
}

.service-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: center;
}

.service-section--reverse {
  grid-template-columns: 1fr 0.9fr;
}

.service-section--reverse .service-section__media {
  order: 2;
}

.service-section__media {
  min-height: 470px;
  border-radius: var(--radius-lg);

  /* ADD THESE */
  background-size: cover;
  background-position: 60% center;
  background-repeat: no-repeat;
}

.service-section__media--prosthetics {
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    url("../assets/images/PLeg\ \(1\).jpeg");
}

.service-section__media--orthotics {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.7)),
    radial-gradient(ellipse at 52% 38%, rgba(243, 189, 176, 0.88), transparent 26%),
    #272727;
}

.service-section__media--pediatrics {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72)),
    radial-gradient(ellipse at 48% 34%, rgba(255, 255, 255, 0.78), transparent 23%),
    radial-gradient(circle at 72% 62%, rgba(201, 29, 34, 0.45), transparent 18%),
    #222;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.brand-box {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.brand-box h3 {
  color: var(--charcoal);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
}

.testimonials-section {
  overflow: hidden;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
}

.testimonial-window {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 220ms ease;
}

.testimonial-card {
  flex: 0 0 100%;
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 22px 54px rgba(201, 29, 34, 0.14);
}

.testimonial-stars {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.testimonial-card p {
  margin: 0;
  color: var(--gray);
  font-size: 1.08rem;
}

.testimonial-card h3 {
  margin-top: 24px;
  color: var(--charcoal);
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: 50%;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font-weight: 800;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.testimonial-arrow:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.certification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  gap: 24px;
  margin-top: 42px;
}

.certification-card {
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
}

.certification-card img {
  width: 100%;
  height: auto;
  max-width: 260px;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  margin-top: 34px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: var(--radius-md);
  background: var(--light-gray);
}

.faq-item h3 {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 0;
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-trigger:hover {
  color: var(--white);
  background: var(--red);
}

.faq-trigger[aria-expanded="true"] {
  color: var(--white);
  background: var(--red);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  content: "";
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  padding: 26px 28px 30px;
  background: var(--white);
}

.insurance-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.insurance-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
}

.insurance-list dt {
  color: var(--red);
  font-weight: 800;
}

.insurance-list dd {
  margin: 0;
  color: var(--gray);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.18em;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  content: "";
  font-size: 0.75rem;
}

.stat-panel {
  color: var(--white);
  background: var(--black);
}

.about-image-placeholder {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6)),
    url("../assets/images/rpflyer.jpg");
}

.team-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.team-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  padding: 24px;
}

.team-card__photo {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  background:  #fff;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Individual control */
.team-card__photo--rondell img {
  object-position: center 10%;
}

/* Individual control */
.team-card__photo--chris img {
  object-position: center 20%;
}

.team-card__photo--jaime img {
  object-position: center 30%;
}

.team-card__photo--sheena img {
  object-position: center 20%;
}

.contact-section {
  background: var(--cream-2);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.contact-form,
.contact-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

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

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 41, 43, 0.15);
  border-radius: 16px;
  padding: 18px 20px;
  color: var(--charcoal);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.contact-form .button {
  margin-top: 26px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--gray);
  font-size: 0.92rem;
}

.contact-panel h2 {
  font-size: 2rem;
}

.contact-link {
  display: block;
  margin: 10px 0;
  color: var(--red);
  font-weight: 800;
}

.office-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.map-card {
  overflow: hidden;
}

.map-card h3,
.map-card p {
  padding: 0 26px;
}

.map-card p {
  padding-bottom: 26px;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #2b3335, #0b0b0b);
  background-size: 34px 34px, 34px 34px, auto;
}

.map-placeholder span {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--red);
  font-weight: 800;
}

@media (max-width: 980px) {
  .top-bar {
    display: none;
  }

  .site-header {
    padding-top: 16px;
  }

  .navbar {
    grid-template-columns: auto auto;
    min-height: 80px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-header--solid .nav-links {
    border-top-color: rgba(31, 41, 43, 0.12);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 72px;
  }

  .hero__video {
    min-height: 100%;
  }

  .hero__content,
  .split-heading,
  .difference,
  .service-section,
  .service-section--reverse,
  .team-preview,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-top: 0;
  }

  .hero__cards {
    max-width: 520px;
  }

  .service-section--reverse .service-section__media {
    order: 0;
  }

  .service-preview-grid,
  .reason-grid,
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band__inner,
  .footer-grid {
    display: grid;
  }
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  max-width: 100%;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: white;
  font-size: 18px;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: #c91d22;
  transform: translateY(-2px);
}

.hidden {
  display: none;
}

.floating-phone {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000;
}

.floating-phone.is-hidden {
  display: none;
}

.floating-phone__call {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

.floating-phone__call i {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  position: static;
}

.floating-phone__close {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 41, 43, 0.12);
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.floating-phone__close:hover {
  color: var(--red);
}

@media (max-width: 680px) {
  .brand img {
    width: 126px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .section {
    padding: 70px 0;
  }

  .page-hero {
    padding: 130px 0 70px;
  }

  .page-hero--contact {
    padding: 104px 0 56px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .service-preview-grid,
  .reason-grid,
  .team-card-grid,
  .form-grid,
  .map-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .image-card,
  .service-section__media {
    min-height: 340px;
  }

  .testimonial-slider {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .testimonial-window {
    position: relative;
    transition: height 220ms ease;
  }

  .testimonial-track {
    display: block;
    transform: none !important;
    transition: none;
  }

  .testimonial-card {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    min-height: 0;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 180ms ease, visibility 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .testimonial-card.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .testimonial-card:hover {
    transform: none;
  }

  .testimonial-arrow {
    width: 42px;
    height: 42px;
  }

  .contact-form,
  .contact-panel {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    width: min(100% - 28px, var(--container));
  }

  .footer-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .footer-logo {
    max-width: 160px;
  }

  .site-footer a {
    width: fit-content;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .social-links {
    gap: 10px;
    max-width: 100%;
  }

  .social-links a {
    flex: 0 0 42px;
    max-width: 42px;
  }

  .floating-phone {
    right: 16px;
    bottom: 16px;
  }

  .floating-phone__call {
    width: 58px;
    height: 58px;
  }
}

.form-success {
  margin-top: 16px;
  color: green;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.form-success.show {
  display: block;
  opacity: 1;
}

.cta-band__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta-band__centered .eyebrow {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}
