/* Yorlin Cleaning, LLC
   Palette comes from the brand flyer: raspberry pink, rose gold, black.
   No external fonts, scripts or images are loaded. */

:root {
  --ink: #1b1319;
  --ink-soft: #52444c;
  --raspberry: #ae1f4f;
  --raspberry-deep: #8c1740;
  --rose: #e892ad;
  --blush: #fdf0f4;
  --blush-deep: #f5d3de;
  --gold-light: #ecc5b0;
  --gold-dark: #a3664d;
  --gold: linear-gradient(90deg, var(--gold-dark), var(--gold-light) 50%, var(--gold-dark));
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a { color: var(--raspberry); text-underline-offset: 0.2em; }
a:hover { color: var(--raspberry-deep); }

:focus-visible {
  outline: 3px solid var(--raspberry);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--raspberry); color: #fff; }
.btn--primary:hover { background: var(--raspberry-deep); color: #fff; }
.btn--ghost { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 2.5rem; padding: 0.5rem 1.3rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--blush-deep);
}
.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--gold);
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--raspberry);
  text-decoration: none;
}
.brand img { width: 3rem; height: auto; }
.brand span {
  font-family: var(--serif);
  font-variant-caps: small-caps;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.nav { flex-basis: 100%; }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { border-color: var(--rose); color: var(--ink); }
.nav a[aria-current="page"] { border-color: var(--raspberry); color: var(--raspberry); }

.header-cta { display: none; }

@media (min-width: 60rem) {
  .site-header { position: sticky; top: 0; z-index: 20; }
  .header-row { flex-wrap: nowrap; padding-block: 0.8rem; }
  .brand img { width: 3.4rem; }
  .brand span { font-size: 1.4rem; }
  .nav { flex-basis: auto; margin-left: auto; }
  .nav ul { gap: 0 1.6rem; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero and page headers ---------- */

.hero,
.page-head {
  position: relative;
  overflow: hidden;
  background: var(--blush);
}
.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
}
.page-head {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(5rem, 9vw, 7rem);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

.hero h1,
.page-head h1 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.hero h1 {
  max-width: 10.5em;
  font-size: clamp(2.7rem, 7.5vw, 5rem);
  line-height: 1.02;
}
.page-head h1 {
  max-width: 16em;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.08;
}

.lead {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}
.hero .lead { margin-bottom: 2rem; }

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

.hero-photo { position: relative; justify-self: center; width: min(100%, 24rem); }

.arch {
  padding: 5px;
  background: var(--gold);
  border-radius: 12rem 12rem 1.25rem 1.25rem;
}
.arch img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(12rem - 5px) calc(12rem - 5px) 1rem 1rem;
}

.badge {
  position: absolute;
  left: 0;
  bottom: 2rem;
  margin: 0;
  padding: 0.55rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--gold) border-box;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
@media (min-width: 56rem) {
  .badge { left: -1.5rem; }
}

/* The curved ribbon echoes the swoosh on the brand flyer. */
.ribbon {
  position: absolute;
  left: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: clamp(3.5rem, 8vw, 7rem);
}
.ribbon .r-pink { fill: var(--rose); }
.ribbon .r-gold { fill: none; stroke: url(#gold); stroke-width: 3; }
.ribbon .r-base { fill: #fff; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--blush { background: var(--blush); }

/* The ribbon already gives space, so the section below it starts closer. */
.hero + .section,
.page-head + .section,
.page-head + .service-detail { margin-top: 0; }
.hero + .section,
.page-head + .section { padding-top: clamp(1.5rem, 4vw, 3rem); }

.section-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.section-intro { max-width: 38rem; margin: 0 0 2.5rem; color: var(--ink-soft); }

.service-list {
  display: grid;
  gap: 0 3.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 48rem) {
  .service-list { grid-template-columns: 1fr 1fr; }
}
.service-list li { padding-block: 1.4rem; border-top: 1px solid var(--blush-deep); }
.service-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.service-list h3::before {
  content: "\2726";
  margin-right: 0.55rem;
  color: var(--raspberry);
  font-size: 0.85em;
}
.service-list p { margin: 0; color: var(--ink-soft); }

.steps {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.steps li { position: relative; padding-top: 1.4rem; }
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
}
.steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}
.steps h3::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 0.2rem;
  color: var(--raspberry);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.1;
}
.steps p { margin: 0; color: var(--ink-soft); }

/* Black band, like the phone bar on the flyer */
.band {
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
  background: var(--ink);
  color: #fff;
}
.band-grid { display: grid; gap: 2rem; }
.band-item h3 {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.band-item p { margin: 0; color: #eadfe5; }
.band-item + .band-item {
  padding-top: 2rem;
  border-top: 1px solid rgba(236, 197, 176, 0.35);
}
@media (min-width: 48rem) {
  .band-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .band-item { padding-inline: 2rem; }
  .band-item:first-child { padding-left: 0; }
  .band-item:last-child { padding-right: 0; }
  .band-item + .band-item { padding-top: 0; border-top: 0; border-left: 1px solid rgba(236, 197, 176, 0.35); }
}

.cta { text-align: center; }
.cta .section-intro { margin-inline: auto; }

.pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  padding: 1.1rem clamp(1.5rem, 5vw, 3rem);
  border: 3px solid transparent;
  border-radius: 3rem;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--gold) border-box;
  color: #fff;
}
.pill a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.pill a:hover { color: var(--gold-light); }
.pill a:focus-visible { outline-color: var(--gold-light); }
.pill-phone {
  font-size: clamp(2rem, 7vw, 3.3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.pill-mail { font-size: clamp(1rem, 3.2vw, 1.2rem); font-weight: 500; }

/* ---------- Services page ---------- */

.service-detail { border-top: 1px solid var(--blush-deep); }
.service-detail:last-of-type { border-bottom: 1px solid var(--blush-deep); }
.service-detail .wrap { display: grid; gap: 0.6rem 3rem; padding-block: 2rem; }
@media (min-width: 48rem) {
  .service-detail .wrap { grid-template-columns: 1fr 1.7fr; }
}
.service-detail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
}
.service-detail p { margin: 0 0 0.6rem; max-width: 40rem; }
.service-detail .good-for { color: var(--ink-soft); font-size: 0.97rem; }

.note-panel {
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 1.25rem;
  background: var(--blush);
}
.note-panel h2 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; }
.note-panel p { max-width: 38rem; margin: 0 0 1.25rem; }

/* ---------- Forms ---------- */

.two-col { display: grid; gap: 3rem; }
@media (min-width: 56rem) {
  .two-col { grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; }
}

.form { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field label { display: block; margin-bottom: 0.3rem; font-size: 0.95rem; font-weight: 650; }
.field .optional { color: var(--ink-soft); font-weight: 400; }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid #8f7a84;
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--raspberry);
  outline: 3px solid rgba(174, 31, 79, 0.28);
  outline-offset: 0;
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: #b3261e; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.form-status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--raspberry);
  border-radius: 0.5rem;
  background: var(--blush);
}
.form-status:empty { display: none; }
.form-status.is-error { border-left-color: #b3261e; background: #fdecea; }

.form-note { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

.aside h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}
.aside p { margin: 0 0 1rem; color: var(--ink-soft); }
.aside .block { padding-block: 1.5rem; border-top: 1px solid var(--blush-deep); }
.aside .block:first-child { padding-top: 0; border-top: 0; }
.phone-link {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 800;
  text-decoration: none;
}
.phone-link:hover { color: var(--raspberry); }

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

.empty {
  padding: clamp(2rem, 6vw, 4rem);
  border: 1.5px dashed var(--rose);
  border-radius: 1.5rem;
  background: var(--blush);
  text-align: center;
}
.empty h2 { margin: 0 0 0.5rem; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 600; }
.empty p { max-width: 32rem; margin: 0 auto 1.5rem; color: var(--ink-soft); }
.empty .actions { justify-content: center; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.75rem;
}
.gallery-grid figcaption { margin-top: 0.4rem; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- About and contact ---------- */

.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 48rem) {
  .about-grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; }
}
.about-grid .arch { width: min(100%, 22rem); justify-self: center; }
.about-copy p { max-width: 36rem; margin: 0 0 1rem; }
.about-copy h2 { margin: 0 0 0.75rem; font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 600; line-height: 1.1; }

.contact-list { margin: 0 0 1.5rem; }
.contact-list dt { margin-top: 1rem; color: var(--ink-soft); font-size: 0.93rem; font-weight: 650; }
.contact-list dd { margin: 0.1rem 0 0; font-size: 1.15rem; }
.contact-list a { color: var(--ink); font-weight: 700; }
.contact-list a:hover { color: var(--raspberry); }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-block: 3rem 2rem;
  background: var(--ink);
  color: #eadfe5;
  font-size: 0.97rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer a:focus-visible { outline-color: var(--gold-light); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  margin: 0 0 0.4rem;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-variant-caps: small-caps;
  font-weight: 700;
}
.site-footer h2 { margin: 0 0 0.6rem; color: var(--gold-light); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.3rem; }
.legal { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(236, 197, 176, 0.3); font-size: 0.9rem; }

/* ---------- 404 ---------- */

.lost { padding-block: clamp(4rem, 12vw, 8rem); text-align: center; }
.lost h1 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 600; }
.lost p { margin: 0 auto 1.75rem; max-width: 30rem; color: var(--ink-soft); }
.lost .actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
