/* ══════════════════════════════════════
   First Link Dubai — Service Pages v1
   Inherits site.css for nav/announce/footer
══════════════════════════════════════ */

/* ── Page base ── */
.svc-page{ font-family: inherit; color: var(--ink); background: #fff; }

/* ── Breadcrumb ── */
.svc-breadcrumb{
  display: flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: rgba(255,255,255,.65);
  margin-bottom: 1.1rem; flex-wrap: wrap;
}
.svc-breadcrumb a{ color: rgba(255,255,255,.85); text-decoration: none; }
.svc-breadcrumb a:hover{ color: #fff; }
.svc-breadcrumb span{ opacity: .5; }

/* ══════════════════════════════
   HERO — split layout
══════════════════════════════ */
/* ══════════════════════════════
   HERO — full-bleed background image
══════════════════════════════ */
.svc-hero{
  position: relative;
  margin-top: 0;
  overflow: hidden;
  min-height: clamp(420px, 55vw, 640px);
  display: flex;
  align-items: center;
  background: #081a1e;
}
/* Full-bleed background image via inline style */
.svc-hero-bg{
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
/* Remove fig entirely — no longer needed */
.svc-hero-fig{ display: none; }
/* Dark gradient overlay — heavy at bottom, light at top */
.svc-hero::before{
  content:"";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg,
      rgba(8,26,30,.95) 0%,
      rgba(8,26,30,.68) 42%,
      rgba(8,26,30,.18) 100%
    );
  pointer-events: none;
}
/* Brand ambient glow bottom-left */
.svc-hero::after{
  content:"";
  position:absolute; inset:0; pointer-events:none; z-index:1;
  background:
    radial-gradient(800px 400px at 0% 100%, color-mix(in oklab,#0F3D46 40%,transparent), transparent 60%);
}
/* Inner content — on top of overlays */
.svc-hero-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h,72px) + var(--bar-h,36px) + 2.5rem) 2rem clamp(2rem,3.5vw,3rem);
  box-sizing: border-box;
  display: block;
}

/* ── Service hero ratings panel ── */
.svc-hero-tag{ display: none; }
.svc-hero h1{
  font-size: clamp(2.6rem, 1.2rem + 4vw, 4.2rem);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin: 0 0 1rem;
  max-width: 800px;
}
.svc-hero-desc{
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin: 0 0 2rem; max-width: 560px;
}
/* Glass stats — 3 separate cards */
.svc-hero-stats{
  display: flex; gap: 0; flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}
.svc-stat{
  display: flex; flex-direction: column; gap: .1rem;
  align-items: flex-start;
  text-align: left;
  padding: .7rem 2rem;
  min-width: 110px;
  border-left: 1px solid rgba(255,255,255,.3);
}
.svc-stat:first-child{ border-left: none; padding-left: 0; }
.svc-stat:last-child{ padding-right: 0; }
.svc-stat strong{
  font-size: 1.6rem; font-weight: 500;
  color: #fff; line-height: 1;
}
.svc-stat span{ font-size: .72rem; color: rgba(255,255,255,.6); font-weight: 500; }
.svc-hero-ctas{ display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.svc-hero-ctas .btn{ border-radius: 999px; }
/* Cost Calculator btn styling in hero */
.svc-hero-ctas .btn-ghost{
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset;
}
.svc-hero-ctas .btn-ghost:hover{
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
}
@media(max-width:640px){
  .svc-hero{ min-height: 0; align-items: flex-start; margin-top: 0; }
  .svc-hero-stats{ gap: 0; flex-wrap: nowrap; }
  .svc-hero h1{ font-size: clamp(1.45rem, 7vw, 2.6rem); }
  .svc-hero-tag{ font-size: .62rem; gap: .35rem; padding: .28rem .6rem; margin-bottom: .8rem; }
  .svc-hero-tag i, .svc-hero-tag svg{ width: 15px; height: 15px; }
  /* Exactly 44px gap between navbar bottom and hero content — no extra desktop offset */
  .svc-hero-inner{ padding-top: calc(var(--nav-h,72px) + 44px); padding-bottom: clamp(2rem,3.5vw,3rem); }
  /* Smaller stats */
  .svc-stat strong{ font-size: clamp(.95rem, 4vw, 1.2rem); }
  .svc-stat span{ font-size: clamp(.58rem, 2.5vw, .65rem); }
  .svc-stat{ align-items: flex-start; text-align: left; padding: .5rem clamp(.5rem, 2.5vw, 1.2rem); min-width: 0; }
  /* Full-width CTAs */
  .svc-hero-ctas{ flex-direction: column; width: 100%; }
  .svc-hero-ctas .btn{ width: 100%; justify-content: center; }
}

/* ══════════════════════════
   SHARED SECTION WRAPPER
══════════════════════════ */
.svc-section{ padding: clamp(3.5rem, 5vw, 5rem) 0; }
.svc-section-alt{ background: oklch(0.975 0.008 195); }
.svc-container{ max-width: 1200px; margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
.svc-label{
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2, #0F3D46);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  padding: .2rem .8rem .2rem .55rem;
  border-radius: 999px;
  margin-bottom: .9rem;
  box-shadow: 0 1px 4px rgba(15,61,70,.08);
}
/* Replace icon with green dot — same as section-eyebrow */
.svc-label i, .svc-label svg{ display: none; }
.svc-label::before{
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #25d36a;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(37,211,106,.22);
}
}
.svc-section-title{
  font-size: var(--fs-h2);
  font-weight: 700; color: oklch(0.12 0.03 195);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 0 0 .65rem; text-wrap: balance;
}
.svc-section-sub{
  font-size: 1.02rem; line-height: 1.7;
  color: oklch(0.45 0.025 195);
  max-width: 620px; margin: 0 0 2.5rem;
}

/* ══════════════════════════
   INCLUDES GRID
══════════════════════════ */
.svc-includes-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}
.svc-include-card{
  display: flex; flex-direction: column; gap: .65rem;
  padding: 1.4rem 1.4rem 1.35rem;
  border-radius: 14px;
  border: 1px solid oklch(0.92 0.012 195);
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.svc-include-card:hover{
  box-shadow: 0 8px 24px -8px rgba(15,61,70,.15);
  transform: translateY(-3px);
}
.svc-include-icon{
  width: 42px; height: 42px;
  border-radius: 11px;
  background: color-mix(in oklab, #0F3D46 8%, transparent);
  color: #0F3D46;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.svc-include-icon svg{ width: 19px; height: 19px; stroke-width: 1.7; }
.svc-include-card h3{ font-size: .98rem; font-weight: 700; color: oklch(0.12 0.03 195); margin:0; }
.svc-include-card p{ font-size: .875rem; line-height: 1.65; color: oklch(0.45 0.025 195); margin:0; }

/* ══════════════════════════
   PROCESS STEPS
══════════════════════════ */
.svc-steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 2rem 1.5rem;
  position: relative;
  padding-top: .5rem;
}
/* Horizontal connecting line */
.svc-steps::before{
  content:"";
  position: absolute;
  top: 29px;
  left: calc(12.5% + 27px);
  right: calc(12.5% + 27px);
  height: 1.5px;
  background: #0F3D46;
  z-index: 0;
}
.svc-step{
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
  position: relative; z-index: 1;
}
.svc-step-num{
  width: 56px; height: 56px; border-radius: 999px;
  background: #0F3D46; color: #fff;
  font-size: .9rem; font-weight: 800; letter-spacing: .03em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px color-mix(in oklab, #0F3D46 55%, transparent);
}
.svc-step:last-child .svc-step-num{
  background: var(--brand-2);
  box-shadow: 0 4px 14px -4px color-mix(in oklab, var(--brand-2) 55%, transparent);
}
.svc-step h3{
  font-size: 1rem; font-weight: 700;
  color: oklch(0.12 0.03 195); margin: 0;
  letter-spacing: -.01em;
}
.svc-step p{
  font-size: .875rem; line-height: 1.68;
  color: oklch(0.45 0.025 195); margin: 0;
}
@media(max-width: 720px){
  .svc-steps{ grid-template-columns: 1fr 1fr; }
  .svc-steps::before{ display: none; }
}
/* Related services — blog-style cards */
.svc-rel-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.svc-rel-card{
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid oklch(0.92 0.012 195);
  overflow: hidden;
  text-decoration: none;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.svc-rel-card:hover{
  box-shadow: 0 16px 44px -16px rgba(15,61,70,.2);
  transform: translateY(-4px);
}
.svc-rel-img{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.svc-rel-card:hover .svc-rel-img{ transform: scale(1.04); }
.svc-rel-body{
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.svc-rel-tag{
  display: inline-flex;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0F3D46;
  margin-bottom: .1rem;
}
.svc-rel-body h3{
  font-size: 1rem; font-weight: 700;
  color: oklch(0.12 0.03 195);
  margin: 0; line-height: 1.3;
}
.svc-rel-body p{
  font-size: .855rem; line-height: 1.6;
  color: oklch(0.45 0.025 195);
  margin: 0; flex: 1;
}
.svc-rel-cta{
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .82rem; font-weight: 600;
  color: #0F3D46;
  margin-top: .4rem;
}
.svc-rel-cta svg{ width: 14px; height: 14px; transition: transform .15s ease; }
.svc-rel-card:hover .svc-rel-cta svg{ transform: translateX(3px); }
.svc-rel-all-btn{ display: flex; }
@media(max-width:720px){
  .svc-rel-all-btn{ display: flex; }
  .svc-rel-grid{
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding-bottom: .75rem;
  }
  .svc-rel-grid::-webkit-scrollbar{ display: none; }
  .svc-rel-grid{ scrollbar-width: none; }
  .svc-rel-card{
    flex: 0 0 72vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}
.svc-faq .svc-label,
.svc-faq .svc-section-title,
.svc-faq .svc-section-sub{ text-align: center; }
.svc-faq .svc-label{ display: flex; justify-content: center; }
.svc-faq .svc-section-title{ max-width: 700px; margin-left: auto; margin-right: auto; }
.svc-faq .svc-section-sub{ max-width: 600px; margin-left: auto; margin-right: auto; }
.svc-faq .svc-faq-list{ margin: 0 auto; }
.svc-faq .svc-container{ max-width: 960px; }
.svc-faq .section-head{
  max-width: none;
  text-align: left;
  margin-bottom: clamp(2rem,3vw,3rem);
}

/* ══════════════════════════
   FAQ
══════════════════════════ */
.svc-faq-list{ display: flex; flex-direction: column; gap: .55rem; max-width: 800px; }
.svc-faq-item{
  border: 1px solid oklch(0.92 0.012 195);
  border-radius: 12px; background: #fff; overflow: hidden;
}
.svc-faq-q{
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.3rem;
  font-size: .97rem; font-weight: 600; color: oklch(0.12 0.03 195);
  cursor: pointer; list-style: none; user-select: none;
}
.svc-faq-q::-webkit-details-marker{ display:none; }
.svc-faq-q::after{
  content:"";
  width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230F3D46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s;
}
details[open] .svc-faq-q::after{ transform: rotate(180deg); }
.svc-faq-a{
  padding: 0 1.3rem 1.1rem;
  font-size: .9rem; line-height: 1.75;
  color: oklch(0.45 0.025 195);
}

/* ══════════════════════════
   CTA BANNER
══════════════════════════ */
.svc-cta-banner{
  background: linear-gradient(135deg, #0F3D46 0%, #0a2c33 100%);
  border-radius: 20px;
  padding: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.svc-cta-banner::before{
  content:"";
  position:absolute; top:-60px; right:-60px;
  width:280px; height:280px; border-radius:999px;
  background: rgba(255,255,255,.04);
  pointer-events:none;
}
.svc-cta-copy h2{
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  font-weight: 800; color: #fff; margin: 0 0 .5rem;
}
.svc-cta-copy p{
  font-size: 1rem; color: rgba(255,255,255,.7); margin:0;
}
.svc-cta-btns{ display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* ══════════════════════════
   RELATED SERVICES
══════════════════════════ */
.svc-related-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.svc-related-card{
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px; border: 1px solid oklch(0.92 0.012 195);
  background: #fff; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.svc-related-card:hover{
  box-shadow: 0 8px 24px -8px rgba(15,61,70,.15);
  transform: translateY(-3px);
}
.svc-related-icon{
  width: 36px; height: 36px; border-radius: 10px;
  background: color-mix(in oklab, #0F3D46 8%, transparent);
  color: #0F3D46;
  display: flex; align-items: center; justify-content: center;
}
.svc-related-icon svg{ width: 16px; height: 16px; stroke-width: 1.7; }
.svc-related-card h3{ font-size: .9rem; font-weight: 700; color: oklch(0.12 0.03 195); margin:0; }
.svc-related-card span{ font-size: .8rem; color: #0F3D46; font-weight: 600; display:flex; align-items:center; gap:.3rem; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media(max-width:1024px){
  .svc-hero-inner{ grid-template-columns: 1fr; }
  .svc-hero-fig{ aspect-ratio: 16/9; max-width: 600px; }
  .svc-includes-grid{ grid-template-columns: repeat(2,1fr); }
  .svc-steps{ grid-template-columns: repeat(2,1fr); }
  .svc-steps::before{ display:none; }
  .svc-related-grid{ grid-template-columns: repeat(2,1fr); }
}
@media(max-width:640px){
  .svc-hero-inner{ padding: calc(var(--nav-h,72px) + 44px) 1.25rem 2rem !important; }
  .svc-includes-grid{ grid-template-columns: 1fr; }
  .svc-steps{ grid-template-columns: 1fr; }
  .svc-related-grid{ grid-template-columns: 1fr; }
  .svc-cta-banner{ flex-direction: column; }
  .svc-hero-stats{ gap: 1.2rem; }
}
