@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

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

:root {
  --bg:           #f7f5f2;
  --bg-card:      #ffffff;
  --bg-dim:       #f0ede8;
  --accent:       #2d6a4f;
  --accent-light: #40916c;
  --accent-pale:  #d8f3dc;
  --accent-glow:  rgba(45,106,79,.12);
  --text:         #2c2c2c;
  --text-muted:   #7a7670;
  --text-light:   #a09a90;
  --text-inv:     #f0ede8;
  --blue:         #1565c0;
  --blue-pale:    #e3f2fd;
  --orange:       #e65100;
  --orange-pale:  #fff3e0;
  --border:       #e0dcd5;
  --shadow:       0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg:    0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-sm:    6px;
  --max-width:    960px;
  --transition:   .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 100px 0; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .05s; }
.reveal-d2 { transition-delay: .1s; }
.reveal-d3 { transition-delay: .15s; }
.reveal-d4 { transition-delay: .2s; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
}

/* Section labels */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.eyebrow-green  { background: var(--accent-pale); color: var(--accent); }
.eyebrow-blue   { background: var(--blue-pale);   color: var(--blue); }
.eyebrow-orange { background: var(--orange-pale); color: var(--orange); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,242,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.logo-text { display: inline; }
.logo-nora { color: var(--accent); }
.logo-lab  { color: #6b6b6b; margin-left: 0; }
.logo-dot {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 3s ease infinite;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: .5rem 1.1rem; font-size: .85rem; color: #fff !important; }
.btn-login {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent) !important;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 50px;
  transition: background var(--transition), color var(--transition);
}
.btn-login:hover { background: var(--accent-pale); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { display: block; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
}

/* ─── HERO ─── */
.hero { padding: 80px 0 100px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-left { text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--accent-pale); border-radius: 50px; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 20px; animation: fade-up .6s ease both; }
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 20px; animation: fade-up .6s ease .1s both; }
.hero-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 420px; margin: 0 0 32px; line-height: 1.7; animation: fade-up .6s ease .2s both; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fade-up .6s ease .3s both; }
.hero-right { display: flex; justify-content: center; }
.chat-window { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; width: 100%; max-width: 420px; }
.chat-titlebar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-dim); }
.chat-dots { display: flex; gap: 6px; }
.dot-red, .dot-yellow, .dot-green { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f57; } .dot-yellow { background: #ffbd2e; } .dot-green { background: #28c840; }
.chat-title { font-size: .78rem; font-weight: 500; color: var(--text-muted); margin-left: auto; }
.chat-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.chat-row { display: flex; align-items: flex-start; gap: .6rem; }
.chat-row.nora { flex-direction: row; } .chat-row.patient { flex-direction: row-reverse; }
.avatar-bubble { width: 30px; height: 30px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.patient-avatar { background: var(--bg-dim); color: var(--text-muted); } .nora-avatar { background: var(--accent); color: #fff; }
.bubble { padding: .6rem .9rem; border-radius: 14px; font-size: .85rem; line-height: 1.5; max-width: 78%; }
.bubble-patient { background: var(--bg-dim); color: var(--text); border-bottom-right-radius: 4px; }
.bubble-nora { background: var(--accent-pale); color: var(--text); border-bottom-left-radius: 4px; }
.chat-status { display: flex; align-items: center; gap: 6px; background: var(--accent-pale); color: var(--accent); font-size: .8rem; font-weight: 600; padding: .7rem 1rem; border-radius: var(--radius); margin-top: .25rem; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-left { text-align: center; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-right { display: none; }
}

/* ─── PRODUCT ─── */
.product-header { text-align: center; margin-bottom: 2.5rem; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; position: relative; }
.product-card--coming { opacity: .55; filter: grayscale(.4); pointer-events: none; user-select: none; }
.coming-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-lg); background: rgba(247,245,242,.5); backdrop-filter: blur(1px); z-index: 2; pointer-events: none; }
.coming-badge { background: var(--text); color: var(--text-inv); font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .6rem 1.5rem; border-radius: 50px; box-shadow: var(--shadow-lg); }
.product-card-header { margin-bottom: 1.5rem; }
.product-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.product-tag { display: inline-block; background: var(--accent-pale); color: var(--accent); font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; margin-bottom: .75rem; }
.product-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: .5rem; }
.product-card p { color: var(--text-muted); font-size: .95rem; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-bottom: 1.5rem; }
.product-features li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--text); }
.product-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.product-price-wrap { display: flex; flex-direction: column; gap: .35rem; }
.promo-stamp { display: inline-flex; align-items: center; gap: 5px; background: #fff8e1; border: 1px solid #ffe082; color: #b45309; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .25rem .6rem; border-radius: 6px; width: fit-content; }
.product-price { font-size: .95rem; color: var(--text-muted); }
.product-price strong { color: var(--text); font-family: var(--font-display); font-size: 1.3rem; }

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

.referral-banner { max-width: 960px; margin: 1.25rem auto 0; background: var(--accent-pale); border: 1px solid #b7e4c7; border-radius: var(--radius-lg); padding: 1rem 1.5rem; }
.referral-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.referral-text { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: var(--text); }
.referral-emoji { font-size: 1.4rem; flex-shrink: 0; }
.referral-text strong { color: var(--accent); }
.btn-referral { display: inline-flex; align-items: center; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 50px; white-space: nowrap; transition: background .2s; }
.btn-referral:hover { background: var(--accent-light); }

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
  color: var(--accent); letter-spacing: .1em;
  margin-bottom: .75rem;
}
.step-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  margin-bottom: .5rem;
}
.step-card p { font-size: .875rem; color: var(--text-muted); }

