:root{
  --gold:#c7a34b; --bg:#000; --fg:#fff;
  --panel:#0b0b0b; --panel-2:#121212; --line:#1f1f1f;
  --wrap:1200px; --radius:22px;
  --shadow-lg:0 30px 70px rgba(0,0,0,.45);
  --shadow-md:0 18px 40px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }
.container{ width:min(var(--wrap),100%); margin-inline:auto; padding-inline:24px; }

/* ========== HERO (match About) ========== */
.svc-hero {
  position: relative;
  margin-top: 0;
  height: min(90vh, 860px);
  min-height: 600px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}

.svc-hero__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat var(--svc-hero, url('/assets/services/hero.jpg'));
  transform: scale(1.02);
  will-change: transform;
}

.svc-hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.75) 100%);
  mix-blend-mode: multiply;
}

.svc-hero__noise {
  position: absolute; inset:-10%;
  background-image:url('/assets/noise.png');
  opacity:.08; pointer-events:none;
}

.svc-hero__sheen {
  position: absolute; left:-40%; top:-40%; width:180%; height:180%;
  background: radial-gradient(40% 40% at 50% 50%, rgba(255,255,255,.18), rgba(255,255,255,0) 60%);
  transform: rotate(8deg);
  animation: sheen 12s linear infinite;
  opacity:.35; pointer-events:none;
}
@keyframes sheen{
  0%{transform:translateX(-10%) rotate(8deg)}
  100%{transform:translateX(10%) rotate(8deg)}
}

.svc-hero__inner {
  position: relative;
  width: min(var(--wrap, 1200px), 100%);
  margin-inline: auto;
  padding: 0 24px 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}

.svc-hero .eyebrow {
  font:600 13px/1.1 'Rajdhani', sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#fff; opacity:.85;
  margin-bottom:10px;
}

.svc-hero h1 {
  font-family: 'Montserrat', sans-serif;   /* was Playfair */
  font-weight: 700;
  line-height: .95;
  font-size: clamp(48px, 7.8vw, 92px);
  color:#fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
  margin:0;
  text-align:left;
}

