@charset "UTF-8";
/* CSS Document */

:root {
--primary:   #129190;
--primary-dk:#096463;
--primary-lt:#71bdbc;
--secondary: #653584;
--sec-dk:    #3d1755;
--sec-lt:    #a386b5;
--accent1:   #ffc80b;
--accent1-lt:#ffde6d;
--accent2:   #ef4423;
--accent3:   #f89b1c;
--page:      #f9f9f9;
--text:      #383838;
--muted:     #666666;
--border:    #dde6f0;
--white:     #ffffff;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: var(--page);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}
/* TITLE FONT */
h1, h2, h3, h4, .site-title {
    font-family: 'DM Serif Display', serif;
}
/* ── FLOATING EXIT BUTTON ── */
.exit-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--secondary);
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 18px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px 0 0 6px;
    box-shadow: -3px 0 14px rgba(0,0,0,0.22);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.exit-btn:hover {
    background: var(--sec-dk);
    color: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.32);
}
.exit-btn .exit-icon {
    writing-mode: horizontal-tb;
    font-size: 13px;
}
/* ── FLOATING RECITE ME BUTTON ── */
.recite-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: var(--primary);
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 18px 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    box-shadow: 3px 0 14px rgba(0,0,0,0.22);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.recite-btn:hover {
    background: var(--primary-dk);
    color: #fff;
    box-shadow: 5px 0 20px rgba(0,0,0,0.32);
}
.recite-btn .recite-icon {
    writing-mode: horizontal-tb;
    font-size: 13px;
}
/* ── EMERGENCY BAR ── */
.emergency-bar {
    background: var(--accent1);
    color: var(--primary-dk);
    text-align: center;
    padding: 10px 60px 10px 20px;
    font-size: 16px;
    font-weight: 600;
}
.emergency-bar a {
    color: var(--primary-dk);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.emergency-bar a:hover {
    color: var(--primary);
}
/* ── HEADER ── */
.site-header {
    background: var(--primary-dk);
    padding: 18px 40px;
}
.site-header-sane {
    background: var(--sec-dk);
    padding: 18px 40px;
}
.site-title {
    color: #fff;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}
.site-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255,0.72);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 3px;
}
/* ── NAVBAR ── */
.site-nav {
    background: var(--primary);
    display: flex;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.site-nav-sane {
    background: var(--secondary);
    display: flex;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 15px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.18s;
    white-space: nowrap;
}
.nav-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.nav-btn.active {
    color: #fff;
    border-bottom-color: var(--accent1);
    background: rgba(255,255,255,0.1);
}
/* ── PAGES ── */
.page {
    display: none;
}
.page.active {
    display: block;
}
/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 55%, #7a45a0 100%);
    color: #fff;
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-sane {
    background: linear-gradient(135deg, var(--sec-dk) 0%, var(--secondary) 55%, #7a45a0 100%);
    color: #fff;
    padding: 72px 40px;
    text-align: center;
    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%3Ccircle cx='30' cy='30' r='1.5' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}
.hero p {
    font-size: 17px;
    opacity: 0.92;
    line-height: 1.6;
    margin-bottom: 30px;
}
.btn-rcc {
    background: var(--accent1);
    color: var(--primary-dk);
    border: none;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    padding: 12px 26px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    cursor: pointer;
}
.btn-rcc:hover {
    background: #8bb855;
    color: var(--primary-dk);
}
.btn-rcc-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.55);
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    padding: 11px 26px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    cursor: pointer;
}
.btn-rcc-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}
/* ── PAGE HEADER BAR ── */
.page-header {
    background: var(--primary-dk);
    color: #fff;
    padding: 36px 40px;
}
.page-header-sane {
    background: var(--sec-dk);
    color: #fff;
    padding: 36px 40px;
}
.ph-inner {
    max-width: 980px;
    margin: 0 auto;
}
.breadcrumb-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 6px;
    font-family: 'Open Sans', sans-serif;
}
.page-header h1 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}



/* ── CONTENT WRAP ── */
.content-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 40px;
}
/* ── SECTION LABELS ── */
.section-label {
    display: inline-block;
    background: var(--primary-lt);
    color: var(--primary-dk);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}
