/* FreshPress Garment Care - all site styling */

:root {
  --navy: #1f4e79;
  --navy-deep: #173c5e;
  --teal: #2a8c85;
  --teal-text: #17706a;
  --ink: #2b2f36;
  --heading: #1a2433;
  --muted: #555c66;
  --soft: #f3f7fb;
  --soft-2: #e8f0f8;
  --line: #dfe6ee;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 35, 55, 0.06), 0 6px 18px rgba(20, 35, 55, 0.06);
  --wrap: 1120px;
  --reading: 46rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

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

/* Centered container, 16px gutter on phones */
.container {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 4rem, var(--wrap));
  }
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--heading);
  line-height: 1.22;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  margin: 0 0 1.1rem;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.25rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.3rem;
  margin: 2.25rem 0 0.6rem;
}

p,
ul,
ol {
  margin: 0 0 1.1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
}

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--navy-deep);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Small uppercase label above section headings */
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.section--tint {
  background: var(--soft);
}

.section-head {
  max-width: var(--reading);
  margin-bottom: 2.25rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Keyboard users can jump past the header */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 30;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
}

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

/* Header and navigation */
.site-header {
  padding: 1rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
  }
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
}

.logo::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.lead {
  max-width: 36rem;
  margin-bottom: 1.75rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-image {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  filter: drop-shadow(0 18px 30px rgba(20, 35, 55, 0.08));
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 78, 121, 0.25);
}

.button:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  margin: 0;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Intro: heading on the left, text on the right on wide screens */
.intro-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.notice {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem 1.4rem;
  background: var(--soft-2);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-sm);
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Main article */
.article h3 {
  padding-left: 0.85rem;
  border-left: 4px solid var(--teal);
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 1rem 1rem 1rem 3.4rem;
  background: var(--soft);
  border-radius: var(--radius-sm);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.table-wrap {
  margin: 1.5rem 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px) {
  th,
  td {
    padding: 0.7rem 0.6rem;
    font-size: 0.9rem;
  }
}

thead th {
  background: var(--soft-2);
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
}

tbody th {
  color: var(--heading);
  width: 30%;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

/* Shared checklist style with a teal check circle */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.2rem;
  display: grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}

@media (min-width: 720px) {
  .checklist--columns {
    columns: 2;
    column-gap: 2.5rem;
  }

  .checklist--columns li {
    break-inside: avoid;
  }
}

/* Two-column split used for image + text blocks */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split-image {
  width: 100%;
  border-radius: var(--radius);
}

/* Fabric cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 620px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  height: 100%;
  margin: 0;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

/* Stain tips: numbered cards */
.tip-grid {
  counter-reset: tip;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .tip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tip-grid li {
  counter-increment: tip;
  position: relative;
  margin: 0;
  padding: 1.1rem 1.1rem 1.1rem 3.6rem;
  background: var(--soft);
  border-radius: var(--radius-sm);
}

.tip-grid li::before {
  content: counter(tip);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Professional care: note panel */
.panel {
  padding: 1.75rem;
  background: var(--navy);
  color: #e8f0f8;
  border-radius: var(--radius);
}

.panel h3 {
  margin-top: 0;
  color: var(--white);
}

.panel p {
  margin-bottom: 0;
}

.panel p + p {
  margin-top: 1rem;
}

.panel a {
  color: var(--white);
}

/* FAQ: native details/summary with a custom plus/minus */
.faq details {
  margin-bottom: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq details[open] {
  box-shadow: var(--shadow);
}

.faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  color: var(--heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 0.7rem;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--ink);
}

/* About callout */
.callout {
  padding: 2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #e8f0f8;
  border-radius: var(--radius);
}

.callout h3 {
  margin-top: 0;
  color: var(--white);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Contact card */
.contact-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin: 0;
}

.contact-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--heading);
}

.contact-email {
  font-size: 1.15rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-note {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--navy-deep);
  color: #d5e1ee;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-heading {
  margin: 0 0 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  color: var(--white);
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-links {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin: 2.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b9c8d8;
  font-size: 0.9rem;
}

/* Supporting legal pages */
.legal {
  max-width: var(--reading);
  padding: 2.5rem 0 3rem;
}

.legal h1 {
  font-size: clamp(1.9rem, 5vw, 2.4rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.5rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Keep section headings clear of the sticky header on desktop */
@media (min-width: 900px) {
  section[id],
  article[id] {
    scroll-margin-top: 5rem;
  }
}
