/* R. Lancaster & Sons (Cleveleys) Limited. Apple-simple, 26 Sep 2026. System fonts only, no external calls. */
:root {
  --navy: #0f2256;
  --cream: #f3dea0;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --soft: #f5f5f7;
  --max: 980px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
#site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.site-logo:hover { text-decoration: none; }
.site-logo img { width: 34px; height: 34px; }
#main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
#main-nav a { color: var(--ink); font-size: 14px; opacity: 0.8; }
#main-nav a:hover { opacity: 1; text-decoration: none; }

/* Hero */
.hero { text-align: center; padding: 88px 0 72px; }
.hero img { width: 150px; margin: 0 auto 28px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.07; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 700; }
.hero p { font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); margin: 0 auto; max-width: 640px; }
.hero .cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.button { display: inline-block; background: var(--navy); color: #fff; border-radius: 980px; padding: 12px 24px; font-size: 16px; }
.button:hover { text-decoration: none; opacity: 0.9; }
.button.ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }

/* Sections */
section { padding: 72px 0; }
section.soft { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 40px); letter-spacing: -0.015em; margin: 0 0 10px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 0 auto; max-width: 620px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: 18px; padding: 26px 24px; border: 1px solid var(--line); }
section.soft .card { border-color: transparent; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0 0 8px; color: #3a3a3c; font-size: 16px; }
.card p:last-child { margin-bottom: 0; }
.card .big { font-size: 22px; font-weight: 600; color: var(--navy); }
.card.urgent { border-left: 4px solid #c0392b; }

/* Agents */
.agent { display: flex; justify-content: center; }
.agent img { max-width: 260px; }

/* Contact */
.contact { text-align: center; }
.contact .email { font-size: clamp(22px, 3.5vw, 30px); font-weight: 600; }
.contact p { color: var(--muted); }

/* Policy pages */
.policy-content { max-width: 720px; margin: 0 auto; padding: 64px 22px 80px; }
.policy-content h1 { font-size: 40px; letter-spacing: -0.02em; margin-top: 0; }
.policy-content h2 { font-size: 22px; margin-top: 36px; }
.policy-content p, .policy-content li { color: #3a3a3c; }

/* Footer */
#site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
#site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#site-footer a { color: var(--muted); }

@media (max-width: 640px) {
  #main-nav ul { gap: 14px; }
  .site-logo span { display: none; }
  .hero { padding: 60px 0 48px; }
  section { padding: 52px 0; }
}

/* Emergencies in red (Richard, 26 Sep 2026) */
.button.danger { background: #c0392b; color: #fff; }
#main-nav a.danger { color: #c0392b; opacity: 1; font-weight: 600; }
#emergencies .section-head h2,
#emergencies .card h3,
#emergencies .card .big,
#emergencies .card .big a { color: #c0392b; }
.card .big { overflow-wrap: break-word; }
#contact .card .big { font-size: 19px; }
.button.whatsapp { background: #25D366; color: #fff; font-weight: 600; }
.after-note { text-align: center; font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 32px auto 0; max-width: 640px; }
#emergencies .section-head p,
#emergencies .after-note,
#emergencies .after-note a { color: #c0392b; }
#emergencies .after-note a { font-weight: 700; }
.phone-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.card .big a.pill.whatsapp, a.pill.whatsapp { display: inline-block; background: #25D366; color: #fff; font-size: 14px; font-weight: 600; padding: 5px 14px; border-radius: 980px; line-height: 1.4; }
a.pill.whatsapp:hover { text-decoration: none; opacity: 0.9; }
.card .note { font-size: 16px; }
.emergency-link, .emergency-link a { color: #c0392b; }
.emergency-link a { font-weight: 700; }
a.emergency-inline { color: #c0392b; font-weight: 600; }
#site-footer .footer-inner { align-items: flex-end; gap: 24px; }
.footer-legal { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.footer-nrla { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; }
.footer-nrla img { width: 160px; height: auto; }
.footer-nrla span { font-size: 12px; }
.trust { padding: 36px 0; border-top: 1px solid var(--line); }
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.trust-item { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.trust-item strong { font-size: 18px; }
.trust-item span { font-size: 15px; color: var(--muted); }
.trust-item.nrla img { width: 160px; height: auto; }
.hero .cta { align-items: center; }
.hero .cta img.cta-nrla { width: 150px; height: auto; margin: 0 0 0 14px; }
.card.standards { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.standards-text { flex: 1 1 420px; }
.card.standards img { width: 160px; height: auto; }

.standards-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.standards-badge span { font-size: 13px; color: var(--muted); }
.card.standards { margin-top: 20px; }

/* Emergency section: grey with a slight pink hue (Richard, 26 Sep 2026) */
section#emergencies { background: #f8eded; }

/* Commercial property box in Contact us (26 Sep 2026) */
.card.commercial img { width: 200px; }
.agent-contact { display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 600; font-size: 17px; }
.agent-contact { flex-wrap: nowrap; white-space: nowrap; gap: 20px; }
.agent-contact a { color: #bfe815; }
@media (max-width: 520px) { .agent-contact { font-size: 14px; gap: 12px; } }
@media (max-width: 520px) { .agent-contact { font-size: 13.5px; gap: 10px; } }
@media (max-width: 380px) { .agent-contact { font-size: 12.5px; gap: 8px; } }
.standards-text { min-width: 0; }
