/* SpinRight Laundry — site styles
   Palette and type from design/style-guide.md
   Poppins self-hosted (OFL) in assets/fonts/
*/

:root {
  --sr-royal: #284ED4;
  --sr-royal-deep: #1B37AF;
  --sr-navy: #0F1F6B;
  --sr-gold: #FFC42E;
  --sr-gold-hover: #E5AE20;
  --sr-offwhite: #F7FAFF;
  --sr-white: #FFFFFF;
  --sr-on-dark: #DCE4FF;
  --sr-gradient: linear-gradient(180deg, #284ED4 0%, #1B37AF 100%);
  --sr-shadow: 0 12px 32px rgba(15, 31, 107, 0.12);
  --sr-radius: 28px;
  --sr-header-h: 4.5rem;
  --sr-max: 70rem;
  --sr-gutter: 1.25rem;
  --sr-focus: 0 0 0 2px var(--sr-white), 0 0 0 4px var(--sr-navy);
}

/* ---- Fonts (Google Fonts static, latin + latin-ext, OFL 1.1) ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Poppins-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/Poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Poppins-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/Poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Poppins-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/Poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Poppins-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/Poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/Poppins-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/Poppins-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--sr-navy);
  background: var(--sr-offwhite);
}
img, svg { display: block; max-width: 100%; height: auto; }
iframe { border: 0; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--sr-royal); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--sr-navy); }
a:visited { color: var(--sr-royal); }
a:visited:hover { color: var(--sr-navy); }
:focus { outline: none; }
:focus-visible { box-shadow: var(--sr-focus); }
button, input, textarea, select { font: inherit; }

/* ---- Utilities ---- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  background: var(--sr-gold);
  color: var(--sr-navy);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip-link:focus {
  top: 0.75rem;
  color: var(--sr-navy);
  box-shadow: var(--sr-focus);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.wrap {
  width: min(100% - (var(--sr-gutter) * 2), var(--sr-max));
  margin-inline: auto;
}
.section {
  padding: 3.25rem 0;
  scroll-margin-top: calc(var(--sr-header-h) + 0.75rem);
}
.section--alt { background: var(--sr-white); }
.section-head { margin-bottom: 1.5rem; }
.eyebrow {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-royal);
  margin-bottom: 0.5rem;
}
h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  line-height: 1.2;
}
h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.3;
}
.gold-bar {
  display: block;
  width: 5rem;
  height: 0.5rem;
  margin: 0.85rem 0 0;
  background: var(--sr-gold);
  border-radius: 999px;
}
.lede, .section p + p { margin-top: 1rem; }
.muted { color: var(--sr-navy); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-sm { display: flex; flex-direction: column; gap: 0.65rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:visited { color: inherit; }
.btn--gold {
  background: var(--sr-gold);
  color: var(--sr-navy);
}
.btn--gold:hover, .btn--gold:visited:hover {
  background: var(--sr-gold-hover);
  color: var(--sr-navy);
}
.btn--gold:visited { color: var(--sr-navy); }
.btn--navy {
  background: var(--sr-navy);
  color: var(--sr-white);
}
.btn--navy:hover, .btn--navy:visited:hover {
  background: var(--sr-royal);
  color: var(--sr-white);
}
.btn--navy:visited { color: var(--sr-white); }
.btn--ghost {
  background: transparent;
  color: var(--sr-white);
  border-color: var(--sr-white);
}
.btn--ghost:hover, .btn--ghost:visited:hover {
  background: var(--sr-white);
  color: var(--sr-navy);
}
.btn--ghost:visited { color: var(--sr-white); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.btn:focus-visible { box-shadow: var(--sr-focus); }
.btn--ghost:focus-visible {
  box-shadow: 0 0 0 2px var(--sr-navy), 0 0 0 4px var(--sr-gold);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sr-navy);
  border-bottom: 7px solid var(--sr-gold);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--sr-header-h);
  padding-block: 0.5rem;
}
.logo {
  display: block;
  flex: 0 0 auto;
  width: 8.25rem;
  min-width: 7.5rem;
}
.logo img, .logo svg {
  width: 100%;
  height: auto;
}
.logo:focus-visible {
  border-radius: 0.4rem;
  box-shadow: 0 0 0 2px var(--sr-navy), 0 0 0 4px var(--sr-gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-actions .btn {
  padding: 0.65rem 0.95rem;
  font-size: 0.875rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sr-offwhite);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  display: block;
  width: 100%;
  line-height: 0;
  order: 2;
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 820;
  object-fit: cover;
  object-position: center 82%;
}
.hero-content {
  position: relative;
  padding: 1.75rem var(--sr-gutter) 1.35rem;
  max-width: 40rem;
}
.hero-content h1 { color: var(--sr-navy); }
.hero-tagline, .hero-subline {
  margin-top: 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  max-width: 32rem;
}
.hero-tagline { font-weight: 600; }
.hero .btn-row { margin-top: 1.15rem; }

/* ---- Cards / lists / tables ---- */
.card {
  background: var(--sr-white);
  border-radius: var(--sr-radius);
  box-shadow: var(--sr-shadow);
  padding: 1.5rem;
}
.card + .card, .card-grid .card { margin: 0; }
.card-grid {
  display: grid;
  gap: 1.25rem;
}
.prose p + p, .prose ul { margin-top: 1rem; }
.prose ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.prose li {
  padding-left: 1.35rem;
  position: relative;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--sr-gold);
  border-radius: 50%;
}
.price-table-wrap { overflow-x: auto; margin: 1.15rem 0 1.25rem; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid rgba(15, 31, 107, 0.12);
}
.price-table th {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sr-royal);
}
.price-table td:nth-child(2),
.price-table th:nth-child(2),
.price-table td:nth-child(3),
.price-table th:nth-child(3) { text-align: right; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.note {
  font-weight: 600;
  margin-top: 1rem;
}

/* ---- Banners ---- */
.section-banner {
  margin: -3.25rem 0 2rem;
  line-height: 0;
  overflow: hidden;
  max-height: 11rem;
}
.section-banner img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  object-position: center 30%;
}

