/* ============================================================
   SYDNEY PLUMBING EMPIRE — Design System
   Editorial, premium, investigative specialist tone
   Inspired by Adept.ai: breathable, zero AI-slop aesthetic
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:          #f7f5f0;
  --bg-2:        #eeeae1;
  --bg-dark:     #131210;
  --text:        #16140f;
  --text-muted:  #6b6558;
  --text-light:  #9c9488;
  --accent:      #b8933a;
  --accent-dark: #9a7a2e;
  --border:      rgba(22,20,15,0.10);
  --border-strong: rgba(22,20,15,0.18);
  --white:       #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Work Sans', system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.5rem;
  --text-4xl:  3.5rem;
  --text-hero: clamp(2.4rem, 8vw, 5.5rem);

  --radius:    4px;
  --radius-lg: 8px;

  --max-w: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(5rem, 10vw, 9rem);
}

[data-theme="dark"] {
  --bg:         #131210;
  --bg-2:       #1d1b17;
  --text:       #ede8dd;
  --text-muted: #a09880;
  --text-light: #6b6358;
  --border:     rgba(237,232,221,0.08);
  --border-strong: rgba(237,232,221,0.14);
  --white:      #1d1b17;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Navigation ──────────────────────────────────────────── */
#site-nav nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
[data-theme="dark"] #site-nav nav {
  background: rgba(19,18,16,0.92);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 1rem;
}
.nav-logo {
  flex-shrink: 0;
  flex-grow: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  min-width: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* Force full opacity — no transparency bleed */
  opacity: 1 !important;
  mix-blend-mode: normal;
}
[data-theme="dark"] .nav-logo img {
  /* White logo on dark background */
  filter: none;
}
/* Light mode: ensure black logo stays crisp on any nav bg */
:not([data-theme="dark"]) .nav-logo img {
  filter: none;
}
.nav-logo svg {
  height: 38px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--text);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-call:hover { background: var(--accent); transform: translateY(-1px); }
@media (max-width: 400px) {
  .btn-call { font-size: 0.75rem; padding: 0.5rem 0.85rem; }
  .btn-call svg { display: none; }
}
.theme-toggle {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--text); background: var(--border); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--gutter) 2rem;
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: var(--text-base);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn-call {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  border-radius: 9999px;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 480px) {
  .nav-logo img { max-width: 140px; height: 32px; }
  .nav-inner { padding: 0 1rem; gap: 0.5rem; height: 60px; }
  .nav-actions { gap: 0.4rem; }
  .theme-toggle { width: 30px; height: 30px; }
  .mobile-menu { top: 60px; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding-top: 68px;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-content {
  padding: clamp(4rem,8vw,7rem) var(--gutter) clamp(4rem,8vw,7rem) var(--gutter);
  max-width: 620px;
}
.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-body {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text);
  color: var(--bg);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { color: var(--text); border-color: var(--text); transform: translateY(-1px); }
.hero-image {
  height: 100svh;
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 30%);
  pointer-events: none;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.trust-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.trust-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-strong);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 50vw; min-height: 260px; }
  .hero-image::after { background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }
  .hero-content { padding: 2.5rem var(--gutter) 2rem; max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-content { padding: 2rem 1.25rem 1.5rem; }
  .hero-trust { gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; }
  .trust-value { font-size: var(--text-xl); }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
}

/* ── Section Shared ──────────────────────────────────────── */
.section { padding: var(--section-gap) 0; }
.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section-body {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Services Grid ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
}
.service-item {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
}
.service-item-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.service-item:hover .service-item-bg {
  transform: scale(1.05);
}
.service-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,0.88) 0%, rgba(10,8,5,0.3) 55%, rgba(10,8,5,0.1) 100%);
  transition: background 0.4s ease;
}
.service-item:hover .service-item-overlay {
  background: linear-gradient(to top, rgba(10,8,5,0.92) 0%, rgba(10,8,5,0.45) 60%, rgba(10,8,5,0.15) 100%);
}
.service-item-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
}
.service-item p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  max-width: 30ch;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  margin-top: 0.25rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.6rem; }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-item { height: 300px; }
}
@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-item { height: 260px; }
}

