/* ============================================================
   DRIVEWAY DOCTOR — drivewaydoctor.ie
   Design system: ink navy + cobalt on warm limestone, amber CTAs
   Type: Bricolage Grotesque (display) / Figtree (body)
   ============================================================ */

:root {
  --ink: #0f2440;
  --ink-deep: #0a1a30;
  --cobalt: #2456c4;
  --cobalt-bright: #2f6ae0;
  --limestone: #f5f2eb;
  --limestone-dark: #ebe6da;
  --stone: #c9c2b2;
  --amber: #f2a91e;
  --amber-deep: #d98f0a;
  --white: #ffffff;
  --grass: #3e7c4f;
  --text: #2a3441;
  --text-soft: #5b6675;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 8px 30px rgba(15, 36, 64, 0.10);
  --shadow-lift: 0 18px 50px rgba(15, 36, 64, 0.18);
  --seam: polygon(0 0, 100% 0, 100% calc(100% - 4.5vw), 0 100%);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--limestone);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

/* grain overlay for atmosphere */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utility top bar ---------- */
.topbar {
  background: var(--ink-deep);
  color: #c8d4e8;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--amber); }
.topbar-contact { display: flex; gap: 22px; }
.topbar-note { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
@media (max-width: 640px) { .topbar-note { display: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 36, 64, 0.08);
}
.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 24px;
}
.logo img { height: 52px; width: auto; border-radius: 6px; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav > a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem;
  position: relative; padding: 4px 0;
}
.nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  background: var(--amber); border-radius: 2px; transition: width 0.25s ease;
}
.nav > a:hover::after, .nav > a.active::after { width: 100%; }

