/* San Diego Rug Cleaning & Repair. Palette: white ground, navy ink from the old logo, one burnt-orange accent like the madder dye in a Persian rug. */
:root {
  --bg: #ffffff;
  --soft: #f2f6fb;
  --ink: #0b2545;
  --blue: #13438f;
  --muted: #4a5870;
  --line: #d8e1ee;
  --accent: #c9480c;
  --accent-h: #a63a08;
  --accent-soft: #fdeee5;
  --error: #b42318;
  --r: 12px;
  --r-sm: 8px;
  --nav: 72px;
  --gut: 24px;
  --display: "Young Serif", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font: 400 clamp(30px, 3.6vw, 44px)/1.1 var(--display); letter-spacing: -0.015em; color: var(--ink); }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gut), 1200px); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gut), 820px); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); border: 2px solid var(--accent); background: var(--accent); color: #fff; font: 600 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--accent-h); border-color: var(--accent-h); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--light { background: var(--accent); }
.link { display: inline-block; font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 2px no-repeat; padding-bottom: 3px; transition: background-size .2s; }
.link:hover { background-size: 0% 2px; background-position: 100% 100%; }
.link::after { content: " \2192"; display: inline-block; transition: transform .15s; }
.link:hover::after { transform: translateX(3px); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a, .nav__phone { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; padding: 4px 0; transition: background-size .2s; }
.nav__links a:hover, .nav__phone:hover { background-size: 100% 2px; }
.nav__phone { font-weight: 600; white-space: nowrap; }

/* Hero */
.hero { min-height: calc(100svh - var(--nav)); display: flex; align-items: center; padding: 40px 0 48px; background: var(--bg); }
.hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero__kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--blue); background: var(--soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font: 400 clamp(38px, 4.6vw, 62px)/1.06 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.hero__lead { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 22px 0 30px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-height: 56px; font-size: 18px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.hero__facts li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); }
.hero__facts li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9480c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.hero__visual { position: relative; }
.hero__hint { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Hero entrance, once */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero__text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  [data-enter] .hero__text > *:nth-child(2) { animation-delay: .06s; }
  [data-enter] .hero__text > *:nth-child(3) { animation-delay: .12s; }
  [data-enter] .hero__text > *:nth-child(4) { animation-delay: .18s; }
  [data-enter] .hero__text > *:nth-child(5) { animation-delay: .24s; }
  [data-enter] .hero__visual { animation: rise .8s .1s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Before/after slider */
.ba { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 1 / 1; background: var(--soft); touch-action: pan-y; user-select: none; -webkit-user-select: none; box-shadow: 0 24px 60px -28px rgba(11, 37, 69, .45); }
.ba--hero { aspect-ratio: 4 / 3; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(11,37,69,.15); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); border: 3px solid #fff; transition: transform .15s; }
.ba:hover .ba__knob { transform: scale(1.06); }
.ba__tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; pointer-events: none; }
.ba__tag--before { left: 16px; background: rgba(11, 37, 69, .82); color: #fff; }
.ba__tag--after { right: 16px; background: #fff; color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
.ba:has(.ba__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Sections */
.section { padding: 112px 0; }
.section--alt { background: var(--soft); }
.head { display: grid; grid-template-columns: 6fr 5fr; gap: 24px 56px; align-items: end; margin-bottom: 48px; }
.head__lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 34em; }
.big { font-size: 20px; line-height: 1.5; color: var(--ink); }

.split { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
.split .ba { aspect-ratio: 1 / 1; }
.split__text h3 { font: 400 28px/1.15 var(--display); letter-spacing: -0.01em; margin-bottom: 20px; }
.split__text h2 { margin-bottom: 20px; }
.split--story { grid-template-columns: 5fr 6fr; align-items: center; }

.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9480c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks--plain { gap: 12px; margin-bottom: 20px; }
.ticks--plain li { color: var(--ink); }

/* Services */
.services { display: grid; grid-template-columns: 6fr 6fr; gap: 56px; align-items: start; }
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.rows__name { font-weight: 600; font-size: 18px; }
.rows__desc { color: var(--muted); font-size: 16px; }
.services__pics { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; align-items: end; }
.pic { display: block; overflow: hidden; border-radius: var(--r); background: var(--soft); transition: transform .2s; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pic:hover { transform: translateY(-2px); }
.pic:hover img { transform: scale(1.03); }
.pic--tall { aspect-ratio: 4 / 5; }
.pic--small { aspect-ratio: 1 / 1; }
.pic--wide { aspect-ratio: 4 / 3; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: #fff; border-radius: var(--r); padding: 26px 24px; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 20px/1 var(--display); margin-bottom: 18px; }
.steps li:nth-child(even) .steps__n { background: var(--accent); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.band-pic { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 1600 / 480; }
.band-pic img { width: 100%; height: 100%; object-fit: cover; }

.small-h { font-size: 15px; font-weight: 600; margin: 28px 0 8px; color: var(--ink); }
.areas { color: var(--muted); font-size: 16px; }

/* Reviews */
#reviews h2 { margin-bottom: 40px; }
.quote { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: 0 18px 40px -28px rgba(11, 37, 69, .35); }
.quote blockquote { margin: 0 0 20px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 15px; }
.quote__stars { color: #e8890c; letter-spacing: 2px; font-size: 15px; }
.quote__name { font-weight: 600; color: var(--ink); }
.quote__city { color: var(--muted); font-weight: 400; }
.quote__city::before { content: "\00B7"; margin-right: 10px; color: var(--line); }
.quote--big { margin-bottom: 24px; padding: 40px 44px; border-left: 5px solid var(--accent); }
.quote--big::before { content: "\201C"; position: absolute; top: 18px; right: 32px; font: 400 96px/1 var(--display); color: var(--accent-soft); }
.quote--big blockquote { position: relative; max-width: 880px; font: 400 clamp(20px, 2.2vw, 26px)/1.45 var(--display); letter-spacing: -0.005em; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 640px) {
  .quote--big { padding: 28px 22px; }
  .quote--big::before { font-size: 72px; right: 18px; top: 10px; }
}

/* Quote form */
.call-line { font-size: 17px; margin: 0 0 28px; }
.call-line a { font-weight: 600; color: var(--ink); }
.quote__pic { width: 100%; aspect-ratio: 900 / 420; object-fit: cover; border-radius: var(--r); }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--accent); border-radius: var(--r); padding: 32px; box-shadow: 0 24px 60px -34px rgba(11, 37, 69, .4); }
.form-status { color: var(--muted); margin: 0; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f-grid .f-wide { grid-column: 1 / -1; }
.f-row { margin-bottom: 18px; }
.f-row > label, .f-row > .f-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.f-req { color: var(--accent); }
.f-row input[type=text], .f-row input[type=email], .f-row input[type=tel], .f-row input[type=url], .f-row input[type=number], .f-row input[type=date], .f-row select, .f-row textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; min-height: 48px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.f-row textarea { min-height: 110px; resize: vertical; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(19, 67, 143, .15); }
.f-row [aria-invalid=true] { border-color: var(--error); }
.f-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.f-choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 15px; }
.f-choice:has(input:checked) { border-color: var(--blue); background: var(--soft); }
.f-choice input { accent-color: var(--accent); width: 18px; height: 18px; }
.f-help { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.f-err { color: var(--error); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.f-form-err { color: var(--error); font-weight: 600; margin: 0 0 14px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.thanks { text-align: center; padding: 24px 0; }
.thanks h3 { font: 400 32px/1.1 var(--display); color: var(--ink); margin-bottom: 10px; }

/* FAQ */
.faq-tools input { width: 100%; font: inherit; min-height: 52px; padding: 12px 16px 12px 46px; border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") 14px center / 20px no-repeat; }
.faq-tools input:focus { border-color: var(--blue); outline: none; }
.faq-count { color: var(--muted); font-size: 14px; margin: 8px 0 0; min-height: 1.2em; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.faq-nav button { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.faq-nav button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-list { margin-top: 16px; background: #fff; border-radius: var(--r); padding: 8px 28px; }
.faq-sec h3.faq-sec-title { font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--accent); margin: 22px 0 4px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-sec:last-child .faq-item:last-child { border-bottom: 0; }
.faq-item h4 { margin: 0; }
.faq-q { width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: 18px; color: var(--ink); background: none; border: 0; padding: 20px 40px 20px 0; cursor: pointer; position: relative; }
.faq-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-q[aria-expanded=true]::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); }
.faq-a ul, .faq-a ol { padding-left: 1.3em; margin: 0 0 1rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-msg { color: var(--muted); padding: 16px 0; margin: 0; }
.faq-msg button { font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; border-bottom: 2px solid var(--accent); cursor: pointer; padding: 0; }

/* Visit + footer */
.closing { padding: 112px 0 40px; background: var(--bg); }
.type-moment { margin: 18px 0 48px; font: 400 clamp(32px, 5.6vw, 80px)/1.05 var(--display); letter-spacing: -0.02em; }
.type-moment a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 4px no-repeat; transition: background-size .3s; }
.type-moment a:hover { background-size: 100% 4px; }
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.visit h3 { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.visit p { font-size: 18px; }
.visit p a { color: var(--ink); font-weight: 600; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0; font-size: 17px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.legal p { margin: 0; }

.actionbar { display: none; }

/* Tablet */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__phone { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .services__pics { max-width: 720px; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; align-items: flex-start; padding: 32px 0 48px; }
  .hero__grid, .split, .split--story, .head { grid-template-columns: 1fr; }
  .hero__grid { gap: 32px; }
  .split, .split--story { gap: 36px; }
  .head { gap: 12px; margin-bottom: 32px; }
  .visit { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 640px) {
  :root { --gut: 16px; --nav: 64px; }
  body { font-size: 16px; padding-bottom: 68px; }
  .nav__brand img { height: 38px; }
  .nav__cta { display: none; }
  .nav__phone { font-size: 15px; }
  .hero { padding: 24px 0 40px; }
  .hero__kicker { font-size: 13px; margin-bottom: 16px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 18px; margin: 16px 0 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { margin-top: 24px; }
  .ba--hero { aspect-ratio: 4 / 3.4; }
  .section { padding: 72px 0; }
  .closing { padding: 72px 0 32px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .band-pic { aspect-ratio: 16 / 9; }
  .services__pics { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .faq-list { padding: 4px 18px; }
  .visit { grid-template-columns: 1fr; gap: 28px; }
  .ba__knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .actionbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .actionbar a { display: grid; place-items: center; min-height: 56px; font-weight: 600; text-decoration: none; font-size: 16px; }
  .actionbar__call { background: var(--ink); color: #fff; }
  .actionbar__quote { background: var(--accent); color: #fff; }
}

/* Phone and tablet: the before/after slider sits right under the headline */
@media (max-width: 900px) {
  .hero__grid { gap: 0; }
  .hero__text { display: contents; }
  .hero__kicker { order: 1; justify-self: start; }
  .hero h1 { order: 2; }
  .hero__visual { order: 3; margin-top: 22px; }
  .hero__lead { order: 4; margin: 22px 0 22px; }
  .hero__actions { order: 5; }
  .hero__facts { order: 6; }
}
/* The phone bar waits until the hero's buttons have scrolled away */
@media (max-width: 640px) {
  .actionbar { transition: transform .25s ease; }
  html.js .actionbar { transform: translateY(110%); }
  html.js body.show-bar .actionbar { transform: none; }
  .hero__hint { margin-top: 8px; }
}

/* Map */
.map { position: relative; margin: 0 0 8px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--soft); height: 380px; }
.map__frame { display: block; width: 100%; height: 100%; border: 0; }
.map__open { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: background .15s, transform .15s; }
.map__open:hover { background: var(--accent-h); transform: translateY(-1px); }
.map__open::after { content: " \2197"; margin-left: 6px; }
@media (max-width: 640px) { .map { height: 300px; } .map__open { left: 12px; right: 12px; bottom: 12px; justify-content: center; } }

/* Scroll reveal: text fades in and rises a little, once */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.rv.rv-in { opacity: 1; transform: none; }

/* Google rating line */
.hero__rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 16px; color: var(--ink); text-decoration: none; min-height: 44px; }
.hero__rating strong { font-weight: 600; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
.hero__rating:hover strong { background-size: 100% 2px; }
.hero__stars { color: #f2a10f; letter-spacing: 2px; font-size: 18px; }
.hero__count { color: var(--muted); }
.hero__rating + .hero__facts { margin-top: 14px; }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero__text > *:nth-child(6) { animation-delay: .3s; }
}
/* Steps sit on white now: give the cards a soft fill */
.section:not(.section--alt) .steps li { background: var(--soft); }
@media (max-width: 900px) {
  .hero__rating { order: 6; margin-top: 16px; }
  .hero__facts { order: 7; }
}

/* Featured quote: text left, rug photo right */
.quote--big { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding: 28px 28px 28px 40px; }
.quote--big::before { content: none; }
.quote--big blockquote { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: none; }
.quote__pic { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.quote__pic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .quote--big { grid-template-columns: 3fr 2fr; gap: 24px; padding: 24px 24px 24px 28px; }
}
@media (max-width: 640px) {
  .quote--big { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
}

/* Hero v2: rating kicker, outcome headline, guarantee */
.hero__kicker--rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; padding: 6px 14px; font-weight: 500; min-height: 36px; }
.hero__kicker--rating .hero__stars { font-size: 15px; letter-spacing: 1px; }
.hero__kicker--rating strong { font-weight: 600; }
.hero__kicker--rating:hover { border-color: var(--ink); }
.hero__h1sub { display: block; margin-top: 14px; font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--text); letter-spacing: 0; color: var(--blue); }
.hero__guarantee { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 16px; color: var(--ink); }
.hero__guarantee svg { flex: none; }
.hero__guarantee strong { font-weight: 600; }
.hero__guarantee + .hero__facts { margin-top: 18px; }
@media (max-width: 900px) {
  .hero__guarantee { order: 6; }
  .hero__facts { order: 7; }
}
@media (max-width: 640px) {
  .hero__kicker--rating { font-size: 13px; padding: 5px 12px; }
  .hero__h1sub { margin-top: 10px; font-size: 16px; }
  .hero__guarantee { font-size: 15px; align-items: flex-start; }
}

.hero__kicker--rating { white-space: nowrap; }
@media (max-width: 640px) { .hero__fam { display: none; } }

/* Desktop hero: size to its content, no forced full-screen height */
@media (min-width: 901px) {
  .hero { min-height: 0; align-items: flex-start; padding: 44px 0 72px; }
  #reviews { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Phone conversion pass: bar from load, shorter page, bigger taps */
.nav__phone svg, .nav__callword, .lead--short, .reviews__more { display: none; }
@media (max-width: 640px) {
  html.js .actionbar, html.js body.show-bar .actionbar { transform: none; }
  .nav__phone { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; font-size: 15px; }
  .nav__phone svg { display: block; }
  .nav__num { display: none; }
  .nav__callword { display: inline; }
  .lead--full { display: none; }
  .lead--short { display: inline; }
  .section { padding: 52px 0; }
  .closing { padding: 52px 0 32px; }
  #reviews { padding-top: 52px; }
  #reviews h2 { margin-bottom: 24px; }
  .head { margin-bottom: 24px; }
  .quote__pic { display: none; }
  .quote--big { margin-bottom: 16px; }
  .quotes { grid-template-columns: 1fr; }
  .quotes .quote:nth-child(n+2) { display: none; }
  .reviews__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; padding-bottom: 0; }
  .services__pics, .band-pic { display: none; }
  .steps { gap: 0; margin-bottom: 0; }
  .steps li, .section:not(.section--alt) .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 12px 0; background: none; border-radius: 0; }
  .steps li > *:not(.steps__n) { grid-column: 2; }
  .steps__n { grid-row: 1 / span 2; width: 36px; height: 36px; font-size: 17px; margin: 0; }
  .steps h3 { margin: 6px 0 2px; }
  .visit a[href^="tel"], .visit a[href^="mailto"], .link--light, .call-line a { display: inline-flex; align-items: center; min-height: 44px; }
  .rv { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 640px) {
  .link, .reviews__more { display: inline-block; min-height: 0; padding: 12px 0 15px; margin: -12px 0 -15px; background-position: 0 calc(100% - 12px); }
  .reviews__more { margin-top: 4px; }
}

/* Services dropdown in the menu */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav__menu { position: absolute; top: 100%; left: -16px; margin-top: 14px; min-width: 290px; padding: 8px; display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 24px 50px -24px rgba(11, 37, 69, .35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__links .nav__menu a { display: block; padding: 11px 12px; border-radius: 6px; background: none; font-size: 15px; }
.nav__links .nav__menu a:hover { background: var(--soft); }
.nav__links .nav__menu a.nav__all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; color: var(--muted); }

/* Service rows that link to their own page */
a.rows__name { justify-self: start; color: var(--ink); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
a.rows__name::after { content: " \2192"; color: var(--accent); }
a.rows__name:hover { background-size: 100% 2px; }
.rows__desc a { color: var(--ink); font-weight: 600; }

/* Footer service links */
.foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding: 16px 0; border-top: 1px solid var(--line); }
.foot-links h3 { margin: 0 4px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 calc(100% - 10px) / 0 2px no-repeat; transition: background-size .2s; }
.foot-links a:hover { background-size: 100% 2px; }

/* Service pages */
.hero__pic { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; }
.quote--solo { display: block; padding: 36px 40px; }
.quote--solo blockquote { max-width: 860px; }
.quotes--keep { grid-template-columns: repeat(2, 1fr); }
.reviews__more--all { display: inline-block; margin-top: 28px; }
.svc-faq details { border-bottom: 1px solid var(--line); }
.svc-faq details:last-child { border-bottom: 0; }
.svc-faq summary { list-style: none; position: relative; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; color: var(--ink); cursor: pointer; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.svc-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.svc-faq .faq-a a { color: var(--ink); font-weight: 600; }
.section--more h2 { margin-bottom: 32px; }
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more__card { display: grid; gap: 6px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.more__card:hover { transform: translateY(-2px); border-color: var(--ink); }
.more__name { font-weight: 600; font-size: 18px; }
.more__name::after { content: " \2192"; color: var(--accent); }
.more__desc { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
  .more { grid-template-columns: 1fr; gap: 12px; }
  .quotes--keep { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .quotes--keep .quote:nth-child(n+2) { display: block; }
  .quotes--keep { gap: 16px; }
  .quote--solo { padding: 26px 22px; }
  .reviews__more--all { display: inline-block; margin-top: 16px; }
  .hero__pic { aspect-ratio: 3 / 2; }
  .foot-links { gap: 0 20px; }
  .foot-links h3 { width: 100%; margin: 4px 0 0; }
  .more__card { padding: 18px; }
}
.more--4 { grid-template-columns: repeat(4, 1fr); }
.rows--gap { margin-top: 28px; }
.areas a { color: var(--ink); font-weight: 600; }
@media (max-width: 1080px) { .more--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .more--4 { grid-template-columns: 1fr; } }

/* Rug care guides */
.article { padding-top: 48px; }
.article__wrap { max-width: 780px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span { display: inline-flex; align-items: center; }
.article h1 { font: 400 clamp(34px, 4.4vw, 52px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); max-width: 18em; }
.article__meta { margin: 16px 0 28px; color: var(--muted); font-size: 15px; }
.article__lead { margin: 18px 0 40px; font-size: 19px; color: var(--muted); max-width: 40em; }
.article__answer { margin: 0 0 32px; padding: 22px 26px; background: var(--soft); border-left: 5px solid var(--accent); border-radius: var(--r-sm); }
.article__answer-h { margin: 0 0 8px; font: 600 14px/1.3 var(--text); letter-spacing: 0; color: var(--accent); }
.article__answer p { margin: 0; font-size: 18px; color: var(--ink); line-height: 1.6; }
.article__pic { margin: 0 0 36px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.article__pic img { width: 100%; height: 100%; object-fit: cover; }
.article__body { font-size: 18px; line-height: 1.7; color: var(--ink); }
.article__body h2 { margin: 40px 0 14px; font-size: clamp(26px, 2.6vw, 32px); }
.article__body p { margin: 0 0 18px; }
.article__body a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.article__list { margin: 0 0 22px; padding-left: 1.3em; display: grid; gap: 10px; }
.article__cta { margin: 40px 0; padding: 26px; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--r); background: #fff; }
.article__cta p { margin: 0 0 16px; font-size: 18px; color: var(--ink); }
.article__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.article__faq h2 { margin: 0 0 8px; }
.article__faq .faq-list { padding: 8px 0; background: none; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.guide-card__pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.guide-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.guide-card:hover .guide-card__pic img { transform: scale(1.03); }
.guide-card__text { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.guide-card__title { font: 400 22px/1.25 var(--display); }
.guide-card__desc { color: var(--muted); font-size: 16px; }
.guide-card__meta { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .article { padding-top: 28px; }
  .guides { grid-template-columns: 1fr; gap: 16px; }
  .article__answer { padding: 18px; }
  .article__answer p, .article__body { font-size: 17px; }
  .article__cta { padding: 20px; }
  .article__cta-btns .btn { width: 100%; }
}

/* Phone header: Visit button with address card */
.nav__visit, .visit-card { display: none; }
@media (max-width: 640px) {
  .nav { position: sticky; }
  .nav__phone { display: none; }
  .nav__visit { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--text); cursor: pointer; }
  .nav__visit[aria-expanded="true"] { background: var(--ink); color: #fff; }
  .visit-card:not([hidden]) { display: block; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; z-index: 80; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--r); box-shadow: 0 24px 50px -20px rgba(11, 37, 69, .45); }
  .visit-card__h { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
  .visit-card__addr { margin: 0 0 14px; font: 400 22px/1.3 var(--display); color: var(--ink); }
  .visit-card__hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 18px; font-size: 16px; }
  .visit-card__hours dt { font-weight: 600; color: var(--ink); }
  .visit-card__hours dd { margin: 0; color: var(--muted); }
  .visit-card__btn { width: 100%; }
  .visit-card__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
}

/* Pick up section: free for large rugs */
.free-note { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 22px; padding: 10px 16px; background: #fdeee5; border-radius: 999px; color: var(--accent); font-size: 17px; }
.free-note strong { font-weight: 600; }
.free-note__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
