body {
  background: #f5f6f8;
}

.main-nav a.is-active {
  color: var(--light-gold);
}

.topbar-contact i,
.topbar-cta i {
  margin-right: 6px;
}

.about-page {
  background: #f5f6f8;
}

.about-hero {
  position: relative;
  min-height: 175px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: #3d0505;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(52, 0, 0, 0.72), rgba(52, 0, 0, 0.52)),
    url("img/contact-banner.webp") center 46% / cover no-repeat;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.02);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.15vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.46);
}

.about-intro {
  padding: 92px 0 96px;
  background: #f4f5f7;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.98fr);
  gap: 58px;
  align-items: center;
}

.about-copy {
  min-width: 0;
}

.about-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  color: #282d36;
  font-size: 15px;
  font-weight: 700;
}

.about-kicker span {
  width: 42px;
  height: 3px;
  display: inline-block;
  background: #7a0b0b;
}

.about-kicker.light span {
  background: var(--white);
}

.about-copy h2,
.about-process-title h2,
.about-section-center h2 {
  margin: 0 0 22px;
  color: #2b3039;
  font-size: clamp(28px, 2.5vw, 40px);
  line-height: 1.18;
  font-weight: 800;
}

.about-copy p {
  margin: 0 0 22px;
  color: #1f2430;
  font-size: 16px;
  line-height: 1.62;
  text-align: justify;
}

.about-check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #606774;
  font-size: 15px;
  font-weight: 500;
}

.about-check-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.about-check-list i {
  color: #1268c3;
  margin-top: 3px;
}

.about-image-frame {
  padding: 12px;
  border: 9px solid #787878;
  background: #d9d9d9;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.about-image-frame img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  object-position: center;
}

.about-why {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  min-height: 520px;
  background: #2c0000;
}

.about-why-copy {
  padding: 74px max(40px, calc((100vw - 1240px) / 2 + 4px)) 68px max(40px, calc((100vw - 1240px) / 2 + 4px));
  color: var(--white);
}

.about-why-copy h2 {
  max-width: 650px;
  margin: 0 0 58px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.25;
  font-weight: 800;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 46px 54px;
}

.about-feature-grid article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
}

.about-feature-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 32px;
}

.about-feature-grid h3 {
  grid-column: 2;
  margin: 0 0 10px;
  color: var(--white);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.about-feature-grid p {
  grid-column: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.72;
}

.about-why-image {
  min-height: 520px;
}

.about-why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-process {
  padding: 96px 0 90px;
  background: #f5f6f8;
}

.about-process-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}

.about-process-title h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-weight: 500;
}

.about-title-mark {
  position: relative;
  display: block;
  width: 68px;
  height: 4px;
  margin: 0 0 10px;
  background: #7a0b0b;
}

.about-title-mark::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7a0b0b;
  box-shadow: 9px 0 0 #7a0b0b;
  transform: translateY(-50%);
}

.about-process-title p {
  margin: 0;
  color: #676b74;
  font-size: 15px;
}

.about-tabs {
  min-width: 0;
}

.about-tab-buttons {
  display: inline-flex;
  border: 1px solid #e7e7e7;
  background: var(--white);
}

.about-tab-buttons button {
  min-width: 170px;
  min-height: 66px;
  border: 0;
  border-right: 1px solid #e7e7e7;
  background: var(--white);
  color: #650707;
  font-size: 15px;
  font-weight: 800;
}

.about-tab-buttons button:last-child {
  border-right: 0;
}

.about-tab-buttons button.is-active {
  color: #1b1f29;
  box-shadow: inset 0 -4px 0 #1c78db;
}

.about-tab-panel {
  display: none;
  padding: 24px 26px;
  background: var(--white);
  color: #626872;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.07);
}

.about-tab-panel.is-active {
  display: block;
  animation: aboutFade 0.26s ease both;
}

.about-tab-panel p {
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.58;
}

.about-tab-panel p:last-child {
  margin-bottom: 0;
}

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

.process-steps article {
  padding: 26px 18px 24px;
  border: 1px solid #eadfcf;
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.process-steps article:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.11);
}

.process-steps span {
  display: block;
  margin-bottom: 12px;
  color: #b51d1d;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.process-steps h3 {
  margin: 0 0 8px;
  color: #260909;
  font-size: 17px;
}

.process-steps p {
  margin: 0;
  color: #666b74;
  font-size: 13px;
  line-height: 1.55;
}

.about-testimonials {
  padding: 76px 0 64px;
  background: var(--white);
}

.about-section-center {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.about-section-center h2 {
  margin-bottom: 10px;
  color: #13192a;
  font-size: clamp(30px, 3.2vw, 44px);
}

.about-section-center p {
  margin: 0 0 24px;
  color: #303540;
  font-size: 16px;
}

.center-mark {
  margin-inline: auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

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

.testimonial-card > i {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto -20px;
  color: #dce9f9;
  font-size: 46px;
}

.testimonial-card p {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 30px;
  padding: 58px 30px 48px;
  background: var(--white);
  color: #1f2430;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
  box-shadow: 0 17px 30px rgba(0, 0, 0, 0.16);
}

.stars {
  margin-bottom: 86px;
  color: #ffc20a;
  font-size: 17px;
  letter-spacing: 5px;
}

.testimonial-card h3 {
  margin: 0;
  color: #090909;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.about-cta {
  padding: 48px 0 54px;
  background: #2c0000;
  color: var(--white);
  text-align: center;
}

.about-cta h2 {
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  font-weight: 800;
}

.about-cta h2 span {
  color: #ffd300;
}

.about-cta p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.about-book-btn {
  min-width: 154px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #ee1010;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.about-book-btn:hover,
.about-book-btn:focus-visible {
  background: #c98509;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes aboutFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .about-intro-grid,
  .about-process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .about-why-copy {
    padding: 64px 32px;
  }

  .about-why-image {
    min-height: 420px;
  }

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

  .testimonial-grid {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .about-hero {
    min-height: 210px;
  }

  .about-intro,
  .about-process,
  .about-testimonials {
    padding: 56px 0;
  }

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

  .about-feature-grid {
    gap: 30px;
  }

  .about-image-frame img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .testimonial-card p {
    min-height: auto;
  }

  .stars {
    margin-bottom: 30px;
  }
}

@media (max-width: 640px) {
  .about-hero h1 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .about-copy p {
    text-align: left;
  }

  .about-image-frame {
    padding: 8px;
    border-width: 6px;
  }

  .about-why-copy {
    padding: 48px 20px;
  }

  .about-feature-grid article {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .about-feature-grid h3,
  .about-feature-grid p {
    grid-column: 2;
  }

  .about-tab-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-tab-buttons button {
    width: 100%;
    min-width: 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .testimonial-card p {
    padding: 52px 20px 36px;
  }

  .about-cta h2 br,
  .about-cta p br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .about-tab-panel.is-active,
  .process-steps article,
  .about-book-btn {
    transition: none;
    animation: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
