/* AJ Marsden Ltd — proposal rebuild
   Direction: clean-utility. Teal primary, blue accent, brown detail, light neutral base. */

:root {
  --primary: #1ba0bb;
  --accent: #2a7ab0;
  --brown: #7a5c3e;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #1c2422;
  --text-muted: #45514d;
  --border: #d8dcda;
  --footer-bg: #17211f;
  --banner-h: 44px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--banner-h);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.6em 0;
}

p { margin: 0 0 1em 0; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 2px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Proposal banner (fixed, unremovable) ---------- */
.preview-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #0e1513;
  color: #f2f2f0;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.5em 0.75em;
  letter-spacing: 0.01em;
}

/* ---------- Watermark (fixed, sparse, non-interactive) ---------- */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 900;
  overflow: hidden;
  pointer-events: none;
}
.watermark span {
  position: absolute;
  left: -25%;
  width: 150%;
  text-align: center;
  transform: rotate(-30deg);
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.75rem);
  color: #3a3a3a;
  opacity: 0.06;
  letter-spacing: 0.35em;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 200;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75em 1.25em;
  display: flex;
  align-items: center;
  gap: 1.25em;
}
.logo-link { flex-shrink: 0; }
.logo {
  height: 48px;
  width: auto;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5em 0.8em;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
#nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}
#nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.3em 0.1em;
  border-bottom: 2px solid transparent;
}
#nav-menu a:hover,
#nav-menu a[aria-current="page"] {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}
.header-phone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-left: 1.5em;
  padding: 0.55em 1em;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-phone:hover { background: #235f8c; }

/* ---------- Hero band (solid colour, no photo) ---------- */
.hero {
  background: var(--primary);
  color: #ffffff;
  padding: 3.5em 1.25em;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35em;
}
.hero p.hero-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  max-width: 46ch;
  margin: 0;
}
.hero.page-hero {
  padding: 2.4em 1.25em;
}
.hero.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.5rem);
  margin-bottom: 0;
}

/* ---------- Layout helpers ---------- */
main { display: block; }
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3em 1.25em;
}
.section-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 3em 1.25em;
}
.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5em;
}
.section-lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 65ch;
}
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Service cards: 2x2 outlined grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25em;
  margin-top: 1.75em;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.service-card img {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--text);
}
.service-card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}
.service-card .card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9em;
  margin-top: 1.5em;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.gallery-grid.small { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7em 1.3em;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: #235f8c; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover { background: #eaf6f8; }

/* ---------- Contact / info blocks ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 1.5em;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  padding: 0.6em 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.6em;
}
.info-list li .label {
  color: var(--text-muted);
  min-width: 8em;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Form ---------- */
.enquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75em;
}
.form-row { margin-bottom: 1.1em; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.35em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65em 0.75em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}
.form-row input:invalid[data-touched="true"],
.form-row textarea:invalid[data-touched="true"] {
  border-color: #b3261e;
}
.form-error {
  color: #b3261e;
  font-size: 0.85rem;
  margin-top: 0.3em;
  min-height: 1.1em;
}
.form-status {
  border: 1px solid var(--primary);
  background: #eaf6f8;
  color: var(--text);
  padding: 0.9em 1em;
  border-radius: var(--radius);
  margin-bottom: 1.25em;
  font-size: 0.95rem;
}
.form-status.is-error {
  border-color: #b3261e;
  background: #fbeceb;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #e7e9e7;
  margin-top: 0;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75em 1.25em 1.5em;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2em;
}
.footer-inner h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.7em;
}
.site-footer a {
  color: #cfe9ee;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li { margin-bottom: 0.5em; }
.footer-bottom {
  border-top: 1px solid #2a3835;
  padding: 1.1em 1.25em;
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: #a9b3b0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
  justify-content: space-between;
}
.proposal-note {
  color: #f2c94c;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-block; }
  .site-nav { order: 3; width: 100%; justify-content: flex-start; }
  #nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    border-top: 1px solid var(--border);
    margin-top: 0.75em;
  }
  #nav-menu.open { display: flex; }
  #nav-menu li { width: 100%; }
  #nav-menu a { display: block; padding: 0.75em 0.1em; }
  .header-phone { order: 1; margin-left: auto; }
  .service-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
