/* ============================================================================
   Wright Elite Cleaning — "Warm Boutique" design pass
   Espresso brown + cream + brass. Editorial serif (Fraunces), brush-script
   wordmark (Yellowtail), geometric sans accents (Montserrat), Inter body.
   Loads AFTER the inline brand tokens, so these win the cascade.
   ============================================================================ */

:root {
  --brand-primary:      #4A3220;   /* espresso brown — buttons, icons, marks   */
  --brand-secondary:    #33241A;   /* darker espresso — dark section grounds   */
  --brand-text:         #2B2018;
  --brand-text-muted:   #6E5B49;
  --brand-bg:           #FBF6EC;   /* warm cream white                          */
  --brand-bg-alt:       #F2E8D6;   /* deeper cream                              */
  --brand-border:       #E7D9C1;

  --we-brass:           #B08A55;   /* accent — italics, fine lines, sparkle     */
  --we-brass-deep:      #97713E;
  --we-cream:           #FBF6EC;
  --we-espresso:        #2A1D13;
  --we-espresso-2:      #3B2A1C;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-script:  'Yellowtail', 'Segoe Script', cursive;
  --font-sans:    'Montserrat', 'Inter', system-ui, sans-serif;

  --radius: 10px;
  --shadow-1: 0 1px 3px rgba(42,29,19,.08);
  --shadow-2: 0 18px 50px rgba(42,29,19,.16);
}

/* ---- base surface + subtle texture ---------------------------------------- */
body {
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
/* faint warm grid so no section reads as flat white */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(74,50,32,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,50,32,.028) 1px, transparent 1px);
  background-size: 46px 46px;
}
body > * { position: relative; z-index: 1; }

/* ---- typography ----------------------------------------------------------- */
h1, h2, h3, h4,
.x-head h2, .x-hero h1, .we-hero h1 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -.012em;
}
em, .em {
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--we-brass-deep);
}
/* keep the accent word optical size big & graceful */
h1 em, h2 em, .we-hero h1 em, .x-hero h1 em { font-weight: 600; }

::selection { background: var(--we-brass); color: #fff; }

/* ---- eyebrows ------------------------------------------------------------- */
.x-head .k {
  color: var(--we-brass-deep);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .22em;
}
.x-head h2 { font-weight: 600; letter-spacing: -.015em; }
.x-head p { color: var(--brand-text-muted); }

.we-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans);
  text-transform: uppercase; letter-spacing: .2em;
  font-size: 12px; font-weight: 700;
  color: var(--we-brass-deep);
  margin-bottom: 22px;
}
.we-eyebrow svg { width: 15px; height: 15px; fill: var(--we-brass); }
.we-eyebrow.light { color: #E8D3B0; }
.we-eyebrow.light svg { fill: var(--we-brass); }

/* ============================================================================
   HEADER + brush-script wordmark
   ============================================================================ */
.site-header {
  background: rgba(251,246,236,.92);
  -webkit-backdrop-filter: none; backdrop-filter: none; /* keep mobile nav intact */
  border-bottom: 1px solid var(--brand-border);
}
.nav-links a { color: var(--brand-text); font-weight: 600; }
.nav-links a:hover { color: var(--we-brass-deep); }
.nav-cta {
  background: var(--brand-primary) !important; color: #fff !important;
  border-radius: 999px !important; padding: 10px 22px !important;
  font-family: var(--font-sans); font-weight: 700; letter-spacing: .02em;
}
.nav-cta:hover { background: var(--we-espresso) !important; opacity: 1 !important; }
.nav-dropdown a:hover { color: var(--we-brass-deep); }

/* the wordmark that replaces the logo <img> */
.we-wm {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  line-height: 1; text-decoration: none; padding: 6px 0;
}
.we-wm-script {
  position: relative;
  font-family: var(--font-script);
  font-size: 30px; color: var(--brand-primary);
  padding-right: 20px;   /* room for sparkle */
  line-height: .9;
}
.we-wm-script .we-wm-star {
  position: absolute; right: -2px; bottom: 2px;
  width: 15px; height: 15px; fill: var(--we-brass);
}
.we-wm-sub {
  font-family: var(--font-sans);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .34em; font-size: 10.5px;
  color: var(--we-espresso-2);
  margin-top: 3px; padding-left: 3px;
}
@media (max-width:520px){
  .we-wm-script { font-size: 26px; }
  .we-wm-sub { font-size: 9.5px; letter-spacing: .28em; }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.x-btn { font-family: var(--font-sans); font-weight: 700; border-radius: 999px; letter-spacing: .015em; }
.x-btn-primary { background: var(--brand-primary); color:#fff; box-shadow: 0 12px 30px rgba(42,29,19,.22); }
.x-btn-primary:hover { background: var(--we-espresso); transform: translateY(-2px); }
.x-btn-brass { background: var(--we-brass); color: var(--we-espresso); box-shadow: 0 12px 30px rgba(176,138,85,.32); }
.x-btn-brass:hover { background: #C89C63; color: var(--we-espresso); transform: translateY(-2px); text-decoration:none; }
/* ghost on light (used in the editorial hero + standard section) */
.we-hero .x-btn-ghost,
.x-btn-ghost.on-light {
  background: transparent; color: var(--brand-primary);
  border: 1.5px solid var(--brand-border);
}
.we-hero .x-btn-ghost:hover,
.x-btn-ghost.on-light:hover { border-color: var(--brand-primary); background: rgba(74,50,32,.05); color: var(--brand-primary); }

/* ============================================================================
   EDITORIAL HERO (homepage) — asymmetric split on cream
   ============================================================================ */
.we-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 84px;
  background:
    radial-gradient(120% 90% at 88% 0%, #FDFAF3 0%, var(--brand-bg) 46%, var(--brand-bg-alt) 100%);
}
.we-hero-glow {
  position: absolute; z-index: 0; top: -18%; right: -12%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,138,85,.20), transparent 62%);
  pointer-events: none;
}
.we-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.we-hero-copy > * { animation: weUp .7s cubic-bezier(.2,.7,.3,1) both; }
.we-hero-copy > *:nth-child(1){ animation-delay:.05s; }
.we-hero-copy > *:nth-child(2){ animation-delay:.15s; }
.we-hero-copy > *:nth-child(3){ animation-delay:.25s; }
.we-hero-copy > *:nth-child(4){ animation-delay:.35s; }
.we-hero-copy > *:nth-child(5){ animation-delay:.45s; }
.we-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  line-height: 1.02; margin: 0 0 20px; color: var(--we-espresso);
  max-width: 15ch;
}
.we-hero-sub {
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  color: var(--brand-text-muted); max-width: 46ch;
  margin: 0 0 30px; line-height: 1.65;
}
.we-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.we-hero-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
}
.we-hero-trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 600; color: var(--brand-text);
}
.we-hero-trust svg { width: 19px; height: 19px; stroke: var(--we-brass-deep); flex: none; }

