/* routesilvergarden.com: shared tokens, header, footer and homepage */
:root {
  /* palette from images/logo.png: wine #4A0C1A, rose #E08685, blush #F0C9BC */
  --wine: #4A0C1A;
  --wine-2: #6A1828;
  --berry: #8C2F3E;
  --claret: #8C2F3E;
  --rose: #E08685;
  --rose-dark: #A8434A;
  --clay: #EFD9CE;
  --blush: #F9F0EB;
  --blush-2: #EFD9CE;
  --blush-soft: #F6E6DE;
  --paper: #FFFFFF;
  --ink: #2A0810;
  --muted: #6B4048;
  --rule: rgba(74, 12, 26, .14);
  --f-head: "Besley", Georgia, "Times New Roman", serif;
  --f-body: "Lexend Deca", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 6px;
}

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

html,
body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--wine);
  margin: 0 0 .45em;
}
h2 { font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
a { color: var(--claret); text-underline-offset: 3px; }
a:hover { color: var(--wine); }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--wine);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--berry);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  transition: background-color .2s;
}
.btn:hover,
.btn:focus-visible { background: var(--wine); color: var(--paper); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: .98rem; }
.btn-light { background: var(--paper); color: var(--wine); }
.btn-light:hover,
.btn-light:focus-visible { background: var(--clay); color: var(--wine); }

/* ---------- Header: strip, logo + pill, plain nav row ---------- */
.site-head { position: static; background: var(--paper); }
.head-strip {
  margin: 0;
  padding: 8px 16px;
  background: var(--wine);
  color: #F8E6E0;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
.head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
.head-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 22px;
  border: 1.5px solid var(--berry);
  border-radius: 999px;
  color: var(--berry);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.head-cta:hover,
.head-cta:focus-visible { background: var(--berry); color: var(--paper); }
.head-nav {
  border-top: 1px solid var(--rule);
  box-shadow: 0 8px 14px -12px rgba(74, 12, 26, .35);
  position: relative;
  z-index: 2;
}
.head-nav .wrap { display: flex; gap: 28px; }
.head-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.head-nav a:hover { color: var(--berry); }
.head-nav a[aria-current="page"] { font-weight: 600; color: var(--wine); border-bottom-color: var(--rose); }

/* ---------- Hero: asymmetric photo collage ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy copy"
    "a b"
    "a c"
    "d d";
  grid-template-rows: auto 170px 170px auto;
  gap: 12px;
}
.hero-copy { grid-area: copy; padding-bottom: 14px; }
.hero h1 {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: .35em;
  max-width: 13ch;
}
.hero-sub { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 34ch; }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 24px 0 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--wine);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
}
.ph { overflow: hidden; border-radius: var(--radius); background: var(--clay); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-a { grid-area: a; }
.ph-b { grid-area: b; }
.ph-c { grid-area: c; }
.ph-d { grid-area: d; aspect-ratio: 16 / 9; }
.ph-d img { object-position: center 60%; }

/* ---------- How it works: clay band, numbered sequence ---------- */
.how { background: var(--clay); padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.how h2 { text-align: center; }
.how-intro { text-align: center; max-width: 56ch; margin: 0 auto clamp(32px, 5vw, 56px); color: var(--ink); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.how-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  align-items: start;
}
.how-num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--rose-dark);
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}
.how-steps h3 { font-size: 1.4rem; margin: 6px 0 2px; }
.how-steps p { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; }
.how-steps img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Guide ---------- */
.guide { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.guide-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 40px); }
.guide-head p { font-size: 1.08rem; }
.g-row,
.g-steps,
.g-trouble {
  display: grid;
  gap: 24px;
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 16px;
}
.g-text { max-width: 60ch; }
.g-text p:last-child { margin-bottom: 0; }
.note-small { font-size: .95rem; color: var(--muted); }