/* ── Why Us ──────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  margin-top: 0;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.why-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  min-width: 2.5rem;
  opacity: 0.5;
}
.why-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.why-item p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}
.why-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.why-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-image { height: 300px; }
}

/* ── Dark Band CTA ───────────────────────────────────────── */
.cta-band {
  background: var(--bg-dark);
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: #ede8dd;
}
.cta-band .section-label { color: rgba(237,232,221,0.45); }
.cta-band .section-headline { color: #ede8dd; }
.cta-band .section-body { color: rgba(237,232,221,0.6); }
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ede8dd;
  color: var(--bg-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-light:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(237,232,221,0.7);
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(237,232,221,0.25);
  border-radius: 9999px;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline-light:hover { color: #ede8dd; border-color: rgba(237,232,221,0.6); transform: translateY(-1px); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}
.testimonial-card {
  background: var(--bg-2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid var(--border);
}
[data-theme="dark"] .testimonial-card { background: var(--bg-2); }
.stars {
  display: flex;
  gap: 3px;
  color: var(--accent);
  font-size: 0.9rem;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-author strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}
.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Suburbs ─────────────────────────────────────────────── */
.suburbs-section {
  background: var(--bg-2);
  padding: 4rem 0;
}
[data-theme="dark"] .suburbs-section { background: var(--bg-2); }
.suburb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.suburb-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--bg);
  transition: color 0.2s, border-color 0.2s;
}
.suburb-tag:hover { color: var(--text); border-color: var(--border-strong); }

/* ── Footer ──────────────────────────────────────────────── */
#site-footer footer {
  background: var(--bg-dark);
  color: rgba(237,232,221,0.7);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand-logo {
  color: #ede8dd;
  margin-bottom: 1rem;
}
.footer-brand-logo svg { height: 40px; width: auto; }
.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: rgba(237,232,221,0.5);
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: var(--text-sm);
}
.footer-contact-item a {
  color: rgba(237,232,221,0.85);
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-item span {
  font-size: var(--text-xs);
  color: rgba(237,232,221,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.footer-col h4 {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(237,232,221,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col ul a {
  font-size: var(--text-sm);
  color: rgba(237,232,221,0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #ede8dd; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(237,232,221,0.08);
  font-size: var(--text-xs);
  color: rgba(237,232,221,0.3);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom a { color: rgba(237,232,221,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(237,232,221,0.7); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding: calc(68px + 5rem) 0 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}

/* ── Content Sections (inner pages) ─────────────────────── */
.content-section { padding: var(--section-gap) 0; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }
.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 700px) {
  .content-2col { grid-template-columns: 1fr; }
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.content-section p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.content-section ul.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.content-section ul.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.content-section ul.check-list li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Inline CTA strip ────────────────────────────────────── */
.inline-cta {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.inline-cta p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0;
}

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Floating call button (mobile) ──────────────────────── */
.floating-call {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-size: 1.4rem;
  transition: transform 0.2s;
}
.floating-call:hover { transform: scale(1.08); }
@media (max-width: 700px) {
  .floating-call { display: flex; }
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: var(--section-gap) 0;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-details { display: flex; flex-direction: column; gap: 2rem; }
.contact-detail-item { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-detail-item label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-detail-item a, .contact-detail-item p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.contact-detail-item a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-bottom-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; background: var(--bg); }
.form-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ── Licence badge ───────────────────────────────────────── */
.licence-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  margin-top: 0.75rem;
}

/* ── AWARD BAND ─────────────────────────────────────────── */
.award-band {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.award-band-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.award-emblem {
  flex-shrink: 0;
  opacity: 0.95;
}

.award-text {
  flex: 1;
}

.award-org {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.award-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.award-detail {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted, var(--text));
  opacity: 0.65;
}

.award-link {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  border-radius: 9999px;
  padding: 0.55rem 1.4rem;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.award-link:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 640px) {
  .award-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* ── GLOBAL MOBILE OVERFLOW FIXES ───────────────────────────── */
/* Prevent any text or element from causing horizontal scroll */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* All text should wrap — never overflow */
p, a, span, li, h1, h2, h3, h4, blockquote, label, address {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Contact detail values — scale down on mobile */
.contact-detail-item a,
.contact-detail-item p {
  overflow-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
}

@media (max-width: 600px) {
  /* Scale down large display text in contact details */
  .contact-detail-item a,
  .contact-detail-item p {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  /* Email specifically — allow break anywhere */
  .contact-detail-item a[href^="mailto"] {
    font-size: clamp(0.85rem, 4vw, 1.2rem);
    word-break: break-all;
  }

  /* Hours line */
  .contact-detail-item p {
    font-size: clamp(0.9rem, 4.5vw, 1.3rem);
  }

  /* Page hero headings */
  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Section headlines */
  .section-headline {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  /* Hero headline */
  .hero-headline {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  /* Testimonial cards */
  .testimonial-card blockquote {
    font-size: 0.9rem;
  }

  /* Award band */
  .award-title {
    font-size: 1rem;
  }

  /* Service items text */
  .service-item-title {
    font-size: 1.1rem;
  }

  /* Container padding — more breathing room */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Footer items */
  .footer-contact-item a {
    word-break: break-all;
  }
}

@media (max-width: 400px) {
  .contact-detail-item a[href^="mailto"] {
    font-size: 0.8rem;
  }
}

/* ── CONTACT FORM IMPROVEMENTS ───────────────────────────── */
.form-note {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.55;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.form-note a {
  color: var(--accent);
  text-decoration: none;
}
.form-success {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  opacity: 0.4;
  font-size: 0.9rem;
}

/* ── BOOK INSPECTION BUTTON ──────────────────────────────── */
.btn-book {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bg);
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 9999px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn-book:hover {
  opacity: 0.85;
}

/* Hide on very small screens to keep nav clean */
@media (max-width: 480px) {
  .btn-book { display: none; }
}
