/* ============================================
   Cleaning with Focus — Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark:   #0d3b6e;
  --blue:        #1a5fa8;
  --blue-mid:    #2e7fd4;
  --blue-light:  #daeaf9;
  --blue-pale:   #f0f7ff;
  --green:       #1e8c4e;
  --green-light: #e4f5ed;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --gray-50:     #f3f4f6;
  --gray-100:    #e5e7eb;
  --gray-300:    #d1d5db;
  --gray-500:    #6b7280;
  --gray-700:    #374151;
  --gray-900:    #111827;
  --text:        #111827;
  --text-muted:  #6b7280;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.05);
  --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'DM Serif Display', serif;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 400; }

em { font-style: italic; color: var(--blue); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-light);
}
.btn--ghost:hover { background: var(--blue-pale); border-color: var(--blue-mid); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-light);
  font-size: 14px;
  padding: 9px 18px;
}
.btn--outline:hover { background: var(--blue-pale); border-color: var(--blue); }

.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--full { width: 100%; }

/* --- Nav --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.nav__logo { font-family: 'DM Serif Display', serif; font-size: 1.2rem; }
.logo-cleaning { color: var(--blue-dark); }
.logo-focus { color: var(--blue); font-style: italic; }

.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-700);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--blue); }

.nav__cta { margin-left: 16px; padding: 10px 22px; font-size: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--gray-100);
}
.nav__mobile a {
  font-size: 15px;
  padding: 10px 0;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
}
.nav__mobile .btn { margin-top: 8px; }
.nav__mobile.open { display: flex; }

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--white) 60%);
  padding: 80px 0 96px;
}

.hero__bg-bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-light);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}
.bubble--1 { width: 320px; height: 320px; top: -120px; right: -80px; animation-delay: 0s; }
.bubble--2 { width: 180px; height: 180px; bottom: -60px; right: 20%; animation-delay: 2s; }
.bubble--3 { width: 80px; height: 80px; top: 40%; left: 5%; animation-delay: 4s; }
.bubble--4 { width: 50px; height: 50px; top: 20%; left: 30%; animation-delay: 1.5s; }
.bubble--5 { width: 120px; height: 120px; bottom: 10%; left: 40%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.02); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content { animation: fadeUp 0.6s ease both; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero__content h1 { margin-bottom: 20px; }

.hero__sub {
  font-size: 17px;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 15px; font-weight: 500; color: var(--gray-900); }
.trust-item span { font-size: 12px; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--gray-200); }

.hero__visual {
  position: relative;
  height: 380px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.hero__card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}

.hero__card--main {
  top: 20px; right: 0; width: 230px;
  animation-delay: 0s;
}
.hero__card--main .hero__card-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.hero__card--main p { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.hero__card--main strong { font-size: 15px; display: block; margin-bottom: 8px; }

.hero__card--review {
  bottom: 60px; left: 0; width: 240px;
  animation-delay: 2s;
}
.hero__card--review .stars { color: #f59e0b; font-size: 14px; margin-bottom: 6px; }
.hero__card--review p { font-size: 13px; color: var(--gray-700); line-height: 1.5; margin-bottom: 6px; font-style: italic; }
.hero__card--review span { font-size: 12px; color: var(--text-muted); }

.hero__card--stat {
  top: 160px; left: 40px; width: 130px; text-align: center;
  animation-delay: 1s;
}
.hero__card--stat strong { font-size: 28px; font-weight: 500; color: var(--blue); display: block; }
.hero__card--stat p { font-size: 12px; color: var(--text-muted); }

.chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
}
.chip--green { background: var(--green-light); color: var(--green); }

/* --- Section Headers --- */
.section__header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.section__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section__header h2 { margin-bottom: 14px; }
.section__header p { color: var(--text-muted); font-size: 17px; }

/* --- Services --- */
.services { background: var(--off-white); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }

.service-card--featured {
  border-color: var(--blue-light);
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--white) 50%);
}

.service-card__icon {
  width: 48px; height: 48px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.service-card--featured .service-card__icon { background: var(--blue-light); }

.service-card h3 { margin-top: 4px; }

.service-card p { color: var(--text-muted); font-size: 14px; }

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.service-card li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-mid);
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* --- How It Works --- */
.how-it-works { background: var(--white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.step__num {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border: 2px solid var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 20px;
  transition: all var(--transition);
}
.step:hover .step__num { background: var(--blue); color: var(--white); border-color: var(--blue); }

.step__content h3 { margin-bottom: 8px; }
.step__content p { font-size: 14px; color: var(--text-muted); }

.step__connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--blue-light);
  margin-top: 28px;
  position: relative;
}
.step__connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -4px;
  width: 10px; height: 10px;
  border-top: 2px solid var(--blue-light);
  border-right: 2px solid var(--blue-light);
  transform: rotate(45deg);
}

/* --- Reviews --- */
.reviews { background: var(--off-white); }

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

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); }

.stars { color: #f59e0b; font-size: 16px; }

.review-card p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

.review-author strong { display: block; font-size: 14px; font-weight: 500; }
.review-author span { font-size: 12px; color: var(--text-muted); }

/* --- Contact --- */
.contact { background: var(--white); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__info .section__tag { display: block; margin-bottom: 12px; }
.contact__info h2 { margin-bottom: 16px; }
.contact__info > p { color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }

.contact__details { display: flex; flex-direction: column; gap: 14px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700);
}
.contact-detail svg { color: var(--blue); flex-shrink: 0; }

/* --- Form --- */
.enquiry-form {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
}
.req { color: var(--blue); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(46, 127, 212, 0.12);
}
.form-field textarea { resize: vertical; min-height: 90px; }

.form__note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.form__success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}
.form__success.show { display: flex; }

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand .logo-cleaning { color: var(--white); font-family: 'DM Serif Display', serif; font-size: 1.1rem; }
.footer__brand .logo-focus { color: var(--blue-mid); font-family: 'DM Serif Display', serif; font-size: 1.1rem; font-style: italic; }
.footer__brand p { font-size: 14px; color: var(--gray-500); margin-top: 10px; max-width: 220px; }

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links strong { font-size: 13px; font-weight: 500; color: var(--white); }
.footer__links a { font-size: 14px; color: var(--gray-500); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 13px;
  color: var(--gray-500);
}
.footer__bottom a { color: var(--gray-500); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--white); }

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { height: 260px; }
  .hero__card--main { right: 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .step { flex-direction: row; text-align: left; gap: 20px; }
  .step__num { flex-shrink: 0; }
  .step__connector { width: 2px; height: 40px; flex: 0; margin: 0 0 0 27px; }
  .step__connector::after { right: -4px; top: auto; bottom: -4px; transform: rotate(135deg); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { display: none; }
  .trust-divider { display: none; }
  .hero__trust { gap: 12px; justify-content: flex-start; }
  .enquiry-form { padding: 24px; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }

  .hero { padding: 48px 0 56px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }

  .section__header { margin-bottom: 36px; }
  .section__header p { font-size: 15px; }

  .services__grid { gap: 14px; }
  .service-card { padding: 22px 18px; }

  .reviews__grid { gap: 14px; }
  .review-card { padding: 20px; }

  .contact__inner { gap: 32px; }
  .enquiry-form { padding: 20px 16px; }

  .footer { padding-top: 44px; }
  .footer__links { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