.section-label-sane {
    display: inline-block;
    background: var(--sec-lt);
    color: var(--sec-dk);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 10px;
    font-family: 'Open Sans', sans-serif;
}
h2.section-title {
    font-size: 28px;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.25;
}
h3.sub-title {
    font-size: 21px;
    color: var(--primary-dk);
    margin: 28px 0 10px;
}
/* ── CALLOUT BOXES ── */
.callout {
    background: var(--sec-lt);
    border-left: 4px solid var(--secondary);
    padding: 20px 24px;
    border-radius: 0 6px 6px 0;
    margin: 22px 0;
}
.callout.warm {
    background: var(--accent1-lt);
    border-left-color: var(--accent1);
}
.callout.accent2 {
    background: #e6edf7;
    border-left-color: var(--accent2);
}
.callout h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    color: var(--accent1-lt);
    margin-bottom: 6px;
}
.callout.warm h4 {
    color: var(--primary-dk);
}
.callout.accent2 h4 {
    color: var(--accent2);
}
.callout p {
    font-size: 15px;
    margin: 0;
}
/* ── CARDS ── */
.rcc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
    border-top: 4px solid var(--secondary);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}
.rcc-card:hover {
    box-shadow: 0 6px 24px rgba(99,52,130,0.1);
    transform: translateY(-2px);
}
.rcc-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    color: var(--primary-dk);
    margin-bottom: 10px;
}
.rcc-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.rcc-card .card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent1);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}
.rcc-card .card-link:hover {
    color: var(--accent1);

}
.rcc-card.hotline-card {
    border-top-color: var(--primary);
}
/* Cards wrapped in a link (e.g. clickable service cards) need the
   anchor itself to stretch, or height:100% on the card inside has
   nothing definite to size against and the row's cards end up
   uneven heights. */
.rcc-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
}
/* Sticky sidebar cards (e.g. a "Get Help Now" callout beside a long
   list of stacked cards) shouldn't stretch to match the much taller
   sibling column via .rcc-card's height:100% — that turns a compact
   sticky card into an oversized box with empty space at the bottom.
   Use alongside .rcc-card to keep it sized to its own content. */
.rcc-card-sidebar {
    height: auto;
    position: sticky;
    top: 20px;
}
/* Cards stacked vertically in a column (rather than side-by-side in
   a row) shouldn't inherit .rcc-card's height:100% — when that
   column is a stretched flex item paired with a taller sibling
   (e.g. a sticky sidebar), height:100% makes EACH stacked card try
   to fill the whole column individually, not just the group. */
.rcc-card-stack {
    height: auto;
}
/* Purple-tinted card variant (sidebar callouts, donation card, etc.)
   — pairs with .rcc-card. The default .rcc-card p color
   (var(--muted), #666) only reaches 1.8:1 contrast against this
   background — far under WCAG AA's 4.5:1 minimum for normal text.
   NOTE: white text (#fff) against --sec-lt only reaches ~2.6:1,
   which fails WCAG AA for normal-size text — worth a look if this
   card carries crisis-line phone numbers. */
.rcc-card-tint {
    background: var(--sec-lt);
}
.rcc-card-tint p {
    color: #fff;
}
.rcc-card-tint a {
    color: var(--secondary);
}
.rcc-card-tint a:hover {
    color: var(--accent1);
}
.rcc-card-p-wht {
    color: #fff;
}
/* ── STAFF PROFILE CARD ── */
.staff-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
    border-top: 4px solid var(--secondary);
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}
.staff-card:hover {
    box-shadow: 0 6px 24px rgba(99,52,130,0.1);
    transform: translateY(-2px);
}
.staff-card-img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid var(--sec-lt);
    object-fit: cover;
}
/* Placeholder avatar for staff cards that don't have a photo yet —
   same footprint as .staff-card-img so it can be swapped for a real
   <img class="staff-card-img"> later without touching layout. */
.staff-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid var(--sec-lt);
    background: var(--page);
    color: var(--sec-lt);
    font-size: 40px;
}
.staff-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.staff-card-name {
    font-family: 'DM Serif Display', serif;
    font-size: 21px;
    color: var(--primary-dk);
    margin: 0;
}
.rcc-resource-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 26px;
    border-top: 8px solid var(--accent1);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}
