/* ================================================================
   PERSONNEL-OUTSOURCING.CSS
   Page-specific styles for personnel-outsourcing.html
   Inherits all variables and base styles from Phillips-web.css
   ================================================================ */

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--white);
  min-width: 14rem;
  box-shadow: 0 14px 40px rgba(11, 43, 92, 0.1);
  /* border: 1px solid var(--border); */
  border-radius: 0px 0px 6px 6px;
  padding-top: 8px;
  display: none;
  z-index: 200;
  margin-top: 24px;
  margin-right: 4px;
}

.nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-links .nav-dropdown-content a {
  display: block;
  padding: 12px 24px;
}

.nav-links .nav-dropdown-content a:hover {
  background: rgba(47, 81, 136, 0.04);
  color: #e45555;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blue);
  padding: 4px;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
    z-index: 300;
    box-shadow: var(--shadow);
  }
}

/* ABOUT PAGE */
.personnel-outsourcing-about-hero {
  position: relative;
  background: var(--blue);
  padding: var(--hero-pad);
  color: #fff;
  text-align: center;
  overflow: hidden;
  min-height: 55vh;
}

/* IMAGE LAYER */
.personnel-outsourcing-about-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../Images/outsourcing%201.jpg");
  background-size: cover;
  background-position: center 35%;

  opacity: 0.15; /* 👈 controls image visibility */
  z-index: 0;
}

/* OPTIONAL: add a soft gradient overlay */
.personnel-outsourcing-about-hero::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.01),
    rgba(0,0,0,0.05)
  );

  z-index: 1;
}

/* ensure content stays above layers */
.personnel-outsourcing-about-hero-inner {
  position: relative;
  z-index: 2;
}
.personnel-outsourcing-about-hero-h1 {
  padding-top: 60px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
}
.personnel-outsourcing-about-hero-h1 em {
  color: var(--gold); /* 👈 bring emphasis back */
  font-style: italic;
}
.personnel-outsourcing-about-hero-p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75); /* 👈 better contrast */
  max-width: 680px;
  margin: 20px auto 0;
}

/* ════════════════════════════════════════════
   SERVICE LAYOUT — main + sidebar two-column
   ════════════════════════════════════════════ */
.service-layout {
  background: var(--white);
  padding: var(--section-y) 0 var(--section-y-lg);
}

.service-layout-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: flex-start;
}

/* ── MAIN CONTENT SECTIONS ── */
.service-main > section {
  margin-bottom: var(--section-y);
}

.service-main > section:last-child {
  margin-bottom: 0;
}

.service-main > section .eyebrow {
  margin-bottom: 16px;
}

.service-main > section .svc-h2 {
  margin-bottom: 28px;
}

.svc-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--blue);
  margin-top: 14px;
  margin-bottom: 22px;
}

.svc-h2 em {
  font-style: italic;
  color: var(--gold);
}

.svc-lead {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.svc-overview-body {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 14px;
}

.svc-overview-body p { margin: 0 0 14px; }
.svc-overview-body p:last-child { margin-bottom: 0; }
.svc-overview-body h2,
.svc-overview-body h3 {
  font-family: var(--serif);
  color: var(--blue);
  font-weight: 600;
  margin: 1.25em 0 0.5em;
}
.svc-overview-body ul,
.svc-overview-body ol {
  margin: 0 0 14px;
  padding-left: 1.35em;
}
.svc-overview-body strong { color: var(--blue); font-weight: 600; }
.svc-overview-body a { color: var(--gold); text-decoration: none; }
.svc-overview-body a:hover { text-decoration: underline; }

.svc-overview-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 10px;
}

.svc-overview-body figure {
  margin: 1.5rem 0;
  clear: both;
}

.svc-overview-body figure img {
  margin: 0 auto;
}

.svc-overview-body figure.img-small,
.svc-overview-body img.img-small {
  max-width: 55%;
  margin-left: auto;
  margin-right: auto;
}

