:root {
  /* Color */
  --headerNfooter: #123B5D;
  --buttons: #2A9D8F;
  --on_hover: #123B5D;
  --on_hover_white: #FFfff0;
  --surface: #F7F9FA;
  --baack: #FFFFFF;
  --texts: #333333;

  /* Type */
  --font-display: "Outfit", Poppins, Montserrat;
  --font-body: "Source Sans 3", Mada, Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
}

/* --- Wrapper: centers content and sets max width --- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility bar (Request a Quote) --- */
.utility {
  display: flex;
  background-color: var(--headerNfooter);
  padding-top: 10px;
  padding-bottom: 10px;
}

.utility .wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
.cta.cta-youtube{
  display: inline-block;
  font-family: var(--font-display);
  background-color: red;

}
.cta.cta-text{
  display: inline-block;
  font-family: var(--font-display);
}

.cta {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  background-color: var(--buttons);
  color: var(--baack);
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}



.cta:hover {
  opacity: 0.9;
  color: lightblue;
  transform: scale(1.05);
}

/* --- Main navigation row: logo LEFT, nav RIGHT --- */
#site-header {
  position: sticky;
  top: 0;
  background-color: var(--baack);
  z-index: 50;
  border-bottom: 1px solid #e3e8eb;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes logo left, nav right */
  padding: 16px 0;
}

/* --- Logo --- */
.logo a {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.logo a img.logo-image {
  display: block;
  width: 40px;
  height: 40px;
  max-width: 40px;
  min-width: 40px;
  -webkit-flex: 0 0 40px;
  flex: 0 0 40px;
  object-fit: contain;
  margin-right: 10px;
}

.logo .logo-ak {
  color: var(--headerNfooter);
  font-weight: 800;
}

.logo .logo-name {
  color: var(--buttons);
  font-weight: 500;
  text-transform: lowercase;
}

/* --- Nav menu: lays links out in a row --- */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  position: relative;
}

.top-link,
.header_nav {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--headerNfooter);
  text-decoration: none;
}

.top-link:hover,
.header_nav:hover {
  color: var(--buttons);
}

.arrow {
  font-size: 11px;
  margin-left: 3px;
}

/* --- Dropdown submenu --- */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  background-color: var(--headerNfooter);
  min-width: 230px;
  border-radius: 6px;
  padding: 0px 20px;
  margin-top: 5px;
  visibility: hidden;
  pointer-events: none;
}

.main-nav ul li:hover .submenu {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  padding: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--texts);
  text-decoration: none;
  text-align: left;
}

.submenu li a:hover {
  background-color: var(--surface);
  color: var(--headerNfooter);
  padding-left: 28px;
}


/* --- Dropdown submenu container --- */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;                    /* aligns to the LEFT edge of the parent link, not centered */
  background-color: var(--baack);
}

/* Reveal on hover */
.main-nav ul li:hover .submenu{
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.submenu.submenu-wide {
  display: flex;
  flex-direction: column;
}

.submenu li {
  width: 100%;
}

.submenu li a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--texts);
  text-decoration: none !important;
  border-radius: 10px;
}

.submenu li a:hover {
  background-color: var(--on_hover_white);
  color: var(--headerNfooter);
  padding-left: 24px;
}



/* --- Footer --- */
.global-footer {
  background-color: var(--headerNfooter);
  color: var(--surface);
  padding-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

/* Logo styled for the dark footer background */
.footer-logo {
  color: var(--baack);
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--buttons);
}

.footer-blurb {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 32ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--baack);
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--buttons);
}

/* --- Bottom bar: copyright + socials --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--baack);
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--buttons);
  border-color: var(--buttons);
}


/* --- Customer reviews page --- */
.reviews-hero {
  background-color: var(--surface);
  text-align: center;
  padding: 56px 0 40px;
}

.reviews-hero h1 {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--headerNfooter);
  margin: 0 0 12px;
}

.reviews-hero p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--texts);
  max-width: 60ch;
  margin: 0 auto;
}

.reviews-section {
  padding: 48px 0 64px;
  background-color: var(--baack);
}

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

.review-card {
  background-color: var(--surface);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 59, 93, 0.1);
}

.stars {
  color: #F4B400;
  font-size: 20px;
  letter-spacing: 2px;
}