/* ---- Hours / location ---- */
.hours-list {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: 0.25rem 0 1rem;
}
.address {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.4;
  font-style: normal;
}
.map-frame {
  margin-top: 1.25rem;
  border-radius: var(--sr-radius);
  overflow: hidden;
  box-shadow: var(--sr-shadow);
  background: var(--sr-white);
  aspect-ratio: 4 / 3;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Spanish ---- */
.espanol-card {
  background: var(--sr-gradient);
  color: var(--sr-white);
  border-radius: var(--sr-radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--sr-shadow);
}
.espanol-card h2 { color: var(--sr-white); }
.espanol-card .gold-bar { background: var(--sr-gold); }
.espanol-card p {
  margin-top: 1rem;
  color: var(--sr-on-dark);
  font-size: 1.0625rem;
  line-height: 1.6;
}
.espanol-card:focus-within { }

/* ---- Amenities ---- */
.amenity-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--sr-white);
  border-radius: 1.25rem;
  padding: 0.95rem 1.1rem;
  box-shadow: var(--sr-shadow);
  font-weight: 600;
  line-height: 1.4;
}
.amenity-list svg {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--sr-royal);
  margin-top: 0.1rem;
}

/* ---- FAQs ---- */
.faq-list { display: grid; gap: 0.65rem; }
.faq-list details {
  background: var(--sr-white);
  border-radius: 1.25rem;
  box-shadow: var(--sr-shadow);
  padding: 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  padding: 1rem 3rem 1rem 1.15rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--sr-navy);
  border-bottom: 2px solid var(--sr-navy);
  transform: translateY(-70%) rotate(45deg);
}
.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-list details p {
  padding: 0 1.15rem 1.15rem;
  margin: 0;
}
.faq-list summary:focus-visible {
  border-radius: 1.25rem;
  box-shadow: var(--sr-focus);
}

