/* ===========================
   HISPANIC HEALTHBRIDGE
   styles.css
   =========================== */

:root {
  --green-dark:    #0a4a2e;
  --green-mid:     #1a6e45;
  --green-light:   #2d9e65;
  --green-pale:    #e8f5ee;
  --red-accent:    #c0392b;
  --red-light:     #fdf0ef;
  --gold:          #c8991a;
  --gold-light:    #fdf6e3;
  --text-dark:     #1a1a1a;
  --text-mid:      #444;
  --text-muted:    #777;
  --white:         #ffffff;
  --off-white:     #f9f8f6;
  --border:        #e0ddd8;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', sans-serif;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg:     0 8px 48px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.section-label.light {
  color: var(--green-pale);
  background: rgba(255,255,255,0.15);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 56px;
  line-height: 1.75;
}

.accent {
  color: var(--green-mid);
  font-style: italic;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,110,69,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.logo-text strong {
  font-weight: 600;
  color: var(--green-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
  background: var(--green-pale);
}

.nav-cta {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero,
.blog-hero {
  position: relative;
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero {
  background: var(--green-dark);
}

.blog-hero {
  background: linear-gradient(135deg, rgba(10,74,46,0.95), rgba(45,158,101,0.92));
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(45,158,101,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10) 0%, transparent 40%);
  pointer-events: none;
}

.blog-hero .hero-bg-pattern {
  background-image:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.10) 0%, transparent 30%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,153,26,0.15);
  border: 1px solid rgba(200,153,26,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
}

.hero .btn-primary:hover {
  background: #b8880f;
  border-color: #b8880f;
  color: var(--white);
}

.hero .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}

.hero .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.about-hero {
  background: linear-gradient(180deg, #f5f7f2 0%, #ffffff 100%);
  color: var(--text-dark);
}

.about-hero .hero-bg-pattern {
  background-image:
    radial-gradient(circle at 15% 30%, rgba(26,110,69,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 15%, rgba(200,153,26,0.07) 0%, transparent 35%);
}

.about-hero .hero-badge {
  background: rgba(10,74,46,0.08);
  color: var(--green-dark);
}

.about-hero .hero-heading {
  color: var(--green-dark);
}

.about-hero .hero-sub {
  color: var(--text-mid);
}

.about-hero .btn-primary {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
}

.about-hero .btn-outline {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.about-hero .btn-outline:hover {
  background: rgba(45,158,101,0.08);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 40px;
}

.stat {
  flex: 1;
  min-width: 160px;
  padding: 0 28px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  margin: 0 28px;
  flex-shrink: 0;
}

/* ---- ABOUT ---- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 32px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 16px;
}

.mission-card {
  background: var(--green-pale);
  border: 1px solid rgba(26,110,69,0.15);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold));
}

.mission-icon {
  font-size: 28px;
  color: var(--green-mid);
  margin-bottom: 14px;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--green-dark);
}

.mission-card p {
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.85;
}

/* ---- WHATSAPP SECTION ---- */
.whatsapp-section {
  background: var(--off-white);
  text-align: center;
}

.whatsapp-section .section-label,
.whatsapp-section .section-heading,
.whatsapp-section .section-sub {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.work-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.work-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--green-dark);
}

.work-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.portfolio-banner {
  background: rgba(45,158,101,0.08);
  border-left: 4px solid var(--green-mid);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.portfolio-banner p {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.8;
}

.insights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.insights-copy {
  max-width: 640px;
}

.insights-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.insights-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.insights-panel {
  background: linear-gradient(180deg, rgba(10,74,46,0.08), rgba(45,158,101,0.06));
  border: 1px solid rgba(10,74,46,0.12);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insights-panel h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--green-dark);
}

.insights-panel p {
  color: var(--text-dark);
  line-height: 1.8;
}

.card-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.blog-hero .hero-heading,
.blog-hero .hero-sub {
  color: rgba(255,255,255,0.95);
}

.blog-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.blog-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.blog-intro .section-label {
  margin-bottom: 18px;
}

.blog-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-card h2 {
  font-size: 22px;
}

.blog-card p {
  font-size: 15px;
}

.blog-card-meta {
  margin-bottom: 14px;
}

.blog-card-link {
  display: block;
}

.blog-card-featured {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), var(--white));
}

.post-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.post-visual .visual-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.post-visual .visual-block h4 {
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--green-dark);
}

