/* Add your custom styles here */

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f8f8f8;
  color: #121212;
}

a {
  color: #da0000;
  text-decoration: none;
}

.section {
  background-color: #ffffff;
}
.section.alt {
  background-color: #f5f5f5;
}

/* =========================
   Header - over hero card
========================= */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
  min-height: 60px;
  padding: 0;
  pointer-events: none;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: var(--header-pad-y) var(--header-pad-x) 0;
  gap: var(--header-gap);
  pointer-events: auto;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(120%) blur(var(--header-blur));
  backdrop-filter: saturate(120%) blur(var(--header-blur));
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
  align-self: center;
}

.header-right {
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.site-header.is-sticky .header-inner,
.site-header[data-sticky="true"] .header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header.is-sticky .header-left,
.site-header[data-sticky="true"] .header-left {
  justify-self: start;
}

.site-header.is-sticky .header-center,
.site-header[data-sticky="true"] .header-center {
  position: static;
  transform: none;
  justify-self: center;
  align-self: center;
  width: auto;
}

.site-header.is-sticky .header-right,
.site-header[data-sticky="true"] .header-right {
  justify-self: end;
}

.header-brand-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-brand-text {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.logo-circle,
.header-brand-fallback {
  width: var(--header-logo-size);
  height: var(--header-logo-size);
  border-radius: 50%;
}

.logo-circle {
  object-fit: cover;
  display: block;
}

.header-desktop-nav {
  display: block;
  margin-top: 0;
}

.desktop-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--header-menu-gap);
}

.desktop-nav-menu li {
  margin: 0;
  padding: 0;
}

.desktop-nav-menu a {
  color: var(--header-menu-color);
  text-decoration: none;
  font-size: var(--header-menu-size);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.desktop-nav-menu a:hover {
  color: var(--header-menu-hover);
}

.header-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--header-contact-border);
  border-radius: 999px;
  color: var(--header-contact-text);
  text-decoration: none;
  font-size: var(--header-contact-size);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--header-contact-bg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.header-contact-btn:hover {
  border-color: var(--header-contact-hover-border);
  color: var(--header-contact-hover-text);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--header-toggle-color);
  font-size: var(--header-toggle-size);
  line-height: 1;
  padding: 0;
}

.main-nav {
  display: none;
}

@media (max-width: 991px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: calc(var(--header-pad-y) - 2px) var(--header-pad-x) 0;
    gap: 14px;
  }

  .header-center {
    display: none;
  }

  .header-contact-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(16,16,16,0.94);
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.24);
    width: min(86vw, 260px);
    z-index: 4000;
  }

  .main-nav.active {
    display: block;
  }

  .mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav-menu a {
    display: block;
    text-decoration: none;
    color: var(--header-menu-color);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 0;
  }

  .mobile-nav-menu a:hover {
    color: var(--header-menu-hover);
  }
}

/*footer*/

.site-footer{
  background: var(--ft-bg,#0b0b0b);
  color: var(--ft-text,#cdd6d4);
  padding: 48px 0 18px;
  font-family: inherit;
}
.site-footer a{ color: var(--ft-link,#cdd6d4); text-decoration: none; }
.site-footer a:hover{ color: var(--ft-link-h,#fff); }

.footer-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Social icons row like screenshot */
.footer-social{
  display: flex;
  align-items: center;
  padding-left: 30px;
  gap: 28px;
  margin-bottom: 18px;
}
.footer-social a{
  font-size: 40px;
  line-height: 1;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-social a:hover{ opacity: 1; transform: translateY(-1px); }

/* Links column */
.footer-links .footer-menu{
  list-style: none;
  padding-left: 0;
  padding-bottom: 30px;
  margin: 0;
  display: grid;
  gap: 16px;
}
.footer-links .footer-menu li{ margin: 0; }
.footer-links .footer-menu a{
  font-size: 22px;
  letter-spacing: .5px;
}

/* Bottom strip */
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 16px;
  padding: 28px;
}
.footer-bottom .credit a{ opacity:.9; }
.footer-bottom .credit a:hover{ opacity:1; }

/* Responsive */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }
  .footer-social{ justify-content: flex-start; }
  .footer-links .footer-menu{padding-left: 25px}
}

/* =========================
   Hero
========================= */

.has-hero-wrap {
  padding: 0;
  margin: 0;
}

.has-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 760px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  background: #0d0f12;
  isolation: isolate;
}

.has-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

video.has-hero__media {
  object-fit: cover;
}

.has-hero__image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.has-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(14, 17, 20, 0.18) 0%,
      rgba(14, 17, 20, 0.22) 18%,
      rgba(14, 17, 20, 0.30) 42%,
      rgba(12, 15, 18, 0.44) 68%,
      rgba(10, 12, 15, 0.58) 100%
    );
}

.has-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
}

