/* ===========================================================
   Papaneri & Sons Concrete, GBP Landing Page
   Locked design system (modern premium, near-monochrome + photography)
   =========================================================== */

:root {
  /* Brand tokens (only things that vary per client) */
  --brand-primary: #15171A;   /* graphite */
  --brand-accent:  #C8312B;   /* refined brand red */
  --brand-accent-dark: #A8241F;
  --brand-ink:     #14161A;
  --brand-paper:   #F6F5F2;
  --brand-surface: #1D2025;   /* dark sections / cards */
  --brand-muted:   #6B6F76;
  --brand-line:    #E3E1DB;   /* hairlines on paper */
  --brand-line-dark: rgba(255,255,255,0.14);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px -20px rgba(20,22,26,0.35);
  --shadow-soft: 0 10px 30px -16px rgba(20,22,26,0.28);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand-ink);
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 .5em;
  color: var(--brand-ink);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (max-width: 720px) { .container { padding-inline: 16px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-accent); color: #fff; padding: 12px 18px;
  z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Visible focus for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ---------- Type scale (fixed) ---------- */
h1 {
  font-size: clamp(2.15rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h3 { font-size: 1.25rem; line-height: 1.25; }

p { margin: 0 0 1.1em; max-width: 68ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--brand-accent);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--brand-accent);
  display: inline-block;
}
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--brand-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-accent { background: var(--brand-accent); color: #fff; }
.btn-accent:hover { background: var(--brand-accent-dark); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-call { background: var(--brand-accent); color: #fff; }
.btn-call:hover { background: var(--brand-accent-dark); }
.call-icon { display: inline-flex; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: var(--brand-primary);
  box-shadow: 0 2px 20px -8px rgba(0,0,0,0.5);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 44px; width: auto;
  /* logo sits on transparent header over photo; white plate keeps it legible */
  background: #fff;
  padding: 5px 9px;
  border-radius: 8px;
}
.site-header.scrolled .brand img { background: #fff; }

.primary-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.primary-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.975rem;
  color: #fff;
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--brand-accent);
  transition: width .2s ease;
}
.primary-nav a:hover::after { width: 100%; }

.header-call { font-size: .95rem; padding: 11px 18px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  background: var(--brand-primary);
  border-top: 1px solid var(--brand-line-dark);
}
.mobile-menu nav { display: flex; flex-direction: column; padding: 12px 16px 22px; gap: 2px; }
.mobile-menu a {
  color: #fff; text-decoration: none; font-weight: 500;
  padding: 14px 6px; border-bottom: 1px solid var(--brand-line-dark);
}
.mobile-menu .btn-call { margin-top: 14px; justify-content: center; border-bottom: 0; }

@media (max-width: 980px) {
  .primary-nav, .header-call { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  margin-top: -76px;       /* pull under transparent sticky header */
  padding-top: 76px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(13,14,16,0.86) 0%, rgba(13,14,16,0.66) 42%, rgba(13,14,16,0.18) 75%, rgba(13,14,16,0.05) 100%),
    linear-gradient(180deg, rgba(13,14,16,0.35) 0%, rgba(13,14,16,0) 30%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
  padding-block: clamp(48px, 8vh, 96px);
  width: 100%;
}
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 1.6rem;
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lead-form card */
.lead-card {
  background: #fff;
  color: var(--brand-ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 24px;
}
.lead-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
.lead-form { display: flex; flex-direction: column; }
.lead-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 5px;
  color: var(--brand-ink);
}
.lead-form label .opt { color: var(--brand-muted); font-weight: 400; }
.lead-form input, .lead-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 11px 13px;
  border: 1.5px solid var(--brand-line);
  border-radius: var(--radius-sm);
  margin-bottom: 13px;
  background: #fcfcfb;
  color: var(--brand-ink);
  width: 100%;
  transition: border-color .2s ease;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--brand-accent); background: #fff; }
.lead-form textarea { resize: vertical; }
.lead-form .btn { margin-top: 2px; }
.lead-assure {
  font-size: 0.78rem;
  color: var(--brand-muted);
  margin: .85rem 0 0;
  line-height: 1.45;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 2;
  background: var(--brand-primary);
  border-top: 1px solid var(--brand-line-dark);
  padding: 16px 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.trust-item {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.trust-item .stars { color: var(--brand-accent); font-size: 1.05rem; line-height: 1; }
.trust-sep { width: 1px; height: 16px; background: var(--brand-line-dark); }
@media (max-width: 640px) { .trust-sep { display: none; } }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-paper { background: var(--brand-paper); }
.section-dark { background: var(--brand-primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-intro { font-size: 1.1rem; color: var(--brand-muted); }
.section-intro-light { color: rgba(255,255,255,0.82); }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.two-col-rev { grid-template-columns: 5fr 7fr; }
@media (max-width: 880px) {
  .two-col, .two-col-rev { grid-template-columns: 1fr; gap: 32px; }
  .two-col-rev .media-frame { order: -1; }
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.lead-para { font-size: 1.18rem; line-height: 1.55; }
.inline-cta a {
  color: var(--brand-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.inline-cta a:hover { border-color: var(--brand-accent); }

/* Editorial in-body links */
.silo-body a, .serving a, .findus p a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.silo-body a:hover, .serving a:hover, .findus p a:hover {
  color: var(--brand-accent);
  text-decoration-color: var(--brand-accent);
}
sup a { color: var(--brand-accent); text-decoration: none; font-weight: 600; }

/* ---------- Silo blocks ---------- */
.silo-list { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.silo {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.silo:nth-child(even) { grid-template-columns: 7fr 5fr; }
.silo:nth-child(even) .silo-media { order: 2; }
.silo-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}
.silo-media img { width: 100%; height: 100%; object-fit: cover; }
.silo-body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: .5em;
  letter-spacing: -0.01em;
}
.silo-body p { font-size: 1.075rem; }
@media (max-width: 760px) {
  .silo, .silo:nth-child(even) { grid-template-columns: 1fr; gap: 22px; }
  .silo:nth-child(even) .silo-media { order: 0; }
}

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  margin: 0;
  background: var(--brand-surface);
  border: 1px solid var(--brand-line-dark);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--brand-accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.review-card blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}
.review-card figcaption {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Find us / Map ---------- */
.nap-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.nap-list li { padding: 7px 0; border-bottom: 1px solid var(--brand-line); }
.nap-list a { color: var(--brand-ink); text-decoration: none; }
.nap-list a:hover { color: var(--brand-accent); }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ (no JS, fully expanded) ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--brand-line);
}
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--brand-line); }
.faq-item h3 {
  font-size: 1.22rem;
  margin-bottom: .5em;
  color: var(--brand-ink);
}
.faq-item p { margin: 0; color: #33373d; }

/* ---------- Final CTA band ---------- */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.cta-copy p { color: rgba(255,255,255,0.86); font-size: 1.1rem; }
.cta-copy .btn { margin-top: .5rem; }
.lead-card-dark {
  background: var(--brand-surface);
  color: #fff;
  border: 1px solid var(--brand-line-dark);
}
.lead-card-dark .lead-title { color: #fff; }
.lead-card-dark label { color: rgba(255,255,255,0.85); }
.lead-card-dark input, .lead-card-dark textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.lead-card-dark input::placeholder, .lead-card-dark textarea::placeholder { color: rgba(255,255,255,0.5); }
.lead-assure-dark { color: rgba(255,255,255,0.6); }
@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; }
}

/* ---------- Citations ---------- */
.citations { padding-block: clamp(40px, 6vw, 64px); }
.cite-title { font-size: 1.15rem; color: var(--brand-muted); margin-bottom: .8rem; }
.cite-list { color: var(--brand-muted); font-size: 0.92rem; padding-left: 1.2rem; margin: 0; }
.cite-list li { margin-bottom: .4rem; }
.cite-list a { color: var(--brand-muted); }
.cite-list a:hover { color: var(--brand-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-surface); color: rgba(255,255,255,0.85); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr;
  gap: 40px;
  padding-block: 56px;
  align-items: start;
}
.footer-brand img { height: 46px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.footer-tag { margin-top: 16px; font-size: 0.95rem; color: rgba(255,255,255,0.7); max-width: 38ch; }
.footer-nap { font-style: normal; line-height: 1.8; font-size: 0.95rem; }
.footer-nap strong { color: #fff; font-size: 1.02rem; }
.footer-nap a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-nap a:hover { color: var(--brand-accent); }
.footer-lic { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.95rem; width: max-content; }
.footer-links a:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid var(--brand-line-dark);
  padding-block: 18px;
}
.footer-bar p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
}

/* ---------- Hero responsive ---------- */
@media (max-width: 920px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .lead-card { max-width: 480px; }
}
@media (max-width: 720px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Scroll reveal (subtle, optional) ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