.we-hero-media { position: relative; }
.we-hero-media img {
  width: 100%; aspect-ratio: 4/4.4; object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--brand-border);
}
.we-hero-media::after {  /* thin brass inner frame */
  content:""; position:absolute; inset: 12px; border-radius: 12px;
  border: 1px solid rgba(251,246,236,.35); pointer-events: none;
}
.we-hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--we-cream); color: var(--we-espresso);
  border: 1px solid var(--brand-border); border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  max-width: 240px;
}
.we-hero-badge .n { font-family: var(--font-heading); font-weight: 600; font-size: 2.4rem; color: var(--brand-primary); line-height: 1; }
.we-hero-badge .l { font-size: .82rem; font-weight: 600; color: var(--brand-text-muted); line-height: 1.3; }
.we-hero-spark { position: absolute; top: -14px; right: 18px; width: 46px; height: 46px; fill: var(--we-brass); filter: drop-shadow(0 6px 14px rgba(176,138,85,.4)); animation: weTwinkle 4s ease-in-out infinite; }

@media (max-width: 900px){
  .we-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .we-hero-media { max-width: 480px; margin: 0 auto; }
  .we-hero-badge { left: 8px; }
}

/* ============================================================================
   DARK GROUNDS — stats, service cards, before/after, standard section
   warm espresso instead of navy
   ============================================================================ */