/* ---- Contact form (disabled preview) ---- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
.contact-meta { display: grid; gap: 0.85rem; }
.contact-meta a { font-weight: 600; }
.form-preview {
  background: var(--sr-white);
  border-radius: var(--sr-radius);
  box-shadow: var(--sr-shadow);
  padding: 1.4rem 1.25rem 1.5rem;
  opacity: 0.92;
}
.form-note {
  background: rgba(255, 196, 46, 0.28);
  border-left: 6px solid var(--sr-gold);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.15rem;
}
.form-preview fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}
.form-row {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}
.form-row label { font-weight: 600; font-size: 0.95rem; }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1.5px solid rgba(15, 31, 107, 0.22);
  border-radius: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: #eef1f7;
  color: var(--sr-navy);
  cursor: not-allowed;
}
.form-row textarea { min-height: 8rem; resize: vertical; }
.form-preview .btn { opacity: 0.65; cursor: not-allowed; }

/* ---- Footer ---- */
.site-footer {
  background: var(--sr-navy);
  color: var(--sr-on-dark);
  padding: 2.75rem 0 1.75rem;
  border-top: 7px solid var(--sr-gold);
}
.site-footer .logo { width: 10rem; margin-bottom: 1.25rem; }
.site-footer a { color: var(--sr-white); }
.site-footer a:hover, .site-footer a:visited:hover { color: var(--sr-gold); }
.site-footer a:visited { color: var(--sr-white); }
.site-footer a:focus-visible {
  box-shadow: 0 0 0 2px var(--sr-navy), 0 0 0 4px var(--sr-gold);
  border-radius: 0.25rem;
}
.footer-grid {
  display: grid;
  gap: 1.5rem;
}
.footer-block h2 {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-gold);
  margin-bottom: 0.55rem;
}
.footer-block p, .footer-block address { font-size: 1rem; line-height: 1.5; }
.copyright {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(220, 228, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ---- Breakpoints ---- */
@media (min-width: 640px) {
  :root { --sr-gutter: 1.75rem; }
  .header-actions .btn { padding: 0.7rem 1.2rem; font-size: 0.9375rem; }
  .logo { width: 10rem; }
}

@media (min-width: 768px) {
  :root { --sr-header-h: 4.75rem; --sr-gutter: 2rem; }
  .section { padding: 4.25rem 0; }
  .section-banner {
    margin: -4.25rem 0 2.25rem;
    max-height: 16.5rem;
  }
  .section-banner img { height: 16.5rem; object-position: center 16%; }
  .hero-media { order: 0; }
  .hero-media img {
    aspect-ratio: 1920 / 1080;
    object-position: center 8%;
    min-height: 32rem;
  }
  .hero-content {
    position: absolute;
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-56%);
    padding: 0 0 0 var(--sr-gutter);
    width: min(46%, 34rem);
    max-width: 34rem;
  }
  .hero-tagline, .hero-subline { font-size: 1.125rem; }
  .card { padding: 1.85rem 2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .amenity-list { grid-template-columns: 1fr 1fr; }
  .map-frame { aspect-ratio: 16 / 9; min-height: 22rem; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 1.75rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: 1.2fr 1fr 1fr; }
  .hero-media img { min-height: 36rem; }
  .hero-content { width: min(48%, 38rem); max-width: 38rem; }
  .amenity-list { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (min-width: 1600px) {
  .hero-media img { aspect-ratio: 2400 / 1000; min-height: 38rem; }
}

@media (max-width: 379px) {
  .header-actions .btn { padding: 0.55rem 0.7rem; font-size: 0.8125rem; }
  .logo { width: 7.5rem; }
}

.tips-heading { margin-top: 1.25rem; font-size: 1.125rem; }
.card--narrow { max-width: 40rem; }
.card--readable { max-width: 46rem; }
.footer-address { color: var(--sr-on-dark); font-style: normal; }
