/* =========================================================
   CleanNestCareGB — Stylesheet
   Colors: deep navy, fresh green, white, light gray, sky-blue accents
========================================================= */

:root {
  --navy: #10263f;
  --navy-dark: #0b1b30;
  --green: #2f9e6b;
  --green-dark: #257c54;
  --white: #ffffff;
  --gray-light: #f2f4f6;
  --gray-mid: #d9dee3;
  --text-dark: #1c2733;
  --text-muted: #5b6b7a;
  --sky: #6fb9dd;
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
}

/* ---------- Section title helpers ---------- */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ---------- Site photos (16:9) ---------- */
.site-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =========================================================
   HEADER + BURGER MENU (CSS-only, breakpoint 900px)
========================================================= */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.3px;
}

.logo:hover {
  text-decoration: none;
  color: var(--sky);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--sky);
  text-decoration: none;
}

.nav-cta {
  background: var(--green);
  padding: 9px 18px;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}

.burger-toggle {
  display: none;
}

.burger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 30px;
  cursor: pointer;
}

.burger-label span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .burger-label {
    display: flex;
    z-index: 110;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .main-nav ul li {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav ul li:last-child {
    border-bottom: none;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 6px;
  }

  /* checkbox-driven open state */
  .burger-toggle:checked ~ .main-nav {
    max-height: 420px;
  }

  .burger-toggle:checked ~ .burger-label span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-toggle:checked ~ .burger-label span:nth-child(2) {
    opacity: 0;
  }

  .burger-toggle:checked ~ .burger-label span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* =========================================================
   HERO
========================================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 70px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.hero-text p {
  color: var(--gray-mid);
  margin-bottom: 26px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* =========================================================
   SERVICES
========================================================= */
.services {
  padding: 80px 0;
  background: var(--white);
}

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

.card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--gray-mid);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-link {
  font-weight: 600;
  color: var(--green-dark);
}

/* =========================================================
   BENEFITS
========================================================= */
.benefits {
  padding: 80px 0;
  background: var(--gray-light);
}

.benefits-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.benefits-list li {
  padding-left: 26px;
  position: relative;
  color: var(--text-muted);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.benefits-list strong {
  color: var(--navy);
}

/* =========================================================
   PROCESS / HOW IT WORKS
========================================================= */
.process {
  padding: 80px 0;
  background: var(--white);
}

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

.step {
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
}

/* =========================================================
   GALLERY
========================================================= */
.gallery {
  padding: 80px 0;
  background: var(--gray-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

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

.testimonial-card {
  background: var(--gray-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 26px;
}

.testimonial-card p {
  color: var(--text-dark);
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial-card footer {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* =========================================================
   CONTACT
========================================================= */
.contact {
  position: relative;
  padding: 80px 0;
  background: var(--navy) url('images/CleanNestCareGB-background.webp') center / cover no-repeat;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 38, 63, 0.82);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
}

.contact-info .section-title,
.contact-info p {
  text-align: left;
  color: var(--white);
  margin: 0 0 16px;
}

.contact-details {
  list-style: none;
  color: var(--gray-mid);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-details a {
  color: var(--sky);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  padding: 11px 14px;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-checkbox-row {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox-row input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox-row label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-muted);
}

#contact-submit {
  align-self: flex-start;
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: var(--gray-mid);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 40px;
}

.footer-logo {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-mid);
}

.footer-col a:hover {
  color: var(--sky);
}

.footer-col address {
  font-style: normal;
  color: var(--gray-mid);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
}

/* =========================================================
   COOKIE BANNER
========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: var(--gray-mid);
  padding: 18px 20px;
  z-index: 200;
  border-top: 3px solid var(--green);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
}

.cookie-banner-inner a {
  color: var(--sky);
}

/* =========================================================
   MODAL
========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 48, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal-box h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 900px) {
  .hero-inner,
  .benefits-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