.x-stats { background: var(--we-espresso); }
.x-stats .num { font-family: var(--font-heading); font-weight: 600; color: #fff; }
.x-stats .lbl { color: rgba(255,255,255,.72); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }

/* trust band */
.x-trustband { background: var(--brand-bg-alt); border-top: 1px solid var(--brand-border); border-bottom: 1px solid var(--brand-border); }
.x-trust-num { color: var(--brand-primary); font-family: var(--font-heading); font-weight: 600; }
.x-trust-ic svg { color: var(--we-brass-deep); }
.x-trust-tx strong { color: var(--we-espresso); }

/* section rhythm — more air */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-alt { background: var(--brand-bg-alt); }

/* service cards */
.x-svc { background: var(--we-espresso); border-radius: 16px; }
.x-svc h3 { font-family: var(--font-heading); font-weight: 600; }
.x-svc .x-arrow { font-family: var(--font-sans); }
.x-svc .x-arrow span { color: var(--we-brass); }
.x-svc::before {
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px; z-index:3;
  background: var(--we-brass); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.x-svc:hover::before { transform: scaleX(1); }

/* body prose */
.x-body h2 { font-weight: 600; }
.x-body p { color: var(--brand-text-muted); line-height: 1.75; }
.x-body a { color: var(--we-brass-deep); text-underline-offset: 3px; }

/* why / features */
.x-feat .ic { background: rgba(176,138,85,.14); border-radius: 12px; }
.x-feat .ic svg { color: var(--we-brass-deep); }
.x-feat h4 { font-family: var(--font-heading); font-weight: 600; }

/* process steps */
.x-step .n { font-family: var(--font-heading); color: rgba(176,138,85,.32); font-weight: 600; }
.x-step h4 { font-family: var(--font-heading); font-weight: 600; }

/* before/after band */
.x-transform { background: var(--we-espresso); }
.x-transform .x-head .k { color: var(--we-brass); }

/* area cards */
.card { border: 1px solid var(--brand-border); border-radius: 14px; background: var(--we-cream); transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--we-brass); }
.card h3 { font-family: var(--font-heading); font-weight: 600; color: var(--we-espresso); }

/* faq */
.x-faq details { border-bottom: 1px solid var(--brand-border); }
.x-faq summary { font-family: var(--font-heading); font-weight: 600; }
.x-faq summary::after { color: var(--we-brass-deep); }

/* ============================================================================
   SIGNATURE SECTION — "The Elite Standard"
   ============================================================================ */
.we-standard {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--we-espresso) 0%, #241811 100%);
  color: #F3E7D3;
  padding: clamp(70px, 9vw, 120px) 0;
}
.we-standard-glow {
  position: absolute; z-index: 0; bottom: -30%; left: -10%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176,138,85,.22), transparent 64%);
}
.we-standard-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 5vw, 76px); align-items: center;
}
.we-standard-lead h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem); color: #fff;
  margin: 0 0 18px; line-height: 1.06;
}
.we-standard-lead h2 em { color: var(--we-brass); }
.we-standard-lead p { color: rgba(243,231,211,.78); font-size: 1.1rem; line-height: 1.7; margin: 0 0 28px; max-width: 42ch; }
.we-standard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.we-standard-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 4px; border-bottom: 1px solid rgba(243,231,211,.12);
}
.we-standard-list li:last-child { border-bottom: none; }
.we-standard-list svg { width: 22px; height: 22px; fill: var(--we-brass); flex: none; margin-top: 2px; }
.we-standard-list strong { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; color: #fff; margin-bottom: 3px; }
.we-standard-list span { color: rgba(243,231,211,.68); font-size: .96rem; line-height: 1.5; }
@media (max-width: 860px){ .we-standard-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ============================================================================
   BIG CTA + instaquote — warm
   ============================================================================ */
.x-bigcta { background: linear-gradient(135deg, var(--brand-primary), var(--we-espresso)); }
.x-bigcta h2 { font-family: var(--font-heading); font-weight: 600; }
.x-btn-white { background: var(--we-cream); color: var(--we-espresso); border-radius: 999px; font-family: var(--font-sans); font-weight: 700; }
.x-btn-white:hover { background: #fff; color: var(--we-espresso); }
.x-instaquote { background: var(--brand-bg-alt); }
.x-instaquote .x-head .k { color: var(--we-brass-deep); }

/* ============================================================================
   FOOTER — espresso
   ============================================================================ */
.site-footer { background: var(--we-espresso); }
.site-footer h4 { font-family: var(--font-heading); font-weight: 600; letter-spacing: -.01em; }
.site-footer h4:first-of-type { font-size: 1.35rem; }
.footer-links a:hover { color: var(--we-brass) !important; }

/* ---- inner-page hero (.x-hero) warm scrim + serif ------------------------- */
.x-hero .x-hero-scrim { background: linear-gradient(180deg, rgba(42,29,19,.35) 0%, rgba(42,29,19,.35) 40%, rgba(42,29,19,.9) 100%); }
.x-hero h1 { font-family: var(--font-heading); font-weight: 600; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.x-hero .x-eyebrow { background: rgba(176,138,85,.92); color: var(--we-espresso); font-family: var(--font-sans); letter-spacing: .18em; border-radius: 999px; }
.x-hero .x-chip { font-family: var(--font-sans); }

/* ---- motion --------------------------------------------------------------- */
@keyframes weUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes weTwinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.82) rotate(20deg); opacity: .78; } }
@media (prefers-reduced-motion: reduce) {
  .we-hero-copy > *, .we-hero-spark { animation: none !important; }
}
