/* ============================================================
   GEEZ CLEANING SERVICES — style.css
   Palette: Cream / Sand / Bark / Forest Green / Espresso
   Typography: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --cream:       #F9F6F1;
  --sand:        #EDE8DF;
  --warm-gray:   #C8C1B7;
  --bark:        #8C7B68;
  --espresso:    #2C1F14;
  --forest:      #2D5016;
  --forest-mid:  #3D6B1E;
  --forest-light:#5A8A30;
  --white:       #FFFFFF;
  --error:       #C0392B;
  --success:     #2D5016;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(44,31,20,.06);
  --shadow-md:   0 8px 32px rgba(44,31,20,.12);
  --shadow-lg:   0 24px 64px rgba(44,31,20,.18);

  --transition:  .25s cubic-bezier(.4,0,.2,1);
  --container:   1200px;
}

/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--forest-mid);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--espresso);
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: italic;
  color: var(--forest);
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--bark);
  max-width: 52ch;
  margin: 0 auto;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,80,22,.35);
}
.btn--primary:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,80,22,.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}
.btn--submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  margin-top: .25rem;
}
.btn--submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
}
.spin {
  animation: spin .8s linear infinite;
  width: 1.125rem;
  height: 1.125rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 var(--sand), var(--shadow-sm);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: padding var(--transition);
}
.nav.scrolled .nav__inner { padding-top: .875rem; padding-bottom: .875rem; }

.nav__logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--espresso); }
.nav__logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: color var(--transition);
}
.nav.scrolled .nav__links a { color: var(--bark); }
.nav__links a:hover { color: var(--white); }
.nav.scrolled .nav__links a:hover { color: var(--forest); }
.nav__links .nav__cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .875rem;
}
.nav__links .nav__cta:hover { background: var(--forest-mid); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .25rem;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition), opacity var(--transition);
}
.nav.scrolled .nav__hamburger span { background: var(--espresso); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  border-top: 1px solid var(--sand);
  box-shadow: var(--shadow-md);
  gap: .125rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: var(--espresso);
  padding: .625rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--sand);
}
.nav__mobile a:last-child { border-bottom: none; margin-top: .5rem; }
.nav__mobile .nav__cta {
  background: var(--forest);
  color: var(--white) !important;
  border-radius: 100px;
  text-align: center;
  border: none;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44,31,20,.72) 0%,
    rgba(29,58,10,.55) 50%,
    rgba(44,31,20,.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 6rem clamp(1.25rem, 4vw, 3rem) 4rem;
  animation: heroFadeUp .9s .2s both ease-out;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1.5px;
  background: var(--forest-light);
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero__headline em {
  font-style: italic;
  color: rgba(255,255,255,.85);
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1.25rem, 4vw, 3rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  animation: heroFadeUp .9s .5s both ease-out;
}
.hero__scroll-hint span {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  width: 1.5px;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: var(--espresso);
  padding: 1.25rem 0;
}
.trust-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
}
.trust-item svg { width: 1.125rem; height: 1.125rem; color: var(--forest-light); flex-shrink: 0; }
.trust-divider { width: 1px; height: 1.25rem; background: rgba(255,255,255,.15); }

/* ── SERVICES ───────────────────────────────────────────────── */
.services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--cream);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card--featured {
  border: 2px solid var(--forest);
}

.service-card__img-wrap {
  overflow: hidden;
  height: 220px;
}
.service-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__img-wrap img { transform: scale(1.06); }

.service-card__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 1.375rem; height: 1.375rem; color: var(--forest); }
.service-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: .875rem;
  color: var(--espresso);
}
.service-card__body p {
  font-size: .9375rem;
  color: var(--bark);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card__list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-card__list li {
  font-size: .875rem;
  color: var(--espresso);
  display: flex;
  align-items: flex-start;
  gap: .625rem;
}
.service-card__list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: .4rem;
  width: .375rem;
  height: .375rem;
  border-radius: 50%;
  background: var(--forest-light);
}

.service-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--forest);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
}

/* ── WHY US ─────────────────────────────────────────────────── */
.why-us {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--sand);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.why-us__visual {
  position: relative;
}
.why-us__visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.why-us__img-accent {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 60%;
  height: 60%;
  border: 2.5px solid var(--forest-light);
  border-radius: var(--radius-xl);
  opacity: .35;
}

.why-us__content { padding: 1rem 0; }
.why-us__lead {
  font-size: 1.0625rem;
  color: var(--bark);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.why-us__points {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.why-point {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.why-point__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest-light);
  opacity: .5;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: right;
}
.why-point h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: .375rem;
}
.why-point p {
  font-size: .9375rem;
  color: var(--bark);
  line-height: 1.65;
}

/* ── CONTACT ────────────────────────────────────────────────── */
.contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--cream);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact__desc {
  font-size: .9375rem;
  color: var(--bark);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 44ch;
}
.contact__details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-detail__icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--forest);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .125rem;
}
.contact-detail__icon svg { width: 1.125rem; height: 1.125rem; color: var(--white); }
.contact-detail__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: .2rem;
}
.contact-detail__value {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--espresso);
}
a.contact-detail__value:hover { color: var(--forest); }

/* FORM ────────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.25rem;
}
.form-group:last-of-type { margin-bottom: 1rem; }
label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: .02em;
}
.req { color: var(--forest); }
.optional { font-weight: 400; color: var(--warm-gray); }

input, select, textarea {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--espresso);
  background: var(--cream);
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: none;
}
input::placeholder, textarea::placeholder { color: var(--warm-gray); }
input:focus, select:focus, textarea:focus {
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(90,138,48,.12);
}
input.invalid, select.invalid, textarea.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

.select-wrap { position: relative; }
.select-wrap select { appearance: none; cursor: pointer; padding-right: 2.5rem; }
.select-arrow {
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  color: var(--bark);
  pointer-events: none;
}

.form-error {
  font-size: .8rem;
  color: var(--error);
  min-height: 1rem;
  display: block;
}

[hidden] { display: none !important; }

.form-success, .form-fail {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}
.form-success {
  background: rgba(45,80,22,.08);
  border: 1px solid rgba(45,80,22,.2);
  color: var(--forest);
}
.form-fail {
  background: rgba(192,57,43,.06);
  border: 1px solid rgba(192,57,43,.18);
  color: var(--error);
}
.form-success svg, .form-fail svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: .125rem; }
.form-success strong, .form-fail strong { display: block; margin-bottom: .25rem; font-weight: 600; }
.form-success p, .form-fail p { font-size: .875rem; opacity: .85; }
.form-fail a { color: var(--error); text-decoration: underline; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--espresso);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.footer__brand .nav__logo {
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__brand p {
  font-size: .875rem;
  line-height: 1.75;
  max-width: 36ch;
}
.footer__contact-line {
  margin-top: .75rem;
  font-size: .875rem;
}
.footer__contact-line a:hover { color: var(--white); }

.footer__links h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a {
  font-size: .875rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.hide-sm { display: inline; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .why-us { grid-template-columns: 1fr; gap: 3rem; max-width: 700px; }
  .why-us__visual img { height: 400px; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact__desc { max-width: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .services__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: 1rem; }
  .trust-divider { display: none; }
  .hero__actions .btn--ghost { display: none; }
  .why-us { padding: 3rem clamp(1.25rem, 4vw, 2rem); }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none; }
}

@media (max-width: 480px) {
  .service-card__img-wrap { height: 180px; }
  .contact-form { border-radius: var(--radius-md); }
}
