/*
Theme Name: Scotland Digital Surveys
Theme URI: https://example.com/
Author: ChatGPT
Description: A clean lead-generation WordPress theme for digital surveys, drone imagery, Matterport/360 tours, site documentation, roof inspections, construction progress records, farm/land mapping and IT asset documentation.
Version: 1.0
License: GPLv2 or later
Text Domain: scotland-digital-surveys
*/

:root {
  --navy: #0b1f33;
  --charcoal: #1f2933;
  --blue: #0e6f9f;
  --green: #2f855a;
  --light: #f5f7fa;
  --white: #ffffff;
  --muted: #64748b;
  --border: #d8e0e8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 24px;
}

.logo {
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .3px;
}

.logo span { color: #8de0c2; }

.nav a {
  color: var(--white);
  margin-left: 18px;
  font-weight: 600;
  font-size: .96rem;
}

.nav .quote-btn {
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
}

.hero {
  background:
    linear-gradient(120deg, rgba(11,31,51,.96), rgba(14,111,159,.82)),
    url('assets/hero-placeholder.svg') center/cover no-repeat;
  color: var(--white);
  padding: 92px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: #8de0c2;
  font-size: .82rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin: 14px 0 18px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 18px;
}

h3 { color: var(--navy); margin-bottom: 8px; }

.lead {
  font-size: 1.2rem;
  color: #e5eef7;
  max-width: 680px;
}

.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  padding: 26px;
  border-radius: 22px;
  backdrop-filter: blur(8px);
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.buttons { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 19px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary { background: var(--green); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy); }

.section { padding: 72px 0; }
.section.alt { background: var(--light); }

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.alt .card { background: var(--white); }

.card-icon {
  width: 42px;
  height: 42px;
  background: #e6f4ef;
  color: var(--green);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.benefit-band {
  background: var(--navy);
  color: var(--white);
  border-radius: 28px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.benefit-band h2 { color: var(--white); }
.benefit-band p { color: #dce7f3; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  margin: 10px 0;
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  color: #8de0c2;
  position: absolute;
  left: 0;
  font-weight: 900;
}

.cta {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  border-radius: 28px;
  padding: 44px;
  text-align: center;
}

.cta h2 { color: var(--white); }
.cta p { color: #edf6ff; }

.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
}

.form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

label { display: block; font-weight: 700; margin-top: 14px; color: var(--navy); }
input, select, textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-top: 6px;
  font: inherit;
}
textarea { min-height: 130px; }

.notice {
  font-size: .92rem;
  color: var(--muted);
  margin-top: 14px;
}

.site-footer {
  background: #071521;
  color: #dbeafe;
  padding: 38px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 24px;
}
.site-footer h3 { color: var(--white); }
.site-footer a { color: #dbeafe; display: block; margin: 6px 0; }

@media (max-width: 850px) {
  .hero-grid, .grid, .benefit-band, .contact-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .section { padding: 54px 0; }
  .hero { padding: 68px 0; }
}
