/* =============================================================
   PayAthena.health – Main Stylesheet
   Font: Sora (headings) + Source Serif 4 (body)
   Theme: Clean medical teal/white with warm amber accents
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --teal-900: #0a3d38;
  --teal-800: #0f524b;
  --teal-700: #166960;
  --teal-600: #1d8278;
  --teal-500: #239d91;
  --teal-400: #2dbcae;
  --teal-300: #5dd0c6;
  --teal-200: #a8ece7;
  --teal-100: #d6f6f4;
  --teal-50:  #f0fdfb;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-100: #fef3c7;
  --navy:      #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white:     #ffffff;
  --red-500:   #ef4444;
  --green-500: #22c55e;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --font-display: 'Sora', sans-serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-400); }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1.1em; }

/* ── Layout Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.text-center { text-align: center; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--slate-500); }
.font-display { font-family: var(--font-display); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  padding: .65rem 1.5rem; border-radius: var(--radius-xl);
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-decoration: none; line-height: 1.3;
}
.btn-primary {
  background: var(--teal-600); color: var(--white);
  border-color: var(--teal-600);
}
.btn-primary:hover { background: var(--teal-800); border-color: var(--teal-800); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--teal-600);
  border-color: var(--teal-600);
}
.btn-outline:hover { background: var(--teal-600); color: var(--white); }
.btn-amber {
  background: var(--amber-500); color: var(--white);
  border-color: var(--amber-500);
}
.btn-amber:hover { background: #d97706; border-color: #d97706; color: var(--white); }
.btn-sm { padding: .45rem 1rem; font-size: .82rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }

/* ── Badges ── */
.badge {
  display: inline-block; font-family: var(--font-display); font-size: .72rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .65rem; border-radius: var(--radius-xl);
}
.badge-teal  { background: var(--teal-100); color: var(--teal-700); }
.badge-amber { background: var(--amber-100); color: #92400e; }
.badge-navy  { background: var(--navy); color: var(--white); }
.badge-slate { background: var(--slate-100); color: var(--slate-700); }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-body { padding: 1.5rem; }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ────────────────────────────────────────────
   HEADER / NAV
──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: var(--navy); text-decoration: none;
}
.logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem; font-weight: 800;
}
.logo span.accent { color: var(--teal-600); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: .88rem;
  color: var(--slate-700); padding: .5rem .85rem; border-radius: var(--radius-md);
  transition: all var(--transition); text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-600); background: var(--teal-50); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }
.mobile-nav {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 200; flex-direction: column; padding: 2rem 1.5rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav-links { display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.mobile-nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--navy); padding: .9rem 1rem; border-radius: var(--radius-md);
  border-bottom: 1px solid var(--slate-100);
}
.mobile-nav-links a:hover { background: var(--teal-50); color: var(--teal-600); }
.close-btn { background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--slate-700); padding: .25rem; }

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 50%, var(--teal-500) 100%);
  color: white; padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.15); color: white; padding: .35rem 1rem; border-radius: var(--radius-xl); font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.2rem; border: 1px solid rgba(255,255,255,.2); }
.hero h1 { color: white; margin-bottom: 1.2rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.hero h1 em { color: var(--teal-300); font-style: normal; }
.hero p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 3.5rem; }
.hero-stat { text-align: center; }
.hero-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--teal-300); line-height: 1; }
.hero-stat .lbl { font-size: .82rem; opacity: .8; margin-top: .2rem; font-family: var(--font-display); }

/* ── Quick Pay Box ── */
.quickpay-box {
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-lg);
  padding: 1.75rem; max-width: 360px;
}
.quickpay-box h3 { color: white; font-size: 1.1rem; margin-bottom: 1rem; }
.quickpay-box input {
  width: 100%; padding: .75rem 1rem; border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  color: white; font-family: var(--font-display); font-size: .95rem;
  margin-bottom: .75rem; outline: none;
}
.quickpay-box input::placeholder { color: rgba(255,255,255,.6); }
.quickpay-box input:focus { border-color: var(--teal-300); background: rgba(255,255,255,.18); }

