/* ================================================================
   CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Colour palette */
  --navy:          #0F2A47;
  --navy-dark:     #091C30;
  --navy-mid:      #163A60;
  --terracotta:    #B85C28;
  --terracotta-hv: #9D4D21;
  --bg:            #FAFAF8;
  --bg-warm:       #F2EDE7;
  --text:          #1A1A18;
  --text-muted:    #6B6965;
  --border:        #E2DDD8;
  --white:         #FFFFFF;
  --gold:          #E8A820;

  /* Typography */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing scale */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Layout */
  --max-w:      1160px;
  --gutter:     1.5rem;
  --radius-sm:  4px;
  --radius-md:  10px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15,42,71,.07), 0 1px 2px rgba(15,42,71,.04);
  --shadow-md: 0 4px 16px rgba(15,42,71,.10), 0 2px 6px rgba(15,42,71,.06);
  --shadow-lg: 0 12px 40px rgba(15,42,71,.14);

  /* Motion */
  --ease:     .22s cubic-bezier(.25,.1,.25,1);
  --ease-out: .28s cubic-bezier(0,0,.2,1);

  /* Header */
  --hh: 4.5rem;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hh);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }
blockquote { font-style: normal; }
cite { font-style: normal; }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--s24);
}

.section--warm {
  background-color: var(--bg-warm);
}

.section-header {
  max-width: 600px;
  margin-bottom: var(--s16);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--s4);
}

.section-title--light { color: var(--white); }

.section-desc {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Small utility icon size */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: .875rem 1.625rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition:
    background-color var(--ease),
    color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease),
    transform .15s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn:active { transform: translateY(1px); }

.btn-accent {
  background-color: var(--terracotta);
  color: var(--white);
}
.btn-accent:hover {
  background-color: var(--terracotta-hv);
  box-shadow: 0 6px 20px rgba(184,92,40,.4);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost:hover {
  background-color: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: var(--navy);
  color: var(--white);
  font-size: 1rem;
}
.btn-submit:hover {
  background-color: var(--navy-dark);
  box-shadow: var(--shadow-md);
}
.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  height: var(--hh);
  transition: background-color var(--ease-out), box-shadow var(--ease-out);
}

.site-header.scrolled {
  background-color: var(--white);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--s6);
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
  transition: color var(--ease-out);
}
.site-header.scrolled .logo { color: var(--navy); }

.logo-primary {
  font-size: .7875rem;
  font-weight: 600;
  letter-spacing: .13em;
}
.logo-secondary {
  font-size: .675rem;
  font-weight: 400;
  letter-spacing: .13em;
  opacity: .7;
  margin-top: 3px;
}

/* Desktop nav */
.main-nav {
  flex: 1;
  display: none;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: var(--s8);
}
.main-nav a {
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(255,255,255,.8);
  padding-block: var(--s2);
  border-bottom: 1.5px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.main-nav a:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.55);
}
.site-header.scrolled .main-nav a          { color: var(--text-muted); }
.site-header.scrolled .main-nav a:hover   { color: var(--navy); border-bottom-color: var(--navy); }

/* Header phone */
.header-phone {
  display: none;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
  color: var(--white);
  font-size: .9375rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
.header-phone:hover {
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
}
.site-header.scrolled .header-phone {
  color: var(--navy);
  border-color: rgba(15,42,71,.35);
}
.site-header.scrolled .header-phone:hover {
  background-color: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Mobile phone icon (always visible on mobile, hidden ≥960px) */
.header-phone-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-inline-start: auto;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: color var(--ease-out), background-color var(--ease);
}
.header-phone-mobile:hover { background-color: rgba(255,255,255,.12); }
.site-header.scrolled .header-phone-mobile { color: var(--navy); }
.site-header.scrolled .header-phone-mobile:hover { background-color: rgba(15,42,71,.08); }
.header-phone-mobile svg { width: 20px; height: 20px; }

/* Burger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background-color: var(--white);
  border-radius: 2px;
  transform-origin: center;
  transition:
    background-color var(--ease-out),
    transform .24s ease,
    opacity .18s ease;
}
.site-header.scrolled .nav-toggle span { background-color: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--s6);
}
.mobile-nav.open { display: block; }
.mobile-nav ul   { display: flex; flex-direction: column; margin-bottom: var(--s6); }
.mobile-nav a {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--border);
}
.mobile-cta-phone {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-top: var(--s2);
  letter-spacing: .01em;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-block-start: var(--hh);
  padding-block-end: var(--s24);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(9,28,48,.18)  0%,
    rgba(9,28,48,.45)  40%,
    rgba(9,28,48,.82)  100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--s5);
}

.hero-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 6.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: var(--s6);
}

.hero-heading em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.9);
}

.hero-sub {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--s10);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  align-items: center;
}

/* ================================================================
   TRUST STRIP
   ================================================================ */
.trust-strip {
  background-color: var(--navy);
  padding-block: var(--s6);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.trust-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  font-weight: 400;
}

.trust-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .04em;
  line-height: 1;
  flex-shrink: 0;
}

.trust-sub { color: rgba(255,255,255,.45); }

.trust-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255,255,255,.5);
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section { background-color: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s8) var(--s8) var(--s8);
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15,42,71,.18);
  transform: translateY(-3px);
}