.nav-cta {
  background: var(--amber); color: var(--ink) !important; font-weight: 700;
  padding: 10px 22px !important; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(242, 169, 30, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(242, 169, 30, 0.5); }

/* services dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 250px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.22s ease;
}
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop-menu a {
  display: block; padding: 10px 14px; border-radius: 9px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.93rem;
}
.drop-menu a:hover { background: var(--limestone); color: var(--cobalt); }

/* mobile nav */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 90px 32px; gap: 20px; transition: right 0.3s ease; z-index: 99;
  }
  .nav.open { right: 0; }
  .nav > a { color: var(--white); font-size: 1.1rem; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 0 14px; }
  .drop-menu a { color: #b8c6dd; padding: 6px 0; }
  .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); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 6px 20px rgba(242, 169, 30, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(242, 169, 30, 0.55); background: #ffb52a; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--cobalt); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  min-height: min(86vh, 780px); display: flex; align-items: center;
  clip-path: var(--seam);
  padding: 60px 0 110px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(102deg, rgba(10, 26, 48, 0.94) 18%, rgba(15, 36, 64, 0.72) 48%, rgba(15, 36, 64, 0.28) 100%);
}
.hero-content { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--amber); }
.hero h1 {
  color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  font-weight: 800; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 1.22rem; color: #d7e1f2; margin-bottom: 14px; font-weight: 600; }
.hero-desc { color: #b9c7dd; margin-bottom: 36px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* staggered hero reveal */
.hero-content > * { opacity: 0; transform: translateY(26px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-content > *:nth-child(3) { animation-delay: 0.27s; }
.hero-content > *:nth-child(4) { animation-delay: 0.38s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* hero trust chips */
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 42px; }
.chip {
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  padding: 9px 18px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: #e7eefa;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-header { max-width: 620px; margin-bottom: 54px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt);
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-header p { color: var(--text-soft); font-size: 1.08rem; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Service tiles (dad's wireframe: 4 click-for-images tiles) ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
@media (max-width: 1020px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

.tile {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.tile-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.tile:hover .tile-img { transform: scale(1.07); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 48, 0) 35%, rgba(10, 26, 48, 0.88) 100%);
}
.tile-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 24px;
}
.tile-body h3 { color: var(--white); font-size: 1.32rem; font-weight: 800; margin-bottom: 6px; }
.tile-body p { color: #c3cfe2; font-size: 0.88rem; line-height: 1.45; }
.tile-arrow {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--white); font-size: 1.1rem;
  transition: background 0.25s, transform 0.25s;
}
.tile:hover .tile-arrow { background: var(--amber); color: var(--ink); transform: rotate(45deg); }

/* graphic tile (render — no photo available) */
.tile-graphic {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, var(--cobalt) 0%, var(--ink) 100%);
}
.tile-graphic::before {
  content: ""; position: absolute; inset: 0; opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 34px 34px;
}
.tile-graphic span {
  position: absolute; top: 26px; left: 24px; right: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92); line-height: 1.3;
}

/* ---------- Playground feature band ---------- */
.playground-band {
  margin-top: 26px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink);
  display: grid; grid-template-columns: 1.2fr 1fr;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 880px) { .playground-band { grid-template-columns: 1fr; } }
.playground-copy { padding: 48px 46px; color: #c3cfe2; }
.playground-copy h3 { color: var(--white); font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.playground-copy p { font-size: 0.97rem; margin-bottom: 26px; }
.playground-visual {
  position: relative; min-height: 240px;
  background:
    radial-gradient(circle at 20% 30%, #e84f4f 0 14%, transparent 15%),
    radial-gradient(circle at 60% 20%, #f2a91e 0 11%, transparent 12%),
    radial-gradient(circle at 80% 60%, #3e7c4f 0 16%, transparent 17%),
    radial-gradient(circle at 35% 70%, #2f6ae0 0 13%, transparent 14%),
    radial-gradient(circle at 70% 88%, #e84f4f 0 9%, transparent 10%),
    radial-gradient(circle at 10% 85%, #f2a91e 0 11%, transparent 12%),
    #142e52;
}
.band-photo {
  position: relative; min-height: 260px;
  background-size: cover; background-position: center;
}
.playground-visual::after {
  content: "Safe play surfaces in any colour";
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Before / After slider ---------- */
.ba-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16 / 10; max-width: 880px; margin: 0 auto;
  box-shadow: var(--shadow-lift);
  user-select: none; touch-action: none; cursor: ew-resize;
}
.ba-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none;
}
.ba-top { clip-path: inset(0 0 0 var(--cut, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); z-index: 3;
  width: 4px; background: var(--white); transform: translateX(-2px);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}
.ba-handle::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: grid; place-items: center;
  font-size: 0.82rem; font-weight: 800; letter-spacing: -1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.ba-tag {
  position: absolute; top: 18px; z-index: 2;
  padding: 7px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--white);
}
.ba-tag-before { left: 18px; background: rgba(10, 26, 48, 0.78); }
.ba-tag-after { right: 18px; background: var(--grass); }
.ba-caption { text-align: center; margin-top: 18px; color: var(--text-soft); font-size: 0.93rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
@media (max-width: 880px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(10, 26, 48, 0.85));
  color: var(--white); font-size: 0.85rem; font-weight: 600;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover figcaption { opacity: 1; }

/* ---------- Process band (Diagnose / Treat / Protect) ---------- */
.process { background: var(--ink); clip-path: var(--seam); padding-bottom: 130px; }
.process .section-header h2, .process h3 { color: var(--white); }
.process .section-header p { color: #a9b8d0; }
.process .eyebrow { color: var(--amber); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 820px) { .process-grid { grid-template-columns: 1fr; } }
.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg); padding: 36px 30px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.step:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: var(--amber); line-height: 1; margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: #a9b8d0; font-size: 0.95rem; }

/* ---------- About / who we are ---------- */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; gap: 36px; } }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.about-badge {
  position: absolute; bottom: -22px; right: -14px;
  background: var(--amber); color: var(--ink);
  border-radius: var(--radius); padding: 18px 24px;
  font-family: var(--font-display); font-weight: 800; line-height: 1.15;
  box-shadow: var(--shadow-soft); max-width: 200px;
}
.about-badge small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; margin-top: 4px; }
.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.about-copy p { margin-bottom: 16px; color: var(--text-soft); }
.about-points { list-style: none; margin: 24px 0 32px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.about-points li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--cobalt); color: var(--white);
  display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px;
}

/* ---------- Contact ---------- */
.contact { background: var(--limestone-dark); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; }
@media (max-width: 880px) { .contact-wrapper { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  flex: 0 0 48px; height: 48px; border-radius: 13px;
  background: var(--ink); color: var(--amber);
  display: grid; place-items: center;
}
.contact-item h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 3px; }
.contact-item a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.08rem; }
.contact-item a:hover { color: var(--cobalt); }
.social-links { display: flex; gap: 12px; margin-top: 30px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 0.9rem; color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.social-btn-facebook { background: #1877f2; }
.social-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.contact-form-wrapper {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 700; font-size: 0.86rem;
  color: var(--ink); margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 2px solid var(--limestone-dark); border-radius: 11px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--limestone); outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cobalt); background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--text-soft); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #9fb0c9; padding: 70px 0 30px; }
.footer-content {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 50px;
}
@media (max-width: 820px) { .footer-content { grid-template-columns: 1fr; gap: 32px; } }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer p { font-size: 0.93rem; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #9fb0c9; text-decoration: none; font-size: 0.93rem; }
.footer a:hover { color: var(--amber); }
.footer-logo { height: 46px; border-radius: 6px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.84rem;
}

/* ---------- Service page layout ---------- */
.page-hero {
  position: relative; color: var(--white);
  padding: 110px 0 130px; clip-path: var(--seam); isolation: isolate;
  background: linear-gradient(120deg, var(--ink-deep), var(--ink) 55%, var(--cobalt));
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(102deg, rgba(10, 26, 48, 0.95) 22%, rgba(15, 36, 64, 0.6) 100%);
}
.page-hero .crumb { font-size: 0.84rem; font-weight: 600; color: #9fb0c9; margin-bottom: 18px; }
.page-hero .crumb a { color: var(--amber); text-decoration: none; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 700px; margin-bottom: 16px; }
.page-hero p { color: #c3cfe2; max-width: 600px; font-size: 1.12rem; }

.service-body { padding: 80px 0; }
.service-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: flex-start; }
@media (max-width: 880px) { .service-layout { grid-template-columns: 1fr; } }
.service-content h2 { font-size: 1.7rem; margin: 38px 0 14px; }
.service-content h2:first-child { margin-top: 0; }
.service-content p { margin-bottom: 16px; color: var(--text-soft); }
.service-content strong { color: var(--ink); }
.service-content ul { margin: 0 0 18px 22px; color: var(--text-soft); display: grid; gap: 8px; }
.service-content img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin: 28px 0; }

.spec-list { list-style: none !important; margin-left: 0 !important; gap: 0 !important; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid var(--limestone-dark);
  font-size: 0.97rem;
}
.spec-list li span:first-child { font-weight: 700; color: var(--ink); }

.service-aside { position: sticky; top: 110px; display: grid; gap: 24px; }
.aside-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-soft);
}
.aside-card.ink { background: var(--ink); color: #c3cfe2; }
.aside-card.ink h3 { color: var(--white); }
.aside-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.aside-card p { font-size: 0.93rem; margin-bottom: 18px; }
.aside-card .phone-big {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--amber); text-decoration: none; margin-bottom: 6px;
}
.aside-links { list-style: none; display: grid; gap: 4px; }
.aside-links a {
  display: block; padding: 11px 14px; border-radius: 10px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.93rem;
}
.aside-links a:hover, .aside-links a.active { background: var(--limestone); color: var(--cobalt); }

/* photo-coming-soon note */
.photo-note {
  border: 2px dashed var(--stone); border-radius: var(--radius);
  padding: 18px 22px; font-size: 0.88rem; color: var(--text-soft);
  background: rgba(255, 255, 255, 0.5); margin: 24px 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--cobalt), var(--ink));
  border-radius: var(--radius-lg);
  padding: 56px 50px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); max-width: 540px; }
.cta-band p { color: #c3cfe2; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
