/* =========================================================
   repair.css
========================================================= */

:root {
  --navy: #071426;
  --navy2: #102540;
  --navy3: #173a5f;
  --gold: #c6a56b;
  --gold2: #e4cc98;
  --white: #ffffff;
  --text: #111827;
  --muted: #5f6875;
  --line: #dfe4ea;
  --shadow: 0 18px 45px rgba(7,20,38,0.14);
}

/* HERO */

.repair-hero {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 520px;
  overflow: hidden;
  background: url("../img/hero-repair.png") center center / cover no-repeat;
}

.repair-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7,20,38,0.92) 0%,
      rgba(7,20,38,0.68) 46%,
      rgba(7,20,38,0.28) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7,20,38,0.08),
      rgba(7,20,38,0.72)
    );
}

.repair-hero-inner {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%) translateY(12px);
  z-index: 2;
  max-width: 880px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.repair-hero-inner.show {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
}

.repair-hero .hero-lead {
  color: var(--gold2);
  font-size: 0.88rem;
  letter-spacing: 0.24em;
  margin: 0 0 20px;
}

.repair-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.35;
  margin: 0 0 22px;
  letter-spacing: 0.05em;
  text-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

.repair-hero p {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.88);
  margin: 0 0 34px;
}

/* INTRO */

.repair-intro {
  position: relative;
  z-index: 5;
  margin-top: -70px;
  background: #fff;
  border-radius: 24px;
  padding: 72px 42px;
  box-shadow: var(--shadow);
}

.repair-intro p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 2.1;
  color: #334155;
}

/* SEO */

.seo-block {
  background: #fff;
  border-radius: 24px;
  padding: 70px 40px;
  box-shadow: var(--shadow);
}

.seo-inner {
  max-width: 940px;
  margin: 0 auto;
}

.seo-inner p {
  line-height: 2.1;
  color: #334155;
  margin: 0 0 24px;
}

.seo-box {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid rgba(198,165,107,0.28);
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  padding: 26px 28px;
  margin: 34px 0;
  box-shadow: 0 10px 28px rgba(7,20,38,0.06);
}

.seo-box h3 {
  margin: 0 0 16px;
  font-size: 1.28rem;
  color: var(--navy);
  line-height: 1.6;
}

.seo-box ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  gap: 40px;
}

.seo-box li {
  margin-bottom: 10px;
  color: #334155;
  line-height: 1.8;
}

.seo-keywords {
  margin-top: 40px !important;
  background:
    linear-gradient(
      135deg,
      rgba(7,20,38,0.96),
      rgba(23,58,95,0.96)
    );
  color: #fff !important;
  border-radius: 18px;
  padding: 26px 30px;
  text-align: center;
  font-weight: 700;
  line-height: 2;
  box-shadow: var(--shadow);
}

/* FEATURE */

.repair-feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 30px;
}

.repair-feature-item {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.repair-feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(7,20,38,0.18);
}

.repair-feature-item img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.repair-feature-item h3 {
  margin: 26px 26px 12px;
  font-size: 1.38rem;
  color: var(--navy);
}

.repair-feature-item p {
  margin: 0 26px 28px;
  color: var(--muted);
  line-height: 1.9;
}

/* FLOW */

.flow-section {
  background:
    linear-gradient(
      135deg,
      rgba(7,20,38,0.98),
      rgba(22,53,86,0.96)
    );
  border-radius: 24px;
  padding: 84px 34px;
  color: #fff;
  box-shadow: var(--shadow);
}

.flow-section .section-title {
  color: #fff;
}

.flow-section .section-kicker {
  color: var(--gold2);
}

.flow-wrap {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
  margin-top: 36px;
}

.flow-item {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.flow-item h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #fff;
}

.flow-item p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* GALLERY */

.repair-gallery-section {
  max-width: 1280px !important;
}

.repair-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin-top: 40px;
}

.repair-gallery-item {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198,165,107,0.16);
}

.gallery-title {
  font-size: 1.55rem;
  line-height: 1.5;
  color: var(--navy);
  margin: 0 0 10px;
  text-align: center;
}

.gallery-desc {
  text-align: center;
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 20px;
}

.gallery-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.gallery-meta span {
  background: #eef2f7;
  color: var(--navy);
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.pgx-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 18px;
  background: #f3f5f8;
}

.pgx-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pgx-main-img:hover {
  transform: scale(1.02);
}

.pgx-thumbs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.pgx-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pgx-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.pgx-thumb.active {
  outline: 3px solid var(--gold);
  opacity: 1;
}

.pgx-fade-out {
  opacity: 0;
}

/* CTA */

.repair-cta {
  background:
    linear-gradient(
      135deg,
      rgba(7,20,38,0.98),
      rgba(22,53,86,0.96)
    );
  border-radius: 26px;
  padding: 90px 34px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.repair-cta .section-kicker {
  color: var(--gold2);
}

.repair-cta h2 {
  font-size: clamp(1.9rem,3vw,2.7rem);
  line-height: 1.6;
  margin: 0 0 18px;
}

.repair-cta p {
  max-width: 780px;
  margin: 0 auto 34px;
  color: rgba(255,255,255,0.82);
  line-height: 2;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

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

}

@media (max-width: 900px) {

  .repair-hero {
    height: 62vh;
    min-height: 460px;
  }

  .repair-hero-inner {
    left: 24px;
    right: 24px;
  }

  .repair-intro {
    margin-top: -40px;
  }

  .repair-feature-grid {
    grid-template-columns: 1fr;
  }

  .seo-box ul {
    columns: 1;
  }

}

@media (max-width: 768px) {

  .flow-wrap {
    grid-template-columns: 1fr;
  }

  .flow-item {
    padding: 24px 18px;
  }

  .repair-gallery-item {
    padding: 18px;
  }

}

@media (max-width: 560px) {

  .repair-hero {
    height: 74vh;
    min-height: 500px;
  }

  .repair-hero h1 {
    font-size: 2rem;
  }

  .repair-intro,
  .seo-block,
  .flow-section,
  .repair-cta {
    padding: 56px 22px;
    border-radius: 18px;
  }

  .gallery-title {
    font-size: 1.3rem;
  }

  .pgx-thumbs {
    gap: 8px;
  }

}
/* =========================================================
   REPAIR FEATURE / NO IMAGE
========================================================= */

.repair-feature-grid.no-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.repair-feature-grid.no-image .repair-feature-item {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198,165,107,0.18);
  overflow: hidden;
}

.repair-feature-grid.no-image .repair-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--navy3));
}

.repair-feature-grid.no-image .feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.repair-feature-grid.no-image .repair-feature-item h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.32rem;
  line-height: 1.6;
}

.repair-feature-grid.no-image .repair-feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

/* =========================================================
   REPAIR MESSAGE
========================================================= */

.repair-message {
  background: #fff;
  border-radius: 24px;
  padding: 72px 42px;
  box-shadow: var(--shadow);
  text-align: center;
}

.repair-message p {
  max-width: 840px;
  margin: 0 auto;
  color: #334155;
  line-height: 2.1;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .repair-feature-grid.no-image {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {

  .repair-message {
    padding: 56px 22px;
    border-radius: 18px;
  }

  .repair-feature-grid.no-image .repair-feature-item {
    padding: 30px 24px;
  }

}