/* Self-hosted fonts (fontsource). font-display: swap = text shows immediately. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* =========================================================
   Roofers of Surrey - Premium Modern Dark Stylesheet
   ========================================================= */
:root {
  --bg-main: #0e0f12;
  --bg-card: #15171c;
  --bg-card-hover: #1c1f26;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --accent: #1971e6;
  --accent-glow: rgba(25, 113, 230, 0.35);
  --accent-hover: #125bc4;
  --text-main: #ffffff;
  --text-muted: #9ea5b3;
  --text-dim: #646b79;
  --radius-sm: 6px;
  --radius: 12px;
  --max-w: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.container {
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ================= Top Bar ================= */
.top-bar {
  background-color: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  color: var(--text-muted);
  position: relative;
  z-index: 1001;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.top-bar-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.top-bar a:hover {
  color: var(--accent);
}

/* ================= Header ================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(14, 15, 18, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.logo span {
  text-align: left;
  line-height: 1.15;
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}
.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0;
}
.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--text-main);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hamburger-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #111216;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: center;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

/* ================= Hero ================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  background-color: var(--bg-main);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 15, 18, 0.4) 0%, var(--bg-main) 90%);
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(25, 113, 230, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #70adff;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 2.5rem;
}
.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ================= Trust Stats ================= */
.stats-strip {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  background-color: #111216;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.2rem;
}
.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= Section Layouts ================= */
.section-pad { padding: 6rem 0; }
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}
.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.card h3 { font-size: 1.3rem; margin: 1rem 0 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; flex-grow: 1; }

/* ================= Dynamic R2 Gallery Grid ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.gallery-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #17181f;
  position: relative;
}
.gallery-img-box img, .gallery-img-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-img-box img { transform: scale(1.05); }
.video-play-badge {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-badge div {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-info { padding: 1.1rem 1.4rem; }
.gallery-info h3 { font-size: 1.05rem; }

/* ================= Interactive Before / After Slider ================= */
.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  user-select: none;
}
.before-after-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.after-image {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  cursor: ew-resize;
  z-index: 10;
}
.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

/* ================= Lightbox Modal ================= */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 920px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lightbox-image-box {
  width: 100%;
  height: 60vh;
  max-height: 560px;
  background: #08090b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.lightbox-image-box img, .lightbox-image-box video {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
}
.lightbox-details {
  padding: 1.25rem 1.75rem;
  background: #14151a;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

/* ================= About Split ================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-content h2 { font-size: 2.3rem; margin-bottom: 1.25rem; }
.split-content p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 0.98rem; }
.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ================= Reviews ================= */
.reviews-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.reviews-score { display: flex; align-items: center; gap: 1rem; }
.stars { color: #f59e0b; font-size: 1.15rem; letter-spacing: 2px; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-card blockquote {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.author-info { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #20232a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #70adff;
}

/* ================= Footer ================= */
footer {
  background-color: #08090b !important;
  border-top: 1px solid var(--border);
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-col h3 { font-size: 1.2rem; margin-bottom: 1.15rem; }
.footer-col p { color: var(--text-muted); margin-bottom: 0.85rem; font-size: 0.92rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label { font-size: 0.82rem; color: var(--text-muted); }
.form-control {
  width: 100%;
  background-color: #131418;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
}
.form-control:focus { outline: none; border-color: var(--accent); }
textarea.form-control { min-height: 95px; resize: vertical; }
.form-status-box {
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-align: center;
  display: none;
}
.form-status-box.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.form-status-box.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.copyright {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ================= Responsive Rules ================= */
@media (max-width: 992px) {
  .grid-3, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .logo { font-size: 1.15rem; gap: 0.6rem; }
  .logo img { height: 40px; }
  .logo span { text-align: center; line-height: 1.15; }
  .hamburger-btn { display: flex !important; }
  .gallery-grid { grid-template-columns: 1fr; }
  /* Homepage gallery: horizontal swipe carousel on mobile */
  #homepage-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    padding-bottom: 0.5rem;
    margin-right: -4%;
    padding-right: 4%;
  }
  #homepage-gallery::-webkit-scrollbar { display: none; }
  #homepage-gallery > .gallery-card { flex: 0 0 82%; scroll-snap-align: start; }
  .split-section, .footer-grid, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .section-pad { padding: 3.5rem 0; }
  .reviews-bar { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .logo span { font-size: 1rem; }
}
/* ================= Privacy Policy ================= */
.policy h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.policy p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.9rem; }
.policy a { color: var(--accent); }
.form-privacy-note { font-size: 0.75rem; color: var(--text-dim); text-align: center; }
.form-privacy-note a, .copyright a { text-decoration: underline; }

/* ================= Instagram Strip ================= */
.instagram-strip {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.instagram-header h2 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.ig-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3rem) / 4);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ig-grid::-webkit-scrollbar { display: none; }
.ig-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  scroll-snap-align: start;
  transition: var(--transition);
}
.ig-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.ig-card img {
  transition: transform 0.5s ease;
}
.ig-card:hover img {
  transform: scale(1.06);
}
.ig-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(8, 9, 11, 0.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ig-card:hover .ig-card-overlay { opacity: 1; }
.ig-card-overlay span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.7);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
  .instagram-strip { padding: 3.5rem 0; }
  .instagram-header h2 { font-size: 1.6rem; }
  .ig-grid {
    grid-auto-columns: 68%;
    margin-right: -4%;
    padding-right: 4%;
  }
  .ig-card-overlay { display: none; }
}

/* ================= Service card thumbnails ================= */
.service-card { padding: 0; overflow: hidden; }
.service-card h3 { margin: 1.25rem 1.5rem 0.5rem; }
.service-card p { margin: 0 1.5rem 1.5rem; }
.service-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #17181f;
  border-bottom: 1px solid var(--border);
}
.service-thumb img { transition: transform 0.5s ease; }
.service-card:hover .service-thumb img { transform: scale(1.05); }

