/* Gracee's Cleaning Services brand system
   Palette is based on the uploaded logo: blush pink, soft blue, warm beige and crisp cream. */

:root {
  --ink: #22201f;
  --muted: #6f6964;
  --line: #e8ddd3;
  --cream: #fff9f5;
  --white: #ffffff;
  --blush: #e8aeb7;
  --blush-dark: #b66e7d;
  --blue: #b9d5de;
  --blue-dark: #5f8791;
  --sand: #d8c4a9;
  --sand-light: #f0e4d5;
  --shadow: 0 18px 45px rgba(61, 48, 38, 0.12);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1120px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(232, 174, 183, 0.16), transparent 30rem),
    linear-gradient(180deg, var(--cream), #fff);
  font-family: var(--sans);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: clamp(3rem, 6vw, 6.5rem) 0;
}

.notice-bar {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
  padding: .55rem 1rem;
  font-size: .86rem;
  color: #3a3029;
  background: var(--sand-light);
  border-bottom: 1px solid rgba(216, 196, 169, .65);
}

.notice-bar a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 245, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 221, 211, .9);
}

.nav-wrap {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: .95rem;
}

.site-menu a {
  text-decoration: none;
  color: #3b342f;
  font-weight: 650;
}

.site-menu a:hover {
  color: var(--blush-dark);
}

.menu-cta {
  padding: .7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  padding-top: clamp(2.5rem, 5vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 470px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--blush-dark);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.55rem);
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 620px;
  margin: 1.3rem 0 0;
  color: #4d4640;
  font-size: clamp(1.03rem, 2vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 32, 31, .12);
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.text-link {
  display: inline-flex;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--blush);
  width: fit-content;
}

.quick-notes {
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  list-style: none;
  color: var(--muted);
}

.quick-notes li {
  position: relative;
  padding-left: 1.4rem;
}

.quick-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--blue-dark);
}

.hero-card {
  padding: .75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(232, 221, 211, .95);
  transform: rotate(.25deg);
}

.photo-caption {
  margin: .8rem .4rem .25rem;
  color: var(--muted);
  font-size: .92rem;
}

.compare {
  --position: 52%;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: calc(var(--radius-lg) - .5rem);
  background: var(--sand-light);
  isolation: isolate;
}

.compare-small {
  min-height: 570px;
}

.compare-img,
.compare-after {
  position: absolute;
  inset: 0;
}

.compare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  width: var(--position);
  overflow: hidden;
  z-index: 2;
}

.compare-after .compare-img {
  width: calc(100% / (var(--position) / 100));
  max-width: none;
}

.compare-line {
  position: absolute;
  left: var(--position);
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 1px rgba(34, 32, 31, .18);
}

.compare-line::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.compare-label {
  position: absolute;
  z-index: 5;
  bottom: 1rem;
  padding: .38rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #2c2926;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compare-label-before {
  left: 1rem;
}

.compare-label-after {
  right: 1rem;
}

.intro-strip {
  padding: 1.2rem 0;
  background: var(--ink);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.intro-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

.intro-grid a {
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .65fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 2rem;
}

.split-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.service-list {
  display: grid;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}

.service-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.service-row span {
  color: var(--blue-dark);
  font-weight: 950;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.service-row p {
  max-width: 760px;
  margin: .32rem 0 0;
  color: var(--muted);
}

.results {
  background:
    linear-gradient(90deg, rgba(185, 213, 222, .28), transparent 55%),
    #fbf2ef;
  border-block: 1px solid rgba(232, 221, 211, .9);
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 500px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.results-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.results-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.result-stack {
  padding: .75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: 1rem;
  align-items: stretch;
}

.detail-card,
.quote-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.detail-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(232, 174, 183, .22), transparent),
    #fff;
}

.detail-card p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.quote-card {
  background: var(--ink);
  color: #fff;
}

.quote-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}

.quote-card ul {
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, .84);
  margin: 1rem 0 1.5rem;
}

.quote-card .button-primary {
  background: #fff;
  color: var(--ink);
}

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

.step-list article {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.step-list span {
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
  font-weight: 950;
}

.step-list p {
  margin: .55rem 0 0;
  color: var(--muted);
}

.brand-section {
  padding-top: 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .9fr);
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(61, 48, 38, .08);
}

.brand-grid p:not(.eyebrow) {
  color: var(--muted);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.swatch {
  min-height: 140px;
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #24201f;
  border: 1px solid rgba(34, 32, 31, .08);
}

.swatch span {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.swatch strong {
  font-size: .95rem;
}

.swatch-pink { background: var(--blush); }
.swatch-blue { background: var(--blue); }
.swatch-sand { background: var(--sand); }
.swatch-cream { background: var(--cream); }

.contact-section {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(185, 213, 222, .5), rgba(232, 174, 183, .35)),
    #fff;
  border: 1px solid var(--line);
}

.contact-card p:not(.eyebrow) {
  max-width: 650px;
  color: #544d47;
}

.contact-actions {
  margin: 0;
  justify-content: flex-end;
}

.site-footer {
  padding: 2.2rem 0;
  background: #292624;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  gap: 2rem;
}

.site-footer img {
  width: 115px;
  height: 115px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: .35rem;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .76);
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin-top: .4rem;
}

.site-footer strong {
  display: block;
  margin-bottom: .5rem;
  color: #fff;
}

address {
  font-style: normal;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .6rem);
    display: grid;
    gap: .2rem;
    padding: .65rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-menu a {
    padding: .8rem .9rem;
    border-radius: .75rem;
  }

  .site-menu a:hover {
    background: var(--cream);
  }

  .site-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-grid,
  .results-grid,
  .detail-grid,
  .brand-grid,
  .contact-card,
  .footer-grid,
  .split-heading,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .compare {
    min-height: 460px;
  }

  .compare-small {
    min-height: 520px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .notice-bar {
    justify-content: flex-start;
    font-size: .8rem;
  }

  .section-pad {
    padding: 3rem 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: clamp(2.4rem, 15vw, 4.1rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .quick-notes {
    font-size: .95rem;
  }

  .hero-card,
  .result-stack {
    padding: .45rem;
    border-radius: 20px;
    transform: none;
  }

  .compare {
    min-height: 430px;
    border-radius: 17px;
  }

  .compare-small {
    min-height: 500px;
  }

  .service-row {
    grid-template-columns: 48px 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
