/* ============================================================
   Permann Diesel Solutions — styles
   Palette pulled from the logo: lime green + black, steel grey + white
   ============================================================ */

:root {
  --green:        #A6E84A;   /* logo green */
  --green-deep:   #7DBF2C;   /* deeper green for gradients */
  --green-glow:   #C4FB5E;   /* bright highlight */
  --green-shadow: rgba(166, 232, 74, 0.30);

  --black:   #0a0c0a;
  --ink:     #0f120f;        /* base section bg */
  --ink-2:   #131613;        /* alt section bg */
  --panel:   #181c18;        /* cards */
  --panel-2: #1f241f;        /* card hover / raised */

  --line:        #262c26;          /* grey borders */
  --line-green:  rgba(166,232,74,.22);

  --white:      #ffffff;
  --grey-100:   #eef1ec;
  --grey-300:   #c3cabf;
  --grey-400:   #9aa394;     /* muted body text */
  --grey-500:   #6f776c;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 18px 40px rgba(0,0,0,.45);
  --shadow-green: 0 14px 34px rgba(125,191,44,.28);

  --maxw: 1180px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--grey-300);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}

.section { padding: 92px 0; position: relative; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--green);
  margin-bottom: 14px;
  padding-left: 30px;
  position: relative;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--green);
  transform: translateY(-50%);
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.section-lead { color: var(--grey-400); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  will-change: transform;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; }

.btn-green {
  background: linear-gradient(180deg, var(--green-glow), var(--green));
  color: #10210a;
  box-shadow: var(--shadow-green);
}
.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(125,191,44,.45);
  background: linear-gradient(180deg, #d4ff6e, var(--green-glow));
}
.btn-green:active { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--white);
  border-color: var(--line);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}