.review-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texts);
  margin: 0;
  flex-grow: 1;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid #e3e8eb;
  padding-top: 12px;
}

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--headerNfooter);
}

.review-detail {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666666;
}

.reviews-cta {
  text-align: center;
  margin-top: 56px;
}

.reviews-cta h2 {
  font-family: var(--font-display);
  color: var(--headerNfooter);
  margin: 0 0 16px;
}


/* --- Request a quote page --- */
.quote-page {
  background-color: var(--surface);
  padding: 56px 0 72px;
}

.quote-intro h1 {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--headerNfooter);
  margin: 0 0 12px;  /* top 0  left/right 0  bottom 12 */
}

.quote-intro p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texts);
  max-width: 48ch;
  margin: 0 0 40px;
}

.quote-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.quote-card {
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);  /* left/right 0 top/bottom 2px blur 8px rgba(18, 59, 93, 0.05) */
}

.quote-card-form {
  flex: 1.2 1 340px;
}

.quote-card-info {
  flex: 1 1 300px;
}

.quote-card h2 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--headerNfooter);
  margin: 0 0 20px;    /* top 0  left/rioght 0  bottom 20 */
}

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-field label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--headerNfooter);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--texts);
  background-color: var(--surface);
  border: 1px solid #dde4e8;
  border-radius: 4px;
  padding: 12px;
  width: 100%;
}

.form-field textarea {
  resize: vertical;  /* allows user to resize vertically only */
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--buttons);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.2);  /* left/right 0 top/bottom 0 blur 3px rgba(42, 157, 143, 0.2) */
}

.quote-submit {
  border: none;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 24px;  /* top/bottom 12px left/right 24px */
}

/* Contact info */
.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #e8f3f1;
  color: var(--buttons);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.info-item strong {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--headerNfooter);
}

.info-item p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--texts);
  margin: 2px 0 0;
}

.map-embed {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 6px;
  margin-top: 8px;
}

/* --- Service areas page --- */
.area-map-card {
  flex: 23.8 1 340px;
}

.map-embed-large {
  height: 480px;
  margin-top: 0;
}

.area-cta {
  border-top: 1px solid #e3e8eb;
  padding-top: 20px;
  margin-top: 8px;
}

.area-cta p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--texts);
  margin: 0 0 14px;
}


/* Mostly Shared Styles inside main div */
.home-hero {
  background-color: var(--surface);
  padding: 64px 0;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 340px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.15;
  color: var(--headerNfooter);
  margin: 0 0 16px;
}

.hero-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texts);
  max-width: 46ch;
  margin: 0 0 24px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-outline {
  background-color: var(--baack);
  color: var(--headerNfooter);
  border: 1px solid #cfd8dd;
}

.cta-outline:hover {
  color: var(--headerNfooter);
  border-color: var(--buttons);
}

.hero-image {
  flex: 1 1 340px;
  height: 360px;
  min-height: 320px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eaeff1, #a6c5ce);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--texts);
  object-fit: cover;
}

.home-section {
  padding: 56px 0;
}

.home-section-white {
  background-color: var(--baack);
}

.home-section-surface {
  background-color: var(--surface);
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--headerNfooter);
  margin: 0 0 8px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--texts);
  margin: 0 0 28px;
}


/* ======== service page ============= */
.include-grid {
  display: grid;     /* haven't taught in class but its the best way to make a responsive grid */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.include-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--surface);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--texts);
}

.tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e8f3f1;
  color: var(--buttons);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));  /* auto-fit: as many columns as will fit, min 240px, max 1fr (fraction unit) */
  gap: 20px;
}

.step-card {
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--buttons);
  color: var(--baack);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--headerNfooter);
  margin: 0 0 8px;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--texts);
  margin: 0;
}

.faq-list {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background-color: var(--surface);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 16px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--headerNfooter);
}

.faq-list details p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texts);
  margin: 12px 0 0;
}

.cta-band {
  background-color: var(--headerNfooter);
  text-align: center;
  padding: 48px 0;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--baack);
  margin: 0 0 20px;
}

/* ==== Cleaning services section ====== */
.home-section {
  padding: 56px 0;
}

.home-section-white {
  background-color: var(--baack);
}

