/* ===========================================================
   Essence Household Services
   Shared stylesheet (mobile-first)
   Brand: warm cream + near-black + antique gold accent
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --cream: #F7F4EF;
  --cream-warm: #FDFCFA;
  --charcoal: #1C1C1A;
  --muted: #8A8880;
  --line: #DDD9D2;

  /* Gold extracted from Edna's brand mark */
  --gold: #9F8744;
  --gold-deep: #7E6A2F;
  --gold-soft: #EFE8D2;
  --gold-line: #C4B07A;

  --white: #FFFFFF;
  --max: 1100px;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--gold-line); transition: text-decoration-color 0.15s ease; }
a:hover { text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* The ESSENCE. wordmark */
.brand {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand .mark { display: inline-flex; align-items: baseline; }
.brand .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 6px;
  align-self: flex-end;
  margin-bottom: 4px;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

.nav { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
.nav a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.nav a:hover, .nav a.active { border-bottom-color: var(--gold); }
.nav .nav-cta {
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  padding: 9px 18px;
  color: var(--gold-deep);
}
.nav .nav-cta:hover { background: var(--gold); color: var(--charcoal); border-bottom-color: var(--gold); border-color: var(--gold); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1.5px solid var(--charcoal);
  transition: all 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

.section-label {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
}

section h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 22ch;
  margin-bottom: 1rem;
}
section p { font-size: 1rem; max-width: 60ch; margin-bottom: 1rem; }
section .intro { font-size: 1.1rem; max-width: 50ch; margin-bottom: 2.5rem; }

/* ---------- Tier cards ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 40px;
  background: var(--gold);
}
.tier h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.tier .tier-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.tier p { font-size: 0.95rem; margin-bottom: 1.25rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tier ul li {
  font-size: 0.92rem;
  padding: 9px 0 9px 18px;
  border-bottom: 1px solid #F0EDE8;
  color: var(--charcoal);
  position: relative;
}
.tier ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.tier ul li:last-child { border-bottom: none; }

/* ---------- Two column ---------- */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .cols-2 { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: 0.005em;
  max-width: 28ch;
  padding: 2rem 0 2rem 1.75rem;
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  color: var(--charcoal);
  font-style: italic;
}

/* ---------- Areas list ---------- */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}
.areas-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}
.areas-list li:hover { border-color: var(--gold); color: var(--gold-deep); }
.areas-list li a { text-decoration: none; color: inherit; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--charcoal);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 1rem; max-width: 65ch; }

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: 2px;
  border-top: 3px solid var(--gold);
}
.contact-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--gold-deep);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream-warm);
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { width: 100%; }

/* ---------- Call-out / gold callout strip ---------- */
.callout {
  background: var(--gold-soft);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3.5rem 0 2rem;
}
.site-footer a { color: var(--cream); text-decoration-color: var(--gold); }
.site-footer a:hover { text-decoration-color: var(--gold-line); }

.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .site-footer .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-line);
  margin-bottom: 1rem;
}
.site-footer .brand-foot {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: baseline;
}
.site-footer .brand-foot .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 5px;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 4px 0; font-size: 0.92rem; }
.site-footer .copy {
  border-top: 1px solid #3a3a37;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

.divider-gold {
  height: 1px;
  background: var(--gold-line);
  border: none;
  margin: 2rem 0;
  max-width: 60px;
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--charcoal);
  color: var(--cream);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus { top: 0; }


/* ---------- Home hero variant ---------- */


.hero--home {
  position: relative;
  min-height: 440px;
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);

  background-image:
    linear-gradient(
      90deg,
      rgba(247,244,239,0.88) 0%,
      rgba(247,244,239,0.75) 22%,
      rgba(247,244,239,0.45) 45%,
      rgba(247,244,239,0.15) 70%,
      rgba(247,244,239,0.05) 100%
    ),
    url("Images/Hero-background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--home::before {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;

  padding: 4rem 0;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  max-width: 450px;
}

.hero--home .eyebrow, .hero--about .eyebrow  {
  display: inline-flex;
  align-items: center;

  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;

  margin-bottom: 1rem;
}

.hero--home .eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
}


.hero--home h1 {
  font-size: clamp(3.5rem, 4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-transform: none;
  margin-bottom: 1.25rem;
  width: 500px;
}

.hero--home .accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 700;
  display: block;
  width: 500px;
}


.hero .actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero .btn {
  padding: 14px 22px;
  font-size: 0.75rem;
}

.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-wordmark {
  position: relative;
  background: rgba(255,255,255,0.95);
  border: 1px solid #e8e2d6;
  width: 100%;
  max-width: 420px;
  padding: 3rem 2.5rem;
  text-align: center;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

.hero-wordmark::before,
.hero-wordmark::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 1px;
  background: var(--gold-line);
}

.hero-wordmark::before {
  top: 1.4rem;
}

.hero-wordmark::after {
  bottom: 1.4rem;
}

.hero-wordmark-name {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--charcoal);
}

.hero-wordmark-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 8px;
  margin-bottom: 5px;
}

.hero-wordmark-sub {
  display: block;
  margin-top: 0.75rem;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.hero-wordmark-est {
  display: block;
  margin-top: 1rem;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 979px) {
  .hero--home {
    min-height: auto;
  }

  .hero-grid {
    padding: 4rem 0;
  }

  .hero-mark {
    order: -1;
  }

  .hero-wordmark {
    max-width: 340px;
  }
}


/* ==========================================================
   LOGO CARD
   ========================================================== */

.hero-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-badge-inner {
  background: rgba(255, 255, 255, 0.92);
  padding: 28px 42px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}

/* top and bottom thin lines like in your image */
.hero-badge-inner::before,
.hero-badge-inner::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #caa24a;
  display: block;
  margin: 0 auto;
}

.hero-badge-inner::before {
  margin-bottom: 18px;
}

.hero-badge-inner::after {
  margin-top: 18px;
}

.hero-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  letter-spacing: 4px;
  font-size: 42px;
  font-weight: 600;
  color: #111;
}

.hero-title .dot {
  color: #caa24a;
  font-size: 28px;
  line-height: 1;
}

.hero-subtitle {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 6px;
  color: #111;
  font-weight: 500;
}

.hero-meta {
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: #666;
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 979px) {

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

  .hero-grid {
    padding: 3.5rem 0;
  }

  .hero-mark {
    justify-content: center;
  }

  .hero-wordmark {
    max-width: 320px;
  }

  .hero--home h1 {
    font-size: clamp(3rem, 8vw, 4rem);
  }
}

/* ---------- About Hero ---------- */

.hero--about {
  display: flex;
  align-items: stretch;
}

/* grid layout */
.hero--about .hero__grid {
  display: grid;
  grid-template-columns: 1fr 490px;
  align-items: stretch;
  gap: 48px;
  height: auto;
}

/* content side */
.hero--about .hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;

}

/* image column */
.hero--about .hero__image img {
  height: 450px;
  object-fit: cover;
  width: 490px;
}

@media (max-width: 768px) {
  .hero--about .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero--about .hero__image {
    width: 100%;
    height: 280px; /* gives it a nice visible block on mobile */
  }

  .hero--about .hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ---------- Gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-content h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 14px;
}

.gallery-content h3::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
}

.gallery-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* ---------- Section 2 columns ---------- */

.section-two {
  display: flex;
  gap: 80px;
  align-items: stretch; /* important */
}

.section-two-content,
.section-two-image {
  flex: 1;
}

.section-two-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