.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-xl { padding: 19px 40px; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,12,10,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand-logo {
  height: 52px; width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 1px;
  font-size: .92rem; font-weight: 500;
  color: var(--grey-300);
  position: relative;
  padding: 6px 0;
  transition: color .18s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width .22s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }

.header-call { margin-left: 4px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  margin-left: auto;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--green); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 22px 22px;
  border-top: 1px solid var(--line);
  background: rgba(10,12,10,.97);
}
.mobile-menu a {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  padding: 13px 6px; color: var(--grey-200, #d6dccf);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { margin-top: 14px; border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/cummins-engine.jpg") center 42% / cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,12,8,.94) 0%, rgba(8,12,8,.72) 45%, rgba(10,20,6,.55) 100%),
    radial-gradient(120% 80% at 80% 20%, rgba(125,191,44,.18), transparent 60%);
}

/* Homepage hero — Permann logo as background */
.hero--logo {
  background: radial-gradient(120% 130% at 68% 42%, #15280c 0%, #0b0d0b 60%);
}
.hero--logo .hero-bg {
  background: url("/images/logo-hero.png") no-repeat center 46%;
  background-size: min(560px, 82%);
  transform: none;
  opacity: .5;
}
.hero--logo .hero-overlay {
  background:
    linear-gradient(100deg, rgba(8,12,8,.90) 0%, rgba(8,12,8,.58) 48%, rgba(10,20,6,.22) 100%),
    radial-gradient(120% 80% at 78% 24%, rgba(125,191,74,.16), transparent 60%);
}

.hero-content { position: relative; z-index: 2; padding: 70px 22px; max-width: 780px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 2px; font-size: .82rem; font-weight: 500;
  color: var(--green);
  background: rgba(166,232,74,.08);
  border: 1px solid var(--line-green);
  padding: 8px 16px; border-radius: 50px;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.hero h1 .hl { color: var(--green); text-shadow: 0 0 30px rgba(166,232,74,.35); }
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--grey-100);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

.hero-phone {
  display: inline-flex; flex-direction: column;
  border-left: 3px solid var(--green);
  padding-left: 16px;
}
.hero-phone-label {
  font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: 2px; font-size: .75rem; color: var(--grey-400);
}
.hero-phone-num {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--white);
  transition: color .18s ease;
}
.hero-phone:hover .hero-phone-num { color: var(--green); }

/* ---------- Trust bar ---------- */
.trustbar {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.trust-item {
  background: var(--ink);
  padding: 30px 20px; text-align: center;
  transition: background .2s ease;
}
.trust-item:hover { background: var(--ink-2); }
.trust-item .stars { color: var(--green); font-size: 1.25rem; letter-spacing: 2px; }
.trust-big { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; color: var(--green); line-height: 1; }
.trust-pin { width: 30px; height: 30px; fill: var(--green); margin: 0 auto 4px; }
.trust-main { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; color: var(--white); font-size: 1.02rem; margin-top: 6px; }
.trust-sub { color: var(--grey-500); font-size: .85rem; }

/* ---------- About ---------- */
.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-media::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 120px; height: 120px;
  border-top: 3px solid var(--green); border-right: 3px solid var(--green);
  border-top-right-radius: var(--radius);
  opacity: .8;
}
.media-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(10,12,10,.85); backdrop-filter: blur(6px);
  border: 1px solid var(--line-green);
  color: var(--green);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .76rem; padding: 8px 14px; border-radius: 50px;
}
.about-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; color: var(--grey-400); }
.about-copy strong { color: var(--grey-100); }
.about-list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.about-list li {
  position: relative; padding-left: 32px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px;
  color: var(--grey-100); font-size: .98rem;
}
.about-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #10210a;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* ---------- Services ---------- */
.services { background: var(--ink-2); border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-green);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }
.card-ico {
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(166,232,74,.10);
  border: 1px solid var(--line-green);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: background .22s ease, transform .22s ease;
}
.card-ico svg { width: 28px; height: 28px; fill: var(--green); }
.card:hover .card-ico { background: var(--green); transform: rotate(-6deg); }
.card:hover .card-ico svg { fill: #10210a; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--grey-400); font-size: .94rem; line-height: 1.55; }

.card-cta {
  background: linear-gradient(160deg, rgba(125,191,44,.16), rgba(15,18,15,.6));
  border-color: var(--line-green);
  display: flex; flex-direction: column; justify-content: center;
}
.card-cta h3 { color: var(--green); }
.card-cta .btn { margin-top: 16px; }
.card-cta:hover { transform: translateY(-6px); }

/* ---------- Why choose us ---------- */
.why { background: var(--ink); border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.why-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.why-lead { color: var(--grey-400); margin-bottom: 28px; font-size: 1.05rem; }
.why-list { list-style: none; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list .chk {
  flex: none;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(166,232,74,.12); border: 1px solid var(--line-green);
  color: var(--green); font-weight: 700;
  display: grid; place-items: center; margin-top: 2px;
  transition: background .2s ease, color .2s ease;
}
.why-list li:hover .chk { background: var(--green); color: #10210a; }
.why-list strong { display: block; color: var(--white); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.why-list span:not(.chk) { display: block; color: var(--grey-400); font-size: .94rem; }

.why-media { position: relative; }
.why-media img {
  width: 100%; height: 540px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.why-media::before {
  content: ""; position: absolute; inset: auto auto -14px -14px;
  width: 120px; height: 120px;
  border-bottom: 3px solid var(--green); border-left: 3px solid var(--green);
  border-bottom-left-radius: var(--radius); opacity: .8;
}

/* ---------- Reviews ---------- */
.reviews { background: var(--ink-2); border-top: 1px solid var(--line); }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: linear-gradient(180deg, var(--panel), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.review::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--green); opacity: .14;
}
.review:hover { transform: translateY(-6px); border-color: var(--line-green); box-shadow: var(--shadow); }
.review .stars { color: var(--green); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.review blockquote { color: var(--grey-100); font-size: 1.12rem; line-height: 1.55; margin-bottom: 22px; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, var(--green-glow), var(--green-deep));
  color: #10210a; font-family: var(--font-head); font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
}
.rev-name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; color: var(--white); font-weight: 600; display: flex; flex-direction: column; line-height: 1.2; }
.rev-name small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; color: var(--grey-500); font-size: .78rem; font-weight: 400; }

/* ---------- Location ---------- */
.location { background: var(--ink); border-top: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.location-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 26px; }
.info-block { display: grid; gap: 18px; margin-bottom: 28px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; }
.info-row .ico { width: 24px; height: 24px; fill: var(--green); flex: none; margin-top: 3px; }
.info-row strong { display: block; color: var(--white); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.info-row a:hover { color: var(--green); }
.location-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.location-photo { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  min-height: 460px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; padding: 96px 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.final-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,8,.90), rgba(8,12,8,.93)),
    url("images/racecar.jpg") center 35% / cover no-repeat;
}
.final-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 40%, rgba(125,191,44,.20), transparent 70%);
}
.final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.final-inner h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 16px; }
.final-inner p { color: var(--grey-100); font-size: 1.12rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-brand img { height: 64px; margin-bottom: 16px; }
.footer-brand p { color: var(--grey-400); font-size: .92rem; max-width: 300px; }
.footer-col h4 { color: var(--green); font-size: 1rem; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--grey-400); padding: 5px 0; font-size: .92rem; transition: color .18s ease, padding-left .18s ease; }
.footer-col a:hover { color: var(--green); padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--grey-500); font-size: .84rem; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(180deg, var(--green-glow), var(--green));
  color: #10210a;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  align-items: center; justify-content: center; gap: 10px;
  padding: 15px; font-size: 1.05rem;
  box-shadow: 0 -8px 24px rgba(0,0,0,.4);
}
.mobile-callbar .ico { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header-call { display: none; }
  .nav-toggle { display: flex; }
  .about-grid, .why-grid, .location-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-media { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-media img, .why-media img { height: 420px; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 92vh; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  body { padding-bottom: 64px; } /* room for call bar */
  .mobile-callbar { display: flex; }
  .about-media::before, .why-media::before { display: none; }
}

/* ============================================================
   Multi-page additions (nav active, page hero)
   ============================================================ */

/* Active nav link */
.nav a.active { color: var(--green); }
.nav a.active::after { width: 100%; }
.mobile-menu a.active:not(.btn) { color: var(--green); }

/* Page hero (subpage banner) */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
  padding: 74px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 85% 0%, rgba(125,191,44,.13), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 14px 0 12px;
}
.page-hero-sub {
  color: var(--grey-300);
  font-size: 1.08rem;
  max-width: 640px;
}

/* Page hero with a shop photo behind it (e.g. Services) */
.page-hero--photo {
  background:
    linear-gradient(100deg, rgba(8,12,8,.92) 0%, rgba(8,12,8,.78) 50%, rgba(10,20,6,.62) 100%),
    url("/images/cummins-engine.jpg") center 42% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   Homepage "explore the site" preview cards
   ============================================================ */
.explore { background: var(--ink); border-top: 1px solid var(--line); }
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.explore-card {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--panel), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.explore-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-green);
  box-shadow: var(--shadow);
}
.explore-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.explore-media { height: 180px; overflow: hidden; }
.explore-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.explore-card:hover .explore-media img { transform: scale(1.06); }
.explore-media--reviews {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(160deg, rgba(125,191,44,.18), rgba(15,18,15,.6));
  border-bottom: 1px solid var(--line-green);
}
.explore-stars { color: var(--green); font-size: 1.9rem; letter-spacing: 3px; }
.explore-rating {
  color: var(--grey-300); font-size: .82rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
}
.explore-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.explore-kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px;
  font-size: .72rem; color: var(--green); margin-bottom: 6px;
}
.explore-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.explore-body p { color: var(--grey-400); font-size: .92rem; line-height: 1.55; margin-bottom: auto; }
.explore-cta {
  align-self: flex-start;
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .82rem; font-weight: 600;
  color: #10210a;
  background: linear-gradient(180deg, var(--green-glow), var(--green));
  padding: 11px 20px; border-radius: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.explore-card:hover .explore-cta {
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
  background: linear-gradient(180deg, #d4ff6e, var(--green-glow));
}

@media (max-width: 980px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-media { height: 200px; }
}

/* ============================================================
   Clickable service cards
   ============================================================ */
.card[data-service] { cursor: pointer; }
.card[data-service]:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.card[data-service]::after {
  content: "View details →";
  display: block;
  margin-top: 16px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .76rem;
  color: var(--green);
  opacity: .6;
  transition: opacity .2s ease, transform .2s ease;
}
.card[data-service]:hover::after,
.card[data-service]:focus-visible::after { opacity: 1; transform: translateX(4px); }

/* ============================================================
   Service detail modal
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6, 8, 6, .74);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.open { opacity: 1; }

.modal {
  position: relative;
  width: 100%; max-width: 520px;
  background: linear-gradient(180deg, var(--panel-2), var(--ink));
  border: 1px solid var(--line-green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px 26px;
  max-height: 88vh; overflow: auto;
  transform: translateY(18px) scale(.97);
  opacity: .4;
  transition: transform .28s cubic-bezier(.2, .7, .2, 1), opacity .28s ease;
}
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green), transparent);
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--grey-300);
  font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.modal-close:hover { background: var(--green); color: #10210a; border-color: var(--green); transform: rotate(90deg); }
.modal-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.modal-ico {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(166, 232, 74, .1);
  border: 1px solid var(--line-green);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.modal-ico svg { width: 30px; height: 30px; fill: var(--green); }
.modal-kicker {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 2px;
  font-size: .72rem; color: var(--green); margin-bottom: 6px;
}
.modal-title { font-size: 1.6rem; margin-bottom: 12px; }
.modal-desc { color: var(--grey-300); font-size: 1rem; line-height: 1.6; margin-bottom: 24px; }
.modal-footer { display: flex; justify-content: flex-end; }
body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .modal { padding: 30px 22px 22px; }
  .modal-title { font-size: 1.4rem; }
  .modal-footer .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 56px 0 44px; }
}
