/* ============================================================
   MSD CLEANING SERVICES - SERVICES & TESTIMONIALS SECTION STYLES
   ============================================================ */

:root {
  --gold: #c9933a;
  --gold-light: #f7d070;
  --gold-dark: #a87424;
  --navy: #002244;
  --navy-dark: #00172e;
  --navy-card: #002850;
  --text-dark: #002850;
  --text-gray: #475569;
  --cyan-glow: #0e8fad;
}

/* ============================================================
   1. HEADER SECTION (Navy with curved golden waves & 4 Pillars)
   ============================================================ */
.srv-header {
  background: radial-gradient(circle at 8% 20%, rgba(14,143,173,.35) 0%, transparent 45%),
              linear-gradient(135deg, #001f3f 0%, #002a52 45%, #003666 100%);
  position: relative;
  padding: 2.75rem 2.5rem 3.25rem;
  color: #fff;
  overflow: hidden;
}

/* Cyan ambient glows on corners */
.srv-header::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,143,173,.45) 0%, transparent 70%);
  pointer-events: none;
}
.srv-header::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,143,173,.35) 0%, transparent 70%);
  pointer-events: none;
}

.srv-header-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  position: relative;
  z-index: 2;
}

/* Top Row: Title on Left, TV on Right */
.srv-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
}

/* Left: Titles */
.srv-title-block {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.srv-main-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}
.srv-main-title .gold {
  color: #eab308;
  background: linear-gradient(135deg, #ffe285 0%, #eab308 50%, #c9933a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.srv-sub-title {
  font-size: clamp(.82rem, 1.3vw, 1.05rem);
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: .6rem;
}

.desktop-only {
  display: block;
}
@media (max-width: 960px) {
  .desktop-only {
    display: inline;
  }
}

/* Right: TV Column */
.srv-tv-col {
  flex: 1 1 48%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.srv-tv-col .msd-tv-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
.srv-tv-col .msd-tv-frame {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* Bottom Row: 4 Value Pillars Centered */
.srv-pillars-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.srv-pillars {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3.25rem;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.srv-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 110px;
  max-width: 190px;
}
.srv-pillar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
  background: rgba(201,147,58,.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,.3), 0 0 14px rgba(201,147,58,0.25);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.srv-pillar-item:hover .srv-pillar-circle {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--gold-light);
  box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 20px rgba(247,208,112,0.45);
}
.srv-pillar-circle svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold-light);
  fill: none;
}
.srv-pillar-title {
  font-size: .8rem;
  font-weight: 800;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.2;
}
.srv-pillar-desc {
  font-size: .7rem;
  color: rgba(255,255,255,.88);
  margin-top: .2rem;
  line-height: 1.25;
}

/* Curved Golden Wave dividing Header and Cards */
.srv-top-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: linear-gradient(90deg, #dca538 0%, #f7cf68 30%, #c9933a 50%, #f7cf68 70%, #dca538 100%);
  clip-path: ellipse(65% 100% at 50% 100%);
}

/* ============================================================
   2. MAIN SERVICES CARDS GRID (8 Cards in 2x4 Layout)
   ============================================================ */
.srv-grid-section {
  background: #ffffff;
  padding: 2.75rem 2rem 3.25rem;
  position: relative;
}
.srv-grid-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

/* Card Styling */
.srv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: visible;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 36, 68, 0.07);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 36, 68, 0.15);
  border-color: #cbd5e1;
}

/* Photo Box */
.srv-card-photo-wrap {
  position: relative;
  width: 100%;
  height: 155px;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  background: #f1f5f9;
}
.srv-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.srv-card:hover .srv-card-photo {
  transform: scale(1.05);
}

/* Circular Floating Badge (Overlapping photo bottom edge) */
.srv-card-badge {
  position: absolute;
  top: 127px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #002850;
  border: 3.5px solid var(--gold);
  box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 0 10px rgba(201,147,58,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.srv-card:hover .srv-card-badge {
  transform: translateX(-50%) scale(1.1);
  border-color: var(--gold-light);
  box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 0 16px rgba(247,208,112,.4);
}
.srv-card-badge svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-light);
}