/* ─── TESTIMONIAL / FIRST CASE ─── */
.first-case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.first-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(45,106,79,.07) 0%, transparent 70%);
  pointer-events: none;
}
.first-case-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}
.first-case-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.first-case-card p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.first-case-perks {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.first-case-perk {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-pale);
  padding: .4rem .9rem;
  border-radius: 50px;
}

/* ─── LGPD BADGE ─── */
.lgpd { padding: 3rem 0; }
.lgpd-card {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  max-width: 800px; margin: 0 auto;
  box-shadow: 0 4px 24px rgba(45,106,79,.18);
}
.lgpd-icon { font-size: 2rem; flex-shrink: 0; }
.lgpd-content { flex: 1; min-width: 200px; }
.lgpd-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  color: #fff; margin-bottom: .3rem;
}
.lgpd-desc { font-size: .85rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.lgpd-link {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.4);
  padding: .45rem 1rem; border-radius: 50px;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.lgpd-link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* ─── CTA FINAL ─── */
.cta-final { background: var(--accent); text-align: center; padding: 6rem 0; }
.cta-final .section-title { color: #fff; }
.cta-final .section-subtitle { color: rgba(255,255,255,.75); }
.cta-final .btn-primary { background: #fff; color: var(--accent); }
.cta-final .btn-primary:hover { background: var(--accent-pale); transform: translateY(-1px); }
.cta-final .cta-note { color: rgba(255,255,255,.6) !important; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.cta-note { font-size: .8rem; color: var(--text-muted); }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: .75rem; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { font-size: .9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--text-muted);
}
.footer-badge {
  padding: 4px 10px;
  background: var(--bg-dim);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-muted);
}
.footer-legal {
  border-top: 1px solid var(--border);
  background: var(--bg-dim);
  padding: 1.25rem 0;
}
.footer-legal .container {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.legal-links a {
  font-size: .72rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-links a:hover { color: var(--accent-light); }
.legal-transparency {
  font-size: .72rem;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 760px;
}
.legal-transparency strong {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: .25rem;
}

/* ─── GHOST PAGE (about, terms, faq) ─── */
.page-content {
  padding: 80px 0 100px;
}
.page-content .container {
  max-width: 720px;
}
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--text);
}

/* Ghost content styling */
.gh-content h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
}
.gh-content h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.gh-content p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.gh-content ul, .gh-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.gh-content li {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: .5rem;
}
.gh-content a {
  color: var(--accent);
  text-decoration: underline;
}
.gh-content a:hover { color: var(--accent-light); }
.gh-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}
.gh-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ─── ABOUT PAGE ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.about-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.values-section { background: var(--bg-dim); padding: 80px 0; }
.values-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.value-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--accent);
  min-width: 180px;
  flex-shrink: 0;
}
.value-desc { font-size: .95rem; color: var(--text-muted); }

.historia-inner { max-width: 680px; }
.historia-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.historia-body p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .value-item { flex-direction: column; gap: .25rem; }
  .value-label { min-width: unset; }
}

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), padding .3s;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── BLOG INDEX ─── */
.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card-content {
  padding: 1.5rem;
}
.post-card-content h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  line-height: 1.3;
}
.post-card-content h2 a { color: var(--text); }
.post-card-content h2 a:hover { color: var(--accent); }
.post-card-excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.post-card-meta {
  font-size: .75rem;
  color: var(--text-light);
}

/* ─── SINGLE POST ─── */
.post-full {
  padding: 80px 0 100px;
}
.post-full .container {
  max-width: 720px;
}
.post-full-header {
  text-align: center;
  margin-bottom: 3rem;
}
.post-full-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.post-full-meta {
  font-size: .85rem;
  color: var(--text-muted);
}
.post-full-image {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.post-full-image img {
  width: 100%;
  display: block;
}

/* ─── GHOST KOENIG EDITOR WIDTH CLASSES ─── */
.gh-content .kg-width-wide {
  max-width: min(1040px, calc(100vw - 4rem));
  margin-left: calc(50% - min(520px, calc(50vw - 2rem)));
}
.gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
  width: 100%;
}

/* Utility: hide Ghost branding if desired */
.gh-powered-by { display: none !important; }

/* ─── FLOATING CONTACT WIDGET ─── */
.fale-tab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(45,106,79,.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  user-select: none;
}
.fale-tab:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(45,106,79,.45);
}
.fale-tab:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.fale-popup {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 901;
  width: min(340px, calc(100vw - 2rem));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: fale-in .2s cubic-bezier(.16,1,.3,1);
}
.fale-popup[hidden],
.fale-popup { display: none; }

@keyframes fale-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.fale-close {
  position: absolute;
  top: .75rem;
  right: .875rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: .15rem .3rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.fale-close:hover { color: var(--text); background: var(--bg-dim); }

.fale-popup h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  padding-right: 1.5rem;
}

.fale-popup p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.fale-email-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  justify-content: center;
  padding: .7rem 1rem;
  background: var(--accent-pale);
  color: var(--accent);
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.fale-email-btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 480px) {
  .fale-tab { bottom: 1.25rem; right: 1.25rem; }
  .fale-popup { bottom: 4.75rem; right: 1.25rem; }
}

/* ─── FALE WIDGET — FORM ELEMENTS ─── */
.fale-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: .9rem;
}
.fale-field label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.fale-field input,
.fale-field textarea {
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .55rem .75rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
  outline: none;
}
.fale-field input:focus,
.fale-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.fale-field input[type="number"] {
  width: 80px;
}

.fale-error {
  font-size: .8rem;
  color: var(--orange);
  margin-bottom: .75rem;
}

.fale-submit {
  width: 100%;
  padding: .75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background var(--transition), transform var(--transition);
}
.fale-submit:hover:not(:disabled) {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.fale-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.fale-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1rem 0;
  text-align: center;
  color: var(--accent);
}
.fale-success p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}
