/* ============================================================
   G&S Toilet Hire Ltd — shared site foundation
   Clean, professional, green-forward brand system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand greens (refined from the G&S logo) */
  --green-900: #062c1a;
  --green-800: #0a3d24;
  --green-700: #0e5230;   /* primary deep racing green */
  --green-600: #15703f;
  --green-500: #1f8a4d;   /* vivid brand green */
  --green-400: #38a866;
  --green-300: #6fc492;
  --green-100: #d9f0e2;
  --green-50:  #eef8f1;

  /* Accents from logo */
  --red:    #d8261b;
  --red-dk: #ad1b12;
  --yellow: #f4c20d;

  /* Neutrals (warm, slightly green-tinted) */
  --ink:    #11211a;
  --ink-70: #3c4a43;
  --ink-50: #687670;
  --line:   #e3e8e4;
  --paper:  #ffffff;
  --paper-2:#f6f8f5;
  --paper-3:#eef1ec;
  --cream:  #f4f1e8;

  --maxw: 1240px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(6,44,26,.06), 0 2px 8px rgba(6,44,26,.05);
  --shadow-md: 0 8px 24px rgba(6,44,26,.10), 0 2px 6px rgba(6,44,26,.06);
  --shadow-lg: 0 24px 60px rgba(6,44,26,.16), 0 6px 18px rgba(6,44,26,.08);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--green-500); border-radius: 2px;
}
.kicker.center::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(14,82,48,.28); }
.btn-primary:hover { background: var(--green-600); box-shadow: 0 12px 28px rgba(14,82,48,.34); }

.btn-call { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(216,38,27,.26); }
.btn-call:hover { background: var(--red-dk); box-shadow: 0 12px 28px rgba(216,38,27,.32); }

.btn-ghost { background: transparent; color: var(--green-700); box-shadow: inset 0 0 0 2px var(--green-100); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--green-400); background: var(--green-50); }

.btn-light { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }

.btn-lg { font-size: 17px; padding: 18px 32px; }

/* ---------- Site header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding-block: 16px;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(6,44,26,.06);
  padding-block: 10px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 52px; height: 52px; border-radius: 11px; box-shadow: var(--shadow-sm); transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand-text span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 9px 14px; border-radius: 100px; color: var(--ink-70);
  transition: color .15s, background .15s; white-space: nowrap;
}
.main-nav a:hover { color: var(--green-700); background: var(--green-50); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--green-700);
}
.header-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--green-50); color: var(--green-700); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

.nav-drawer { display: none; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-drawer {
    display: block; position: fixed; inset: 0; z-index: 200;
    background: rgba(6,44,26,.45); backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-drawer.open { opacity: 1; pointer-events: auto; }
  .nav-drawer-panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(86%, 360px);
    background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 8px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.22,.61,.36,1);
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  .nav-drawer.open .nav-drawer-panel { transform: translateX(0); }
  .nav-drawer-panel a {
    font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink);
    padding: 14px 12px; border-radius: 10px;
  }
  .nav-drawer-panel a:hover { background: var(--green-50); color: var(--green-700); }
  .nav-drawer-panel .sub { font-size: 16px; font-weight: 600; padding-left: 26px; color: var(--ink-70); }
  .nav-drawer-close { align-self: flex-end; border: 0; background: var(--paper-2); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 22px; color: var(--ink-70); }
}

/* ---------- Placeholder image boxes (labelled grey) ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, #eceeea 0 14px, #e7eae5 14px 28px);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-50); min-height: 200px;
  box-shadow: inset 0 0 0 1px rgba(17,33,26,.07);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.5), transparent 60%);
  pointer-events: none;
}
.ph-inner {
  position: relative; z-index: 1; text-align: center; padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 80%;
}
.ph-inner svg { width: 34px; height: 34px; opacity: .55; }
.ph-label {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; color: var(--ink-70); line-height: 1.3;
}
.ph-sub { font-size: 12.5px; color: var(--ink-50); line-height: 1.4; }
.ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--green-700); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 100px;
}
/* When a real photo is dropped into a .ph, it fills the frame */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ph:has(> img)::after { display: none; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe3d6; padding-block: 72px 32px; }
.site-footer a { color: #cfe3d6; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 12px; }
.footer-brand b { font-family: var(--font-display); color: #fff; font-size: 19px; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-bottom {
  margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: #8fb39c;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal base (reveal.js toggles .is-in) ---------- */
[data-reveal] {
  opacity: 0;
  transition:
    opacity .8s cubic-bezier(.22,.61,.36,1),
    transform .8s cubic-bezier(.22,.61,.36,1),
    filter .8s ease;
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="up-lg"] { transform: translateY(72px); }
[data-reveal="left"]  { transform: translateX(-56px); }
[data-reveal="right"] { transform: translateX(56px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="blur"]  { filter: blur(14px); transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* Masked headline reveal (line by line) */
.reveal-mask { overflow: hidden; }
.reveal-mask > span { display: block; transform: translateY(110%); transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.reveal-mask.is-in > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-mask > span { transition: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-70); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-400); box-shadow: 0 0 0 4px var(--green-50);
}
.field textarea { resize: vertical; min-height: 110px; }

/* ---------- Accordion (FAQ) ---------- */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink);
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.acc-q .acc-ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; transition: transform .3s, background .2s; font-size: 18px; }
.acc-item.open .acc-q .acc-ico { transform: rotate(45deg); background: var(--green-700); color: #fff; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-a-inner { padding-bottom: 22px; color: var(--ink-70); font-size: 16.5px; max-width: 70ch; }

/* ---------- Misc utility ---------- */
.tag-pill {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display);
  font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 100px;
  background: var(--green-50); color: var(--green-700);
}
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-70); }
.check-list li svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; color: var(--green-500); }
.grad-text { color: var(--green-700); }

/* ============================================================
   Service / interior page components
   ============================================================ */
.page-hero {
  position: relative; padding-top: 150px; padding-bottom: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(110% 90% at 90% -20%, var(--green-50), transparent 55%),
    linear-gradient(180deg, #fff, var(--paper-2));
  overflow: hidden;
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-50); font-weight: 600; }
.crumbs a:hover { color: var(--green-700); }
.crumbs svg { width: 14px; height: 14px; opacity: .5; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; margin-top: 26px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 900; margin-top: 16px; }
.page-hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-70); margin-top: 20px; max-width: 40ch; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.page-hero-media .ph { aspect-ratio: 4/3.4; min-height: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .fico { width: 50px; height: 50px; border-radius: 13px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 18px; }
.feature .fico svg { width: 25px; height: 25px; }
.feature h3 { font-size: 20px; }
.feature p { color: var(--ink-70); font-size: 15.5px; margin-top: 9px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .ph { aspect-ratio: 4/3; min-height: 0; border-radius: var(--r-xl); }
.spec-table { margin-top: 26px; border-top: 1px solid var(--line); }
.spec-table .row { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.spec-table .row span:first-child { color: var(--ink-50); }
.spec-table .row span:last-child { font-family: var(--font-display); font-weight: 700; }

.cta-band { background: var(--green-700); color: #fff; border-radius: var(--r-xl); padding: clamp(36px, 5vw, 64px); text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.cta-band p { color: #d4eedd; margin-top: 14px; font-size: 18px; max-width: 52ch; margin-inline: auto; }
.cta-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.gallery-strip .ph { aspect-ratio: 1/1; min-height: 0; }

@media (max-width: 980px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { order: -1; max-width: 520px; }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
}
