/* Karina Salgado - Ortodontista
   Design: luxo minimalista, fundo branco, muito espaco em branco.
   Titulo: Cormorant Garamond | Corpo: Jost | Logo: Dancing Script */

:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-muted: #5c5c5c;
  --color-line: #e5e5e5;
  --color-surface: #f5f5f5;
  --color-dark: #0a0a0a;
  --font-title: "Cormorant Garamond", serif;
  --font-body: "Jost", sans-serif;
  --font-logo: "Dancing Script", cursive;
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --section-space: clamp(4rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Motion: hero entrance, scroll reveal, hover lift/zoom.
   Safe by default (.reveal is fully visible) so content never depends on
   JS running; .js (added by main.js) opts into the animated states. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-enter {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-enter 0.8s ease forwards;
  animation-delay: var(--enter-delay, 0s);
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .hero-enter {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  display: inline-block;
  border: 1px solid var(--color-text);
  background: var(--color-text);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: #fff;
  color: var(--color-text);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

.btn-light {
  border-color: #fff;
  background: #fff;
  color: var(--color-dark);
}

.btn-light:hover {
  background: transparent;
  color: #fff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-line);
}

/* Solid background (not translucent) so content scrolling underneath the
   sticky header never ghosts through behind the logo/menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-bg);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  margin: 6px 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: #fff;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--color-line);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 2.5rem var(--gutter);
    gap: 1.75rem;
  }
}

/* Hero banner (full-bleed photo, overlay text, home page only) */
.hero-banner {
  position: relative;
  height: min(88vh, 820px);
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  margin-top: -1px;
}

.hero-banner-media {
  position: absolute;
  inset: 0;
}

.hero-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.32) 45%, rgba(10, 10, 10, 0.78) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner-content .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.hero-banner-title {
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  line-height: 1.04;
  color: #fff;
}

.hero-banner-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-banner-subtitle {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.85);
  margin: 1.75rem 0 2.5rem;
}

.hero-banner-scroll {
  position: absolute;
  z-index: 1;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.hero-banner-scroll:hover {
  opacity: 0.7;
}

.hero-banner-scroll svg {
  width: 18px;
  height: 18px;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-scroll svg {
    animation: none;
  }
}

@media (max-width: 760px) {
  .hero-banner {
    height: 92vh;
    min-height: 480px;
  }
}

/* Treatment teaser tiles (home page) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  margin-top: var(--section-space);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.teaser-card {
  background: #fff;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.35);
}

.teaser-card .num {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.teaser-card h2 {
  font-size: 1.6rem;
  margin: 1rem 0 0.75rem;
}

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

.teaser-card a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-text);
}

@media (max-width: 860px) {
  .teaser-grid {
    grid-template-columns: 1fr;
  }
}

/* Generic section */
.section {
  padding: var(--section-space) 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-top: 0.75rem;
}

.section-head p {
  color: var(--color-muted);
  margin-top: 1rem;
}

.section-alt {
  background: var(--color-surface);
}

/* About / quem sou eu */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

.about-photo .img-placeholder {
  border-radius: 50%;
}

@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* Area de atuacao cards */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-line);
}

.area-card {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.35);
}

.area-card h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.area-card ul {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.area-card li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--color-line);
}

.area-card li:first-child {
  border-top: none;
}

@media (max-width: 760px) {
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Formacao */
.formation-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: flex-start;
}

.formation-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.formation-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--color-line);
}

.formation-list li:last-child {
  border-bottom: 1px solid var(--color-line);
}

.formation-list .degree {
  font-family: var(--font-title);
  font-size: 1.15rem;
}

.formation-list .institution {
  font-size: 0.88rem;
  color: var(--color-muted);
}

.formation-photo {
  aspect-ratio: 3 / 4;
}

@media (max-width: 860px) {
  .formation-grid {
    grid-template-columns: 1fr;
  }

  .formation-photo {
    order: -1;
    max-width: 320px;
  }
}

/* Real photo frame (replaces .img-placeholder once an image is available) */
.photo-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

.photo-frame.circle {
  border-radius: 50%;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.photo-frame:hover .photo {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .photo {
    transition: none;
  }
}

/* Treatment pages */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-line);
}

.treatment-card {
  background: #fff;
  padding: clamp(2.25rem, 4vw, 3rem);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.35);
}

.treatment-card .thumb {
  aspect-ratio: 4 / 3;
}

.treatment-card h2 {
  font-size: 1.6rem;
}

.treatment-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
  flex-grow: 1;
}

.treatment-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.treatment-card ul li {
  padding: 0.35rem 0;
}

.treatment-card ul li::before {
  content: "— ";
}

@media (max-width: 860px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

.beyond-block {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  padding: var(--section-space) 0;
  margin-top: var(--section-space);
  overflow: hidden;
}

.beyond-block-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.beyond-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.beyond-block-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.94));
}

.beyond-block > .container {
  position: relative;
  z-index: 1;
}

.beyond-block .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.beyond-block .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 3rem;
}

.beyond-card {
  background: var(--color-dark);
  padding: 2.5rem;
  transition: transform 0.35s ease;
}

.beyond-card:hover {
  transform: translateY(-6px);
}

.beyond-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.beyond-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 760px) {
  .beyond-grid {
    grid-template-columns: 1fr;
  }
}

/* Parcerias */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.partner-card {
  text-align: center;
  transition: transform 0.35s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
}