/* Tabs (jump links) */
.svc-tabs{ display:flex; gap:18px; flex-wrap:wrap; margin-top:1.6rem; }
.svc-tabs a{
  font:700 13px/1 'Rajdhani',sans-serif; letter-spacing:.12em; text-transform:uppercase;
  color:#eaeaea; padding:.55rem .75rem; border:1px solid rgba(255,255,255,.18);
  border-radius:999px; transition:background .2s ease, transform .2s ease, color .2s ease;
  backdrop-filter:blur(6px); background:rgba(0,0,0,.25);
}
.svc-tabs a:hover{ background:linear-gradient(180deg, var(--gold), #a9892f); color:#111; transform:translateY(-2px); }

/* Sections */
.svc-section{ padding:48px 0; background:#000; }
.svc-section.alt{ background:#0b0b0b; }
.svc-head{ text-align:left; margin-bottom:18px; }
.svc-head h2 {
  font-family:'Montserrat', sans-serif;    /* was Playfair */
  font-weight:700;
  color:var(--gold);
  font-size: clamp(24px, 3vw, 34px);
}.svc-head p{ font-family:'Rajdhani',sans-serif; font-weight:400; color:#cfcfcf; max-width:800px; }

/* Card grids */
.svc-grid{ display:grid; gap:14px; }
.cards-3{ grid-template-columns:repeat(3,1fr); }
.cards-4{ grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .cards-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:760px){ .cards-3, .cards-4{ grid-template-columns:1fr; } }

.svc-card{ position:relative; background:#111; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-md); }
.svc-card img{ width:100%; height:280px; object-fit:cover; display:block; transform:scale(1.02); transition:transform .55s ease; }
.svc-card:hover img{ transform:scale(1.06); }
.svc-card figcaption{ padding:12px 14px; color:#dcdcdc; font-family:'Rajdhani',sans-serif; font-size:15px; }

/* Masonry */
.svc-masonry{ column-count:3; column-gap:14px; }
.svc-masonry img{ width:100%; margin:0 0 14px; border-radius:14px; box-shadow:var(--shadow-md); display:block; }
@media (max-width:980px){ .svc-masonry{ column-count:2; } }
@media (max-width:560px){ .svc-masonry{ column-count:1; } }

/* Brand row */
.brand-row{ display:flex; gap:28px; align-items:center; justify-content:flex-start; margin-top:16px; flex-wrap:wrap; }
.brand-row img{ height:40px; width:auto; object-fit:contain; filter:none; opacity:.95; }

/* CTA button */
.svc-cta{ text-align:center; margin-top:60px; }
.btn {
  display: inline-block;
  padding: .9rem 1.3rem;
  border-radius: 12px;
  background: #000;                          /* black base */
  color: var(--gold);                        /* gold text */
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .04em;
  border: 2px solid var(--gold);             /* keep gold border */
  box-shadow: 0 8px 28px rgba(199,163,75,.25);
  transition: all .25s ease;
}

/* Center the button in the strip */
.svc-cta{
  display: grid;                 /* easiest vertical + horizontal centering */
  place-items: center;
  min-height: 20px;             /* height of the black band */
  padding-block: 24px;           /* a little breathing room */
  margin-top: 5px;
}

/* Make sure the button doesn't stretch */
.svc-cta .btn{
  display: inline-flex;          /* keeps intrinsic size */
  align-items: center;
  justify-content: center;
  height: auto !important;       /* kill any inherited height */
  padding: .9rem 1.3rem;         /* your original size */
  line-height: 1.1;
  white-space: nowrap;           /* keep text on one line */
}

/* Avoid margin-collapsing weirdness */
.svc-cta > * { margin: 0; }

.btn:hover {
  background: linear-gradient(180deg, var(--gold), #a9892f); /* gold gradient */
  color: #000;                                              /* black text */
  transform: translateY(-2px);
}

/* Reveal hooks */
.reveal{ opacity:0; transform:translateY(10px); }
.reveal.revealed{ opacity:1; transform:none; transition:transform .5s ease, opacity .5s ease; }

/* ===== Header behavior (same as About) ===== */
.site-header.scrolled{ backdrop-filter:blur(8px); background:rgba(0,0,0,.35); transition:background .3s ease, backdrop-filter .3s ease; }
.site-header.hide{ transform:translateY(-100%); transition:transform .3s ease; }

/* 1) Keep generic hover OFF the pill button */
.nav .nav-links a:hover:not(.wrap-btn) {
  /* whatever your normal hover is */
  color: #ffd; /* example */
}

/* 2) Fix wrap button stacking so shimmer doesn't cover text */
.wrap-btn {
  position: relative;
  z-index: 0;            /* create a local stacking context */
  isolation: isolate;
  color: var(--gold) !important;  /* lock default text color */
}

.wrap-btn::before {
  z-index: -1;           /* keep sheen behind text */
}

/* 3) Nuke any background-clip / transparent text inherited from global link hover */
.wrap-btn,
.wrap-btn:hover {
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  mix-blend-mode: normal;
}

/* 4) Define its own hover so it stays readable */
.wrap-btn:hover {
  background: linear-gradient(180deg, var(--gold), #a9892f);
  color: #111 !important;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===== PERFORMANCE SECTION ===== */
.svc-section.alt {
  background: var(--panel-2);
  padding: 80px 0;
}

.svc-head h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--gold);
}

.svc-head p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 650px;
}

.svc-intro {
  margin-bottom: 30px;
}

.svc-intro h3 {
  font-size: 1.5rem;
  color: var(--fg);
  margin-bottom: 10px;
}

.svc-intro p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
}

.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-list li {
  position: relative;
  padding-left: 18px;
  color: var(--fg);
  font-size: 0.95rem;
}

.svc-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* background wrap for cards */
.svc-grid-wrap {
  padding: 40px 24px;
  border-radius: 18px;
  margin-top: 40px;
}

/* grid sizing */
.svc-grid {
  display: grid;
  gap: 20px;
  max-width: 1100px; /* keeps them smaller */
  margin: 0 auto;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cards-4 { grid-template-columns: 1fr; }
}

/* shrink card images */
.svc-card img {
  height: 220px;  /* down from 280px */
}

/* ===== PPF SECTION ===== */
#ppf {
  background: var(--panel);
  padding: 80px 0;
}

#ppf .svc-head h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--gold);
}

#ppf .svc-head p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
}

#ppf .svc-intro {
  margin: 20px 0 40px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg);
  max-width: 820px;
}

/* card grid inherits your .svc-grid and .cards-3 rules */
#ppf .svc-card {
  position: relative;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease;
}
#ppf .svc-card:hover {
  transform: translateY(-4px);
}
#ppf .svc-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .55s ease;
}
#ppf .svc-card:hover img {
  transform: scale(1.06);
}
#ppf .svc-card figcaption {
  padding: 14px 16px;
  color: #dcdcdc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  line-height: 1.4;
}
#ppf .svc-card figcaption strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

/* ===== REMOTE STARTERS SECTION ===== */
#remote {
  background: var(--panel-2);
  padding: 80px 0;
}

#remote .svc-head h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--gold);
}

#remote .svc-head p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
}

#remote .svc-card {
  background: #111;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .25s ease;
}
#remote .svc-card:hover {
  transform: translateY(-4px);
}
#remote .svc-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .55s ease;
}
#remote .svc-card:hover img {
  transform: scale(1.06);
}
#remote .svc-card figcaption {
  padding: 14px 16px;
  color: #dcdcdc;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  line-height: 1.4;
}
#remote .svc-card figcaption strong {
  display: block;
  color: var(--gold);
  margin-bottom: 4px;
}

