/* ==========================================================================
   KOVAIBUILD — Shared service-page layout
   --------------------------------------------------------------------------
   One stylesheet for every service landing page (Civil, Painting, Carpenter,
   Tiles and any that follow). Load order on a service page is:

       css/style.css          site-wide tokens, header, footer, buttons
       css/service-page.css   this file — the service-page layout
       css/<page>.css         that page's images and its unique sections

   Everything here is prefixed .ssc-svc- so it is page-agnostic. A page sets
   its own photographs and a couple of layout choices through variables:

       --ssc-svc-img-why      background behind the "why choose us" band
       --ssc-svc-img-cta      background behind the CTA band
       --ssc-svc-intro-cols   intro grid columns          (default 45fr 55fr)
       --ssc-svc-intro-ratio  intro image aspect ratio    (default 4 / 5)

   Two optional modifiers:
       .ssc-svc-intro--reverse   content first, image on the right
       .ssc-svc-gallery-item--large / --pair / --wide   gallery tile spans

   Contents
   S1.  Defaults
   S2.  Hero
   S3.  Breadcrumb + current-page marker
   S4.  Introduction
   S5.  Service cards
   S6.  Gallery + lightbox
   S7.  Detail split
   S8.  Why choose us
   S9.  Process timeline
   S10. CTA band
   S11. Contact cards
   S12. Reveal direction modifiers
   S13. Responsive
   S14. Reduced motion & print
   ========================================================================== */


/* ==========================================================================
   S1. DEFAULTS
   ========================================================================== */
:root {
  --ssc-svc-intro-cols: 45fr 55fr;
  --ssc-svc-intro-ratio: 4 / 5;
}

/* ==========================================================================
   S2. HERO
   ========================================================================== */
.ssc-svc-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(78svh, 740px);
  padding-top: calc(var(--ssc-header-h) + 64px);
  padding-bottom: clamp(56px, 8vw, 96px);
  overflow: hidden;
  background: #0d0d10;
}

.ssc-svc-hero__bg { position: absolute; inset: 0; z-index: -3; }
.ssc-svc-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: ssc-svc-zoom 20s ease-out forwards;
}
@keyframes ssc-svc-zoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.14); }
}

.ssc-svc-hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(98deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.78) 38%,
                            rgba(8,9,12,.38) 66%, rgba(8,9,12,.08) 100%),
    linear-gradient(180deg, rgba(6,7,10,.72) 0%, rgba(6,7,10,0) 22%),
    linear-gradient(0deg, rgba(6,7,10,.86) 0%, rgba(6,7,10,0) 34%);
}

/* Optional faint architectural grid — include
   <span class="ssc-svc-hero__grid" aria-hidden="true"></span> in the hero to use it */
.ssc-svc-hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 110px 110px;
  -webkit-mask-image: radial-gradient(120% 90% at 68% 34%, #000 18%, transparent 76%);
  mask-image: radial-gradient(120% 90% at 68% 34%, #000 18%, transparent 76%);
}

.ssc-svc-hero__inner { position: relative; width: 100%; max-width: var(--ssc-container); }

.ssc-svc-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ssc-gold-light, #20bec9);
}

