/* ============================================
   EVERLY CLEANING SOLUTIONS — Design System
   "A cleaner space. A lighter load."
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;0,6..12,800;1,6..12,400&display=swap');

:root{
  /* --- Color tokens --- */
  --cream:        #FFF5D9;
  --cream-soft:   #FFFAEE;
  --white:        #FFFFFF;
  --slate-light:  #7B949C;
  --slate-mid:    #536C7C;
  --navy:         #213C4E;
  --navy-deep:    #182241;

  --ink:          var(--navy-deep);
  --ink-soft:     var(--slate-mid);
  --border-soft:  rgba(83, 108, 124, 0.18);
  --border-soft-2: rgba(33, 60, 78, 0.12);

  /* --- Type --- */
  --font-display: 'Sansita', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Layout --- */
  --max-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --arch: 200px 200px 18px 18px;

  --shadow-soft: 0 20px 50px -25px rgba(24, 34, 65, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(33, 60, 78, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-deep);
}
p{ margin: 0 0 1em; }
button{ font-family: inherit; cursor: pointer; }

:focus-visible{
  outline: 3px solid var(--slate-mid);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Layout helpers ---------- */
.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.section{ padding: 96px 0; }
.section--tight{ padding: 64px 0; }
.section--navy{ background: var(--navy-deep); color: var(--cream-soft); }
.section--navy h2, .section--navy h3{ color: var(--cream-soft); }
.section--slate{ background: var(--navy); color: var(--cream-soft); }
.section--slate h2, .section--slate h3{ color: var(--cream-soft); }
.section--white{ background: var(--white); }
.section--soft{ background: var(--cream-soft); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--slate-light);
  display: inline-block;
}
.section--navy .eyebrow, .section--slate .eyebrow{ color: var(--slate-light); }
.section--navy .eyebrow::before, .section--slate .eyebrow::before{ background: var(--cream); opacity: .6; }

h1{ font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
h2{ font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3{ font-size: 1.3rem; }
.lede{ font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section--navy .lede, .section--slate .lede{ color: rgba(255,245,217,0.78); }

.center{ text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--navy-deep);
  color: var(--cream-soft);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ background: var(--navy); }
.btn-outline{
  background: transparent;
  border-color: var(--slate-mid);
  color: var(--navy-deep);
}
.btn-outline:hover{ background: var(--navy-deep); border-color: var(--navy-deep); color: var(--cream-soft); }
.btn-light{
  background: var(--cream);
  color: var(--navy-deep);
}
.btn-light:hover{ background: var(--white); }
.btn-ghost-light{
  background: transparent;
  border-color: rgba(255,245,217,0.5);
  color: var(--cream-soft);
}
.btn-ghost-light:hover{ background: rgba(255,245,217,0.12); border-color: var(--cream); }
.btn-row{ display: flex; flex-wrap: wrap; gap: 14px; }
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 245, 217, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-deep);
}
.brand-tag{
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-mid);
  margin-top: 4px;
}
.main-nav{ display: flex; align-items: center; gap: 34px; }
.main-nav ul{ display: flex; gap: 28px; }
.main-nav a{
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after{
  content:"";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--slate-mid);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ width: 100%; }
.main-nav a.active{ color: var(--navy-deep); }

.header-cta{ display: flex; align-items: center; gap: 18px; }
.header-phone{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--navy-deep);
  font-size: 15px;
}
.header-phone svg{ width: 18px; height: 18px; color: var(--slate-mid); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span{
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy-deep);
  margin: 5px 0;
  border-radius: 2px;
}

.has-submenu{ position: relative; }
.submenu{
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 10px;
  min-width: 210px;
  border: 1px solid var(--border-soft);
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu{ display: block; }
.submenu a{
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
}
.submenu a:hover{ background: var(--cream-soft); }
.submenu a::after{ display: none; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 76px 0 100px;
}
.hero-glow{
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,148,156,0.35), rgba(255,245,217,0) 70%);
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.hero h1{ margin-bottom: 22px; }
.hero .lede{ margin-bottom: 34px; font-size: 1.2rem; }