/* CTA button */
#remote .svc-cta {
  text-align: center;
  margin-top: 40px;
}
#remote .svc-cta .btn {
  display: inline-block;
  padding: 12px 34px;
  background: #000);
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 40px;
  text-decoration: none;
  transition: all .3s ease;
}
#remote .svc-cta .btn:hover {
  background: var(--gold);
  color: #000000ff;
}

/* ===== Lightbox ===== */
.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}
.img-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.img-lightbox-inner {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.img-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.7);
  animation: zoomIn .3s ease;
}

@keyframes zoomIn {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.img-lightbox .close-btn {
  position: absolute;
  top: -30px;
  right: -10px;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  user-select: none;
  transition: transform .2s ease, color .2s ease;
}
.img-lightbox .close-btn:hover {
  transform: scale(1.2);
  color: #fff;
}

.svc-panel {
  background: var(--panel, #0b0b0b);
  padding: 2rem;
  border-radius: var(--radius, 12px);
  margin-top: 3rem;
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.35));
}

.svc-panel h3 {
  color: var(--gold, #c7a34b);
  margin-bottom: 1rem;
}

.svc-panel h4 {
  margin-top: 1.5rem;
  color: var(--fg, #fff);
  font-weight: 600;
}

.svc-panel p,
.svc-panel li {
  color: var(--fg, #fff);
  margin: .4rem 0;
}

.svc-panel .note {
  font-size: .9rem;
  color: var(--muted, #bbb);
  font-style: italic;
}

.svc-accordion {
  background: var(--panel, #0b0b0b);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.35));
  margin-top: 3rem;
  overflow: clip;
}

/* Toggle header */
.svc-accordion .acc-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 0; color: var(--fg, #fff);
  cursor: pointer; user-select: none; text-align: left;
}
.svc-accordion .acc-toggle span { color: var(--gold, #c7a34b); font-weight: 700; letter-spacing: .2px; }

.svc-accordion .chev { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .24s ease; }
.svc-accordion .chev path { fill: none; stroke: currentColor; stroke-width: 2; opacity: .9; }
.svc-accordion .acc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Panel (animates height only) */
.svc-accordion .acc-panel {
  overflow: hidden;
  height: 0; /* collapsed */
  transition: height 300ms ease;
}

/* Inner content carries vertical padding so height math stays exact */
.svc-accordion .acc-inner {
  padding: 0.8rem 1.4rem 1.4rem;
  color: var(--fg, #fff);
}

.svc-accordion h4 { margin-top: 1.2rem; font-weight: 600; color: var(--fg, #fff); }
.svc-accordion p, .svc-accordion li { margin: .45rem 0; }
.svc-accordion .fee-list { margin: .5rem 0 1rem; padding-left: 1.2rem; }
.svc-accordion .note { font-size: .9rem; color: var(--muted, #bbb); font-style: italic; }

@media (prefers-reduced-motion: reduce) {
  .svc-accordion .acc-panel { transition: none !important; }
}

.svc-accordion,
.svc-accordion * {
  font-family: inherit;   /* match page font */
  line-height: 1.5;
  font-size: 1rem;        /* same as body text */
}

.svc-accordion {
  background: var(--panel, #0b0b0b);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md, 0 10px 30px rgba(0,0,0,.35));
  margin-top: 3rem;
  overflow: clip;
}

/* Toggle header */
.svc-accordion .acc-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: 0; 
  color: var(--fg, #fff);
  cursor: pointer; user-select: none; text-align: left;
  font-weight: 600;       /* same as other section headings */
  letter-spacing: 0.2px;
}
.svc-accordion .acc-toggle span { color: var(--gold, #c7a34b); font-weight: 700; }

/* Chevron */
.svc-accordion .chev { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .24s ease; }
.svc-accordion .chev path { fill: none; stroke: currentColor; stroke-width: 2; opacity: .9; }
.svc-accordion .acc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* Panel (animates height only) */
.svc-accordion .acc-panel {
  overflow: hidden;
  height: 0;
  transition: height 300ms ease;
}

.svc-accordion .acc-inner {
  padding: 0.8rem 1.4rem 1.4rem;
  color: var(--fg, #fff);
  font-weight: 400;       /* match body copy weight */
}

.svc-accordion h4 { 
  margin-top: 1.2rem; 
  font-weight: 600; 
  color: var(--fg, #fff);
  font-family: inherit;
}
.svc-accordion p, .svc-accordion li { margin: .45rem 0; font-family: inherit; }
.svc-accordion .fee-list { margin: .5rem 0 1rem; padding-left: 1.2rem; }
.svc-accordion .note { font-size: .9rem; color: var(--muted, #bbb); font-style: italic; }