.rcc-resource-card:hover {
    box-shadow: 0 6px 24px rgba(99,52,130,0.1);
    transform: translateY(-2px);
}
.rcc-resource-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    color: var(--primary-dk);
    margin-bottom: 10px;
}
.rcc-resource-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.rcc-resource-card .card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}
.rcc-resource-card .card-link:hover {
    color: var(--sec-dk);
    text-decoration: underline;
}
.rcc-resource-card.hotline-card {
    border-top-color: var(--primary);
}
/* ── STAT BOXES ── */
.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px 14px;
    text-align: center;
}
.stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.4;
}
/* ── TABS ── */
.rcc-tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.rcc-tab-btn {
    background: none;
    border: none;
    padding: 10px 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.18s;
}
.rcc-tab-btn:hover {
    color: var(--primary);
}
.rcc-tab-btn.active {
    color: var(--primary);
	background: #ececec;
    border-bottom-color: var(--primary);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
/* ── FAQ ── */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.faq-q {
    font-weight: 700;
    color: var(--primary-dk);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.faq-icon {
    color: var(--primary);
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 3px;
    transition: transform 0.2s;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-a {
    display: none;
    padding-top: 10px;
    color: var(--muted);
    font-size: 15px;
}
.faq-item.open .faq-a {
    display: block;
}
/* ── PARTNER LINKS ── */
.partner-group h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    color: var(--primary);
    font-weight: 700;
    margin: 20px 0 7px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
}
.partner-group a {
    display: block;
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    padding: 2px 0;
}
.partner-group a:hover {
    color: var(--sec-dk);
    text-decoration: underline;
}
/* ── RESOURCE DIRECTORY LIST ITEMS ── */
/* Compact rows for org directories (name/link, phone, service tags) —
   used inside .tab-panel on the Resources page. Lighter than
   .rcc-card so a long list of orgs doesn't turn into a wall of boxes. */
.resource-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.resource-item:last-child {
    border-bottom: none;
}
.resource-item-name {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    margin-bottom: 3px;
}
.resource-item-name a {
    color: var(--secondary);
    text-decoration: none;
}
.resource-item-name a:hover {
    color: var(--accent1);
}
.resource-item-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 3px;
}
.resource-item-meta a {
    color: var(--muted);
    text-decoration: none;
}
.resource-item-meta a:hover {
    color: var(--secondary);
    text-decoration: underline;
}
.resource-item-tags {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}
/* ── LISTS ── */
ul.styled {
    padding-left: 22px;
}
ul.styled li {
    margin-bottom: 7px;
}
/* ── BLOCKQUOTE ── */
blockquote {
    border-left: 4px solid var(--accent3);
    margin: 22px 0;
    padding: 14px 22px;
    color: var(--muted);
    font-style: italic;
    font-size: 15px;
    background: #fff;
    border-radius: 0 6px 6px 0;
}
blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent2);
}
/* ── STEPS ── */
.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.step-num {
    background: var(--secondary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.step-number {
    background: var(--sec-lt);
    color: var(--sec-dk);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}
.step-body h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    font-size: 15px;
}
.step-body p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
/* ── HOTLINE STRIPE ── */
.hotline-stripe {
    background: linear-gradient(90deg, var(--primary-dk), var(--primary));
    color: #fff;
    text-align: center;
    padding: 36px 40px;
}
.hotline-stripe h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 6px;
}
.hotline-stripe .num {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    letter-spacing: 2px;
    margin: 6px 0;
}
.hotline-stripe p {
    font-size: 14px;
    opacity: 0.88;
    margin: 0;
}
/* ── Resources/Volunteer/Donate Cards ── */
.resource-cards {
    background: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 36px 40px;
}
.resource-cards h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 6px;
}
.resource-cards p {
    font-size: 14px;
    opacity: 0.88;
    margin: 0;
}
/* ── FOOTER ── */
.site-footer {
    background: #1e1428;
    color: rgba(255,255,255,0.6);
    padding: 48px 40px 28px;
    font-size: 14px;
}
.site-footer h4 {
    font-family: 'DM Serif Display', serif;
    color: #fff;
    font-size: 17px;
    margin-bottom: 14px;
    font-weight: 400;
}
.site-footer a {
    color: rgba(255,255,255,0.52);
    text-decoration: none;
    display: block;
    margin-bottom: 7px;
}
.site-footer a:hover {
    color: var(--accent1);
}
.footer-copy {
    text-align: center;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    opacity: 0.42;
}

@media (max-width: 767px) {
.site-header {
    padding: 14px 16px;
}
.site-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
}
.hero {
    padding: 48px 20px;
}
.hero h1 {
    font-size: 26px;
}
.page-header {
    padding: 26px 20px;
}
.content-wrap {
    padding: 30px 18px;
}
.exit-btn {
    top: auto;
    bottom: 80px;
    transform: none;
}
.recite-btn {
    top: auto;
    bottom: 80px;
    transform: none;
}
.site-footer {
    padding: 30px 18px 20px;
}
.hotline-stripe {
    padding: 28px 20px;
}
.emergency-bar {
    padding: 15px 60px 15px 16px;
}
}
/* ── LOGO ── */
.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.92;
    filter: brightness(0) invert(1);
}
.footer-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    opacity: 0.7;

    margin-bottom: 10px;
}
/* ── PAGE TRANSITION OVERLAY ── */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 8888;
    pointer-events: none;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
}
/* ── CARD ANIMATION ── */
.rcc-card {
    opacity: 1;
}
/* ── STAT BOX ANIMATION ── */
.stat-num {
    transition: color 0.3s;
}
/* ══════════════════════════════════════════════════════════
   NEW ADDITIONS — Parallax, Textures, Resource Card Images,
   Contact Form
   ══════════════════════════════════════════════════════════ */

