/* We Suck Pipes — educational tip / pillar pages */
:root {
  --navy: #052448;
  --ink: #1a2d42;
  --blue: #1976c9;
  --sky: #70b7ff;
  --green: #2f9e44;
  --green-dark: #1f7a34;
  --orange: #e7652c;
  --white: #ffffff;
  --bg: #f7fafc;
  --line: #d8e4ef;
  --muted: #5a7086;
  --shadow: 0 16px 48px rgba(5, 36, 72, 0.12);
  --radius: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--navy);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.guide-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px clamp(16px, 4vw, 40px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.guide-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.guide-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  font-weight: 700;
}

.guide-header-nav a {
  text-decoration: none;
  color: var(--muted);
}

.guide-header-nav a:hover {
  color: var(--blue);
}

.guide-header-nav .header-book {
  color: var(--white);
  background: var(--green);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.guide-header-nav .header-book:hover {
  color: var(--white);
  background: var(--green-dark);
}

/* Top conversion strip under hero */
.guide-top-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(5, 36, 72, 0.06);
}

.guide-top-cta p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 36ch;
}

.guide-top-cta p span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.guide-top-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 10px;
  font: 800 0.82rem/1 "Archivo", Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  white-space: nowrap;
}

.guide-top-cta .button:hover {
  background: var(--green-dark);
}

/* Mid-page bridge CTA */
.guide-mid-cta {
  margin: 2em 0;
  padding: 20px 18px;
  border-radius: 12px;
  border: 1px solid #c5e1c8;
  background: linear-gradient(180deg, #f3fbf4 0%, #eaf6ec 100%);
}

.guide-mid-cta strong.mid-title {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.guide-mid-cta p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.98rem;
}

.guide-mid-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 10px;
  font: 800 0.85rem/1 "Archivo", Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
}

.guide-mid-cta .button:hover {
  background: var(--green-dark);
}

.guide-mid-cta .mid-fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Qualify box */
.guide-qualify {
  margin: 1.75em 0;
  padding: 16px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--orange);
  background: #fff6f0;
}

.guide-qualify strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
}

.guide-qualify ul {
  margin: 0;
  padding-left: 1.15rem;
}

.guide-qualify li {
  margin-bottom: 0.4em;
  font-weight: 600;
}

/* Mobile sticky book bar */
.guide-sticky-book {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .guide-sticky-book {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(5, 36, 72, 0.1);
    backdrop-filter: blur(8px);
  }

  .guide-sticky-book .button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    font: 800 0.85rem/1 "Archivo", Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--white);
    background: var(--green);
  }
}

.guide-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(112, 183, 255, 0.2), transparent),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.guide-hero-inner {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 28px;
}

.guide-eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.guide-lede {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 58ch;
}

.guide-hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--line);
}

.guide-mid-figure {
  margin: 2em 0;
  padding: 0;
  border: 0;
}

.guide-mid-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(5, 36, 72, 0.1);
  background: var(--line);
}

.guide-mid-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.guide-body {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.guide-body p {
  margin: 0 0 1.15em;
  font-size: 1.02rem;
}

.guide-body h2 {
  font-size: 1.4rem;
  font-weight: 900;
  margin: 2em 0 0.65em;
}

.guide-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 1.6em 0 0.5em;
}

.guide-body ul,
.guide-body ol {
  margin: 0 0 1.25em;
  padding-left: 1.25rem;
}

.guide-body li {
  margin-bottom: 0.55em;
  font-size: 1.02rem;
}

.guide-body li::marker {
  color: var(--blue);
}

.guide-callout {
  margin: 1.75em 0;
  padding: 16px 18px;
  border-radius: 12px;
  border-left: 4px solid var(--blue);
  background: #eef6ff;
  color: var(--ink);
}

.guide-callout strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
}

.guide-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.guide-checklist li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.guide-checklist li:last-child {
  border-bottom: 0;
}

.guide-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.guide-related {
  margin-top: 40px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.guide-related h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.guide-related ul {
  margin: 0;
  padding-left: 1.1rem;
}

.guide-related a {
  font-weight: 700;
  text-decoration: none;
}

.guide-related a:hover {
  text-decoration: underline;
}

.guide-soft-footer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.guide-soft-footer a {
  font-weight: 700;
  text-decoration: none;
}

.guide-booking-cta {
  margin-top: 32px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.guide-booking-cta .eyebrow {
  margin: 0 0 8px;
  color: var(--sky);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-booking-cta h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
}

.guide-booking-cta p {
  margin: 0 0 18px;
  color: #b8d4ec;
  font-size: 0.95rem;
}

.guide-booking-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  font: 800 0.92rem/1 "Archivo", Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.guide-booking-cta .button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.guide-booking-cta .cta-fine {
  margin: 14px 0 0;
  color: #8eb4d4;
  font-size: 0.85rem;
}

.guide-booking-cta .cta-fine a {
  color: var(--sky);
  font-weight: 700;
  text-decoration: none;
}

.guide-booking-cta .cta-fine a:hover {
  text-decoration: underline;
}

.guide-page-footer {
  padding: 28px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--bg);
}

.guide-page-footer .name {
  margin: 0;
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--navy);
}

.guide-page-footer p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.guide-page-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.guide-page-footer nav a {
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.guide-page-footer nav a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .guide-header-nav .hide-mobile {
    display: none;
  }
}