/* ================= Homepage gallery: single scrolling row on desktop ================= */
.gallery-controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin: -1.5rem 0 1rem; }
.gallery-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-main); font-size: 1.05rem; cursor: pointer;
  transition: var(--transition);
}
.gallery-arrow:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 769px) {
  #homepage-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3rem) / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 4px 2px 8px;
  }
  #homepage-gallery::-webkit-scrollbar { display: none; }
  #homepage-gallery > .gallery-card { scroll-snap-align: start; }
}
@media (max-width: 768px) {
  .gallery-controls { display: none; }
}

/* Gallery: placeholder for a video with no thumbnail (no <video> in the grid) */
.video-thumb-blank { width: 100%; height: 100%; background: linear-gradient(135deg, #1a1d24, #0e0f12); }
.gallery-sentinel { flex: 0 0 1px; align-self: stretch; }
.gallery-card { cursor: pointer; }

/* Floating WhatsApp button: phones only (desktop visitors have the header phone number) */
.wa-float { display: none; }
@media (max-width: 767px) {
  .wa-float {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 900;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.7rem 1rem; border-radius: 999px;
    background: #0f7a41; color: #fff; font-weight: 600; font-size: 0.9rem; text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  }
  .wa-float:active { transform: scale(0.96); }
}

/* Smooth fade between pages (browsers without support just change page as normal) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.25s; }
}

/* iPhone: Safari zooms the page in when you tap a field whose text is under 16px, and
   stays zoomed. 16px on phones stops that (zoom itself stays allowed). Also stop iOS
   enlarging text on its own when the phone is turned sideways. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* No blue/grey flash on tap (pressed states already show the tap). SITE_STANDARD P12 */
html { -webkit-tap-highlight-color: transparent; }
@media (max-width: 767px) {
  input, select, textarea, .form-control { font-size: 16px; }
}

/* ---- service pages (5 Oct) ---- */
[hidden] { display: none !important; }
.crumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.crumbs a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text-main); }
.svc-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.svc-kicker { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.svc-body { max-width: 820px; }
.svc-body h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body p { color: var(--text-muted); margin-bottom: 1rem; }
.svc-list { list-style: none; display: grid; gap: 0.5rem; margin: 0 0 1rem; }
.svc-list li { position: relative; padding-left: 1.6rem; color: var(--text-muted); }
.svc-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.svc-faq { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; }
.svc-faq summary { cursor: pointer; font-weight: 600; }
.svc-faq p { margin: 0.6rem 0 0; }
.svc-others { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.svc-others a { display: inline-block; padding: 0.55rem 1rem; border: 1px solid var(--border); border-radius: 999px; }
.svc-others a:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.svc-more { display: inline-block; margin-top: 0.75rem; font-weight: 600; color: var(--accent); }
.gallery-info h4 a, .service-card h3 a { color: inherit; }
.gallery-info h4 a:hover, .service-card h3 a:hover { color: var(--accent); }

/* ---------- Service tiles: the whole tile is the link (11 Oct) ----------
   The heading's link is stretched over the card, so a tap anywhere on the photo or text opens
   the service page. Still one link per tile for screen readers; the card shows the focus ring. */
.service-card, .svc-tile { position: relative; cursor: pointer; }
.service-card h3 a::after, .svc-tile h4 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.service-card h3 a:focus-visible, .svc-tile h4 a:focus-visible { outline: none; }
.service-card:focus-within, .svc-tile:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.service-card:hover h3 a, .svc-tile:hover h4 a { color: var(--accent); }
.svc-tile .svc-more { position: relative; z-index: 2; }