/* ── HERO PARALLAX ────────────────────────────────────────── */
.hero-parallax {
    position: relative;
    overflow: hidden;
    /* Remove the solid gradient — parallax bg takes over */
    background: var(--primary-dk);
}
.hero-parallax-bg {
    position: absolute;
    inset: -30% 0;          /* taller than container so parallax has room */
    background-image: url('../img/yellow-flowers2.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}
.hero-parallax-bg-sane {
    position: absolute;
    inset: -30% 0;          /* taller than container so parallax has room */
    background-image: url('../img/sandias2.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}
/* Overlay: gradient on top of photo so text stays readable */
.hero-parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 37, 97, 0.82) 0%,
        rgba(99, 52, 130, 0.75) 55%,
        rgba(122, 69, 160, 0.70) 100%
    );
    z-index: 1;
    pointer-events: none;
}
/* The dot pattern from original ::before — keep it on top */
.hero-parallax::before {
    z-index: 2;
}
/* Hero content above all layers */
.hero-parallax .hero-content {
    position: relative;
    z-index: 3;
}

/* ── RESOURCE CARDS PARALLAX ─────────────────────────────── */
.resource-cards-parallax {
    position: relative;
    overflow: hidden;
}
.resource-cards-bg {
    position: absolute;
    inset: -30% 0;
    background-image: url('../img/rcc2.jpg');
    /* Sandia Mountains — dramatic SW landscape */
    background-size: cover;
    background-position: center 40%;
    will-change: transform;
    z-index: 0;
    opacity: 0.90;   
}
/* Dark overlay behind cards so they remain readable */
.resource-cards-parallax::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 143, 142, 0.72);   /* secondary color tint */
    z-index: 1;
    pointer-events: none;
}

/* ── RESOURCE CARD IMAGES ────────────────────────────────── */
.resource-card-img-wrap {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 6px;
    margin-left: -0px;
}
.resource-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.rcc-resource-card:hover .resource-card-img {
    transform: scale(1.05);
}
/* Placeholder for resource/news cards that don't have a photo yet —
   same footprint as .resource-card-img-wrap so a real
   <img class="resource-card-img"> can drop in later without
   touching layout. */
.resource-card-img-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--page);
    border: 1px solid var(--border);
    color: var(--sec-lt);
    font-size: 40px;
}

/* ── HOTLINE STRIPE TEXTURE ──────────────────────────────── */
.hotline-stripe-textured {
    position: relative;
    overflow: hidden;
}
.hotline-stripe-textured::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Noise/grain SVG texture at 30% opacity */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: 0.30;          /* 30% as specified */
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}
.hotline-stripe-textured > * {
    position: relative;
    z-index: 1;
}

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 36px 40px;
    border-top: 5px solid var(--primary);
}

/* Field wrapper */
.cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Label */
.cf-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2px;
}
.cf-required {
    color: var(--primary);
    margin-left: 2px;
}

/* Input / Select / Textarea */
.cf-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--page);
    transition: border-color 0.18s, box-shadow 0.18s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.cf-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 52, 130, 0.12);
    background: #fff;
}
.cf-input::placeholder { color: #aaa; }

/* Select arrow */
.cf-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='%23633482' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

/* Textarea */
.cf-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error state */
.cf-input-error {
    border-color: #c0392b !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
}
.cf-error {
    font-size: 12px;
    color: #c0392b;
    font-weight: 600;
    display: none;
}
.cf-error.visible { display: block; }

/* Privacy note */
.cf-privacy {
    font-size: 12px;
    color: var(--muted);
    background: var(--primary-lt);
    border-radius: 4px;
    padding: 10px 14px;
    line-height: 1.5;
}

/* Submit button */
.cf-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 13px 32px;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
}
.cf-submit-btn:hover:not(:disabled) {
    background: var(--primary-dk);
    box-shadow: 0 4px 16px rgba(99,52,130,0.28);
}
.cf-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Alert messages */
.contact-alert {
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.contact-alert-success {
    background: #eaf7ec;
    border: 1px solid #7bc47f;
    color: #2d6a30;
}
.contact-alert-error {
    background: #fdf0ef;
    border: 1px solid #e0837e;
    color: #8b2a25;
}

@media (max-width: 767px) {
    .contact-form-wrap {
        padding: 24px 18px;
    }
    .hero-parallax-bg,
    .resource-cards-bg {
        inset: -20% 0;
    }
}

/* ══════════════════════════════════════════════════════════
   NAV — Centered desktop + Mobile hamburger drawer
   ══════════════════════════════════════════════════════════ */

/* ── DESKTOP NAV: centered ─────────────────────────────── */
.site-nav {
    /* Override previous flex-wrap; use centered layout */
    justify-content: center;
}
.nav-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* ── MOBILE BAR: hidden on desktop ─────────────────────── */
.nav-mobile-bar { display: none; }

/* ── HAMBURGER BUTTON ───────────────────────────────────── */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: background 0.18s;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.12); }

