:root {
  --bg: #F8F7F5;
  --surface: #FFFFFF;
  --surface-soft: #FBFAF8;
  --blue: #8FAED1;
  --blue-light: #AFC6E0;
  --blue-soft: #D6E3F1;
  --blue-dark: #96b0cf;
  --blue-deep: #8FAED1;
  --text: #3F3A36;
  --text-secondary: #6F685F;
  --text-muted: #8C847B;
  --line: #E8E3DC;
  --shadow-sm: 0 8px 20px rgba(63, 58, 54, 0.05);
  --shadow-md: 0 18px 45px rgba(63, 58, 54, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --page-width: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.home-shell {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
}

.hero-booking-input {
  width: 100%;
  height: 48px;
  border: 1px solid #e8e3dc;
  background: #fbfaf8;
  border-radius: 14px;
  padding: 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #3f3a36;
  outline: none;
  appearance: none;
}

.hero-booking-input:focus {
  border-color: #8faed1;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(143, 174, 209, 0.14);
}

.hero-booking-card select.hero-booking-input {
  cursor: pointer;
}

.hero-booking-card {
  display: grid;
  gap: 10px;
}

.hero-booking-card button {
  margin-top: 4px;
}

/* nav */
.home-header {
  padding: 20px 0 10px;
  background: var(--bg);
  border-bottom: 1px solid rgba(232, 227, 220, 0.7);
}

.home-nav {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.home-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.home-brand-name {
  font-size: 28px;
  font-weight: 600;
  color: #8FAED1;
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.home-nav-links a,
.home-login {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.home-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-nav-cta {
  background: var(--blue);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* hero */
.home-hero {
  padding: 18px 0 28px;
  background:
    radial-gradient(circle at 70% 28%, rgba(143, 174, 209, 0.16), transparent 28%),
    linear-gradient(180deg, #F8F7F5 0%, #F1F5FA 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 34px 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;

  border-radius: 999px;

  background: rgba(255,255,255,0.72);

  border: 1px solid rgba(232,227,220,0.9);

  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(63,58,54,0.04);

  color: #6f685f;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;

  margin-bottom: 22px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;

  background: #7fb38a;

  box-shadow:
    0 0 0 6px rgba(127,179,138,0.14);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(56px, 5.8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--text);
  max-width: 620px;
}

.hero-copy h1 span {
  display: block;
  color: #8FAED1;
}

.hero-copy p {
  margin: 24px 0 0;
  max-width: 460px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.hero-search {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  max-width: 620px;
  box-shadow: var(--shadow-sm);
}

.hero-search input {
  height: 58px;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search button {
  border: 0;
  background: #8FAED1;
  color: #fff;
  border-radius: 18px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  max-width: 700px;
}

.hero-trust-row strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.hero-trust-row span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 38px;
}

.hero-booking-card {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 290px;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.hero-booking-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.fake-field {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  padding: 0 14px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-booking-card button {
  width: 100%;
  height: 50px;
  border: 0;
  background: #8FAED1;
  color: #fff;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  margin-top: 6px;
  cursor: pointer;
}

.hero-booking-card p {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--green-text, #4F8A63);
  line-height: 1.5;
}

/* feature strip */
.feature-strip {
  padding: 18px 0 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: #8FAED1;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* cleaner cta */
.cleaner-cta-section {
  padding: 12px 0 22px;
}

.cleaner-cta-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr 220px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, rgba(214, 227, 241, 0.26) 0%, rgba(255,255,255,0.78) 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.cleaner-cta-left h2 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.cleaner-cta-left p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 420px;
}

.cleaner-cta-btn {
  display: inline-block;
  background: #8FAED1;
  color: #fff;
  padding: 15px 22px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 600;
}

.cleaner-cta-middle {
  display: grid;
  gap: 14px;
}

.cleaner-cta-middle span {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text);
}

.cleaner-cta-middle span::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8FAED1;
  font-weight: 700;
}

.cleaner-cta-right {
  position: relative;
  width: 180px;
  height: 130px;
  margin-left: auto;
}

.bucket,
.spray,
.plant {
  position: absolute;
  bottom: 0;
}

.bucket {
  width: 60px;
  height: 76px;
  right: 60px;
  background: var(--blue-light);
  border-radius: 8px 8px 14px 14px;
}

.spray {
  width: 28px;
  height: 68px;
  right: 132px;
  background: #D8E3EE;
  border-radius: 10px 10px 14px 14px;
}

.plant {
  width: 38px;
  height: 54px;
  right: 0;
  background: #EEF3F0;
  border-radius: 0 0 10px 10px;
}

.plant::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 40px;
  left: 5px;
  top: -22px;
  background: linear-gradient(180deg, #9DBC9A 0%, #7FA37B 100%);
  border-radius: 50% 50% 40% 40%;
}

/* how it works */
.how-it-works-section {
  padding: 10px 0 34px;
}

.how-head {
  text-align: center;
  margin-bottom: 24px;
}

.how-head h2 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.how-head p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.how-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: #8FAED1;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 14px;
}

.how-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
}

.how-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* footer */
.home-footer {
  margin-top: 8px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 40px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

.footer-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.footer-column a,
.footer-column p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.newsletter-column {
  max-width: 260px;
}

.newsletter-box {
  display: flex;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.newsletter-box input {
  border: 0;
  background: transparent;
  padding: 14px 14px;
  font-family: inherit;
  width: 100%;
  outline: none;
}

.newsletter-box button {
  border: 0;
  background: #8FAED1;
  color: #fff;
  width: 56px;
  font-size: 22px;
  cursor: pointer;
}

.footer-bottom {
  width: min(calc(100% - 64px), var(--page-width));
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* responsive */
@media (max-width: 1200px) {
  .hero-grid,
  .cleaner-cta-box,
  .feature-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual img {
    height: 420px;
  }

  .hero-booking-card {
    right: 20px;
    top: 20px;
    transform: none;
  }

  .cleaner-cta-right {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .home-nav,
  .home-shell,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .home-nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .home-nav-links {
    width: 100%;
    order: 3;
    flex-wrap: wrap;
    gap: 16px;
  }

  .home-nav-right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .hero-search,
  .hero-trust-row {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .footer-links,
  .footer-bottom {
    flex-direction: column;
    gap: 28px;
  }
}

button,
.home-nav-cta,
.cleaner-cta-btn,
.hero-search button {
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover,
.home-nav-cta:hover,
.cleaner-cta-btn:hover,
.hero-search button:hover {
  background: #6F95BF;
  transform: translateY(-2px);
}

.feature-card,
.how-card {
  transition: 0.2s ease;
}

.feature-card:hover,
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-nav-links a:hover,
.home-login:hover {
  color: #8FAED1;
}


@media (max-width: 640px) {
  .hero-copy h1,
  .cleaner-cta-left h2,
  .how-head h2 {
    font-size: 34px;
  }

  .hero-booking-card {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
  }

  .hero-visual img {
    height: 300px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }
}