@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --brand: #259be1;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--slate-900);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container,
.shell {
  width: min(var(--shell), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  z-index: 40;
  border-top: 4px solid #f472b6;
  border-bottom: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-950);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 4.5rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #f472b6;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
}

.brand-text {
  color: var(--slate-950);
  font-size: clamp(1.1rem, 1vw + 0.85rem, 1.4rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.nav a {
  text-decoration: none;
  transition: color 150ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--slate-950);
}

main {
  background: #ffffff;
}

.guide-list {
  padding: 4rem 0;
}

.guide-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.guide-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.guide-card__media {
  display: block;
  height: 16rem;
  overflow: hidden;
  background: var(--slate-200);
}

.guide-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.guide-card:hover .guide-card__media img {
  transform: scale(1.05);
}

.guide-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.guide-card h2 {
  margin: 0;
  color: var(--slate-950);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.guide-card h2 a {
  text-decoration: none;
  transition: color 150ms ease;
}

.guide-card h2 a:hover {
  color: var(--sky-800);
}

.guide-card p {
  flex: 1;
  margin: 1rem 0 0;
  color: var(--slate-600);
  font-size: 0.875rem;
  line-height: 1.75;
}

.guide-card__action {
  margin-top: 1.5rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.button-primary {
  background: #ec4899;
  color: #ffffff;
}

.button-primary:hover {
  background: #db2777;
}

.button-secondary {
  border: 1px solid #f9a8d4;
  background: #ffffff;
  color: #be185d;
}

.button-secondary:hover {
  border-color: #f472b6;
  background: #fdf2f8;
}

.guide-show {
  padding: 3rem 0 4rem;
}

.guide-shell {
  max-width: 48rem;
  margin: 0 auto;
  background: #ffffff;
}

.guide-shell--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  grid-template-areas: "body cover";
  gap: 3rem;
  max-width: 72rem;
  align-items: start;
}

.guide-cover {
  width: 100%;
  margin: 0;
  grid-area: cover;
}

.guide-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

.guide-body {
  padding: 0;
  grid-area: body;
}

.guide-header {
  max-width: none;
}

.guide-header h1 {
  margin: 0;
  color: var(--slate-950);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
}

.guide-header p {
  margin: 2rem 0 0;
  color: var(--slate-600);
  font-size: 1.125rem;
  line-height: 1.8;
}

.guide-content {
  margin-top: 2.75rem;
}

.guide-content section + section {
  margin-top: 3rem;
}

.guide-content section {
  max-width: none;
}

.guide-content h2 {
  margin: 0;
  color: var(--slate-950);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.guide-content p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.9;
}

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

.guide-content a {
  color: var(--sky-800);
  text-underline-offset: 0.25rem;
}

.center-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.center-card {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.center-card--featured {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.center-card__image {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  background: var(--slate-100);
}

.center-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.25rem 1.35rem;
}

.center-card__body h3 {
  margin: 0;
  color: var(--slate-950);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
}

.center-card__description,
.center-card__address {
  margin-top: 0.75rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.center-card__address {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

.center-card__phone {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  color: var(--slate-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

.phone-icon {
  color: #ec4899;
  font-size: 1rem;
  line-height: 1;
}

.location-icon {
  color: #ec4899;
  font-size: 1rem;
  line-height: 1;
}

.surface.article {
  max-width: 56rem;
  margin: 3rem auto 0;
  border: 1px solid var(--slate-200);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.article-content {
  max-width: 48rem;
  padding: 3.5rem 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sky-800);
  font-size: 0.875rem;
  font-weight: 600;
}

.article-title {
  margin: 0;
  color: var(--slate-950);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
}

.lede {
  margin: 1.5rem 0 0;
  color: var(--slate-600);
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2 {
  margin: 3rem 0 0;
  color: var(--slate-950);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.article-content p,
.article-content li {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.9;
}

.article-content p {
  margin-top: 1rem;
}

.article-content ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.article-content a {
  color: var(--sky-800);
  text-underline-offset: 0.25rem;
}

.footer {
  margin-top: 6rem;
  border-top: 1px solid #f9a8d4;
  background: var(--slate-50);
  padding: 3.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.footer p {
  margin: 0;
}

.footer-heart {
  color: #ef4444;
}

@media (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .shell {
    width: min(100% - 1.5rem, var(--shell));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
  }

  .guide-list {
    padding: 2.5rem 0;
  }

  .center-card {
    grid-template-columns: 1fr;
  }

  .center-card__image {
    min-height: 12rem;
  }

  .brand-logo {
    height: 3.75rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-shell--split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "cover";
    gap: 1.5rem;
    max-width: 48rem;
  }

  .guide-body {
    padding: 0;
  }

  .guide-header h1 {
    font-size: 2.25rem;
  }

  .guide-content h2 {
    font-size: 1.625rem;
  }

  .center-cards {
    grid-template-columns: 1fr;
  }

  .footer {
    margin-top: 4rem;
  }
}