.svc-overview-body figure.align-left,
.svc-overview-body img.align-left {
  float: left;
  max-width: 45%;
  margin: 0 1.25rem 1rem 0;
}

.svc-overview-body figure.align-right,
.svc-overview-body img.align-right {
  float: right;
  max-width: 45%;
  margin: 0 0 1rem 1.25rem;
}

.svc-overview-body figure.align-center,
.svc-overview-body img.align-center {
  margin-left: auto;
  margin-right: auto;
}

.svc-overview-body figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.svc-overview-body::after {
  content: "";
  display: table;
  clear: both;
}

/* ── POLAC LEARNING CATALOGUE ACCORDION ── */
.polac-catalogue {
  margin-top: 28px;
}

.polac-catalogue > h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  color: var(--blue);
  margin: 0 0 10px;
}

.polac-catalogue > p {
  margin: 0 0 18px;
}

.polac-accordion {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  margin: 0 0 28px;
}

.polac-acc-item {
  border-bottom: 1px solid var(--border);
}

.polac-acc-item:last-child {
  border-bottom: none;
}

.polac-acc-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.2s, color 0.2s;
}

.polac-acc-header:hover {
  background: var(--off-white);
  color: var(--gold);
}

.polac-acc-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s;
}

.polac-acc-item.active .polac-acc-arrow {
  transform: rotate(180deg);
}

.polac-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.polac-acc-body-inner {
  padding: 0 22px 20px;
}

.polac-acc-body-inner p {
  margin: 0 0 12px;
}

.polac-acc-body-inner ol,
.polac-acc-body-inner ul {
  margin: 0;
  padding-left: 1.25em;
}

.polac-acc-body-inner li {
  margin-bottom: 6px;
}

/* ── FACILITY / SERVICE GALLERY ── */
.svc-gallery {
  margin: 8px 0 48px;
  max-width: 60%;
}

.svc-gallery-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b1628;
}

.svc-gallery-viewport {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.svc-gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.svc-gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.svc-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.svc-gallery-nav:hover {
  background: var(--gold);
  color: #fff;
}

.svc-gallery-nav--prev { left: 14px; }
.svc-gallery-nav--next { right: 14px; }

.svc-gallery-caption {
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  min-height: 1.4em;
}

.svc-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.svc-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(11, 43, 92, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.svc-gallery-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ── COMPACT SERVICE VIDEO ── */
.svc-video {
  margin: 0 0 48px;
  max-width: 320px;
}

.svc-video-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #0b1628;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}

.svc-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.svc-video-card:hover .svc-video-thumb {
  transform: scale(1.04);
}

.svc-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 43, 92, 0.28);
}

.svc-video-play svg,
.svc-video-play {
  color: #fff;
}

.svc-video-play::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.svc-video-play svg {
  position: relative;
  z-index: 1;
  margin-left: 2px;
}

.svc-video-label {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.svc-yt-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(8, 18, 36, 0.78);
  display: grid;
  place-items: center;
  padding: 24px;
}

.svc-yt-lightbox[hidden] {
  display: none !important;
}

.svc-yt-lightbox-inner {
  position: relative;
  width: min(720px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.svc-yt-lightbox-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.svc-yt-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 1.1rem;
  cursor: pointer;
}

/* ── OFFERINGS LIST ── */
.offerings-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.offering-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.2s;
  position: relative;
}

.offering-item:last-child { border-bottom: none; }

.offering-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}

.offering-item:hover { background: var(--off-white); }
.offering-item:hover::before { transform: scaleY(1); }

.offering-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}

.offering-desc {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
}

/* ── BENEFITS GRID ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.benefit-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 24px rgba(228, 85, 85, 0.1);
  transform: translateY(-2px);
}

.benefit-card:hover::after { transform: scaleX(1); }

/* ── WHY CHOOSE US ── */
.svc-why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.svc-why-item {
  position: relative;
  display: block;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 26px;
  overflow: hidden;
  transition: background 0.25s ease;
}