/* CENTER CONTENT */
.has-hero__center {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: min(100% - 80px, 700px);
  text-align: center;
  z-index: 4;
}

.has-hero__eyebrow {
  margin: 0 0 8px;
  line-height: 1.2;
  text-align: center;
}

.has-hero__title {
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  max-width: 100%;
}

.has-hero__actions {
  margin-top: 26px;
  text-align: center;
}

.has-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.has-hero__button:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.has-hero__button-arrow {
  font-size: 18px;
  line-height: 1;
}

/* BOTTOM TEXT */
.has-hero__bottom {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  z-index: 4;
}

.has-hero__bottom-item p {
  margin: 0;
  line-height: 1.45;
  font-weight: 400;
  max-width: 360px;
}

/* Large tablet */
@media (max-width: 1200px) {
  .has-hero__center {
    width: min(100%, 760px);
    top: 60%;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .has-hero {
    min-height: 760px;
  }

  .has-hero__center {
    width: calc(100% - 36px);
    top: 54%;
  }

  .has-hero__bottom {
    left: 18px;
    right: 18px;
    bottom: 22px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .has-hero__bottom-item p {
    visibility: hidden;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .has-hero {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    border-radius: 0px 0px 20px 20px;
  }

  .has-hero__center {
    width: calc(100% - 32px);
    top: 50%;
  }

  .has-hero__eyebrow {
    margin-bottom: 14px;
  }

  .has-hero__title {
    line-height: 0.95 !important;
  }

  .has-hero__actions {
    margin-top: 18px;
  }

  .has-hero__button {
    min-height: 46px;
    margin-top: 50px;
    padding: 0 20px;
  }

  .has-hero__bottom {
    left: 16px;
    right: 16px;
    bottom: 18px;
    gap: 12px;
  }

  .has-hero__bottom-item p {
    visibility: hidden;
  }
}

/* ===============================
   OUR SERVICES SECTION
   =============================== */

/* =============== Layout shell (consistent gutters) =============== */
.section-container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* =============== Why Us Card =============== */
.why-us-section {
  background-color: var(--why-bg, #fff);
  color: var(--why-text, #333);
  margin: 0 auto 30px;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 8vw, 280px);
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}
.why-us-heading {
  color: var(--why-text, #333);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 32px);
}
.why-us-text {
  color: var(--why-text, #333);
  margin: 0 auto;
  max-width: 120ch;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .services-intro .all-services-button,
  .service-card,
  .service-link { transition: none; }
}

/* =============== Our Services =============== */
.our-services-section {
  padding: clamp(48px, 6vw, 80px) 0;
  margin: 20px;
  background-color: var(--srv-bg, #f9f9f9);
}

.our-services-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  align-items: flex-start;
  justify-content: center;
}

/* Intro */
.services-intro {
  flex: 1 1 320px;
  max-width: 420px;
}
.services-intro h5 {
  color: var(--btn, #da0000);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 10px;
  font-size: .85rem;
}
.services-intro h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 12px;
  color: #222;
  line-height: 1.2;
}
.services-intro p {
  font-size: clamp(15px, 2.2vw, 16px);
  color: #444;
  margin: 0 0 22px;
  line-height: 1.65;
}

/* Button */
.services-intro .all-services-button {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid var(--btn, #da0000);
  color: var(--btn-text, var(--btn, #da0000));
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.services-intro .all-services-button:hover {
  background-color: var(--btn-hover, #b80000);
  border-color: var(--btn-hover, #b80000);
  color: var(--btn-text-hover, #fff);
  transform: translateY(-1px);
}
.services-intro .all-services-button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--btn, #da0000), #fff 30%);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Cards grid */
.services-cards {
  flex: 3 1 640px;
  display: grid;
  gap: clamp(16px, 3vw, 30px);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 24px);
  text-align: left;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); }
.service-card:focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, var(--btn, #da0000), #fff 70%); }

/* Icon pill auto-scales with card */
.service-icon {
  --pill: 56px;
  width: var(--pill);
  height: var(--pill);
  background-color: var(--icon-bg, var(--btn, #da0000));
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  margin: 0 0 14px;
}
.service-icon img {
  width: clamp(22px, 5vw, 28px);
  height: clamp(22px, 5vw, 28px);
  object-fit: contain;
  filter: invert(1);
}

/* Card copy */
.service-card h3 {
  font-size: clamp(18px, 2.4vw, 20px);
  font-weight: 700;
  margin: 0 0 8px;
}
.service-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.55;
}

/* Link */
.service-link {
  margin-top: 10px;
  display: inline-block;
  font-weight: 700;
  color: var(--btn, #da0000);
  text-decoration: none;
  transition: color .2s ease, text-decoration-color .2s ease;
  text-decoration-color: transparent;
}
.service-link:hover { color: var(--btn-hover, #b80000); text-decoration-color: currentColor; }
.service-link:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--btn, #da0000), #fff 30%);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Mobile spacing */
@media (max-width: 768px) {
  .our-services-section { padding: 40px 0; }
  .services-intro { max-width: 100%; }
}

/* =============== Certifications =============== */
.certifications-section { padding: clamp(40px, 6vw, 60px) 0; text-align: center; }
.certifications-heading { font-size: clamp(22px, 3vw, 28px); margin-bottom: 22px; color: var(--cert-heading, #111); }
.cert-swiper { overflow: hidden; width: 100%; }
.cert-slide { display: grid; place-items: center; gap: 8px; }
.cert-slide img {
  max-width: clamp(90px, 10vw, 120px);
  height: auto;
  opacity: .85;
  filter: grayscale(50%);
  transition: filter .25s ease, opacity .25s ease, transform .2s ease;
}
.cert-slide img:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.cert-title { font-size: 13px; margin-top: 6px; color: #70757a; }

/* Arrows */
.cert-prev, .cert-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.9); box-shadow: 0 4px 10px rgba(0,0,0,.1);
  color: var(--cert-arrow, #111);
  transition: background-color .2s ease, transform .2s ease;
}
.cert-prev:hover, .cert-next:hover { transform: translateY(-50%) scale(1.05); }
.cert-prev { left: 10px; } .cert-next { right: 10px; }
.cert-prev:focus-visible, .cert-next:focus-visible { outline: 2px solid color-mix(in oklab, var(--btn,#da0000), #fff 40%); }

.cta-banner {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-banner h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-btn {
  background-color: var(--cta-button, #da0000);
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--cta-button-hover, #b80000);
}

/* Review section */
.reviews-section {
  padding-bottom: 80px;
  text-align: center;
}

.reviews-heading {
  font-size: 36px;
}

/* Swiper container */
.reviews-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px 56px;
}

.reviews-swiper {
  overflow: hidden;
  width: 100%;
}

.reviews-swiper .swiper-wrapper {
  display: flex;
}

.reviews-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
  min-width: 0;
}

.reviews-swiper .swiper-slide-duplicate {
  visibility: hidden;
}

/* Cards */
.review-card {
  background: #fff;
  padding: 30px;
  width: 100%;
  max-width: 340px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
}
.stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 10px;
}
.review-text {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 15px;
  flex-grow: 1;
}
.review-author {
  font-weight: 700;
}

/* Custom nav buttons (outside the slides) */
.reviews-prev,
.reviews-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviews-prev {
  left: 8px;
}
.reviews-next {
  right: 8px;
}

/* Chevrons (pure CSS) */
.reviews-prev .chev,
.reviews-next .chev {
  width: 12px;
  height: 12px;
  border-top: 3px solid #1e73ff;
  border-right: 3px solid #1e73ff;
}
.reviews-prev .chev {
  transform: rotate(225deg);
}
.reviews-next .chev {
  transform: rotate(45deg);
}

.reviews-prev:hover,
.reviews-next:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.reviews-swiper .swiper-pagination {
  bottom: -6px;
}
.reviews-swiper .swiper-pagination-bullet {
  background: #666;
  opacity: 0.4;
}
.reviews-swiper .swiper-pagination-bullet-active {
  background: #1e73ff;
  opacity: 1;
}

@media (max-width: 1024px) {
  .reviews-slider {
    padding: 0 40px 48px;
  }
  .reviews-prev {
    left: 6px;
  }
  .reviews-next {
    right: 6px;
  }
}
@media (max-width: 768px) {
  .reviews-slider {
    padding: 0 28px 44px;
  }
  .reviews-prev,
  .reviews-next {
    width: 38px;
    height: 38px;
  }
}

/* About/Contact Section */
.location-contact {
  width: 100%;
  background: var(--loc-bg, #fff);
  color: var(--loc-text, #111);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.location-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 575px;
  gap: 0;
}

.location-image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 575px;
}

.location-image::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--loc-overlay, transparent);
}

.location-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px);
  gap: clamp(10px, 2.5vw, 18px);
}

.location-details h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  margin: 0 0 6px 0;
}

.location-description {
  font-size: clamp(.98rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  margin: 0 0 14px 0;
  color: var(--loc-muted, #444);
}

.info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.info-columns p {
  margin: 0;
  font-size: clamp(.95rem, 1.4vw, 1rem);
}

.location-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.location-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}
.location-buttons .btn.primary {
  background: var(--btn-bg, #111);
  color: var(--btn-text, #fff);
  border-color: var(--btn-bg, #111);
}
.location-buttons .btn.outline {
  background: transparent;
  color: var(--btn-outline-text, #111);
  border-color: var(--btn-outline, #111);
}
.location-buttons .btn:hover {
  transform: translateY(-1px);
}
.location-buttons .btn.primary:hover {
  background: var(--btn-bg-hover, #000);
  border-color: var(--btn-bg-hover, #000);
}
.location-buttons .btn.outline:hover {
  background: var(--btn-outline-hover, #111);
  color: var(--btn-outline-hover-text, #fff);
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .location-container {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }
  .location-image {
    min-height: 460px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .location-container {
    grid-template-columns: 1fr;
  }
  .location-image {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }
  .info-columns {
    grid-template-columns: 1fr;
  }
  .location-buttons {
    gap: 10px;
  }
  .location-buttons .btn {
    width: 100%;
  }
}

/* ===== Small phones ===== */
@media (max-width: 420px) {
  .location-details {
    padding: 22px;
  }
}



/*404 Page not found */
.not-found {
  text-align: center;
  padding: 80px 20px;
}

.not-found h1 {
  font-size: 3rem;
  color: #da0000;
  margin-bottom: 20px;
}

.not-found p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 30px;
}



/* ============================
   About Page
   ============================ */

/* Shared container */
.about-container{
  max-width: var(--about-max-width, var(--about-maxw));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 60px);
}

/* ============================
   ABOUT HERO
   ============================ */

.about-hero {
  border-bottom: 1px solid #eee;
  padding: 100px 0; /* breathing space top/bottom */
}

.about-hero .about-container {
  display: grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 48px;
  align-items: center;
  max-width: var(--about-max-width, 1200px);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== MOBILE: HIDE IMAGE ===== */
@media (max-width: 640px) {
  .about-hero__media {
    display: none !important;
  }

  /* make sure text stays centered and spaced well */
  .about-hero .about-container {
    gap: 32px;
  }
}

/* ===== DESKTOP ===== */
@media (min-width: 900px) {
  .about-hero .about-container {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }
}

/* Layout ordering */
.about-hero__content { order: 1; }
.about-hero__media   { order: 2; }

.about-hero--image-left .about-hero__content { order: 2; }
.about-hero--image-left .about-hero__media   { order: 1; }

.about-hero--image-right .about-hero__content { order: 1; }
.about-hero--image-right .about-hero__media   { order: 2; }

/* No image layout */
.about-hero--no-image .about-container {
  grid-template-columns: 1fr !important;
}

/* Text styling */
.about-eyebrow {
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .08em;
  color: #6b7280;
  margin-bottom: 8px;
}

.about-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.about-hero__intro {
  font-size: 1.15rem;
  color: #4b5563;
  max-width: 55ch;
}

/* Image */
.about-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

/* ============================
   ABOUT — MISSION BLOCKS
   ============================ */
.about-mission{
  padding-top: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(20px, 4vw, 56px);
  background: #fff;
}

.about-mission .about-container{
  max-width: var(--about-max-width, 1200px);
}

.about-mission__row{
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.15fr);
  gap: clamp(22px, 4.5vw, 64px);
  align-items: center;
  margin-bottom: clamp(24px, 5vw, 72px);
}

.about-mission__media img{
  width: 100%;
  height: auto;
  max-height: clamp(220px, 32vw, 380px);
  display: block;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  object-fit: cover;
}

.about-mission__content h3{
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 700;
}

.about-mission__content p{
  margin: 0;
  color: #475569;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 65ch;
}

/* ============================
   REVEAL ANIMATION
   ============================ */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger within each row (media first, text second) */
.about-mission__row .about-mission__media.reveal{ transition-delay: .05s; }
.about-mission__row .about-mission__content.reveal{ transition-delay: .18s; }

/* Mobile stacking */
@media (max-width: 899px){
  .about-mission__row{
    grid-template-columns: 1fr;
  }
  .about-mission__row .about-mission__media{ order: 1; }
  .about-mission__row .about-mission__content{ order: 2; }
}

/* ============================
   TEAM SECTION
   ============================ */
.about-team__header{
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.about-team__header h2{
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0;
}

.about-team__intro{
  color: #374151;
  max-width: 65ch;
}

.about-team__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

/* Default: 1 column mobile */
.about-card{
  grid-column: span 12;
}

.about-card__inner{
  display: block;
  background: transparent;
  border: 0; 
  border-radius: 16px;
  padding: 18px; 
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-shadow: none;
  transition: 
    background-color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.about-card__media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card__inner:hover{
  background: #ffffff;            /* bright white hover card */
  transform: translateY(-6px);    /* lift */
  box-shadow: 0 12px 30px rgba(0,0,0,0.12); /* soft, premium shadow */
  border-radius: 16px;            /* restores card shape on hover */
}

/* Shapes */
.about-card.shape-circle .about-card__media{
  border-radius: 999px;
  aspect-ratio: 1 / 1;
}

.about-card.shape-square .about-card__media{
  border-radius: 6px;
}

.about-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card__placeholder{
  font-weight: 700;
  opacity: .25;
}

.about-card__meta{
  padding: 14px 0 0;
}

.about-card__name{
  font-size: 1.05rem;
  margin: 0 0 .25rem;
}

.about-card__role {
  margin: 0 0 .25rem;
  color: var(--about-role);
  font-size: .95rem;
}

.about-card__loc{
  margin: 0;
  color: #9ca3af;
  font-size: .9rem;
}

/* ============================
   RESPONSIVE BREAKPOINTS
   ============================ */

/* Smallest screens */
@media (max-width: 399px){
  .about-container{ padding: 18px; }
  .about-card__inner{ padding: 14px; }
  .about-hero__title{ font-size: clamp(1.8rem, 7vw, 2.2rem); }
}

/* Stack hero + 1-column cards */
@media (max-width: 640px){
  .about-hero .about-container{ grid-template-columns: 1fr; }
  .about-hero__media{ order: -1; } /* show image first */
  .about-team__grid{ gap: 16px; }
  .about-card{ grid-column: span 12; }
}

/* Medium screens → 2-column cards */
@media (min-width: 641px) and (max-width: 899px){
  .about-hero .about-container{ grid-template-columns: 1fr 1fr; }
  .about-card{ grid-column: span 6; }
}

/* Desktop → 3 columns */
@media (min-width: 900px){
  .about-card{ grid-column: span 4; }
}

/* Wide desktop */
@media (min-width: 1280px){
  .about-container{ padding-left: 64px; padding-right: 64px; }
}

@media (prefers-reduced-motion: reduce){
  .about-card__inner{ transition: none; }
}

/* Dark mode: keep default transparent, hover goes white */
@media (prefers-color-scheme: dark){
  .about-card__inner{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  .about-card__inner:hover{
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) !important;
    transform: translateY(-6px);
    border-radius: 16px;
  }
}

/* ============================
   Single Member Page (IDEO-style)
   ============================ */

:root{
  --ide-maxw: 1200px;
  --ide-pad-x: 32px;
  --ide-text: #111111;
  --ide-muted: #4b5563;
  --ide-faint: #9ca3af;
  --ide-rule: #e5e7eb;
  --ide-photo-radius: 14px;
}

/* ---------- HERO BAND ---------- */
.ide-hero{
  position: relative;
  padding: clamp(56px, 7vw, 120px) 0 clamp(48px, 6vw, 96px);
  border-bottom: 1px solid var(--ide-rule);
  background: #f8f8f8;
}
.ide-hero__grid{
  max-width: var(--ide-maxw);
  margin: 0 auto;
  padding: 0 var(--ide-pad-x);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;  /* text left, image right */
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

/* Hero copy */
.ide-hero__copy{
  max-width: 60ch;
}
.ide-display{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ide-text);
}
.ide-kicker{
  margin: 0 0 14px;
  color: var(--ide-muted);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
}
.ide-lead{
  margin: 0;
  color: var(--ide-text);
  opacity: .94;
  line-height: 1.75;
}

/* Hero portrait (top-right) */
.ide-hero__image{
  justify-self: end;
  align-self: start;
}
.ide-hero__image img{
  width: clamp(420px, 44vw, 640px);
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--ide-photo-radius);
  background: #fff;
  box-shadow: 0 22px 55px rgba(0,0,0,.12);
  transform: translateZ(0);
}

/* ---------- BODY BAND ---------- */
.ide-body{
  padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 160px);
  background: #ffffff;
}

.ide-body__grid{
  max-width: var(--ide-maxw);
  margin: 0 auto;
  padding: 0 var(--ide-pad-x);
  display: grid;
  grid-template-columns: minmax(220px, .9fr) 1.35fr;  /* sidebar + content */
  gap: clamp(48px, 6vw, 96px);
  align-items: flex-start;
}

/* Sidebar facts */
.ide-side{
  color: var(--ide-text);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 38px; /* nicer vertical rhythm */
}

.ide-side__block{
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f1f3;
}

.ide-side__label{
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #b4bbc7;
  margin: 0 0 4px;
}

.ide-side__value{
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ide-text);
  margin-bottom: 4px;
}

.ide-side__text{
  margin: 0;
  color: var(--ide-muted);
  line-height: 1.65;
  font-size: .98rem;
}

.ide-side__social{
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.ide-side__social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ide-rule);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ide-text);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ide-side__social a:hover{
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

/* Main column */
.ide-main{
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 60px);
}

/* Pull quote */
.ide-quote{
  position: relative;
  margin: 0;
  padding-left: clamp(18px, 1.4vw, 26px);
  border-left: 3px solid var(--ide-text);
}

.ide-quote p{
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.75;
  color: #1a1a1a;
  max-width: 38ch;
}

.ide-quote cite{
  display: block;
  margin-top: 10px;
  font-size: .9rem;
  color: #7c8694;
}

/* Content typography */
.ide-content{
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.ide-content p{
  color: #2b2f36;
  font-size: 1.05rem;
  line-height: 1.78;
  margin: 0 0 1.05rem;
  max-width: 62ch;
}

/* Team Member profile: hide any inline images in the bio area */
.page-template-page-team-member .ide-content img {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px){
  .ide-hero__image img{
    width: clamp(360px, 46vw, 520px);
  }
}

@media (max-width: 1040px){
  .ide-hero__grid{
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: flex-start;
  }
  .ide-hero__image{
    justify-self: center;
  }
  .ide-hero__image img{
    width: min(560px, 86vw);
  }

  .ide-body__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px){
  .ide-hero{
    padding: clamp(38px, 6vw, 60px) 0 clamp(26px, 5vw, 38px);
  }
  .ide-display{
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

/*Blank Page*/

.blank-page-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.blank-page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.blank-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.blank-page-hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.blank-page-hero-content p {
  font-size: 20px;
}

.blank-page-content {
  max-width: 900px;
  margin: 60px auto;
  font-size: 18px;
  line-height: 1.7;
}

/*Services Page */

/* ===============================
   SERVICES PAGE
   =============================== */

.services-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.services-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.60) 100%
  );
}

.services-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
}

.services-hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7d7d7;
}

.services-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: #fff;
}

.services-hero p {
  margin: 0 auto 28px;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.services-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #da0000;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.services-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  opacity: 0.96;
}

/* ===============================
   TABS SECTION
   =============================== */

.services-tabs-section {
  position: relative;
  padding: 80px 20px 100px;
  background:
    radial-gradient(circle at top left, rgba(218,0,0,0.04), transparent 28%),
    linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
}

.services-tabs-intro {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.services-tabs-intro__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #da0000;
}

.services-tabs-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: #111;
}

.services-tabs-intro p {
  margin: 0;
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.services-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.services-tab-btn {
  appearance: none;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: #fff;
  color: #222;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.services-tab-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 0, 0, 0.22);
}

.services-tab-btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

/* ===============================
   PANEL
   =============================== */

.service-panel {
  display: none;
}

.service-panel.is-active {
  display: block;
}

.service-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.06),
    0 3px 10px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
}

.service-panel__content {
  max-width: 620px;
}

.service-panel__label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.service-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
  color: #111;
}

.service-panel__description {
  margin: 0 0 24px;
  color: #5b5b5b;
  font-size: 1rem;
  line-height: 1.8;
}

.service-panel__description p {
  margin: 0 0 1.1em;
}

.service-panel__description p:last-child {
  margin-bottom: 0;
}

.service-panel__description br {
  display: block;
  content: "";
  margin: 0.35em 0;
}

.service-panel__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.service-panel__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #333;
  line-height: 1.65;
}

.service-panel__step-dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 0.5em;
}

.service-panel__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.service-panel__price span {
  color: #777;
  font-size: 0.95rem;
}

.service-panel__price strong {
  font-size: 1.4rem;
  line-height: 1;
}

.service-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.service-panel__btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-panel__media {
  position: relative;
}

.service-panel__media img,
.service-panel__placeholder {
  width: 100%;
  min-height: 420px;
  border-radius: 22px;
  display: block;
}

.service-panel__media img {
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.service-panel__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ececec 0%, #d8d8d8 100%);
  color: #555;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 991px) {
  .services-hero {
    min-height: 62vh;
    padding: 110px 20px 80px;
  }

  .service-panel__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }

  .service-panel__media {
    order: -1;
  }

  .service-panel__media img,
  .service-panel__placeholder {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .services-tabs-section {
    padding: 64px 16px 80px;
  }

  .services-tabs-nav {
    gap: 10px;
  }

  .services-tab-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    padding: 16px 18px;
  }

  .service-panel__grid {
    padding: 20px;
    border-radius: 20px;
  }

  .service-panel__btn {
    width: 100%;
  }

  .service-panel__media img,
  .service-panel__placeholder {
    min-height: 240px;
    border-radius: 18px;
  }
}