.service-icon {
  width: 38px;
  height: 38px;
  color: var(--navy);
  margin-bottom: var(--s5);
}
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1875rem;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: var(--s3);
}

.service-desc {
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ================================================================
   SERVICE AREA
   ================================================================ */
.area-inner { max-width: 640px; }

.area-towns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-block: var(--s8);
  border-top: 1px solid var(--border);
}

.area-towns li {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--border);
}

.area-towns li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--terracotta);
  flex-shrink: 0;
}

.area-note {
  font-size: .9375rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
}

/* ================================================================
   WHY US
   ================================================================ */
.why-section {
  background-color: var(--navy);
  padding-block: var(--s24);
}

.why-section .section-title {
  margin-bottom: var(--s12);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.why-item {
  padding-block: var(--s10);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.why-icon {
  width: 34px;
  height: 34px;
  color: var(--terracotta);
  margin-bottom: var(--s5);
}
.why-icon svg { width: 100%; height: 100%; }

.why-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1875rem;
  color: var(--white);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: var(--s3);
}

.why-desc {
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-section { background-color: var(--bg); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--gold);
  font-size: .9375rem;
  letter-spacing: .06em;
  margin-bottom: var(--s5);
  line-height: 1;
}

.review-body { flex: 1; display: flex; flex-direction: column; }

.review-text {
  flex: 1;
  font-size: .9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: var(--s6);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}

.review-author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}

.review-date {
  font-size: .8125rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact-inner { max-width: 600px; }

.contact-form { margin-top: var(--s10); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
}

.form-group { margin-bottom: var(--s5); }

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--s2);
  letter-spacing: .01em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .8125rem 1rem;
  background-color: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9375rem;
  font-weight: 400;
  line-height: 1.5;
  appearance: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(107,105,101,.45);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,42,71,.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  background-color: rgba(15,42,71,.06);
  border-left: 3px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: var(--s5) var(--s6);
  margin-top: var(--s4);
  color: var(--navy);
}
.form-success[hidden] { display: none; }
.form-success svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--terracotta);
  margin-top: 2px;
}
.form-success p {
  font-size: .9375rem;
  line-height: 1.55;
}
.form-success p + p {
  margin-top: var(--s1);
  font-weight: 300;
  color: var(--text-muted);
}

.contact-phone-block {
  margin-top: var(--s12);
  padding-top: var(--s10);
  border-top: 1px solid var(--border);
}
.contact-phone-label {
  font-size: .875rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: var(--s2);
}
.contact-phone-number {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--s2);
  transition: color var(--ease);
}
.contact-phone-number:hover { color: var(--terracotta); }
.contact-hours {
  font-size: .875rem;
  font-weight: 300;
  color: var(--text-muted);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background-color: var(--navy-dark);
  padding-block: var(--s12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--s8);
}

.footer-col { display: flex; flex-direction: column; gap: var(--s2); }

.footer-name {
  font-size: .7875rem;
  font-weight: 600;
  letter-spacing: .13em;
  color: rgba(255,255,255,.85);
}

.footer-detail {
  font-size: .8125rem;
  font-weight: 300;
  color: rgba(255,255,255,.38);
}

.footer-legal p {
  font-size: .8125rem;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
}

.footer-demo {
  margin-top: var(--s2);
  font-style: italic;
}

.footer-demo a {
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--ease);
}
.footer-demo a:hover { color: rgba(255,255,255,.75); }

/* ================================================================
   FOCUS VISIBLE
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ================================================================
   MOBILE ONLY (< 560px) — hero overflow + trust strip
   ================================================================ */
@media (max-width: 559px) {
  /* Suppress forced line-breaks so headline flows naturally at smaller size */
  .hero-heading br { display: none; }
  /* Ensure everything in the hero is left-aligned */
  .hero-eyebrow,
  .hero-heading,
  .hero-sub { text-align: left; }
  .hero-ctas { justify-content: flex-start; }
}

/* ================================================================
   RESPONSIVE — 560px (phablet)
   ================================================================ */
@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  /* Trust items: 2 columns once there's enough room */
  .trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s5) var(--s4);
  }
}

/* ================================================================
   RESPONSIVE — 720px (tablet)
   ================================================================ */
@media (min-width: 720px) {
  :root { --gutter: 2rem; }

  .trust-items {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s6);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s5);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   RESPONSIVE — 960px (desktop)
   ================================================================ */
@media (min-width: 960px) {
  :root { --gutter: 2.5rem; }

  /* Header */
  .main-nav            { display: flex; }
  .header-phone        { display: flex; }
  .header-phone-mobile { display: none; }
  .nav-toggle          { display: none; }

  /* Trust strip */
  .trust-item { font-size: .9375rem; }

  /* Services */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s6);
  }

  /* Why */
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    border-top: none;
  }
  .why-item {
    padding-block: var(--s10);
    padding-inline-end: var(--s8);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: none;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ================================================================
   RESPONSIVE — 1200px (wide)
   ================================================================ */
@media (min-width: 1200px) {
  :root { --gutter: 3rem; }
}

/* ================================================================
   PRINT
   ================================================================ */
@media print {
  .site-header, .hero-ctas, .contact-form, .nav-toggle { display: none; }
  .hero { min-height: auto; padding-block: var(--s16); }
  .hero-overlay { background: rgba(9,28,48,.6); }
}