.svc-why-item:nth-child(even) {
  border-right: none;
}

.svc-why-item:last-child,
.svc-why-item:nth-child(odd):nth-last-child(2) {
  border-bottom: none;
}

.svc-why-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.svc-why-item:hover {
  background: var(--off-white);
}

.svc-why-item:hover::before {
  transform: scaleX(1);
}

.svc-why-body {
  position: relative;
  z-index: 1;
}

.svc-why-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.35;
}

.svc-why-desc {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34rem;
}

.svc-why-desc p {
  margin: 0 0 0.55em;
}

.svc-why-desc p:last-child {
  margin-bottom: 0;
}

.site-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.site-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.benefit-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--muted);
}

/* ── FAQ ACCORDION ── */
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.2s, color 0.2s;
}

.faq-header:hover { background: var(--off-white); color: var(--gold); }

.faq-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s;
}

.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-family: "DM Sans", sans-serif;
}

.faq-body > div,
.faq-body p {
  padding: 0 24px 22px;
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--muted);
}

.faq-body p + p {
  padding-top: 0;
}

/* ════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════ */
.service-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  background: var(--white);
}

.sidebar-widget-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* Services list */
.sidebar-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-services li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  border-left: 2px solid transparent;
}

.sidebar-services li a:hover {
  background: var(--off-white);
  color: var(--blue);
  border-left-color: var(--gold);
}

.sidebar-services li.active a {
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 600;
  border-left-color: var(--gold);
}

/* Contact sidebar */
.sidebar-contact {
  background: var(--blue);
  border-color: transparent;
}

.sidebar-contact .sidebar-widget-title {
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-contact-row:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

.sidebar-contact-row svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 3px;
}

.sidebar-contact-row strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.sidebar-contact-row a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  margin-bottom: 2px;
}

.sidebar-contact-row a:hover { color: var(--gold); }

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  width: 100%;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "DM Sans", sans-serif;
}

/* POLATS sidebar banner */
.sidebar-pems {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  border-color: rgba(228, 85, 85, 0.2);
  position: relative;
  overflow: hidden;
}

.sidebar-pems::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.sidebar-pems-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.sidebar-pems-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.sidebar-pems-desc {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.sidebar-pems-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border-radius: 3px;
}

/* New button style (matching recruitment page) */
.new-btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 3px;
  transition: background .2s, transform .2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.new-btn-blue:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}
.new-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 3px;
  transition: background .2s, transform .2s;
}

.new-btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.new-btn-gold svg {
  transition: transform .2s;
}

.new-btn-gold:hover svg {
  transform: translateX(4px);
}


