
/* =========================================
   EXTERIOR CLEANING BUSINESS
   Main Website Stylesheet
   ========================================= */

/* Colours and global settings */

:root {
  --navy: #14263D;
  --green: #16856B;
  --grey: #F3F6F8;
  --ink: #26384c;
  --muted: #536579;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: white;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.13;
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: white;
  padding: 10px;
  z-index: 99;
}

.skip-link:focus {
  top: 10px;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* =========================================
   HEADER AND NAVIGATION
   ========================================= */

.site-header {
  border-bottom: 1px solid #e7ebef;
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.2;
}

.brand strong,
.footer-brand strong {
  display: block;
  color: var(--green);
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: white;
  width: 39px;
  height: 39px;
  border-radius: 9px;
  font-size: 26px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a,
.header-cta {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover,
.text-link:hover {
  color: var(--green);
}

.header-cta {
  background: var(--navy);
  color: white;
  padding: 11px 17px;
  border-radius: 7px;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
  padding: 85px 0 95px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 18px;
}

.eyebrow-dot,
.note-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
}

h1 {
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: -.045em;
  margin-bottom: 24px;
}

h1 em {
  font-style: normal;
  color: var(--green);
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 30px 0;
}

.button {
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 750;
  display: inline-block;
}

.button:hover {
  background: #116e59;
}

.text-link {
  font-weight: 750;
  text-decoration: none;
  color: var(--navy);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.trust-icon {
  background: #e6f5f0;
  color: var(--green);
  padding: 4px 9px;
  border-radius: 50%;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.image-note {
  position: absolute;
  bottom: 17px;
  left: 17px;
  background: #fff;
  color: var(--navy);
  padding: 10px 13px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section {
  padding: 85px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 35px;
}

.section-heading h2,
.founder h2 {
  font-size: clamp(30px, 3vw, 43px);
  max-width: 600px;
  letter-spacing: -.03em;
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 320px;
  margin-bottom: 0;
}

/* =========================================
   BUSINESS TOPICS
   ========================================= */

.topics {
  background: var(--grey);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic {
  background: white;
  border: 1px solid #e5ebef;
  border-radius: 10px;
  padding: 25px;
  min-height: 235px;
}

.topic-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}

.topic-icon {
  float: right;
  color: var(--green);
  font-size: 25px;
}

.topic h3 {
  font-size: 21px;
  margin: 45px 0 12px;
}

.topic p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* =========================================
   GUIDE / SERVICE PREVIEW CARDS
   ========================================= */

.service-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4e9ed;
  border-radius: 16px;
}

.service-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-preview-content {
  padding: 28px;
  flex: 1;
}

.pill {
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--green);
}

.service-preview-content h3 {
  margin: 16px 0 12px;
  color: var(--navy);
  font-size: 1.4rem;
}

.service-preview-content p {
  margin: 0;
  line-height: 1.7;
}

/* =========================================
   FOUNDER / ABOUT SECTION
   ========================================= */

.founder {
  background: var(--navy);
  color: #dce5ed;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 65px;
  align-items: center;
}

.founder h2 {
  color: white;
  margin-bottom: 26px;
}

.founder p {
  max-width: 600px;
}

.founder a {
  color: #94e6ca;
}

.eyebrow-light {
  color: #94e6ca;
}

.founder img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  padding: 32px 0;
  background: #0c192a;
  color: #c3cfda;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}

.footer-brand {
  color: white;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.3;
}

/* =========================================
   TABLET RESPONSIVE LAYOUT
   ========================================= */

@media (max-width: 860px) {

  .header-inner {
    min-height: 72px;
  }

  .nav {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 50px 0 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-visual {
    max-width: 700px;
  }

  .section {
    padding: 65px 0;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 15px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .founder img {
    max-width: 700px;
  }
}

/* =========================================
   MOBILE RESPONSIVE LAYOUT
   ========================================= */

@media (max-width: 700px) {

  .service-preview-grid {
    grid-template-columns: 1fr;
  }

  .service-preview-content {
    padding: 22px;
  }
}

@media (max-width: 560px) {

  .container {
    width: min(calc(100% - 28px), 1160px);
  }

  .brand {
    font-size: 11px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 15px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 45px);
  }

  .lead {
    font-size: 16px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic {
    min-height: 0;
  }

  .topic h3 {
    margin-top: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-note {
    font-size: 9px;
    bottom: 10px;
    left: 10px;
  }
}

/* =========================================
   NARROW MOBILE NAVIGATION
   ========================================= */

@media (max-width: 400px) {

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
    gap: 14px;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 24px;
  }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }
}