.post-visual .visual-block p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
}

.post-visual .visual-graph {
  height: 160px;
  background: linear-gradient(135deg, rgba(10,74,46,0.12), rgba(200,153,26,0.1));
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.post-visual .visual-graph::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 16px;
  width: 18px;
  height: 70px;
  background: var(--green-dark);
  border-radius: 6px;
}

.post-visual .visual-graph::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 50px;
  width: 18px;
  height: 110px;
  background: var(--gold);
  border-radius: 6px;
}

.blog-lead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 40px;
  background: var(--green-pale);
  border-radius: var(--radius);
}

.blog-lead-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-dark);
  margin-bottom: 18px;
}

.blog-lead-copy p {
  color: var(--text-dark);
  line-height: 1.8;
  max-width: 680px;
}

.blog-lead-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.post-header {
  margin-bottom: 40px;
}

.post-header .post-meta {
  color: var(--green-mid);
  font-size: 13px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text-dark);
  margin-bottom: 18px;
}

.post-summary {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 24px;
}

.post-hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  max-height: 380px;
  margin-bottom: 36px;
}

.post-body {
  color: var(--text-mid);
}

.post-body img {
  width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--text-dark);
}

.founder-grid.founder-content-only {
  grid-template-columns: 1fr;
}

.founder-bio {
  max-width: 780px;
}

.work-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.work-card a:hover {
  text-decoration: underline;
}

.insights-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
  text-align: left;
}

.insights-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

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

  .insights-copy {
    max-width: 100%;
  }

  .insights-media {
    justify-content: stretch;
  }

  .insights-panel {
    width: 100%;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .insights-card {
    padding: 24px;
  }
}

.insights-card h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.insights-card h3 a:hover {
  text-decoration: underline;
}

.insights-card p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-list {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.blog-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.blog-card p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.read-more {
  color: var(--green-dark);
  font-weight: 600;
}

.blog-empty {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-mid);
  font-size: 16px;
  padding: 40px 0;
}

.post-section {
  padding: 80px 0;
}

.post-article {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-mid);
}

.post-article h1,
.post-article h2,
.post-article h3,
.post-article h4 {
  color: var(--text-dark);
}

.post-article h1 {
  margin-bottom: 16px;
}

.post-article p,
.post-article ul,
.post-article ol,
.post-article blockquote {
  line-height: 1.8;
  margin-bottom: 20px;
}

.post-article blockquote {
  border-left: 4px solid var(--green-dark);
  padding-left: 16px;
  color: var(--text-dark);
  font-style: italic;
}

.post-article a {
  color: var(--green-dark);
  text-decoration: none;
}

.post-article a:hover {
  text-decoration: underline;
}

.work-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

/* ---- FOUNDER ---- */
.founder {
  background: var(--white);
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 32px;
}

.founder-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.founder-photo-wrap {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-pale);
  box-shadow: 0 0 0 8px rgba(26,110,69,0.08);
  position: relative;
  background: var(--green-pale);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-initials {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--green-mid);
}

.founder-badge-wrap {
  text-align: center;
}

.founder-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(200,153,26,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  text-align: center;
}

.founder-bio h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  margin-bottom: 6px;
}

.founder-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-mid);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.founder-bio p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.highlights {
  background: var(--off-white);
  border-left: 3px solid var(--green-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlights h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.highlights ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlights li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.highlights li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 600;
}

.credentials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.credential {
  font-size: 12px;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-pale);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ---- SERVICES ---- */
.services {
  background: var(--green-dark);
  color: var(--white);
}

.services .section-heading {
  color: var(--white);
}

.services .section-sub {
  color: rgba(255,255,255,0.65);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--green-dark);
  padding: 36px 28px;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--green-mid);
}