/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .service-layout-inner {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .service-layout-inner { grid-template-columns: 1fr; }
  .service-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sidebar-pems { grid-column: 1 / -1; }
  .benefits-grid  { grid-template-columns: 1fr; }
  .svc-why-list { grid-template-columns: 1fr; }
  .svc-why-item { padding: 24px 22px; border-right: none; }
  .svc-why-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .form-row       { grid-template-columns: 1fr; }
  .svc-form-section { padding: 28px 20px; }
  .service-sidebar { grid-template-columns: 1fr; }
  .container      { padding: 0 20px; }
  .svc-gallery-nav {
    width: 36px;
    height: 36px;
  }
  .svc-gallery-nav--prev { left: 8px; }
  .svc-gallery-nav--next { right: 8px; }
  .svc-gallery-viewport { aspect-ratio: 4 / 3; }
  
  /* FAQ Responsive Styles */
  .faq-list {
    border-radius: 8px;
  }
  
  .faq-header {
    padding: 16px 20px;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  .faq-body > div,
  .faq-body p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .faq-arrow {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .service-layout { padding: var(--section-y) 0 var(--section-y-lg); }
  .container      { padding: 0 16px; }
  .radio-group    { flex-direction: column; gap: 10px; }
  
  /* FAQ Mobile Styles */
  .svc-faq {
    margin: 40px 0;
  }
  
  .svc-faq .svc-h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  
  .faq-header {
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  .faq-body > div,
  .faq-body p {
    padding: 0 16px 18px;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .faq-arrow {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}


/* -- SERVICE CONTACT MODAL -- */
.svc-contact-modal.open {
  display: flex;
}

.svc-contact-modal-box {
  max-width: 720px;
  max-height: 90vh;
  padding: 36px 32px 28px;
}

.svc-contact-modal-header {
  margin-bottom: 22px;
  padding-right: 36px;
}

.svc-contact-modal-header .section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.svc-contact-modal-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 8px;
  line-height: 1.15;
}

.svc-contact-modal-header h2 em {
  font-style: italic;
  color: var(--gold);
}

.svc-contact-modal-header p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.svc-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.svc-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.svc-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.svc-contact-form .form-group--full {
  width: 100%;
}

.svc-contact-form .form-group label {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 41, 66, 0.55);
}

.svc-contact-form .required {
  color: var(--gold);
}

.svc-contact-form input[type="text"],
.svc-contact-form input[type="email"],
.svc-contact-form input[type="tel"],
.svc-contact-form textarea,
.svc-contact-form select {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(11, 43, 92, 0.15);
  border-radius: 6px;
  color: #1a2942;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.svc-contact-form input:focus,
.svc-contact-form textarea:focus,
.svc-contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 146, 42, 0.12);
}

.svc-contact-form input.invalid,
.svc-contact-form textarea.invalid,
.svc-contact-form select.invalid {
  border-color: #d94f4f;
}

.svc-contact-form textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}

.svc-contact-form .select-wrapper {
  position: relative;
}

.svc-contact-form .select-wrapper select {
  padding-right: 36px;
  cursor: pointer;
}

.svc-contact-form .select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 41, 66, 0.4);
  pointer-events: none;
  display: flex;
}

.svc-contact-form .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px 12px;
  margin-top: 2px;
}

.svc-contact-form .check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  color: rgba(26, 41, 66, 0.75);
  user-select: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.svc-contact-form .check-item input {
  display: none;
}

.svc-contact-form .checkmark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid rgba(11, 43, 92, 0.25);
  border-radius: 3px;
  display: grid;
  place-items: center;
}

.svc-contact-form .check-item input:checked ~ .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.svc-contact-form .check-item input:checked ~ .checkmark::after {
  content: "";
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.svc-contact-form .field-error {
  display: none;
  font-size: 13px;
  color: #d94f4f;
}

.svc-contact-form .has-error .field-error,
.svc-contact-form .field-error.visible {
  display: block;
}

.svc-contact-form .form-submit {
  padding-top: 8px;
}

.svc-contact-form .recaptcha-field {
  margin-top: 4px;
}

.svc-contact-form .recaptcha-field .field-error {
  margin-top: 8px;
}

.svc-contact-form .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.svc-contact-form .btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.svc-contact-form .btn-spinner svg {
  animation: svc-spin 0.8s linear infinite;
}

@keyframes svc-spin {
  to { transform: rotate(360deg); }
}

.svc-contact-form .form-success,
.svc-contact-form .form-error-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.svc-contact-form .form-success[hidden],
.svc-contact-form .form-error-banner[hidden] {
  display: none !important;
}

.svc-contact-form .form-success {
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.25);
  color: #1e7e46;
}

.svc-contact-form .form-error-banner {
  background: rgba(217, 79, 79, 0.08);
  border: 1px solid rgba(217, 79, 79, 0.2);
  color: #b83232;
}

.svc-contact-form .form-error-banner a {
  color: #b83232;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .svc-contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .svc-contact-modal-box {
    padding: 28px 18px 20px;
  }
}