.home-section-surface {
  background-color: var(--surface);
}

.section-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--headerNfooter);
  margin: 0 0 8px;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--texts);
  margin: 0 0 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  padding: 22px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(18, 59, 93, 0.12);
}

.service-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #e8f3f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--headerNfooter);
  margin: 4px 0 0;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--texts);
  margin: 0;
  flex-grow: 1;
}

.learn-more {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--buttons);
}


/* ====== Regular cleaning page ======= */
.reg-hero {
  background-image: linear-gradient(rgba(18, 59, 93, 0.8), rgba(18, 59, 93, 0.8)), var(--hero-img);
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}

.reg-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7fd6cb;
  margin-bottom: 12px;
}

.reg-hero h1 {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.15;
  color: var(--baack);
  max-width: 20ch;
  margin: 0 0 16px;
}

.reg-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 56ch;
  margin: 0 0 28px;
}

/* Frequency cards */
.freq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.freq-card {
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-top: 4px solid var(--buttons);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);
}

.freq-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--headerNfooter);
  margin: 0 0 8px;
}

.freq-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texts);
  margin: 0;
}

/* Image + text split sections */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}


.split-img {
  min-width: 0;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.split-text {
  flex: 1 1 340px;
}

.split-text p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texts);
  margin: 0 0 16px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.check-list li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--texts);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--buttons);
}

/* Photo gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery img {
  flex: 1 1 220px;
  min-width: 0;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery img.gallery-wide {
  flex: 2 1 460px;
}

/* Call to action with photo background */
.cta-photo {
  background-image: linear-gradient(rgba(18, 59, 93, 0.85), rgba(18, 59, 93, 0.85)), var(--cta-img);
  background-size: cover;
  background-position: center;
  padding: 72px 0;
}


/* --- Thumbnail gallery with hover preview --- */
.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.thumbnails img {
  height: 60px;
  width: 90px;
  object-fit: cover;
  background-color: #dde7ea;
  border: 4px solid var(--headerNfooter);
  border-radius: 4px;
  padding: 1px;
  cursor: pointer;
}

.thumbnails img:hover {
  border-color: var(--buttons);
}

.preview {
  text-align: center;
}

.preview img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: #dde7ea;
  border: 4px solid var(--headerNfooter);
  border-radius: 4px;
  padding: 1px;
}

.reg-hero,
.cta-photo {
  background-color: var(--headerNfooter);
}

/* --- Window cleaning page --- */
.win-hero {
  background-color: var(--surface);
  text-align: center;
  padding: 64px 0;
}

.win-eyebrow {
  color: var(--buttons);
}

.win-hero h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  color: var(--headerNfooter);
  max-width: 22ch;
  margin: 0 auto 16px;
}

.win-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texts);
  max-width: 56ch;
  margin: 0 auto 28px;
}

.win-buttons {
  justify-content: center;
}

.win-hero-img {
  display: block;
  width: 60%;
  max-width: 1000px;
  height: 480px;
  background-color: #dde7ea;
  border-radius: 8px;
  margin: 40px auto 0;
}

/* Tags */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--headerNfooter);
  background-color: #e8f3f1;
  border: 1px solid #cfe6e2;
  border-radius: 999px;
  padding: 10px 18px;
}

/* Photo cards */
.photo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.photo-card {
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(18, 59, 93, 0.05);
}

.photo-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background-color: #dde7ea;
}

.photo-card-body {
  padding: 22px;
}

.photo-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--headerNfooter);
  margin: 0 0 8px;
}

.photo-card-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--texts);
  margin: 0;
}

/* Two info columns */
.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.info-col {
  background-color: var(--baack);
  border: 1px solid #e3e8eb;
  border-left: 4px solid var(--buttons);
  border-radius: 8px;
  padding: 24px;
}

.info-col h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--headerNfooter);
  margin: 0 0 4px;
}

/* --- Home cleaning page --- */
.hc-hero {
  background-color: var(--surface);
  padding: 64px 0;
}

.hc-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hc-hero-text {
  flex: 1 1 340px;
}

.hc-hero-text h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.15;
  color: var(--headerNfooter);
  margin: 0 0 16px;
}