/* Arch image frame — signature element */
.arch-frame{
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: linear-gradient(160deg, var(--slate-light) 0%, var(--slate-mid) 55%, var(--navy) 100%);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arch-frame.arch-wide{ aspect-ratio: 4 / 3; }
.arch-frame.arch-square{ aspect-ratio: 1 / 1; }
.arch-frame img{ width: 100%; height: 100%; object-fit: cover; }

/* Non-cropping frame for graphics/maps that need full visibility (no arch cutoff) */
.graphic-frame{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.graphic-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.placeholder-tag{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.placeholder-tag span{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,245,217,0.92);
  background: rgba(24,34,65,0.28);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px dashed rgba(255,245,217,0.55);
}

/* ---------- Trust strip ---------- */
.trust-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.trust-item{ display: flex; flex-direction: column; gap: 10px; }
.trust-item svg{ width: 30px; height: 30px; color: var(--slate-mid); }
.trust-item h4{ font-family: var(--font-body); font-weight: 800; font-size: 16px; color: var(--navy-deep); margin: 0; }
.trust-item p{ font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Cards ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card-grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft-2);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-icon{
  width: 52px; height: 52px;
  border-radius: var(--arch);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg{ width: 26px; height: 26px; color: var(--navy); }
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.card-link{
  margin-top: auto;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link svg{ width: 15px; height: 15px; transition: transform .18s ease; }
.card-link:hover svg{ transform: translateX(3px); }

/* ---------- Two-col content block ---------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media{ order: 2; }
.split.reverse .split-text{ order: 1; }
.split-text ul.check-list{ margin-top: 20px; }
.check-list li{
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  border-top: 1px solid var(--border-soft);
}
.check-list li:first-child{ border-top: none; }
.check-list svg{ width: 20px; height: 20px; color: var(--slate-mid); flex-shrink: 0; margin-top: 1px; }

/* ---------- Service areas ---------- */
.area-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.area-card{
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--cream-soft);
  position: relative;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}
.area-card::before{
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,245,217,0.08);
}
.area-card h3{ color: var(--cream-soft); margin-bottom: 6px; }
.area-card p{ font-size: 14px; color: rgba(255,245,217,0.72); margin-bottom: 14px; }
.area-card .card-link{ color: var(--cream-soft); }
.area-card.lake{ background: var(--slate-mid); }

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius: var(--radius-lg);
  background: var(--navy-deep);
  color: var(--cream-soft);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content:"";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,148,156,0.25), transparent 70%);
}
.cta-banner h2{ color: var(--cream-soft); margin-bottom: 8px; }
.cta-banner p{ color: rgba(255,245,217,0.75); margin: 0; }
.cta-text{ max-width: 480px; position: relative; }
.cta-banner .btn-row{ position: relative; }

/* ---------- Testimonial / quote ---------- */
.quote-block{
  border-left: 3px solid var(--slate-light);
  padding-left: 28px;
  margin: 0;
}
.quote-block p{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy-deep);
  font-style: italic;
  line-height: 1.4;
}
.quote-block cite{ font-style: normal; font-weight: 700; font-size: 14px; color: var(--slate-mid); }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-deep);
  color: rgba(255,245,217,0.85);
  padding: 72px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,245,217,0.14);
}
.footer-brand .brand-name{ color: var(--cream-soft); }
.footer-brand p{ font-size: 14.5px; color: rgba(255,245,217,0.65); max-width: 30ch; margin-top: 14px; }
.footer-col h4{
  font-family: var(--font-body);
  color: var(--cream-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col li{ margin-bottom: 10px; }
.footer-col a, .footer-col p{ font-size: 14.5px; color: rgba(255,245,217,0.7); }
.footer-col a:hover{ color: var(--cream-soft); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255,245,217,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-credit{
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255,245,217,0.4);
}
.footer-credit a{
  color: rgba(255,245,217,0.62);
  text-decoration: underline;
}
.footer-credit a:hover{ color: var(--cream-soft); }

/* ---------- Page header (interior pages) ---------- */
.page-header{
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header .wrap{ position: relative; }
.breadcrumb{
  font-size: 13.5px;
  color: var(--slate-mid);
  font-weight: 700;
  margin-bottom: 18px;
}
.breadcrumb a:hover{ text-decoration: underline; }

/* ---------- Stat row ---------- */
.stat-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-item{ text-align: center; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--navy-deep);
  display: block;
}
.stat-label{ font-size: 13.5px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Process steps ---------- */
.process-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.process-item{ position: relative; padding-left: 0; }
.process-num{
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--slate-light);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Utilities ---------- */
.mt-0{ margin-top: 0; }
.mb-0{ margin-bottom: 0; }
.divider{ height: 1px; background: var(--border-soft); border: none; margin: 0; }
.pill{
  display: inline-block;
  padding: 6px 14px;
  background: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-right: 8px;
  margin-bottom: 8px;
}
.section--navy .pill, .section--slate .pill{ background: rgba(255,245,217,0.12); color: var(--cream-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .main-nav{ display: none; }
  .nav-toggle{ display: block; }
  .header-phone span{ display: none; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-grid .split-media{ order: -1; }
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .trust-strip{ grid-template-columns: repeat(2, 1fr); }
  .area-grid{ grid-template-columns: repeat(2, 1fr); }
  .split{ grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media{ order: -1; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .process-list{ grid-template-columns: 1fr; }
  .stat-row{ grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px){
  .section{ padding: 64px 0; }
  .card-grid{ grid-template-columns: 1fr; }
  .trust-strip{ grid-template-columns: 1fr; }
  .area-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .cta-banner{ padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .btn{ padding: 13px 24px; font-size: 14.5px; }
  .arch{ 200px 200px 18px 18px; }
}

/* Mobile nav panel */
.mobile-nav{
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0 20px;
}
.mobile-nav.open{ display: flex; }
.mobile-nav a{
  padding: 12px 4px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav .btn{ margin-top: 12px; justify-content: center; }