.table-scroll { min-width: 0; overflow-x: auto; align-self: start; }
.size-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .98rem; line-height: 1.4; }
.size-table caption { text-align: left; font-family: var(--f-head); font-weight: 500; color: var(--wine); font-size: 1.05rem; padding-bottom: 10px; }
.size-table th,
.size-table td { padding: 13px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.size-table thead th { font-weight: 500; color: var(--muted); font-size: .9rem; border-bottom: 2px solid var(--wine); }
.size-table td:nth-child(2),
.size-table td:nth-child(3) { white-space: nowrap; }
.size-table tbody th { font-family: var(--f-head); font-weight: 600; color: var(--wine); }

.plan { margin: 0; min-width: 0; }
.plan-svg { width: 100%; height: auto; display: block; }
.plan figcaption { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: .92rem; color: var(--muted); }
.plan figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.k { display: inline-block; width: 16px; height: 16px; border-radius: 50%; }
.k-olla { background: var(--berry); }
.k-wet { border: 2px dashed var(--rose-dark); background: rgba(224, 134, 133, .16); }

.g-steps-head p { max-width: 40ch; }
.g-photo { margin-top: 20px; }
.g-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.g-photo figcaption { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.method { list-style: none; counter-reset: m; margin: 0; padding: 0; }
.method li {
  counter-increment: m;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.method li:first-child { padding-top: 0; }
.method li::before {
  content: counter(m);
  grid-row: span 2;
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  color: var(--rose-dark);
}
.method h4 { margin: 0 0 2px; font-size: 1.1rem; }
.method p { margin: 0; font-size: 1rem; line-height: 1.5; }

.trouble { margin: 0; display: grid; gap: 0 40px; }
.trouble > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.trouble dt { font-family: var(--f-head); font-weight: 600; color: var(--wine); font-size: 1.08rem; margin-bottom: 4px; }
.trouble dd { margin: 0; font-size: 1rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 7vw, 88px) 0; background: var(--blush); }
.faq-grid { display: grid; gap: 20px; }
.faq h2 { margin: 0; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
  font-size: 1.06rem;
  color: var(--wine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--rose-dark); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 64ch; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }

/* ---------- Offer ---------- */
.offer { padding: clamp(56px, 8vw, 104px) 0; }
.offer-grid { display: grid; gap: 28px; align-items: center; }
.offer-grid > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; }
.offer-copy { max-width: 52ch; }
.offer-note { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot { background: var(--blush); color: var(--ink); border-top: 1px solid var(--rule); }
.foot-grid { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 32px; }
.foot-id .brand img { height: 46px; }
.foot-domain { margin: 14px 0 6px; font-size: .95rem; font-weight: 500; color: var(--wine); }
.foot-note { margin: 0 0 8px; font-size: .92rem; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.foot-note a { color: var(--claret); }
.foot-col h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--wine); margin: 0 0 6px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-size: .95rem; text-decoration: none; }
.foot-col a:hover { color: var(--berry); text-decoration: underline; }
.foot-base { padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--rule); }
.foot-copy { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Small phones ---------- */
@media (max-width: 420px) {
  .head-strip { font-size: .8rem; }
  .brand img { height: 40px; }
  .head-main { min-height: 66px; gap: 10px; }
  .head-cta { padding: 6px 14px; font-size: .9rem; }
  .head-nav .wrap { gap: 22px; }
  .hero-act .btn { width: 100%; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .how-steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .trouble { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr .78fr 1.1fr;
    grid-template-rows: 200px 180px 290px;
    grid-template-areas:
      "a c copy"
      "b c copy"
      "b d d";
    gap: 20px;
  }
  .hero-copy { padding: 0 0 0 12px; align-self: start; }
  .hero h1 { font-size: clamp(2.6rem, 1rem + 2.4vw, 3.3rem); }
  .hero-act { margin-top: 20px; }
  .ph-d { aspect-ratio: auto; }

  .how-steps { grid-template-columns: repeat(4, 1fr); gap: 0 28px; position: relative; }
  .how-steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(74, 12, 26, .35);
  }
  .how-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
  .how-steps img { aspect-ratio: 1 / 1; border-radius: 28px; }
  .how-num { grid-row: auto; width: 64px; height: 64px; font-size: 1.8rem; margin-bottom: 14px; }
  .how-steps p { max-width: 24ch; margin-bottom: 22px; flex: 1; }

  .g-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .g-row-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .g-row-flip .g-text { order: 2; }
  .g-steps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .g-trouble { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .g-trouble .trouble > div:nth-child(-n+2) { padding-top: 0; }

  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }

  .offer-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; }

  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; }
}

@media (max-width: 639px) {
  .size-table { min-width: 0; font-size: .88rem; }
  .size-table th,
  .size-table td { padding: 10px 6px; }
  .size-table td:nth-child(2),
  .size-table td:nth-child(3) { white-space: normal; }
}

/* ---------- Latest blog posts (WordPress partial) ---------- */
.hb { padding: clamp(48px, 7vw, 88px) 0 0; }
.hb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 24px; }
.hb-head h2 { margin-bottom: .2em; }
.hb-intro { margin: 0; color: var(--muted); max-width: 52ch; }
.hb-all { display: inline-flex; align-items: center; min-height: 44px; color: var(--wine); text-decoration-color: var(--rose); text-decoration-thickness: 2px; }
.hb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.hb-item a { display: grid; gap: 12px; color: inherit; text-decoration: none; }
.hb-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hb-text { display: flex; flex-direction: column; gap: 4px; }
.hb-label { font-size: .88rem; color: var(--rose-dark); }
.hb-title { font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; line-height: 1.25; color: var(--wine); }
.hb-item a:hover .hb-title { text-decoration: underline; text-decoration-color: var(--rose); }
.hb-ex { font-size: .98rem; line-height: 1.5; }
.hb-time { font-size: .88rem; color: var(--muted); }
@media (min-width: 960px) {
  .hb-list { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .hb-item--lead .hb-title { font-size: 1.6rem; }
}