/* ────────────────────────────────────────────
   SECTION HEADER
──────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .eyebrow {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--teal-600);
  margin-bottom: .6rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--slate-500); max-width: 560px; margin: 0 auto; }
.divider {
  width: 48px; height: 4px; background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  border-radius: 4px; margin: .75rem auto 0;
}

/* ────────────────────────────────────────────
   BLOG CARDS – FEATURED
──────────────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.post-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; background: var(--teal-100); }
.post-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img-wrap img { transform: scale(1.04); }
.post-card-category { position: absolute; top: .75rem; left: .75rem; }
.post-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; flex-wrap: wrap; }
.post-meta .date { font-family: var(--font-display); font-size: .78rem; color: var(--slate-500); }
.post-meta .read-time { font-family: var(--font-display); font-size: .78rem; color: var(--slate-500); display: flex; align-items: center; gap: .2rem; }
.post-card-title { font-size: 1.08rem; margin-bottom: .65rem; line-height: 1.35; }
.post-card-title a { color: var(--navy); }
.post-card-title a:hover { color: var(--teal-600); }
.post-card-excerpt { font-size: .9rem; color: var(--slate-500); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.post-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--slate-100); margin-top: auto; }
.post-author { display: flex; align-items: center; gap: .5rem; }
.post-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.post-author span { font-family: var(--font-display); font-size: .78rem; font-weight: 600; color: var(--slate-700); }
.post-stats { display: flex; align-items: center; gap: .75rem; }
.post-stat-item { display: flex; align-items: center; gap: .25rem; font-family: var(--font-display); font-size: .78rem; color: var(--slate-500); }

/* ── Star Rating ── */
.stars { display: flex; gap: 2px; }
.star { font-size: .95rem; }
.star.filled { color: var(--amber-500); }
.star.half { color: var(--amber-400); }
.star.empty { color: var(--slate-300); }
.rating-inline { display: flex; align-items: center; gap: .4rem; }
.rating-score { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); }
.rating-count { font-family: var(--font-display); font-size: .78rem; color: var(--slate-500); }

/* ── Featured Post (large) ── */
.featured-post { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.featured-post-img { position: relative; aspect-ratio: 4/3; background: var(--teal-100); overflow: hidden; }
.featured-post-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-post-body .badge { margin-bottom: 1rem; }
.featured-post-body h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.featured-post-body p { color: var(--slate-500); margin-bottom: 1.5rem; }

/* ────────────────────────────────────────────
   SINGLE POST PAGE
──────────────────────────────────────────── */
.post-hero { background: var(--teal-900); color: white; padding: 3.5rem 0 2.5rem; }
.post-hero .breadcrumb { font-family: var(--font-display); font-size: .8rem; opacity: .7; margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem; }
.post-hero .breadcrumb a { color: white; }
.post-hero h1 { color: white; font-size: clamp(1.6rem, 4vw, 2.5rem); max-width: 750px; margin-bottom: 1rem; }
.post-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.25rem; }
.post-hero-meta span { font-family: var(--font-display); font-size: .82rem; opacity: .85; display: flex; align-items: center; gap: .3rem; }

.post-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; padding: 3rem 0 4rem; }
.post-content { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 2.5rem; }
.post-content h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; color: var(--teal-800); border-left: 4px solid var(--teal-400); padding-left: .85rem; }
.post-content h3 { margin-top: 1.5rem; margin-bottom: .75rem; font-size: 1.15rem; }
.post-content p { color: var(--slate-700); line-height: 1.8; }
.post-content ul { list-style: none; padding-left: 0; }
.post-content ul li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; color: var(--slate-700); }
.post-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--teal-500); font-weight: 700; }
.post-content ol { padding-left: 1.5rem; }
.post-content ol li { margin-bottom: .6rem; color: var(--slate-700); }
.post-content .callout { background: var(--teal-50); border: 1px solid var(--teal-200); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.post-content .callout-title { font-family: var(--font-display); font-weight: 700; color: var(--teal-700); margin-bottom: .4rem; font-size: .95rem; }
.post-content .callout p { margin-bottom: 0; color: var(--teal-800); }
.post-content .warning { background: #fff7ed; border-color: #fed7aa; }
.post-content .warning .callout-title { color: #c2410c; }
.post-content .warning p { color: #9a3412; }

/* ── Steps ── */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-600); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; margin-top: .1rem; }
.step-content h4 { margin-bottom: .3rem; font-size: 1rem; }
.step-content p { color: var(--slate-600); font-size: .93rem; margin: 0; }

/* ── Sidebar ── */
.post-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 84px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.5rem; }
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--teal-100); }
.quick-pay-widget input {
  width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md); font-family: var(--font-display); font-size: .9rem;
  margin-bottom: .75rem; outline: none; transition: border-color var(--transition);
}
.quick-pay-widget input:focus { border-color: var(--teal-500); }
.sidebar-posts { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-post { display: flex; gap: .85rem; align-items: flex-start; }
.sidebar-post-img { width: 64px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--teal-100); }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-info h5 { font-size: .84rem; line-height: 1.35; margin-bottom: .2rem; }
.sidebar-post-info h5 a { color: var(--navy); }
.sidebar-post-info h5 a:hover { color: var(--teal-600); }
.sidebar-post-info span { font-family: var(--font-display); font-size: .74rem; color: var(--slate-500); }
.toc { display: flex; flex-direction: column; gap: .5rem; }
.toc a { font-family: var(--font-display); font-size: .85rem; color: var(--slate-600); display: flex; align-items: center; gap: .4rem; border-left: 3px solid var(--slate-200); padding-left: .65rem; transition: all var(--transition); }
.toc a:hover { color: var(--teal-600); border-color: var(--teal-400); }