/* Card Content Body */
.srv-card-body {
  padding: 2.25rem 1rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
}
.srv-card-title {
  font-size: .88rem;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.srv-card-desc {
  font-size: .78rem;
  color: var(--text-gray);
  line-height: 1.45;
  font-weight: 500;
}
.srv-card-desc strong {
  display: block;
  font-weight: 600;
  color: #334155;
}

/* Specialty specifics */
.srv-card.specialty .srv-card-desc {
  font-size: .72rem;
  line-height: 1.4;
}

/* ============================================================
   3. BOTTOM FOOTER RIBBON (Locations + Motto + Gold CTA)
   ============================================================ */
.srv-footer {
  position: relative;
  background: #ffffff;
}

/* Curved Golden Wave Banner on Bottom */
.srv-bottom-wave-wrap {
  position: relative;
  background: radial-gradient(circle at 92% 50%, rgba(14,143,173,.4) 0%, transparent 45%),
              linear-gradient(90deg, #001f3f 0%, #00284e 35%, #003666 70%, #001f3f 100%);
  padding: 1.25rem 2.5rem;
  color: #fff;
  border-top: 3px solid #dca538;
  box-shadow: 0 -6px 24px rgba(0,0,0,.15);
}

.srv-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Left: Location Pin + Cities */
.srv-loc-box {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.srv-loc-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.srv-loc-icon svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}
.srv-loc-text {
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Center: Motto */
.srv-motto-text {
  font-size: clamp(.75rem, 1.4vw, .86rem);
  font-weight: 800;
  color: #002444;
  background: #ffffff;
  padding: .5rem 1.4rem;
  border-radius: 9999px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  border: 1px solid rgba(201,147,58,.4);
}

/* Right: Gold 3D Pill CTA Button */
.srv-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(180deg, #fde48b 0%, #e6a838 50%, #b87c14 100%);
  color: #002040;
  font-size: .92rem;
  font-weight: 900;
  padding: .75rem 2rem;
  border-radius: 9999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(184, 124, 20, 0.5), inset 0 1px 1px rgba(255,255,255,.6);
  transition: all .25s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.srv-quote-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(184, 124, 20, 0.65), inset 0 1px 1px rgba(255,255,255,.8);
  background: linear-gradient(180deg, #fff0aa 0%, #f0b545 50%, #c4871c 100%);
  color: #002040;
}
.srv-quote-btn span {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .2s ease;
}
.srv-quote-btn:hover span {
  transform: translateX(3px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Desktop -> Tablet -> Mobile)
   ============================================================ */
@media (max-width: 1100px) {
  .srv-grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .srv-pillars {
    gap: 1rem;
  }
  .srv-pillar-item {
    min-width: 70px;
  }
  .srv-card-photo-wrap {
    height: 140px;
  }
  .srv-card-badge {
    top: 112px;
  }
}

@media (max-width: 960px) {
  .srv-header-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .srv-header-top {
    flex-direction: column;
    text-align: center;
    gap: 1.75rem;
  }
  .srv-title-block {
    align-items: center;
    text-align: center;
  }
  .srv-tv-col {
    justify-content: center;
  }
  .srv-tv-col .msd-tv-wrapper {
    justify-content: center;
  }
  .srv-tv-col .msd-tv-frame {
    margin: 0 auto;
    max-width: 440px;
  }
  .srv-pillars-row {
    padding-top: 1rem;
  }
  .srv-pillars {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .srv-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .srv-footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .srv-motto-text {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .srv-header {
    padding: 2rem 1rem 2.25rem;
    overflow-x: hidden;
  }
  .srv-header-container {
    width: 100%;
    max-width: 100%;
    gap: 1.75rem;
  }
  .srv-title-block {
    width: 100%;
    max-width: 100%;
  }
  .srv-main-title {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.12;
  }
  .srv-sub-title {
    font-size: .76rem;
    letter-spacing: .08em;
    margin-top: .45rem;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    padding: 0 .25rem;
  }
  .srv-tv-col {
    width: 100%;
    max-width: 100%;
  }
  .srv-tv-col .msd-tv-frame {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .srv-pillars-row {
    padding-top: 1rem;
    width: 100%;
  }
  .srv-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem .75rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .srv-pillar-item {
    min-width: 0;
    max-width: 100%;
    padding: 0 .25rem;
  }
  .srv-pillar-circle {
    width: 52px;
    height: 52px;
    margin-bottom: .45rem;
  }
  .srv-pillar-circle svg {
    width: 24px;
    height: 24px;
  }
  .srv-pillar-title {
    font-size: .74rem;
    letter-spacing: .03em;
    word-break: normal;
  }
  .srv-pillar-desc {
    font-size: .68rem;
  }
  .srv-grid-section {
    padding: 2rem 1rem 2.75rem;
    overflow-x: hidden;
  }
  .srv-grid-container {
    grid-template-columns: 1fr;
    gap: 1.65rem;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 .25rem;
  }
  .srv-card {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(0, 36, 68, 0.08);
  }
  .srv-card-photo-wrap {
    height: 190px;
    border-radius: 15px 15px 0 0;
  }
  .srv-card-badge {
    top: 160px;
    width: 56px;
    height: 56px;
  }
  .srv-card-badge svg {
    width: 25px;
    height: 25px;
  }
  .srv-card-body {
    padding: 2.35rem 1.25rem 1.45rem;
    text-align: center;
  }
  .srv-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .02em;
    margin-bottom: .4rem;
  }
  .srv-card-desc {
    font-size: .88rem;
    line-height: 1.45;
    color: #475569;
  }
  .srv-bottom-wave-wrap {
    padding: 1.5rem 1rem;
  }
  .srv-footer-container {
    width: 100%;
    max-width: 100%;
    gap: 1.25rem;
  }
  .srv-loc-box {
    justify-content: center;
  }
  .srv-motto-text {
    font-size: .78rem;
    line-height: 1.45;
    letter-spacing: .04em;
    white-space: normal;
    padding: 0 .5rem;
  }
  .srv-quote-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: .85rem 1.5rem;
    font-size: .92rem;
  }
}

/* ============================================================
   TESTIMONIALS SECTION - Real Client Experiences
   ============================================================ */
.srv-testimonials-section {
  background: #f8fafc;
  padding: 3.5rem 2rem 4rem;
  border-top: 1px solid #e2e8f0;
  position: relative;
}
.srv-testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
}
.srv-testimonials-header {
  text-align: center;
  margin-bottom: 2.75rem;
}
.srv-testimonials-tag {
  display: inline-block;
  background: rgba(201,147,58,0.12);
  border: 1px solid rgba(201,147,58,0.4);
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 800;
  padding: .35rem .9rem;
  border-radius: 9999px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.srv-testimonials-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #001f3f;
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: .6rem;
}
.srv-testimonials-title .gold {
  color: #c9933a;
  background: linear-gradient(135deg, #dca538 0%, #c9933a 50%, #9a6b1e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.srv-testimonials-sub {
  font-size: .95rem;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}
.srv-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #ffffff;
  padding: .45rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.srv-stars {
  color: #eab308;
  font-size: 1rem;
  letter-spacing: 2px;
}
.srv-rating-text {
  font-size: .82rem;
  color: #334155;
}
.srv-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}
.srv-t-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 36, 68, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.srv-t-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 36, 68, 0.12);
  border-color: #cbd5e1;
}
.srv-t-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.srv-t-stars {
  color: #eab308;
  font-size: .95rem;
  letter-spacing: 1px;
}
.srv-t-verified {
  font-size: .68rem;
  font-weight: 700;
  color: #0d9488;
  background: #ccfbf1;
  padding: .2rem .55rem;
  border-radius: 9999px;
  letter-spacing: .02em;
}
.srv-t-quote {
  font-size: .86rem;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.srv-t-quote::before {
  content: '\201C';
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 0;
  margin-right: .2rem;
  vertical-align: -0.2rem;
}
.srv-t-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid #f1f5f9;
  padding-top: .85rem;
}
.srv-t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002850 0%, #00172e 100%);
  color: #f7d070;
  border: 2px solid #c9933a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  flex-shrink: 0;
}
.srv-t-info {
  display: flex;
  flex-direction: column;
}
.srv-t-name {
  font-size: .84rem;
  font-weight: 800;
  color: #002850;
  line-height: 1.2;
}
.srv-t-role {
  font-size: .7rem;
  color: #64748b;
  margin-top: .15rem;
}
.srv-t-service-tag {
  font-size: .65rem;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: .15rem .45rem;
  border-radius: 4px;
  display: inline-block;
  margin-top: .35rem;
  align-self: flex-start;
}
.srv-testimonials-cta {
  display: flex;
  justify-content: center;
}
.srv-t-cta-box {
  background: linear-gradient(90deg, #001f3f 0%, #002e5c 100%);
  color: #ffffff;
  border: 1px solid rgba(201,147,58,.4);
  border-radius: 14px;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 31, 63, 0.15);
}
.srv-t-cta-text {
  display: flex;
  flex-direction: column;
}
.srv-t-cta-text strong {
  font-size: .95rem;
  color: #f7d070;
}
.srv-t-cta-text span {
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  margin-top: .2rem;
}
.btn-leave-review {
  background: linear-gradient(180deg, #fde48b 0%, #e6a838 50%, #b87c14 100%);
  color: #002040;
  font-size: .82rem;
  font-weight: 800;
  padding: .65rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(184, 124, 20, 0.4);
  transition: all .2s ease;
}
.btn-leave-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 124, 20, 0.6);
  background: linear-gradient(180deg, #fff0aa 0%, #f0b545 50%, #c4871c 100%);
  color: #002040;
}

@media (max-width: 1024px) {
  .srv-testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .srv-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .srv-t-cta-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