.ham-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.18s ease, width 0.28s ease;
    transform-origin: center;
}
/* Animate to X when open */
.hamburger-btn.is-open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.is-open .ham-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger-btn.is-open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY ─────────────────────────────────────── */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9100;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-nav-overlay.visible {
    display: block;
    opacity: 1;
}

/* ── SLIDE-OUT DRAWER ───────────────────────────────────── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100dvh;
    background: var(--primary-dk);
    z-index: 9200;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.35);
    overflow-y: auto;
}
.mobile-nav-drawer.open { transform: translateX(0); }

/* Drawer header row */
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.mobile-nav-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.mobile-nav-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Drawer nav links */
.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}
.mobile-nav-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 14px 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    letter-spacing: 0.2px;
}
.mobile-nav-btn:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}
.mobile-nav-btn.active {
    color: #fff;
    border-left-color: var(--accent1);
    background: rgba(255,255,255,0.1);
}

/* Drawer footer — hotline */
.mobile-nav-footer {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 24px 24px;
    flex-shrink: 0;
}
.mobile-nav-hotline {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--accent1);
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    transition: color 0.18s;
}
.mobile-nav-hotline:hover { color: #fff; }
.mobile-nav-hotline-label {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── RESPONSIVE BREAKPOINT ──────────────────────────────── */
@media (max-width: 767px) {
    /* Hide desktop nav, show mobile bar */
    .nav-desktop   { display: none; }
    .nav-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 16px;
        min-height: 48px;
    }
    .nav-mobile-label {
        font-family: 'Open Sans', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255,255,255,0.7);
    }
}

/* ── DROPDOWN NAVIGATION ── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 240px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 0 0 6px 6px;
    z-index: 1100;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.15s;
}
/* Round the last visible item's own corners to match the menu shape —
   the menu itself can no longer use overflow:hidden to do this,
   since that would also clip a nested .dropdown-submenu-menu flyout. */
.dropdown-menu > a:last-child,
.dropdown-menu > .dropdown-submenu:last-child .dropdown-submenu-toggle {
    border-radius: 0 0 6px 6px;
}
.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left-color: var(--accent1);
}
.dropdown-item.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-left-color: var(--accent1);
}

/* ── NESTED DROPDOWN SUBMENU (e.g. Resources → its 3 pages) ── */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dropdown-submenu-caret {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.15s;
    margin-left: 8px;
}
.dropdown-submenu-toggle[aria-expanded="true"] .dropdown-submenu-caret {
    transform: rotate(90deg);
}
.dropdown-submenu-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 2px;
    min-width: 260px;
    background: var(--primary-dk);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-radius: 6px;
    z-index: 1200;
}
.dropdown-submenu-menu.show {
    display: block;
}
.dropdown-submenu-menu .dropdown-item {
    font-size: 12.5px;
}
.dropdown-submenu-menu .dropdown-item:first-child {
    border-radius: 6px 6px 0 0;
}
.dropdown-submenu-menu .dropdown-item:last-child {
    border-radius: 0 0 6px 6px;
}

/* ── MOBILE NAV SUBLINKS ── */
.mobile-nav-section {
    display: flex;
    flex-direction: column;
}
.mobile-nav-sublink {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 24px 10px 44px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.18s;
    letter-spacing: 0.2px;
    text-decoration: none;
    display: block;
}
.mobile-nav-sublink:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.9);
}
.mobile-nav-sublink.active {
    color: #fff;
    border-left-color: var(--accent1);
    background: rgba(255,255,255,0.08);
}
/* Grandchild level — e.g. the two pages nested under Resources within
   the SANE section. Same link, just indented further to show it
   belongs under the sublink directly above it. */
.mobile-nav-sublink-child {
    padding-left: 64px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.6);
}