/* ────────────────────────────────────────────
   COMMENTS
──────────────────────────────────────────── */
.comments-section { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 2rem 2.5rem; margin-top: 2rem; }
.comments-section h3 { margin-bottom: 1.5rem; font-size: 1.3rem; }
.comment { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--slate-100); }
.comment:last-of-type { border-bottom: none; }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--teal-200); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--teal-800); }
.comment-body h5 { font-size: .92rem; margin-bottom: .15rem; }
.comment-body .comment-date { font-family: var(--font-display); font-size: .75rem; color: var(--slate-500); margin-bottom: .5rem; }
.comment-body p { font-size: .9rem; color: var(--slate-700); margin: 0; }
.comment-form { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--teal-100); }
.comment-form h4 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-group label { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--slate-700); }
.form-group input, .form-group textarea {
  width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-md); font-family: var(--font-body); font-size: .92rem;
  color: var(--navy); outline: none; transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal-500); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Rating widget ── */
.post-rating-box { background: var(--teal-50); border: 1px solid var(--teal-200); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.rating-big { text-align: center; }
.rating-big .score { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--teal-700); }
.rating-big .out { font-family: var(--font-display); font-size: .82rem; color: var(--slate-500); }
.rating-bars { flex: 1; min-width: 180px; }
.rating-bar-row { display: flex; align-items: center; gap: .65rem; margin-bottom: .45rem; }
.rating-bar-row span { font-family: var(--font-display); font-size: .78rem; width: 28px; color: var(--slate-600); text-align: right; }
.rating-bar-track { flex: 1; height: 7px; background: var(--slate-200); border-radius: 99px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--amber-400); border-radius: 99px; }
.rating-count-total { font-family: var(--font-display); font-size: .78rem; color: var(--slate-500); }