.hc-hero-text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texts);
  max-width: 50ch;
  margin: 0 0 28px;
}

.hc-hero-img {
  min-width: 0;
  height: 400px;
  object-fit: cover;
  background-color: #dde7ea;
  border-radius: 8px;
}


/* --- Office cleaning page --- */
.off-hero {
  background-color: var(--headerNfooter);
  padding: 72px 0;
}

.off-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.off-hero-text {
  flex: 1 1 340px;
}

.off-hero-text h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 1.15;
  color: var(--baack);
  margin: 0 0 16px;
}

.off-hero-text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
  margin: 0 0 28px;
}

.off-hero-img {
  flex: 1 1 340px;
  min-width: 0;
  height: 380px;
  object-fit: cover;
  background-color: #2b5578;
  border-radius: 8px;
}

/* Areas table */
.off-table {
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  overflow: hidden;
}

.off-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 16px 20px;
  border-top: 1px solid #e3e8eb;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--texts);
}

.off-row:first-child {
  border-top: none;
}

.off-row span:first-child {
  flex: 0 0 220px;
  font-weight: 600;
  color: var(--headerNfooter);
}

.off-row span:last-child {
  flex: 1 1 280px;
}

.off-row-head {
  background-color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
}


/* --- Commercial cleaning page --- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: 22px;
  border-radius: 8px;
  background-color: var(--headerNfooter);
  background-image: linear-gradient(to top, rgba(18, 59, 93, 0.92), rgba(18, 59, 93, 0.2)), var(--tile-img);
  background-size: cover;
  background-position: center;
}

.tile h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--baack);
  margin: 0 0 6px;
}

.tile p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}


/* --- End of lease cleaning page --- */
.eol-hero {
  background-color: var(--headerNfooter);
  padding: 72px 0;
}

.eol-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.eol-hero-text {
  flex: 1 1 340px;
}

.eol-hero-text h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  color: var(--baack);
  margin: 0 0 16px;
}

.eol-hero-text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
  margin: 0 0 28px;
}

.eol-card {
  flex: 1 1 320px;
  background-color: var(--baack);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.eol-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--headerNfooter);
  margin: 0 0 4px;
}

.eol-card .check-list {
  margin-bottom: 22px;
}

.eol-list {
  max-width: none;
}


/* --- Carpet cleaning page --- */
.carp-hero {
  background-color: var(--surface);
  text-align: center;
  padding: 64px 0;
}

.carp-hero h1 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  color: var(--headerNfooter);
  max-width: 22ch;
  margin: 0 auto 16px;
}

.carp-hero p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texts);
  max-width: 56ch;
  margin: 0 auto 28px;
}

.carp-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.carp-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background-color: #dde7ea;
  border-radius: 8px;
}

/* Before / after */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ba-item {
  position: relative;
  margin: 0;
}

.ba-item img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  background-color: #dde7ea;
  border-radius: 8px;
}

.ba-item figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--headerNfooter);
  color: var(--baack);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

/* --- Chip links (About US page) --- */
a.chip { text-decoration: none; }
a.chip:hover { background-color: var(--buttons); color: var(--baack); }


/* --- Previous jobs page --- */
html { scroll-behavior: smooth; }

.jobs-wrap { scroll-margin-top: 90px; }

/* Service tiles */
.jobs-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.job-cat {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #dde4e8;
  border-radius: 8px;
  background-color: #dde7ea;
  text-decoration: none;
}

.job-cat img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  color: transparent;            /* hides alt text while photos are missing */
  transition: transform 0.3s ease;
}

.job-cat:hover img { transform: scale(1.05); }

.job-cat span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background-color: var(--headerNfooter);
  color: var(--baack);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
}

/* Galleries: hidden until their tile is clicked */
.job-panel { display: none; scroll-margin-top: 90px; }
.job-panel:target { display: block; }

/* Hide the tiles while a gallery is open */
.jobs-wrap:has(.job-panel:target) .jobs-cats { display: none; }

.job-back {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--headerNfooter);
  background-color: var(--surface);
  border: 1px solid #dde4e8;
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 20px;
  text-decoration: none;
}

.job-back:hover { border-color: var(--buttons); }

.job-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.job-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #dde7ea;
  color: transparent;
  border-radius: 8px;
}