.service-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ---- NEWSLETTER ---- */
.newsletter {
  background: var(--off-white);
}

.newsletter-card {
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 64px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.newsletter-card::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.newsletter-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.newsletter-form .form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 180px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  font-weight: 600;
  flex-shrink: 0;
}

.newsletter-form .btn-primary:hover {
  background: #b8880f;
  border-color: #b8880f;
  color: var(--white);
}

.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.form-success {
  display: none;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
}

.form-error {
  display: none;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #ffb3b3;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-intro .section-heading {
  margin-top: 0;
}

.contact-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}

.contact-detail-icon {
  font-size: 18px;
  width: 36px;
  height: 36px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-row {
  margin-bottom: 20px;
}

.contact-form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-field .req {
  color: var(--red-accent);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(26,110,69,0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.contact-submit {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  font-size: 16px;
  padding: 15px;
}

.contact-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  color: var(--green-dark);
  font-weight: 500;
  font-size: 15px;
}

.contact-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
  color: var(--red-accent);
  font-size: 14px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .contact-form-row.two-col {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 28px 20px;
  }
}

/* ---- FOOTER ---- */
.footer {
  background: #070f0b;
  padding: 48px 0;
  color: rgba(255,255,255,0.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-text {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}

.footer-logo .logo-text strong {
  color: var(--white);
}

.footer-logo-img {
  height: 30px;
  opacity: 0.85;
}

.footer-tagline {
  font-size: 14px;
  max-width: 440px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 12px;
  margin-top: 8px;
}

.footer-copy a {
  color: var(--gold);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .hero { padding: 64px 0 56px; }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .stat-divider { display: none; }

  .about-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founder-photo-col {
    flex-direction: row;
    justify-content: flex-start;
  }

  .founder-photo-wrap {
    width: 120px;
    height: 120px;
  }

  .founder-initials { font-size: 36px; }

  .newsletter-card {
    padding: 40px 28px;
  }

  .newsletter-form .form-row {
    flex-direction: column;
  }

  .newsletter-form .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* ════════════════════════════════════════════════
   RA QUIZ MODAL — all styles scoped to .raquiz-modal
   Does not affect any hispanichealthbridge.org styles
════════════════════════════════════════════════ */

.btn-launch-quiz {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: #803fc6;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
}
.btn-launch-quiz:hover,
.btn-launch-quiz:focus-visible {
  background: #66329e;
  outline: 3px solid #803fc6;
  outline-offset: 3px;
}

.raquiz-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
}
.raquiz-modal[hidden] { display: none; }

.raquiz-modal__close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 10001;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.raquiz-modal__close:hover,
.raquiz-modal__close:focus-visible {
  background: #803fc6;
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.raquiz-modal__inner {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  min-height: 400px;
  margin: 40px auto;
  overflow: hidden;
}
.raquiz-modal__body {
  padding: 0;
}

.raquiz-modal__body *,
.raquiz-modal__body *::before,
.raquiz-modal__body *::after {
  box-sizing: border-box;
}
.raquiz-modal__body img {
  max-width: 100%;
  height: auto;
  display: block;
}
.raquiz-modal__body button {
  cursor: pointer;
}

.raquiz-modal__body {
  --raq-purple: #803fc6;
  --raq-purple-hover: #66329e;
  --raq-purple-glow: #672EA6;
  --raq-correct: #39D021;
  --raq-incorrect: #fd270f;
  --raq-correct-bg: #74de63;
  --raq-incorrect-bg: #fd6757;
  --raq-text-dark: #101c2e;
  font-family: 'Sfprodisplay', 'Lato', -apple-system, sans-serif;
  color: var(--raq-text-dark);
}

.raquiz-modal__body .sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.raquiz-modal__body :focus-visible {
  outline: 3px solid var(--raq-purple);
  outline-offset: 3px;
  border-radius: 3px;
}
.raquiz-modal__body :focus:not(:focus-visible) { outline: none; }

.raquiz-modal__body .slide {
  position: relative;
  min-height: 500px;
  overflow: hidden;
}
.raquiz-modal__body .slide[hidden] { display: none; }

.raquiz-modal__body .progress-bar {
  padding: 12px 20px 4px;
  background: #f8f5fc;
}
.raquiz-modal__body .progress {
  background: #e5d8f7;
  border-radius: 4px;
  height: 8px;
}
.raquiz-modal__body .progress-count {
  background: var(--raq-purple);
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.raquiz-modal__body .progress-label {
  font-size: 13px;
  color: #555;
  margin: 4px 0 0;
  font-family: 'Lato', sans-serif;
}

.raquiz-modal__body .bg-image-left,
.raquiz-modal__body .bg-image-right {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.raquiz-modal__body .bg-image-left  { left: 0; bottom: 0; width: 30%; }
.raquiz-modal__body .bg-image-right { right: 0; top: 0; width: 30%; }

.raquiz-modal__body .content-wrapper {
  position: relative;
  z-index: 1;
  padding: 20px 40px 40px;
}
@media (max-width: 600px) {
  .raquiz-modal__body .content-wrapper { padding: 16px 20px 32px; }
}

.raquiz-modal__body .page-title-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.raquiz-modal__body .page-title {
  position: relative;
  z-index: 1;
  font-family: 'Sfprodisplay', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: var(--raq-purple);
  padding: 10px 24px;
  text-align: center;
  letter-spacing: 1px;
  border-radius: 999px;
}

.raquiz-modal__body .raquiz-lang-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.raquiz-modal__body .language-tab {
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 18px;
  background: #f7f2ff;
  color: var(--raq-text-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.raquiz-modal__body .language-tab:hover,
.raquiz-modal__body .language-tab:focus-visible,
.raquiz-modal__body .language-tab.active {
  background: var(--raq-purple);
  color: #fff;
  border-color: var(--raq-purple);
}

.raquiz-modal__body .form-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.raquiz-modal__body .question-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--raq-purple);
  line-height: 1;
  flex-shrink: 0;
}
.raquiz-modal__body .question-label {
  font-family: 'Sfprodisplay', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--raq-text-dark);
  margin: 0;
  padding-top: 8px;
  line-height: 1.3;
}
.raquiz-modal__body fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
.raquiz-modal__body legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.raquiz-modal__body [type="radio"] {
  position: absolute;
  left: -9999px;
}
.raquiz-modal__body [type="radio"] + span {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  line-height: 22px;
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--raq-text-dark);
}
.raquiz-modal__body [type="radio"] + span::before {
  content: '';
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border: 2px solid #aaa;
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s;
}
.raquiz-modal__body [type="radio"]:checked + span::before {
  border-color: var(--raq-correct);
}
.raquiz-modal__body [type="radio"]:checked + span::after {
  content: '';
  position: absolute;
  left: 5px; top: 6px;
  width: 10px; height: 10px;
  background: var(--raq-correct);
  border-radius: 50%;
}
.raquiz-modal__body .is-incorrect [type="radio"]:checked + span::before {
  border-color: var(--raq-incorrect);
}
.raquiz-modal__body .is-incorrect [type="radio"]:checked + span::after {
  background: var(--raq-incorrect);
}
.raquiz-modal__body .radio-button-field {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
  clear: both;
}
.raquiz-modal__body .radio-button-field:hover {
  background: #faf7ff;
}
.raquiz-modal__body .radio-button-field.is-selected {
  border-color: rgba(122, 84, 209, 0.5);
  background: #f7f3ff;
}
.raquiz-modal__body .radio-button-field.is-correct {
  border-color: var(--raq-correct);
  background: #f0fff0;
}
.raquiz-modal__body .radio-button-field.is-incorrect {
  border-color: var(--raq-incorrect);
  background: #fff5f5;
}

.raquiz-modal__body .check-ans {
  display: block;
  margin: 8px 0 0 32px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
}

.raquiz-modal__body .site-btn {
  background: var(--raq-purple);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Sfprodisplay', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: inset 0 1px 12px 2px var(--raq-purple-glow), 0 2px 8px -2px rgba(0,0,0,0.4);
  transition: background 0.2s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 16px;
}
.raquiz-modal__body .site-btn:hover,
.raquiz-modal__body .site-btn:focus-visible {
  background: var(--raq-purple-hover);
}
.raquiz-modal__body .site-btn[disabled],
.raquiz-modal__body .site-btn[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
  box-shadow: none;
}
.raquiz-modal__body .next-slide {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.raquiz-modal__body .video-wrapper {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 24px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.raquiz-modal__body .video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.raquiz-modal__body .message-body {
  background: #f9f7fc;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.raquiz-modal__body .message-body h2,
.raquiz-modal__body .heading-7 {
  font-family: 'Sfprodisplay', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--raq-purple);
  margin: 0 0 12px;
}
.raquiz-modal__body .message-body p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 10px;
}

.raquiz-modal__body .completion-screen {
  padding: 32px 40px;
}
.raquiz-modal__body .completion-screen h2 {
  font-family: 'Sfprodisplay', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--raq-purple);
  margin: 16px 0 12px;
}
.raquiz-modal__body .completion-summary {
  min-height: 120px;
  margin-bottom: 18px;
}
.raquiz-modal__body .result-count {
  margin-bottom: 16px;
}
.raquiz-modal__body .result-count .heading-8 {
  margin-bottom: 8px;
}
.raquiz-modal__body .result-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.raquiz-modal__body .result-breakdown p {
  margin: 0;
  font-weight: 700;
}
.raquiz-modal__body .completion-screen .email-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.raquiz-modal__body .email-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.raquiz-modal__body .email-form .field {
  display: grid;
  gap: 8px;
}
.raquiz-modal__body .email-form label {
  font-size: 14px;
  font-weight: 700;
  color: #3f3a4f;
}
.raquiz-modal__body .email-form input[type="text"],
.raquiz-modal__body .email-form input[type="email"] {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
  font-family: 'Lato', sans-serif;
  background: #fff;
}
.raquiz-modal__body .email-form input[type="text"]:focus,
.raquiz-modal__body .email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--raq-purple);
  box-shadow: 0 0 0 3px rgba(150, 124, 227, 0.14);
}
.raquiz-modal__body .email-form .site-btn--wide {
  width: 100%;
  justify-self: stretch;
  margin-top: 6px;
}
.raquiz-modal__body .quiz-disclaimer {
  color: #5e586f;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.raquiz-modal__body .btn-back-to-results {
  background: #fff;
  border: 1px solid #bbb;
  color: #2f2a40;
  box-shadow: none;
}
.raquiz-modal__body .btn-back-to-results:hover,
.raquiz-modal__body .btn-back-to-results:focus-visible {
  background: #faf8ff;
  border-color: #9f8de6;
}
.raquiz-modal__body .form-success {
  color: #2e7d32;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  margin-top: 12px;
}
.raquiz-modal__body .field-error {
  color: #c62828;
  font-size: 13px;
  display: block;
  margin-top: 4px;
  font-family: 'Lato', sans-serif;
}

.raquiz-modal__body .heading-8 {
  font-family: 'Sfprodisplay', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--raq-text-dark);
  margin: 0 0 16px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .raquiz-modal__body *,
  .raquiz-modal__body *::before,
  .raquiz-modal__body *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 600px) {
  .raquiz-modal { padding: 0; }
  .raquiz-modal__inner { border-radius: 0; margin: 0; min-height: 100vh; }
  .raquiz-modal__close { top: 8px; right: 10px; }
  .raquiz-modal__body .question-number { font-size: 36px; }
  .raquiz-modal__body .question-label { font-size: 17px; }
  .raquiz-modal__body .site-btn { width: 100%; text-align: center; }
  .raquiz-modal__body .next-slide { justify-content: center; }
}