/* ────────────────────────────────────────────
   FAQ ACCORDION
──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 1px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--navy);
  text-align: left; transition: background var(--transition);
}
.faq-question:hover { background: var(--teal-50); }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--teal-600); color: white; }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: all .3s ease; }
.faq-item.open .faq-answer { padding: 0 1.25rem 1.1rem; max-height: 300px; }
.faq-answer p { font-size: .92rem; color: var(--slate-600); margin: 0; }

/* ────────────────────────────────────────────
   FEATURE BOXES
──────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.feature-box { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-md); border-top: 4px solid var(--teal-400); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--teal-100); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.feature-box h4 { margin-bottom: .6rem; font-size: 1.05rem; }
.feature-box p { color: var(--slate-500); font-size: .9rem; margin: 0; }

/* ────────────────────────────────────────────
   INFO GRAPHIC / PROCESS
──────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 36px; left: calc(12.5% + 18px); right: calc(12.5% + 18px); height: 2px; background: linear-gradient(90deg, var(--teal-300), var(--teal-500)); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-600), var(--teal-400)); color: white; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0 auto 1rem; box-shadow: 0 4px 16px rgba(35,157,145,.35); }
.process-step h4 { font-size: .95rem; margin-bottom: .4rem; }
.process-step p { font-size: .83rem; color: var(--slate-500); }

/* ────────────────────────────────────────────
   NEWSLETTER BANNER
──────────────────────────────────────────── */
.newsletter-banner { background: linear-gradient(135deg, var(--teal-800), var(--teal-600)); border-radius: var(--radius-xl); padding: 3rem 2.5rem; color: white; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-banner h3 { font-size: 1.5rem; color: white; margin-bottom: .5rem; }
.newsletter-banner p { opacity: .85; margin: 0; font-size: .95rem; }
.newsletter-form { display: flex; gap: .65rem; flex-wrap: wrap; }
.newsletter-form input { padding: .7rem 1.1rem; border-radius: var(--radius-xl); border: none; font-family: var(--font-display); font-size: .9rem; min-width: 220px; outline: none; }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-main { padding: 4rem 0 2.5rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .logo { color: white; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; opacity: .7; line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: white; font-size: .9rem; transition: background var(--transition); }
.footer-social a:hover { background: var(--teal-500); color: white; }
.footer-col h5 { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: white; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: .5rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--teal-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .82rem; opacity: .55; margin: 0; }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: var(--teal-300); }

/* ────────────────────────────────────────────
   CATEGORY PILLS / ARCHIVE PAGE
──────────────────────────────────────────── */
.category-pills { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2.5rem; }
.category-pill {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: var(--radius-xl); cursor: pointer;
  border: 1.5px solid var(--slate-300); color: var(--slate-700);
  background: var(--white); transition: all var(--transition);
}
.category-pill:hover, .category-pill.active { background: var(--teal-600); color: white; border-color: var(--teal-600); }

/* ────────────────────────────────────────────
   PAGE HEADER (inner pages)
──────────────────────────────────────────── */
.page-header { background: linear-gradient(135deg, var(--teal-900), var(--teal-700)); color: white; padding: 3.5rem 0; text-align: center; }
.page-header h1 { color: white; margin-bottom: .75rem; }
.page-header p { opacity: .85; max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb-bar { background: var(--teal-800); padding: .6rem 0; }
.breadcrumb-bar .breadcrumb { font-family: var(--font-display); font-size: .8rem; color: rgba(255,255,255,.7); display: flex; gap: .5rem; align-items: center; }
.breadcrumb-bar .breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb-bar .breadcrumb a:hover { color: var(--teal-300); }
.breadcrumb-bar .breadcrumb .sep { opacity: .5; }

/* ────────────────────────────────────────────
   CONTACT / ABOUT
──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-card { background: var(--teal-900); border-radius: var(--radius-lg); padding: 2rem; color: white; }
.contact-info-card h3 { color: white; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-item-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item-text h5 { color: white; font-size: .9rem; margin-bottom: .15rem; }
.contact-item-text p { color: rgba(255,255,255,.7); font-size: .88rem; margin: 0; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2.5rem; }

/* ────────────────────────────────────────────
   PRIVACY / TERMS PAGE
──────────────────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.legal-content h2 { font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: .85rem; color: var(--teal-800); }
.legal-content p { color: var(--slate-600); line-height: 1.85; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--slate-600); margin-bottom: .4rem; }

/* ────────────────────────────────────────────
   ABOUT PAGE
──────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.team-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2rem; text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden; border: 3px solid var(--teal-200); background: var(--teal-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--teal-700); }
.team-card h4 { margin-bottom: .2rem; }
.team-card .role { font-family: var(--font-display); font-size: .83rem; color: var(--teal-600); font-weight: 600; margin-bottom: .6rem; }
.team-card p { font-size: .88rem; color: var(--slate-500); margin: 0; }

/* ── Search bar ── */
.search-bar { display: flex; max-width: 480px; margin: 0 auto; }
.search-bar input { flex: 1; padding: .75rem 1.1rem; border: 2px solid var(--slate-300); border-right: none; border-radius: var(--radius-xl) 0 0 var(--radius-xl); font-family: var(--font-display); font-size: .92rem; outline: none; }
.search-bar input:focus { border-color: var(--teal-500); }
.search-bar button { padding: .75rem 1.25rem; background: var(--teal-600); color: white; border: none; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; cursor: pointer; font-size: 1rem; }

/* ────────────────────────────────────────────
   UTILITY CLASSES
──────────────────────────────────────────── */
.bg-teal-50 { background: var(--teal-50); }
.bg-teal-900 { background: var(--teal-900); }
.bg-slate-100 { background: var(--slate-100); }
.text-white { color: white; }
.text-teal { color: var(--teal-600); }
.rounded-xl { border-radius: var(--radius-xl); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.w-full { width: 100%; }
.justify-center { justify-content: center; }

/* ────────────────────────────────────────────
   PAGINATION
──────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 2.5rem 0; }
.page-btn { width: 40px; height: 40px; border-radius: var(--radius-md); border: 1.5px solid var(--slate-300); background: white; font-family: var(--font-display); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all var(--transition); display: flex; align-items: center; justify-content: center; color: var(--slate-700); }
.page-btn:hover, .page-btn.active { background: var(--teal-600); border-color: var(--teal-600); color: white; }
.page-btn.prev, .page-btn.next { width: auto; padding: 0 1rem; gap: .3rem; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { aspect-ratio: 16/9; }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .post-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .newsletter-banner { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .post-content { padding: 1.5rem; }
  .comments-section { padding: 1.5rem; }
  .section { padding: 3rem 0; }
}
@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }
.animate-fadeup { animation: fadeUp .55s ease forwards; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; }

/* ── Smooth view transitions ── */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
