/* Solar ring shared stylesheet — dealsolar.co.uk / margatesolar.co.uk / ramsgatesolar.co.uk / broadstairssolar.co.uk / hernebaysolar.co.uk
   Distinct from sandwichsolar.co.uk (dark green, Fraunces/Inter) and the electrical ring (brass/Cormorant).
   Palette: sun-gold accent on deep ink navy, warm cream background. Type: Space Grotesk (display) + Manrope (body). */

:root {
  --ink: #14213d;
  --ink-light: #223259;
  --gold: #e2a13a;
  --gold-dark: #b97e22;
  --cream: #faf6ee;
  --paper: #ffffff;
  --line: #e6ddc9;
  --muted: #6b6455;
  --text: #241f16;
  --whatsapp: #25d366;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(20,33,61,0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header / nav */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; }
.brand-mark { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.brand small { display: block; font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 0.7rem; color: var(--muted); }
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a.active, .main-nav a:hover { color: var(--gold-dark); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.7rem; font-weight: 600; }

@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.5rem; gap: 1rem; }
  .main-nav.open { display: flex; }
}

/* Hero */
.hero { padding: 3.5rem 0 3rem; }
.hero.gradient { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-light) 100%); color: #fff; }
.hero.gradient h1, .hero.gradient .lede { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 0.6rem; }
.hero.gradient .eyebrow { color: var(--gold); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 640px; }
.hero.gradient .lede { color: #d8dcea; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Buttons */
.button, .button-ghost, .button-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.button { background: var(--gold); color: var(--ink); }
.button:hover { background: var(--gold-dark); color: #fff; }
.button-ghost { border-color: rgba(255,255,255,0.5); color: inherit; }
.hero:not(.gradient) .button-ghost { border-color: var(--ink); color: var(--ink); }
.button-whatsapp { background: var(--whatsapp); color: #fff; }
.button-whatsapp:hover { background: #1ea952; }

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--paper); }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.service-grid, .area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }

/* FAQ */
.faq-list details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.faq-list summary { font-weight: 700; cursor: pointer; color: var(--ink); }

/* Contact page (locked house standard, see sandwichrental.co.uk/contact/) */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 780px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 700; margin-bottom: 0.3rem; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 6px; font-family: inherit; font-size: 1rem; margin-bottom: 1rem;
}
.contact-form textarea { min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.honey { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfd5e6; padding: 2.5rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; color: #99a1bd; }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }

/* Stat callout */
.stat-callout { display: flex; align-items: center; gap: 1.5rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 1.5rem 2rem; margin-top: 1.75rem; }
.stat-callout .stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; white-space: nowrap; }
.stat-callout .stat-label { font-size: 1rem; color: #fff; max-width: 380px; }
.section:not(.hero) .stat-callout, .section-alt .stat-callout { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.section:not(.hero) .stat-callout .stat-number, .section-alt .stat-callout .stat-number { color: var(--gold-dark); }
.section:not(.hero) .stat-callout .stat-label, .section-alt .stat-callout .stat-label { color: var(--text); }

/* Split compare */
.compare-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; }
@media (max-width: 700px) { .compare-split { grid-template-columns: 1fr; } }
.compare-split > div { padding: 1.75rem; background: var(--paper); }
.compare-split > div:first-child { background: var(--ink); color: #fff; border-right: 1px solid var(--line); }
.compare-split > div:first-child h3 { color: #fff; }
.compare-split h3 { margin-top: 0; }

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 1.5rem; }
.comparison-table th, .comparison-table td { padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.comparison-table th { background: var(--ink); color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.comparison-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table { display: block; overflow-x: auto; }

/* Route timeline */
.route-timeline { border-left: 3px solid var(--gold); margin: 1.5rem 0 0 0.75rem; padding-left: 1.5rem; }
.route-timeline .stop { position: relative; padding: 0 0 1.5rem; }
.route-timeline .stop:last-child { padding-bottom: 0; }
.route-timeline .stop::before { content: ''; position: absolute; left: -1.94rem; top: 0.35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid var(--cream); box-shadow: 0 0 0 1px var(--gold); }
.section-alt .route-timeline .stop::before { border-color: var(--paper); }
.route-timeline h3 { margin-bottom: 0.3rem; }
