/* ============================================================
   HARRY'S CLEAN TEAM — Brochure Website Styles
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --blue:       #1a6fb5;
  --blue-dark:  #144f85;
  --blue-light: #e8f2fc;
  --teal:       #0da89e;
  --accent:     #f0c040;
  --text:       #1c1c2e;
  --muted:      #5a5a74;
  --surface:    #f7f9fc;
  --white:      #ffffff;
  --border:     #e0e8f0;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow-sm:  0 2px 8px rgba(26,111,181,.08);
  --shadow-md:  0 8px 32px rgba(26,111,181,.13);
  --shadow-lg:  0 20px 60px rgba(26,111,181,.18);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
  --container:  1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---------- Utility ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(26,111,181,.35);
}
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 6px 24px rgba(26,111,181,.45); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--nav {
  background: var(--blue);
  color: var(--white);
  padding: .55rem 1.3rem;
  font-size: .88rem;
}
.btn--nav:hover { background: var(--blue-dark); }

.btn--full { width: 100%; justify-content: center; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav__logo-icon {
  color: var(--teal);
  font-size: 1.2rem;
}

.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: .5rem;
  align-self: flex-start;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a:not(.btn) {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--blue); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 24px 1.5rem;
  gap: 1rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nav__mobile a {
  font-weight: 600;
  color: var(--muted);
  font-size: 1rem;
}
.nav__mobile a:last-child {
  color: var(--blue);
  font-weight: 700;
}

.nav__mobile.open { display: flex; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d3a6e 0%, #1a6fb5 50%, #0da89e 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(13,168,158,.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated bubbles */
.hero__bg::before,
.hero__bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: float 8s ease-in-out infinite;
}
.hero__bg::before {
  width: 420px; height: 420px;
  top: -80px; right: -80px;
}
.hero__bg::after {
  width: 260px; height: 260px;
  bottom: 60px; left: 5%;
  animation-delay: -4s;
  animation-duration: 11s;
}

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

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 6rem;
  max-width: 680px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.25);
  animation: fadeUp .7s both;
}

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp .7s .1s both;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 480px;
  margin-bottom: 2rem;
  animation: fadeUp .7s .2s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
  animation: fadeUp .7s .3s both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeUp .7s .4s both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}
.hero__stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.25);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { opacity: 1; top: 6px; }
  50%       { opacity: 0; top: 18px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 6rem 0;
  background: var(--surface);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.service-card > * { position: relative; z-index: 1; }

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.service-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.service-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--blue);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 50px;
  z-index: 1;
}

.service-card__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .5rem;
  color: var(--text);
}

.service-card p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.service-card ul li {
  font-size: .85rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}


/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: 6rem 0;
  background: var(--white);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us__text .section-title { margin-bottom: 1.2rem; }

.why-us__body {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.why-us__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.feature h4 {
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: .25rem;
  color: var(--text);
}

.feature p {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.5;
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0d3a6e 0%, #1a6fb5 100%);
}

.testimonials .section-eyebrow { color: var(--accent); }
.testimonials .section-title   { color: var(--white); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), background var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.13);
}

.testimonial--featured {
  background: var(--white);
  border-color: var(--white);
}

.testimonial--featured p,
.testimonial--featured footer strong { color: var(--text); }
.testimonial--featured footer span   { color: var(--muted); }

.testimonial__stars {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: .1em;
}

.testimonial p {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.testimonial footer strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--white);
}

.testimonial footer span {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 6rem 0;
  background: var(--surface);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact__text .section-title { margin-bottom: 1rem; }

.contact__text > p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .92rem;
  color: var(--text);
  font-weight: 600;
  transition: color var(--transition);
}
.contact__detail:hover { color: var(--blue); }
.contact__detail span { font-size: 1.1rem; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a74' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,181,.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  margin-top: .8rem;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: var(--white);
  padding-top: 4rem;
}

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

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer__brand .nav__logo-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .25rem;
}

.footer__brand strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.footer__brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 260px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.footer__links h5 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .4rem;
}

.footer__links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: .5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer__social-link:hover {
  background: #0a66c2;
  color: var(--white);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}

.footer__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero__stats { flex-wrap: wrap; gap: 1rem; }

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

  .why-us__features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand { grid-column: auto; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