.ssc-svc-hero__title {
  max-width: 22ch;
  margin: 0 0 20px;
  font-family: var(--ssc-font-display, "Oswald", sans-serif);
  font-size: clamp(32px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 34px rgba(0,0,0,.45);
}
.ssc-svc-hero__title-accent { color: var(--ssc-gold-light, #20bec9); }

.ssc-svc-hero__text {
  max-width: 52ch;
  margin: 0 0 34px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.8);
}

.ssc-svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Entrance animation — pure CSS, runs once on load */
.ssc-svc-hero__eyebrow,
.ssc-svc-hero__title,
.ssc-svc-hero__text,
.ssc-svc-hero__actions {
  opacity: 0;
  transform: translateY(26px);
  animation: ssc-svc-rise .85s var(--ssc-ease, cubic-bezier(.22,.61,.36,1)) forwards;
}
.ssc-svc-hero__eyebrow { animation-delay: .12s; }
.ssc-svc-hero__title   { animation-delay: .22s; }
.ssc-svc-hero__text    { animation-delay: .34s; }
.ssc-svc-hero__actions { animation-delay: .46s; }
@keyframes ssc-svc-rise { to { opacity: 1; transform: none; } }


/* ==========================================================================
   S3. BREADCRUMB + CURRENT-PAGE MARKER
   ========================================================================== */
.ssc-svc-crumbs {
  background: var(--ssc-ink, #111114);
  border-bottom: 1px solid var(--ssc-ink-line, #2a2c33);
}
.ssc-svc-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; padding-block: 14px; list-style: none;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.55);
}
.ssc-svc-crumbs li + li::before {
  content: "/"; margin-right: 8px; color: rgba(255,255,255,.3);
}
.ssc-svc-crumbs a { color: rgba(255,255,255,.7); }
.ssc-svc-crumbs a:hover { color: var(--ssc-gold-light, #20bec9); }
.ssc-svc-crumbs [aria-current="page"] { color: var(--ssc-gold-light, #20bec9); }



/* ==========================================================================
   S4. INTRODUCTION
   ========================================================================== */
.ssc-svc-intro {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-white, #fff);
}
.ssc-svc-intro__grid {
  display: grid;
  grid-template-columns: var(--ssc-svc-intro-cols, 45fr 55fr);
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}
/* Image on the right instead of the left */
.ssc-svc-intro__grid.ssc-svc-intro--reverse .ssc-svc-intro__media { order: 2; padding: 0 0 20px 20px; }
.ssc-svc-intro__grid.ssc-svc-intro--reverse .ssc-svc-intro__frame { inset: 24px 24px 0 0; }
.ssc-svc-intro__content { min-width: 0; }
.ssc-svc-intro__text {
  max-width: 56ch;
  margin: 0 0 26px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--ssc-text-muted, #5c6168);
}
.ssc-svc-intro__list { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 13px; }
.ssc-svc-intro__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.6;
}
.ssc-svc-intro__list svg {
  width: 20px; height: 20px; flex: none; margin-top: 3px; padding: 3px;
  border-radius: 50%;
  background: rgba(0,127,136,.16);
  color: var(--ssc-gold-dark, #04606a);
  fill: none; stroke: currentColor; stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.ssc-svc-intro__media {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 20px 20px 0;
}
.ssc-svc-intro__frame {
  position: absolute; inset: 24px 0 0 24px;
  border: 1px solid rgba(0,127,136,.5);
  border-radius: var(--ssc-radius-lg, 22px);
  pointer-events: none;
}
.ssc-svc-intro__media img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: var(--ssc-svc-intro-ratio, 4 / 5);
  object-fit: cover;
  background: linear-gradient(150deg, #2c2e35, #14151a);
  border-radius: var(--ssc-radius-lg, 22px);
  box-shadow: var(--ssc-shadow-lg, 0 28px 70px rgba(17,17,20,.16));
}


/* ==========================================================================
   S5. SERVICE CARDS
   ========================================================================== */
.ssc-svc-services {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-paper, #f7f7f5);
}
.ssc-svc-services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
/* Four across instead of three — used by "applications" style sections */
.ssc-svc-services__grid--four { grid-template-columns: repeat(4, 1fr); }

/* Alternate band — for a second card section immediately after the first, so
   the two do not read as one very long block of paper-coloured cards. */
.ssc-svc-services--alt { background: #fff; }
.ssc-svc-services--alt .ssc-svc-card { background: var(--ssc-paper, #f7f7f5); }

.ssc-svc-card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 34px 30px 28px;
  background: #fff;
  border: 1px solid var(--ssc-border, #e3e3df);
  border-radius: var(--ssc-radius-lg, 22px);
  overflow: hidden;
  transition: transform .22s var(--ssc-ease, ease), box-shadow .22s var(--ssc-ease, ease),
              border-color .22s var(--ssc-ease, ease);
}
.ssc-svc-card::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--ssc-gold-dark, #04606a), var(--ssc-gold-light, #20bec9));
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ssc-ease, ease);
}
.ssc-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,127,136,.42);
  box-shadow: var(--ssc-shadow-md, 0 14px 34px rgba(17,17,20,.09));
}
.ssc-svc-card:hover::before { transform: scaleX(1); }

.ssc-svc-card__num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--ssc-font-display, "Oswald", sans-serif);
  font-size: 42px; font-weight: 700; line-height: 1;
  color: rgba(17,17,20,.07);
  transition: color .22s ease;
}
.ssc-svc-card:hover .ssc-svc-card__num { color: rgba(0,127,136,.26); }

.ssc-svc-card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 24px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--ssc-ink, #111114), #34363e);
  color: var(--ssc-gold-light, #20bec9);
  transition: transform .38s var(--ssc-ease, ease), background .22s ease, color .22s ease;
}
.ssc-svc-card__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ssc-svc-card:hover .ssc-svc-card__icon {
  transform: translateY(-3px) rotate(-5deg);
  background: linear-gradient(140deg, var(--ssc-gold-dark, #04606a), var(--ssc-gold, #007f88));
  color: #fff;
}

.ssc-svc-card__title { font-size: 20px; margin: 0 0 10px; }
.ssc-svc-card__text {
  flex: 1 1 auto;
  margin: 0 0 20px;
  font-size: 14.8px; line-height: 1.65;
  color: var(--ssc-text-muted, #5c6168);
}
.ssc-svc-card__arrow { align-self: flex-start; color: var(--ssc-gold-dark, #04606a); }
.ssc-svc-card__arrow svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .22s ease;
}
.ssc-svc-card:hover .ssc-svc-card__arrow svg { transform: translateX(6px); }


/* ==========================================================================
   S6. GALLERY + LIGHTBOX
   ========================================================================== */
.ssc-svc-gallery {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-white, #fff);
}
.ssc-svc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.ssc-svc-gallery-item {
  position: relative;
  display: block;
  padding: 0; border: 0;
  border-radius: var(--ssc-radius, 14px);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ssc-paper-2, #eeeeec);
}
.ssc-svc-gallery-item--large { grid-column: span 2; grid-row: span 2; }
/* Tile spans — combine so the images fill the four-column grid with no holes:
   --large 2x2 lead, --pair closes a row, --wide runs the full width. */
.ssc-svc-gallery-item--pair { grid-column: span 2; }
.ssc-svc-gallery-item--wide { grid-column: span 4; }

.ssc-svc-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ssc-ease, ease);
}
.ssc-svc-gallery-item:hover img,
.ssc-svc-gallery-item:focus-visible img { transform: scale(1.06); }

.ssc-svc-gallery-item__label {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 34px 18px 16px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-align: left;
  color: #fff;
  background: linear-gradient(0deg, rgba(8,9,12,.86) 0%, rgba(8,9,12,.36) 55%, rgba(8,9,12,0) 100%);
}
.ssc-svc-gallery-item__label svg {
  width: 17px; height: 17px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  color: var(--ssc-gold-light, #20bec9);
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity .28s ease, transform .28s ease;
}
.ssc-svc-gallery-item:hover .ssc-svc-gallery-item__label svg,
.ssc-svc-gallery-item:focus-visible .ssc-svc-gallery-item__label svg {
  opacity: 1; transform: none;
}

/* --- Lightbox ---
   The [hidden] guard must come first: `display: grid` below would otherwise
   beat the attribute and leave an invisible overlay swallowing every click. */
.ssc-svc-lightbox[hidden] { display: none; }

.ssc-svc-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6,7,10,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}
.ssc-svc-lightbox.is-open { opacity: 1; }

.ssc-svc-lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.ssc-svc-lightbox__figure img {
  max-width: 100%; max-height: 74svh;
  width: auto; height: auto;
  border-radius: var(--ssc-radius, 14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.ssc-svc-lightbox__figure figcaption {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  text-align: center;
}

.ssc-svc-lightbox__close,
.ssc-svc-lightbox__nav {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px; padding: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.ssc-svc-lightbox__close svg,
.ssc-svc-lightbox__nav svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.ssc-svc-lightbox__close:hover,
.ssc-svc-lightbox__nav:hover {
  background: linear-gradient(120deg, var(--ssc-gold-dark, #04606a), var(--ssc-gold-light, #20bec9));
  border-color: transparent; color: #17130a;
}
.ssc-svc-lightbox__close { top: clamp(14px, 3vw, 30px); right: clamp(14px, 3vw, 30px); }
.ssc-svc-lightbox__nav--prev { left: clamp(10px, 2.5vw, 30px); top: 50%; transform: translateY(-50%); }
.ssc-svc-lightbox__nav--next { right: clamp(10px, 2.5vw, 30px); top: 50%; transform: translateY(-50%); }


/* ==========================================================================
   S7. DESIGN DETAIL
   ========================================================================== */
.ssc-svc-detail {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-paper, #f7f7f5);
}
.ssc-svc-detail__grid {
  display: grid;
  grid-template-columns: 50fr 50fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}
.ssc-svc-detail__content { min-width: 0; }
.ssc-svc-detail__text {
  max-width: 52ch;
  margin: 0 0 30px;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  color: var(--ssc-text-muted, #5c6168);
}

.ssc-svc-detail__points {
  display: grid; gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.ssc-svc-detail__points li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14.8px; line-height: 1.65;
  color: var(--ssc-text-muted, #5c6168);
}
.ssc-svc-detail__points strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  color: var(--ssc-ink, #111114);
}
.ssc-svc-detail__check {
  display: grid; place-items: center;
  flex: none;
  width: 30px; height: 30px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(0,127,136, .14);
  color: var(--ssc-gold-dark, #04606a);
}
.ssc-svc-detail__check svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.ssc-svc-detail__media { margin: 0; min-width: 0; }
.ssc-svc-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(150deg, #2c2e35, #14151a);
  border-radius: var(--ssc-radius-lg, 22px);
  box-shadow: var(--ssc-shadow-lg, 0 28px 70px rgba(17,17,20,.16));
}


/* ==========================================================================
   S8. WHY CHOOSE US
   ========================================================================== */
.ssc-svc-why {
  position: relative; isolation: isolate;
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-ink, #111114);
  overflow: hidden;
}
.ssc-svc-why__bg {
  position: absolute; inset: 0; z-index: -1;
  background-color: #17181c;
  background-image: var(--ssc-svc-img-why),
    radial-gradient(90% 80% at 30% 20%, #4a4d57 0%, #17181c 70%);
  background-size: cover; background-position: center;
  opacity: .15;
  filter: grayscale(1) contrast(1.1);
}
.ssc-svc-why::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--ssc-ink, #111114) 0%,
              rgba(17,17,20,.7) 45%, var(--ssc-ink, #111114) 100%);
}
.ssc-svc-why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin: 0; padding: 0; list-style: none;
}
.ssc-svc-why-card {
  padding: 30px 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--ssc-radius, 14px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.ssc-svc-why-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.08);
  border-color: rgba(0,127,136,.45);
}
.ssc-svc-why-card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px;
  background: rgba(32,190,201,.13);
  color: var(--ssc-gold-light, #20bec9);
}
.ssc-svc-why-card__icon svg {
  width: 23px; height: 23px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.ssc-svc-why-card h3 { font-size: 18px; color: #fff; margin: 0 0 8px; }
.ssc-svc-why-card p {
  margin: 0; font-size: 14.5px; line-height: 1.65;
  color: rgba(255,255,255,.78);
}


/* ==========================================================================
   S9. PROCESS
   ========================================================================== */
.ssc-svc-process {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-white, #fff);
}
.ssc-svc-process__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin: 0; padding: 0; list-style: none;
}
.ssc-svc-step { position: relative; padding-top: 42px; }
.ssc-svc-step::before {
  content: ""; position: absolute; top: 15px; left: 0; right: -20px;
  height: 1px; background: var(--ssc-border, #e3e3df);
}
.ssc-svc-step:last-child::before { right: 0; }
.ssc-svc-step::after {
  content: ""; position: absolute; top: 9px; left: 0;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--ssc-white, #fff);
  border: 2px solid var(--ssc-gold, #007f88);
}
.ssc-svc-step__num {
  display: block; margin-bottom: 10px;
  font-family: var(--ssc-font-display, "Oswald", sans-serif);
  font-size: 15px; font-weight: 700; letter-spacing: .18em;
  color: var(--ssc-gold-dark, #04606a);
}
.ssc-svc-step h3 { font-size: 21px; margin: 0 0 10px; }
.ssc-svc-step p {
  margin: 0; max-width: 34ch;
  font-size: 14.8px; line-height: 1.65;
  color: var(--ssc-text-muted, #5c6168);
}


/* ==========================================================================
   S10. CTA BAND
   ========================================================================== */
.ssc-svc-cta {
  position: relative; isolation: isolate;
  padding-block: clamp(70px, 9vw, 126px);
  background: var(--ssc-ink, #111114);
  text-align: center;
  overflow: hidden;
}
.ssc-svc-cta__bg {
  position: absolute; inset: 0; z-index: -2;
  background-color: #101114;
  background-image: var(--ssc-svc-img-cta),
    radial-gradient(80% 120% at 50% 0%, #3b3e48 0%, #101114 65%);
  background-size: cover; background-position: center 45%;
}
.ssc-svc-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,12,14,.84), rgba(12,12,14,.92));
}
.ssc-svc-cta__title {
  max-width: 20ch;
  margin: 0 auto 16px;
  font-size: clamp(26px, 4.2vw, 48px);
  color: #fff;
}
.ssc-svc-cta__text {
  max-width: 48ch;
  margin: 0 auto 32px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,.8);
}
.ssc-svc-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }


/* ==========================================================================
   S11. CONTACT CARDS
   ========================================================================== */
.ssc-svc-contact {
  padding-block: var(--ssc-section-y, 96px);
  background: var(--ssc-paper, #f7f7f5);
}
.ssc-svc-contact__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 0; padding: 0; list-style: none;
}
.ssc-svc-contact-card {
  background: #fff;
  border: 1px solid var(--ssc-border, #e3e3df);
  border-radius: var(--ssc-radius, 14px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ssc-svc-contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,127,136,.45);
  box-shadow: var(--ssc-shadow-md, 0 14px 34px rgba(17,17,20,.09));
}
.ssc-svc-contact-card > a { display: block; padding: 28px 26px; }
.ssc-svc-contact-card__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--ssc-ink, #111114), #34363e);
  color: var(--ssc-gold-light, #20bec9);
}
.ssc-svc-contact-card__icon svg { width: 22px; height: 22px; }
.ssc-svc-contact-card h3 {
  margin: 0 0 8px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ssc-text-muted, #5c6168);
}
.ssc-svc-contact-card p {
  margin: 0;
  font-size: 16.5px; font-weight: 700; line-height: 1.5;
  color: var(--ssc-ink, #111114);
}
.ssc-svc-contact-card__cue {
  display: inline-block; margin-top: 12px;
  font-size: 13px; font-weight: 700;
  color: var(--ssc-gold-dark, #04606a);
}


/* ==========================================================================
   S12. REVEAL DIRECTION MODIFIERS
   (they hook onto the shared .ssc-reveal / .is-visible mechanism)
   ========================================================================== */
.ssc-reveal.ssc-svc-from-left  { transform: translateX(-34px); }
.ssc-reveal.ssc-svc-from-right { transform: translateX(34px); }
.ssc-reveal.ssc-svc-from-left.is-visible,
.ssc-reveal.ssc-svc-from-right.is-visible { transform: none; }


/* ==========================================================================
   S13. RESPONSIVE
   ========================================================================== */

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1100px) {
  .ssc-svc-services__grid,
  .ssc-svc-services__grid--four { grid-template-columns: repeat(2, 1fr); }
  .ssc-svc-why__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Tablet landscape ---------- */
@media (max-width: 1024px) {
  .ssc-svc-hero { min-height: min(70svh, 640px); padding-top: calc(var(--ssc-header-h) + 52px); }
  .ssc-svc-gallery__grid { grid-auto-rows: 175px; }
  .ssc-svc-process__list { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .ssc-svc-step:nth-child(2)::before { right: 0; }
  .ssc-svc-contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Tablet portrait ---------- */
@media (max-width: 900px) {
  .ssc-svc-intro__grid,
  .ssc-svc-detail__grid { grid-template-columns: 1fr; }
  .ssc-svc-intro__media { padding: 0; order: -1; }
  .ssc-svc-intro__frame { display: none; }
  .ssc-svc-intro__media img { aspect-ratio: 16 / 10; }
  .ssc-svc-detail__media { order: -1; }
  .ssc-svc-detail__media img { aspect-ratio: 16 / 9; }
  /* Stacked columns rise instead of sliding sideways */
  .ssc-reveal.ssc-svc-from-left,
  .ssc-reveal.ssc-svc-from-right { transform: translateY(26px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .ssc-svc-hero {
    min-height: auto;
    padding-top: calc(var(--ssc-header-h) + 46px);
    padding-bottom: 56px;
  }
  .ssc-svc-hero__overlay {
    background: linear-gradient(180deg, rgba(6,7,10,.86) 0%, rgba(6,7,10,.7) 40%, rgba(6,7,10,.8) 100%);
  }
  .ssc-svc-hero__title { max-width: none; }
  .ssc-svc-hero__actions .ssc-btn { flex: 1 1 100%; }

  .ssc-svc-services__grid,
  .ssc-svc-services__grid--four { grid-template-columns: 1fr; }
  .ssc-svc-why__grid { grid-template-columns: 1fr; }

  .ssc-svc-gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 12px; }
  .ssc-svc-gallery-item--large { grid-column: span 2; grid-row: span 2; }
  .ssc-svc-gallery-item--pair,
  .ssc-svc-gallery-item--wide { grid-column: span 2; }
  .ssc-svc-gallery-item__label { padding: 26px 13px 12px; font-size: 10.5px; letter-spacing: .08em; }
  .ssc-svc-gallery-item__label svg { display: none; }

  /* Vertical timeline */
  .ssc-svc-process__list { grid-template-columns: 1fr; row-gap: 0; }
  .ssc-svc-step { padding: 0 0 34px 34px; }
  .ssc-svc-step::before {
    top: 6px; bottom: -6px; left: 6px; right: auto;
    width: 1px; height: auto;
  }
  .ssc-svc-step:last-child::before { display: none; }
  .ssc-svc-step::after { top: 4px; left: 0; }
  .ssc-svc-step p { max-width: none; }

  .ssc-svc-cta__actions .ssc-btn { flex: 1 1 100%; }

  .ssc-svc-lightbox__nav { width: 42px; height: 42px; }
  .ssc-svc-lightbox__nav--prev { left: 8px; }
  .ssc-svc-lightbox__nav--next { right: 8px; }
  .ssc-svc-lightbox__figure img { max-height: 62svh; }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .ssc-svc-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .ssc-svc-gallery-item--large,
  .ssc-svc-gallery-item--pair,
  .ssc-svc-gallery-item--wide { grid-column: span 1; grid-row: span 1; }
}


/* ==========================================================================
   S14. REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ssc-svc-hero__bg img { animation: none; transform: scale(1.04); }
  .ssc-svc-hero__eyebrow,
  .ssc-svc-hero__title,
  .ssc-svc-hero__text,
  .ssc-svc-hero__actions { animation: none; opacity: 1; transform: none; }
  .ssc-reveal.ssc-svc-from-left,
  .ssc-reveal.ssc-svc-from-right { transform: none !important; opacity: 1 !important; }
  .ssc-svc-gallery-item img { transition: none; }
}

@media print {
  .ssc-svc-lightbox, .ssc-svc-crumbs { display: none !important; }
  .ssc-svc-hero { min-height: auto; }
}
