/* ============================================================
   Miriam's Cleaning Co. — organic neutral palette
   Creams, browns, warm beige. Modern, clean, calm.
   ============================================================ */

:root {
  --cream:        #F5F1EA;
  --cream-soft:   #FAF7F2;
  --sand:         #E8DFD3;
  --taupe:        #C9BBA8;
  --clay:         #A68A6D;
  --walnut:       #6F5842;
  --espresso:     #3E3327;
  --ink:          #2A241D;
  --white:        #FFFFFF;
  --accent:       #8C7358;      /* warm mid-brown for buttons/links */
  --accent-dark:  #6F5842;

  /* Gold accents — a touch of elevated shimmer */
  --gold:         #C9A24B;      /* refined antique gold */
  --gold-light:   #E4C878;
  --gold-deep:    #A47E2E;
  --gold-grad:    linear-gradient(135deg, #E4C878 0%, #C9A24B 45%, #A47E2E 100%);
  --gold-shimmer: linear-gradient(110deg, #A47E2E 0%, #E4C878 25%, #FFF3D6 50%, #E4C878 75%, #A47E2E 100%);

  --radius:       14px;
  --radius-lg:    24px;
  --shadow:       0 10px 40px rgba(62, 51, 39, 0.10);
  --shadow-sm:    0 4px 18px rgba(62, 51, 39, 0.08);
  --maxw:         1120px;

  --serif:  "Cormorant Garamond", "Georgia", serif;
  --sans:   "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--walnut); }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,243,214,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn:hover::after { left: 125%; }
.btn:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow), 0 0 0 1px rgba(201,162,75,.4); }
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--clay);
  box-shadow: none;
}
.btn-outline:hover { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto;
}
.logo {
  font-family: var(--serif);
  font-size: 1.55rem; font-weight: 700; color: var(--espresso);
  letter-spacing: 0.5px;
}
.logo span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }

/* Gold shimmer text (for select eyebrows / accents) */
.gold-text { background: var(--gold-shimmer); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: goldShimmer 6s linear infinite; }
@keyframes goldShimmer { to { background-position: 200% center; } }
/* Thin gold divider */
.gold-rule { width: 60px; height: 2px; background: var(--gold-grad); border: none; margin: 18px auto 0; border-radius: 2px; }
.gold-rule.left { margin-left: 0; }
.nav-links { display: flex; gap: 34px; list-style: none; align-items: center; }
.nav-links a { color: var(--espresso); font-weight: 500; font-size: 0.98rem; }
.nav-links a:hover { color: var(--clay); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--espresso); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(70px, 12vw, 140px) 0;
  background:
    radial-gradient(ellipse at top right, var(--sand) 0%, transparent 55%),
    linear-gradient(160deg, var(--cream-soft) 0%, var(--cream) 100%);
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem;
  font-weight: 600; margin-bottom: 20px;
  background: var(--gold-shimmer); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: goldShimmer 7s linear infinite;
}
.hero h1 { max-width: 900px; margin: 0 auto 24px; }
.hero p.lede { font-size: 1.25rem; max-width: 620px; margin: 0 auto 38px; color: var(--walnut); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-alt { background: var(--cream-soft); }
.section-dark { background: var(--espresso); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: var(--taupe); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 0.78rem;
  font-weight: 600; margin-bottom: 14px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section-head p { font-size: 1.1rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--taupe), var(--clay));
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
  display: block;
}
.about-photo::before {
  content: ""; position: absolute; inset: 12px; border: 1.5px solid rgba(255,243,214,.55);
  border-radius: 14px; pointer-events: none; z-index: 1;
}
.about-photo-DISABLED-placeholder::after {
  content: "Photo of Miriam"; opacity: 0.85; font-style: italic;
}
.about-text h2 { margin-bottom: 22px; }
.about-values { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.value-chip {
  background: var(--sand); color: var(--espresso); padding: 8px 18px;
  border-radius: 100px; font-size: 0.88rem; font-weight: 500;
  border: 1px solid rgba(201,162,75,.35);
}

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature {
  background: var(--white); padding: 40px 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--sand); text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature h3 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p { font-size: 0.98rem; margin: 0; }

/* ---------- Services / tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.tier {
  background: var(--white); border-radius: var(--radius-lg); padding: 44px 36px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--sand);
  display: flex; flex-direction: column; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tier.featured { border: 2px solid var(--gold); background: var(--cream-soft); box-shadow: 0 0 0 1px rgba(201,162,75,.25), var(--shadow-sm); }
.tier .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: #4A3A12; padding: 6px 20px;
  border-radius: 100px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(164,126,46,.35);
}
.tier .tier-name { font-family: var(--serif); font-size: 1.9rem; color: var(--espresso); margin-bottom: 6px; }
.tier.featured .tier-name { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tier .tier-tag { color: var(--gold-deep); font-size: 0.92rem; font-weight: 600; margin-bottom: 22px; text-transform: uppercase; letter-spacing: 1px; }
.tier .tier-desc { font-size: 0.98rem; margin-bottom: 24px; }
.tier ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.tier ul li { padding: 9px 0; border-bottom: 1px solid var(--sand); font-size: 0.96rem; color: var(--walnut); display: flex; gap: 10px; }
.tier ul li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; }
.tier ul li:last-child { border-bottom: none; }
.tier .btn { width: 100%; text-align: center; }

/* ---------- Service tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 54px; }
.tab-btn {
  background: var(--white); color: var(--walnut); border: 1.5px solid var(--sand);
  padding: 13px 30px; border-radius: 100px; font-family: var(--sans); font-weight: 600;
  font-size: 0.98rem; cursor: pointer; transition: all .2s;
}
.tab-btn:hover { border-color: var(--clay); color: var(--espresso); }
.tab-btn.active { background: var(--espresso); color: var(--cream); border-color: var(--espresso); box-shadow: 0 3px 0 var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.panel-intro { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.panel-intro h3 { font-size: 2rem; margin-bottom: 10px; }
.panel-intro p { font-size: 1.05rem; }

/* ---------- Audience split ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.audience-card {
  border-radius: var(--radius-lg); padding: 48px 44px; color: var(--cream);
  min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end;
}
.audience-card.corp { background: linear-gradient(150deg, var(--walnut), var(--espresso)); }
.audience-card.bnb  { background: linear-gradient(150deg, var(--clay), var(--walnut)); }
.audience-card.church { background: linear-gradient(150deg, var(--taupe), var(--clay)); }
.audience-card h3 { color: var(--cream); font-size: 1.8rem; margin-bottom: 12px; }
.audience-card p { color: var(--sand); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .ci-icon { font-size: 1.3rem; margin-top: 2px; }
.contact-item strong { color: var(--espresso); display: block; font-family: var(--serif); font-size: 1.1rem; }
.contact-item span { color: var(--walnut); }

form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--sand); }
.form-group { margin-bottom: 20px; }
label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--espresso); font-size: 0.92rem; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--sand);
  border-radius: var(--radius); font-family: var(--sans); font-size: 1rem;
  background: var(--cream-soft); color: var(--ink); transition: border .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--clay); }
textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--taupe); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo { color: var(--cream); }
.site-footer h4 { color: var(--cream); font-family: var(--sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.site-footer a { color: var(--taupe); display: block; margin-bottom: 10px; font-size: 0.95rem; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid var(--walnut); padding-top: 24px; text-align: center; font-size: 0.85rem; color: var(--clay); }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner h2 { color: var(--cream); margin-bottom: 16px; }
.cta-banner p { color: var(--taupe); max-width: 520px; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-soft); flex-direction: column; gap: 0;
    padding: 10px 24px 24px; border-bottom: 1px solid var(--sand);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .nav-toggle { display: block; }
  .about-grid, .contact-grid, .audience, .features, .tiers { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .audience { grid-template-columns: 1fr; }
  .tier.featured { order: -1; }
}

/* ---------- WPForms iframe embed ---------- */
.form-embed { background: var(--white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--sand); }
.form-embed iframe { width: 100%; min-height: 900px; border: none; display: block; }