.partner-initials {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 2.75rem;
  color: var(--color-text);
}

.partner-card h3 {
  font-size: 1.5rem;
}

.partner-card .role {
  color: var(--color-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

@media (max-width: 760px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

.services-list {
  columns: 2;
  column-gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
}

.services-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--color-line);
  break-inside: avoid;
}

@media (max-width: 600px) {
  .services-list {
    columns: 1;
  }
}

/* Consultorio gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-grid .img-placeholder,
.gallery-grid .photo-frame {
  aspect-ratio: 1 / 1;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Real-photo band: honest substitute for "results" photos we can't source
   (no stock/Instagram access) — real practice photos in a bold dark band,
   with a direct link to Instagram where real patient results actually live. */
.gallery-band {
  background: var(--color-dark);
  color: #fff;
  padding: var(--section-space) 0;
}

.gallery-band .section-head p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 1rem auto 0;
}

.gallery-band .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.gallery-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.gallery-band-grid .photo-frame {
  min-width: 0;
  aspect-ratio: 3 / 4;
  border-color: rgba(255, 255, 255, 0.15);
}

.gallery-band-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  text-align: center;
}

@media (max-width: 760px) {
  .gallery-band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.map-block {
  margin-top: var(--section-space);
}

.map-frame {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.cta-band {
  text-align: center;
  padding: var(--section-space) 0;
  background: var(--color-surface);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.blog-card {
  min-width: 0;
  transition: transform 0.35s ease;
}

/* The thumb link is an <a> (inline by default) wrapping a block-level
   .thumb div. Left inline, Chromium's grid auto-row sizing measures only
   the thumb and ignores the card-meta/h2/p that follow, so the row track
   collapses to the thumb's height and the rest of the card visually
   overflows into the next row. */
.blog-card > a {
  display: block;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card .thumb {
  aspect-ratio: 40 / 21;
  margin-bottom: 1.25rem;
}

.blog-card .date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.blog-card h2 {
  font-size: 1.35rem;
  margin-top: 0.6rem;
}

.blog-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer / contact */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: var(--section-space) 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.footer-grid h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: transparent;
  color: var(--color-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  font-size: 0.88rem;
}

.form-status a {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-text);
  color: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: var(--section-space);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

/* Page hero (interior pages) */
.page-hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
}

.page-hero p {
  color: var(--color-muted);
  max-width: 560px;
  margin: 1.25rem auto 0;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
}

/* Blog hub */
.blog-hero {
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.blog-hero .btn {
  margin-top: 2rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 3.5rem;
}

.filter-btn {
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.35rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.filter-btn.is-active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

.blog-card .thumb {
  overflow: hidden;
}

.blog-card .thumb .photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 40 / 21;
  object-fit: cover;
}

.blog-card .card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.category-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid var(--color-line);
  padding: 0.3rem 0.7rem;
}

.reading-time {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.reading-time::before {
  content: "— ";
}

.blog-card h2 {
  font-size: 1.35rem;
  margin-top: 0.75rem;
}

.blog-card[hidden] {
  display: none;
}

.blog-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 3rem 0;
}

.blog-empty[hidden] {
  display: none;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.breadcrumb a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.breadcrumb a:hover {
  border-color: var(--color-muted);
}

.breadcrumb .sep {
  margin: 0 0.5rem;
  color: var(--color-line);
}

/* Article page */
.article-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.article-hero .category-tag {
  margin-top: 1.5rem;
  display: inline-block;
}

.article-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-top: 1rem;
  max-width: 780px;
}

.article-hero .subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 1.25rem;
}

.article-cover {
  width: 100%;
  aspect-ratio: 40 / 21;
  overflow: hidden;
  margin-top: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--color-line);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--color-muted);
  margin: 0 0 1.15rem;
}

.article-body ul,
.article-body ol {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.article-body li {
  padding: 0.35rem 0;
}

.article-body strong {
  color: var(--color-text);
  font-weight: 500;
}

/* FAQ (details/summary, no JS required) */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--color-line);
  padding: 1.4rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

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

.related-block {
  max-width: 720px;
  margin: 0 auto;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.related-card {
  border: 1px solid var(--color-line);
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  border-color: var(--color-text);
  transform: translateY(-3px);
}

.related-card .category-tag {
  font-size: 0.65rem;
  padding: 0.25rem 0.55rem;
}

.related-card h3 {
  font-size: 1.05rem;
  margin-top: 0.75rem;
  font-weight: 500;
  font-family: var(--font-body);
}

@media (max-width: 560px) {
  .faq-item summary {
    font-size: 1.02rem;
  }
}

/* Campaign landing pages (lp/) — standalone, no site nav, single CTA focus */
.lp-header {
  border-bottom: 1px solid var(--color-line);
  padding: 1.5rem 0;
}

.lp-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.lp-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin-top: 0.75rem;
}

.lp-hero-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 1.5rem 0 2rem;
}

.lp-hero-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--color-line);
}

.lp-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-microcopy {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
  }

  .lp-hero-photo {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }
}

.lp-trust-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.lp-trust-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.6rem;
}

.lp-trust-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
}

@media (max-width: 600px) {
  .lp-trust-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.lp-benefits-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 1.1rem;
}

.lp-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
}

.lp-benefits-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--color-text);
}

.lp-footer {
  border-top: 1px solid var(--color-line);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.lp-footer p {
  margin: 0.35rem 0;
}
