/* ============================================================
   MÉSZ – Minden Élet Számít | main.css
   2026 UI Overhaul
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* Brand colors */
    --color-green:          #2f5d34;
    --color-green-dark:     #1f4024;
    --color-green-mid:      #3c7440;
    --color-green-light:    #eaf3eb;
    --color-green-tint:     rgba(47, 93, 52, 0.07);
    --color-burgundy:       #8b1e3f;
    --color-burgundy-dark:  #66152d;
    --color-burgundy-light: #fdf0f4;
    --color-burgundy-tint:  rgba(139, 30, 63, 0.08);

    /* Neutrals */
    --color-cream:      #f7f4ee;
    --color-cream-warm: #fefcf7;
    --color-beige:      #f0ebe0;
    --color-white:      #ffffff;
    --color-text:       #1a1a1a;
    --color-text-soft:  #3a3a3a;
    --color-muted:      #6b6b6b;
    --color-muted-2:    #9a9a9a;
    --color-border:     rgba(47, 93, 52, 0.11);
    --color-border-2:   rgba(31, 31, 31, 0.08);

    /* Shadows */
    --shadow-xs:    0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-soft:  0 8px 32px rgba(0, 0, 0, 0.07);
    --shadow-card:  0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.10);
    --shadow-float: 0 24px 64px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 24px rgba(47, 93, 52, 0.20);

    /* Radii */
    --radius-xs:  8px;
    --radius-sm:  14px;
    --radius-md:  20px;
    --radius-lg:  28px;
    --radius-xl:  40px;
    --radius-2xl: 56px;

    /* Typography */
    --font-display: "Georgia", "Times New Roman", serif;
    --font-heading: "Franklin Gothic Medium", "Arial Narrow", "Arial", sans-serif;
    --font-body:    "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    --font-ui:      system-ui, -apple-system, sans-serif;

    /* Spacing */
    --section-gap:     4.5rem;
    --section-gap-sm:  2.5rem;
    --container-width: 1200px;

    /* Motion */
    --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast:        120ms ease;
    --t-base:        200ms ease;
    --t-slow:        340ms var(--ease-out);
    --transition-base: 200ms ease;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    background-color: var(--color-cream-warm);
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(139, 30, 63, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 8%, rgba(47, 93, 52, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 100%, rgba(47, 93, 52, 0.03) 0%, transparent 60%);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

.responsive-picture,
.responsive-picture__img {
    display: block;
    width: 100%;
}

.responsive-picture__img {
    height: 100%;
}

.image-frame {
    position: relative;
    overflow: hidden;
    background: var(--color-beige);
}

.image-frame .responsive-picture,
.image-frame picture,
.image-frame img,
.image-frame .responsive-picture__img {
    display: block;
    width: 100%;
    height: 100%;
}

.image-frame img,
.image-frame .responsive-picture__img {
    object-fit: cover;
    object-position: center;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.15;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.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;
}


/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
    width: min(var(--container-width), calc(100% - 2.5rem));
    margin: 0 auto;
}

.page-section {
    padding: var(--section-gap) 0;
}

.page-section--sm {
    padding: var(--section-gap-sm) 0;
}

.page-section--flush {
    padding-top: 0;
}

.site-main {
    padding-bottom: 1rem;
}

.page-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 5% 25%, rgba(255, 255, 255, 0.85), transparent 20%),
        radial-gradient(circle at 95% 80%, rgba(255, 255, 255, 0.4), transparent 18%);
}


/* ============================================================
   4. SITE MESSAGES
   ============================================================ */
.site-messages {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem auto 0;
}

.site-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
    font-weight: 700;
}

.site-message--success {
    color: var(--color-green-dark);
    background: var(--color-green-light);
}

.site-message--error {
    color: var(--color-burgundy);
    background: var(--color-burgundy-light);
}

.site-message--warning {
    color: #7c5600;
    background: rgba(221, 169, 63, 0.14);
}


/* ============================================================
   5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.6rem 0.6rem 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo-picture {
    display: block;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-logo-picture .responsive-picture__img {
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--color-burgundy);
}

.brand-copy span:last-child {
    max-width: 10rem;
    color: var(--color-green-dark);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* Nav panel */
.nav-panel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    padding: 0.55rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-text-soft);
    transition: color var(--t-base), background-color var(--t-base);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.25rem;
    width: 4px;
    height: 4px;
    background: var(--color-green);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(-50%) scale(0);
    transition: opacity var(--t-base), transform var(--t-base);
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--color-green-dark);
    background: var(--color-green-tint);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Nav CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-dark));
    color: var(--color-white) !important;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform var(--t-base), box-shadow var(--t-base);
    flex-shrink: 0;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 30, 63, 0.3);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0.75rem;
    border: 0;
    border-radius: 50%;
    background: var(--color-green-tint);
    cursor: pointer;
    transition: background-color var(--t-base);
}

.nav-toggle:hover { background: rgba(47, 93, 52, 0.14); }

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-green-dark);
    border-radius: 999px;
    transition: transform var(--t-base), opacity var(--t-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ============================================================
   6. TYPOGRAPHY SYSTEM
   ============================================================ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    color: var(--color-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    flex-shrink: 0;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.75); }
.eyebrow-light::before { background: rgba(255, 255, 255, 0.5); }

.hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 6.5vw, 6rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--color-text);
}

.hero-text,
.section-text {
    max-width: 44rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-soft);
}

.hero-text {
    font-size: 1.18rem;
    color: rgba(26, 26, 26, 0.78);
}

.accent-green     { color: var(--color-green); }
.accent-burgundy  { color: var(--color-burgundy); }

.section-heading.center,
.section-action.center {
    text-align: center;
}

.section-action { margin-top: 2.5rem; }


/* ============================================================
   7. BUTTON SYSTEM
   ============================================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 52px;
    padding: 0.85rem 1.75rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform var(--t-base),
        box-shadow var(--t-base),
        background-color var(--t-base),
        border-color var(--t-base),
        color var(--t-base);
    -webkit-tap-highlight-color: transparent;
}

.button:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 3px;
}

.button:hover {
    transform: translateY(-2px);
}

.button-green {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-mid) 100%);
    color: var(--color-white);
}

.button-green:hover {
    box-shadow: var(--shadow-green);
}

.button-burgundy {
    background: linear-gradient(135deg, var(--color-burgundy) 0%, #9e2248 100%);
    color: var(--color-white);
}

.button-burgundy:hover {
    box-shadow: 0 8px 24px rgba(139, 30, 63, 0.28);
}

.button-outline {
    border-color: rgba(47, 93, 52, 0.3);
    color: var(--color-green-dark);
    background: transparent;
}

.button-outline:hover {
    background: var(--color-green-tint);
    border-color: rgba(47, 93, 52, 0.5);
}

.button-white {
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-burgundy);
    border-color: rgba(255, 255, 255, 0.5);
}

.button-white:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.button-sm {
    min-height: 40px;
    padding: 0.55rem 1.2rem;
    font-size: 0.88rem;
}

.button-lg {
    min-height: 60px;
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-copy .hero-text {
    margin: 1.4rem 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.25rem;
}

/* Hero media */
.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36rem;
}

.hero-image-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 46rem);
    aspect-ratio: 1 / 0.88;
    overflow: hidden;
    border-radius: 46% 54% 60% 40% / 38% 44% 56% 62%;
    box-shadow: var(--shadow-float), 0 0 0 8px rgba(255,255,255,0.6);
    transition: border-radius var(--t-slow);
    background: var(--color-green-light);
}

.hero-image-shell:hover {
    border-radius: 52% 48% 48% 52% / 46% 54% 46% 54%;
}

.hero-image,
.section-image,
.responsive-picture__img,
.content-card__image img,
.detail-media img,
.detail-media-wide img,
.news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-shell .responsive-picture,
.about-image-shell .responsive-picture,
.content-card__image .responsive-picture,
.detail-media .responsive-picture,
.detail-media-wide .responsive-picture,
.footer-brand-mark .responsive-picture,
.donation-cta__media .responsive-picture {
    width: 100%;
    height: 100%;
}

/* Hero decorative blobs */
.hero-shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
}

.hero-shape-green {
    right: -2rem;
    top: 2rem;
    width: 11rem;
    height: 14rem;
    background: linear-gradient(160deg, rgba(47, 93, 52, 0.85), rgba(47, 93, 52, 0.2));
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    filter: blur(2px);
    z-index: 1;
}

.hero-shape-burgundy {
    right: 1rem;
    bottom: -1.5rem;
    width: 14rem;
    height: 11rem;
    background: linear-gradient(160deg, rgba(139, 30, 63, 0.8), rgba(139, 30, 63, 0.2));
    border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%;
    filter: blur(2px);
    z-index: 1;
}

/* Hero floating stat card */
.hero-float-card {
    position: absolute;
    bottom: 2rem;
    left: -1.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    min-width: 14rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.hero-float-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-green-light);
    flex-shrink: 0;
}

.hero-float-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-green);
    fill: none;
    stroke-width: 2;
}

.hero-float-card__text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.hero-float-card__text span {
    font-size: 0.82rem;
    color: var(--color-muted);
}

/* Hero line art */
.hero-line-art {
    position: absolute;
    left: -1.5rem;
    bottom: 3rem;
    width: min(44%, 13rem);
    fill: none;
    stroke: rgba(47, 93, 52, 0.55);
    stroke-width: 1.2;
    z-index: 1;
    pointer-events: none;
}


/* ============================================================
   9. VALUES STRIP
   ============================================================ */
.values-section {
    padding: 0 0 3rem;
}

.values-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.value-card {
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: background-color var(--t-base);
}

.value-card:hover {
    background: var(--color-green-tint);
}

.value-card + .value-card {
    border-left: 1px solid var(--color-border);
}

.value-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--color-green-light);
    transition: background-color var(--t-base), transform var(--t-base);
}

.value-card:hover .value-icon {
    background: rgba(47, 93, 52, 0.15);
    transform: scale(1.05);
}

.value-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--color-green);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h2 {
    margin: 0 0 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
}

.value-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.5;
}


/* ============================================================
   10. ABOUT / SPLIT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.about-media {
    position: relative;
}

.about-accent {
    position: absolute;
    left: -1.25rem;
    top: 1.5rem;
    width: 15rem;
    height: 19rem;
    background: linear-gradient(170deg, rgba(139, 30, 63, 0.85), rgba(139, 30, 63, 0.15));
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    filter: blur(2px);
    pointer-events: none;
}

.about-image-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 6;
    min-height: 30rem;
    overflow: hidden;
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    box-shadow: var(--shadow-float), 0 0 0 8px rgba(255,255,255,0.55);
    background: var(--color-green-light);
    transition: border-radius var(--t-slow);
}

.about-image-shell:hover {
    border-radius: 50% 50% 48% 52% / 52% 48% 52% 48%;
}

.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }

.about-copy .section-text { margin: 0.75rem 0 1.5rem; }


/* ============================================================
   11. NEWS CARDS
   ============================================================ */
.news-section { padding-bottom: 2rem; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.news-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--t-base), box-shadow var(--t-base);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card__thumb {
    display: block;
    height: 16rem;
    overflow: hidden;
    background: var(--color-beige);
}

.news-card__thumb .responsive-picture {
    width: 100%;
    height: 100%;
    transition: transform var(--t-slow);
}

.news-card:hover .news-card__thumb .responsive-picture {
    transform: scale(1.04);
}

.news-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
}

.news-card__content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--color-text);
}

.news-card__content h3 a {
    color: inherit;
    transition: color var(--t-fast);
}

.news-card__content h3 a:hover {
    color: var(--color-green-dark);
}

.news-card__content p {
    font-size: 0.93rem;
    color: var(--color-muted);
    margin: 0;
}

.news-meta {
    font-size: 0.84rem;
    color: var(--color-muted-2);
    font-weight: 600;
}


/* ============================================================
   12. DONATION CTA
   ============================================================ */
.donation-section { padding-bottom: 4rem; }

.donation-cta {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem 3.5rem;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 60%, #a0254e 100%);
    box-shadow: 0 20px 60px rgba(139, 30, 63, 0.35);
    color: var(--color-white);
}

.donation-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(255,255,255,0.06), transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255,255,255,0.04), transparent 40%);
    pointer-events: none;
}

.donation-cta__media {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    pointer-events: none;
}

.donation-cta__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(102, 21, 45, 0.85), rgba(139, 30, 63, 0.25));
}

.donation-cta__content {
    position: relative;
    z-index: 1;
}

.donation-cta h2 {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.donation-cta p {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 38rem;
}

.donation-cta .button {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cta-line-art {
    position: absolute;
    left: -1rem;
    bottom: -2.5rem;
    width: 13rem;
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.5;
    pointer-events: none;
}

.cta-paw-art {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.07;
    pointer-events: none;
    width: 12rem;
}


/* ============================================================
   13. SHARED CARD & SECTION SYSTEM
   ============================================================ */
.content-card,
.detail-card,
.page-hero__card,
.empty-state,
.static-page-shell .page-hero {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.content-card {
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base);
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.content-card__image {
    display: block;
    height: 16rem;
    overflow: hidden;
    background: var(--color-beige);
}

.content-card__image .responsive-picture {
    width: 100%;
    height: 100%;
    transition: transform var(--t-slow);
}

.content-card:hover .content-card__image .responsive-picture {
    transform: scale(1.04);
}

.content-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.content-card__body h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.3;
}

.content-card__body h2 a {
    color: inherit;
    transition: color var(--t-fast);
}

.content-card__body h2 a:hover {
    color: var(--color-green-dark);
}

.content-card__body p {
    font-size: 0.93rem;
    color: var(--color-muted);
}


/* ============================================================
   14. BADGES & STATUS PILLS
   ============================================================ */
.badge,
.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-1 {
    background: var(--color-green-light);
    color: var(--color-green-dark);
}

.badge-2 {
    background: var(--color-burgundy-light);
    color: var(--color-burgundy);
}

.badge-3,
.badge-soft {
    background: rgba(31, 31, 31, 0.07);
    color: var(--color-text-soft);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.status-pill-adoptable     { background: var(--color-green-light); color: var(--color-green-dark); }
.status-pill-reserved      { background: var(--color-burgundy-light); color: var(--color-burgundy); }
.status-pill-adopted       { background: rgba(47, 93, 52, 0.08); color: #315c36; }
.status-pill-under_treatment { background: rgba(221, 169, 63, 0.18); color: #7c5600; }


/* ============================================================
   15. LINK ARROW
   ============================================================ */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-green-dark);
    font-size: 0.92rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap var(--t-base), color var(--t-fast);
}

.link-arrow::after {
    content: "→";
    font-size: 1rem;
    transition: transform var(--t-base);
}

.link-arrow:hover { color: var(--color-green); }
.link-arrow:hover::after { transform: translateX(4px); }


/* ============================================================
   16. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    padding: 1rem 0 0;
}

.page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.page-hero__content {
    display: flex;
    flex-direction: column;
}

.page-hero__content--listing {
    min-height: 13.5rem;
}

.page-hero__content--listing .section-text {
    margin-top: 0.75rem;
}

.page-hero__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    min-height: 11rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(47, 93, 52, 0.96) 0%, rgba(31, 64, 36, 0.97) 100%);
    border-radius: var(--radius-xl);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.page-hero__card strong {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1;
}

.page-hero__card span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.page-hero--compact {
    padding: 2.5rem;
}


/* ============================================================
   17. CARD GRIDS
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.card-grid-tight { margin-top: 1.5rem; }

.card-summary {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}


/* ============================================================
   18. ANIMAL CARD EXTRAS
   ============================================================ */
.animal-card .content-card__image {
    height: 17rem;
}

.animal-card .content-card__body h2 {
    font-size: 1.3rem;
}

.news-card .content-card__image {
    height: 17rem;
}

.news-card .content-card__body h2 {
    font-size: 1.3rem;
}


/* ============================================================
   19. DETAIL PAGES
   ============================================================ */
.detail-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.detail-shell-single {
    grid-template-columns: minmax(0, 1fr);
}

.detail-media {
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 32rem;
    overflow: hidden;
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    box-shadow: var(--shadow-float);
    background: var(--color-green-light);
}

.detail-media-wide {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    background: var(--color-beige);
    min-height: 22rem;
    margin: 1.5rem 0;
}

.detail-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-copy-full {
    max-width: 60rem;
    margin: 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.detail-card {
    padding: 1.75rem;
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.detail-card h2 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.pt-small { padding-top: 0; }

.meta-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.meta-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.meta-list li:first-child { padding-top: 0; }
.meta-list li:last-child { padding-bottom: 0; border-bottom: 0; }

.meta-list strong { color: var(--color-text); font-size: 0.92rem; }
.meta-list span { text-align: right; color: var(--color-muted); font-size: 0.92rem; }

.rich-text { line-height: 1.8; }
.rich-text p { margin-top: 0; color: var(--color-text-soft); }


/* ============================================================
   20. GALLERY
   ============================================================ */
.gallery-card { padding: 1.75rem; }
.gallery-card h2 { margin-bottom: 1.25rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 11rem;
    border-radius: var(--radius-sm);
    background: var(--color-beige);
    transition: transform var(--t-base);
}

.gallery-item:hover { transform: scale(1.02); }


/* ============================================================
   21. STATIC PAGES
   ============================================================ */
.static-page-shell {
    display: grid;
    gap: 1.75rem;
}

.static-content-card { max-width: 62rem; }


/* ============================================================
   22. EMPTY STATE
   ============================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
}

.empty-state h2 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.empty-state p { color: var(--color-muted); }


/* ============================================================
   23. PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}


/* ============================================================
   24. FOOTER
   ============================================================ */
.site-footer {
    position: relative;
    margin-top: 4rem;
    padding: 4rem 0 2rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.05), transparent 20%),
        linear-gradient(135deg, #1a3d1e 0%, var(--color-green-dark) 40%, var(--color-green) 100%);
    color: var(--color-white);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-burgundy), var(--color-burgundy-dark), var(--color-burgundy));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.footer-brand-mark .responsive-picture {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.footer-brand-mark img,
.footer-brand-mark .responsive-picture__img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.footer-brand-name {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: -0.01em;
    color: var(--color-white);
}

.footer-brand-subtitle {
    margin: 0.15rem 0 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.footer-contact {
    display: grid;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.footer-links h2,
.footer-social h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.footer-links a {
    display: inline-flex;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color var(--t-fast), padding-left var(--t-base);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 0.4rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    transition: transform var(--t-base), background-color var(--t-base);
}

.social-links a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
}


/* ============================================================
   25. RESPONSIVE — 1100px
   ============================================================ */
@media (max-width: 1100px) {
    .hero-grid {
        gap: 2rem;
    }

    .about-grid {
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand { grid-column: 1 / -1; }

    .values-strip,
    .news-grid,
    .card-grid,
    .detail-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   26. RESPONSIVE — 900px (mobile nav breakpoint)
   ============================================================ */
@media (max-width: 900px) {
    :root {
        --section-gap: 3rem;
    }

    .site-header { padding: 0.75rem 0; }

    .main-nav {
        align-items: flex-start;
        flex-wrap: wrap;
        border-radius: var(--radius-xl);
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-panel {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.75rem 0 0.25rem;
        border-top: 1px solid var(--color-border);
        margin-top: 0.5rem;
    }

    .nav-panel.is-open { display: flex; }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
    }

    .nav-links a {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .nav-links a::after { display: none; }

    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
        border-radius: var(--radius-sm);
        margin-top: 0.25rem;
    }

    .hero-grid,
    .about-grid,
    .page-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-media { min-height: 28rem; }

    .about-media { order: -1; }

    .donation-cta {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }
}


/* ============================================================
   27. RESPONSIVE — 720px
   ============================================================ */
@media (max-width: 720px) {
    :root {
        --section-gap: 2.5rem;
    }

    .container {
        width: min(var(--container-width), calc(100% - 1.5rem));
    }

    .hero-title { font-size: clamp(2.8rem, 11vw, 4rem); }

    .news-grid,
    .card-grid,
    .gallery-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .values-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .value-card + .value-card {
        border-left: 0;
    }

    .value-card:nth-child(3),
    .value-card:nth-child(4) {
        border-top: 1px solid var(--color-border);
    }

    .value-card:nth-child(2) {
        border-left: 1px solid var(--color-border);
    }

    .value-card:nth-child(4) {
        border-left: 1px solid var(--color-border);
    }

    .hero-actions,
    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .detail-actions .button {
        width: 100%;
        justify-content: center;
    }

    .hero-float-card { display: none; }

    .detail-shell { grid-template-columns: 1fr; }

    .about-image-shell,
    .detail-media {
        min-height: 22rem;
    }

    .main-nav {
        padding: 0.85rem 0.95rem;
        border-radius: var(--radius-xl);
    }

    .brand-copy strong { font-size: 1.55rem; }

    .brand-copy span:last-child {
        font-size: 0.72rem;
        max-width: 8.5rem;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: auto; }

    .donation-cta { padding: 2rem 1.5rem; }
}


/* ============================================================
   28. RESPONSIVE — 520px
   ============================================================ */
@media (max-width: 520px) {
    .values-strip { grid-template-columns: 1fr; }
    .value-card + .value-card {
        border-left: 0;
        border-top: 1px solid var(--color-border);
    }
    .value-card:nth-child(2),
    .value-card:nth-child(4) {
        border-left: 0;
    }

    .hero-image-shell,
    .about-image-shell,
    .detail-media,
    .detail-media-wide {
        border-radius: var(--radius-xl);
    }

    .hero-line-art,
    .cta-line-art,
    .hero-shape,
    .about-accent {
        display: none;
    }

    .section-title { font-size: 1.75rem; }

    .news-card__thumb,
    .content-card__image,
    .animal-card .content-card__image {
        height: 14rem;
    }

    .about-image-shell,
    .detail-media {
        aspect-ratio: 1 / 1;
        min-height: 18rem;
    }

    .detail-media-wide,
    .subpage-hero__media,
    .rp-hero__image-shell {
        aspect-ratio: 4 / 3;
        min-height: 18rem;
    }

    .page-section { padding: 2rem 0; }

    .pagination { flex-direction: column; align-items: stretch; }
    .pagination .button { width: 100%; }

    .detail-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   29. SUBPAGE LAYOUTS (rólunk, munkánk, kapcsolat)
   ============================================================ */

/* Shared hero for rich subpages */
.subpage-hero { padding-bottom: 0; }

.subpage-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.subpage-hero__inner--reverse .subpage-hero__media { order: -1; }

.subpage-hero__media {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 38% 62% 54% 46% / 44% 40% 60% 56%;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    min-height: 26rem;
    background: var(--color-green-light);
}

.subpage-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subpage-hero__media .responsive-picture {
    width: 100%;
    height: 100%;
}

.subpage-hero__media .responsive-picture__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Two-column content grid */
.subpage-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.subpage-prose p {
    color: var(--color-text-soft);
    line-height: 1.75;
    margin-bottom: 1.1em;
}

/* Values list */
.subpage-values__list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.subpage-value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.subpage-value-item__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-green-light);
    flex-shrink: 0;
}

.subpage-value-item__icon svg {
    width: 20px;
    height: 20px;
}

.subpage-value-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.subpage-value-item p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* Quote block */
.subpage-banner__inner {
    max-width: 60rem;
    margin: 0 auto;
}

.subpage-quote {
    margin: 0;
    padding: 2.5rem 3rem;
    background: var(--color-white);
    border-left: 4px solid var(--color-green);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    box-shadow: var(--shadow-card);
}

.subpage-quote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-style: italic;
    color: var(--color-text-soft);
    line-height: 1.65;
}

/* CTA row for about page */
.subpage-cta-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.subpage-cta-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.subpage-cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 0;
}

.subpage-cta-card p {
    color: var(--color-muted);
    font-size: 0.93rem;
    margin: 0;
    flex: 1;
}

.subpage-cta-card .button { margin-top: 0.5rem; }

/* Honesty card (munkánk) */
.subpage-honesty-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 2.5rem 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

.subpage-honesty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
    margin-top: 1.5rem;
}

.subpage-honesty-grid p {
    color: var(--color-text-soft);
    line-height: 1.7;
    margin: 0;
}

/* Work process steps */
.work-steps {
    display: grid;
    gap: 2rem;
    max-width: 62rem;
    margin: 0 auto;
}

.work-step {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.work-step__number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-green-light);
    line-height: 1;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 1.5px var(--color-green);
    text-stroke: 1.5px var(--color-green);
    padding-top: 0.25rem;
}

.work-step__content {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
}

.work-step__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    background: var(--color-green-light);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.work-step__icon svg { width: 22px; height: 22px; }

.work-step__content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 0 0 0.65rem;
}

.work-step__content p {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-card--featured {
    border-color: rgba(47, 93, 52, 0.2);
    background: var(--color-green-light);
}

.contact-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(47, 93, 52, 0.1);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.contact-card--featured .contact-card__icon {
    background: rgba(47, 93, 52, 0.15);
}

.contact-card__icon svg { width: 26px; height: 26px; }

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0;
}

.contact-card p {
    color: var(--color-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.contact-card .button { margin-top: 0.5rem; align-self: flex-start; }

/* Direct contact layout */
.contact-direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: 1rem;
}

.contact-info-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info-list__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-green-light);
    flex-shrink: 0;
}

.contact-info-list__icon svg { width: 18px; height: 18px; }

.contact-info-list strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.contact-info-list a {
    color: var(--color-green-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-note-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-note-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-burgundy-light);
    display: grid;
    place-items: center;
}

.contact-note-card__icon svg { width: 20px; height: 20px; }

.contact-note-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

.contact-note-card p {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   30. HELP PAGE — HERO & MOSAIC
   ============================================================ */

.help-hero { padding-bottom: 1rem; }

.help-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.help-hero__lead {
    font-size: 1.2rem;
    color: var(--color-text-soft);
    margin: 1.25rem 0 0.75rem;
    max-width: 44rem;
    line-height: 1.65;
}

.help-hero__sub {
    font-size: 0.98rem;
    color: var(--color-muted);
    max-width: 40rem;
    line-height: 1.65;
    margin: 0 0 0;
}

.help-hero__visual {
    display: grid;
    place-items: center;
    width: min(100%, 280px);
    min-width: 220px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.help-hero__logo-frame {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    border-radius: 36%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.52) 45%, rgba(255, 255, 255, 0.16) 100%),
        linear-gradient(160deg, rgba(47, 93, 52, 0.12), rgba(139, 30, 63, 0.08));
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(47, 93, 52, 0.08);
}

.help-hero__logo-frame .responsive-picture__img,
.help-hero__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Donation mosaic grid */
.donation-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 0;
}

.donation-mosaic--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.donation-card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-green);
    opacity: 0;
    transition: opacity var(--t-base);
}

.donation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.donation-card:hover::before { opacity: 1; }

.donation-card--featured {
    background: linear-gradient(145deg, rgba(139,30,63,0.06), rgba(139,30,63,0.02));
    border-color: rgba(139,30,63,0.15);
    grid-column: span 1;
}

.donation-card--featured::before {
    background: var(--color-burgundy);
    opacity: 1;
}

.donation-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-green-light);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--color-green);
    transition: background-color var(--t-base);
}

.donation-card--featured .donation-card__icon {
    background: var(--color-burgundy-light);
    color: var(--color-burgundy);
}

.donation-card:hover .donation-card__icon { background: rgba(47,93,52,0.18); }
.donation-card--featured:hover .donation-card__icon { background: rgba(139,30,63,0.18); }

.donation-card__icon svg { width: 24px; height: 24px; }

.donation-card__body { flex: 1; }

.donation-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text);
    margin: 0 0 0.35rem;
    line-height: 1.25;
}

.donation-card__sub {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-green);
    margin: 0 0 0.65rem;
}

.donation-card--featured .donation-card__sub { color: var(--color-burgundy); }

.donation-card__desc {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

.donation-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.donation-card__amount {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.donation-card__btn {
    flex-shrink: 0;
    min-height: 38px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.help-mosaic__note {
    text-align: center;
    color: var(--color-muted);
    font-size: 0.88rem;
    margin-top: 1.75rem;
}

.help-mosaic__note a {
    color: var(--color-green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Other help section */
.help-other__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.help-other__card {
    background: var(--color-white);
    border: 1px solid var(--color-border-2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.help-other__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.help-other__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-green-light);
    display: grid;
    place-items: center;
}

.help-other__icon svg { width: 28px; height: 28px; }

.help-other__card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text);
    margin: 0;
}

.help-other__card p {
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Transparency section */
.help-transparency { background: var(--color-cream-warm); }

.help-transparency__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.help-transparency__items {
    display: grid;
    gap: 0.85rem;
}

.help-transparency__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    font-size: 0.95rem;
    color: var(--color-text-soft);
    font-weight: 600;
}

.help-transparency__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-green);
    flex-shrink: 0;
}

/* ============================================================
   31. RESPONSIVE — NEW COMPONENTS
   ============================================================ */

@media (max-width: 1100px) {
    .subpage-content-grid { grid-template-columns: 1fr; gap: 2rem; }
    .subpage-cta-row { grid-template-columns: 1fr 1fr; }
    .subpage-honesty-grid { grid-template-columns: 1fr; }
    .help-other__grid { grid-template-columns: repeat(2, 1fr); }
    .donation-mosaic { grid-template-columns: repeat(2, 1fr); }
    .donation-mosaic--compact { grid-template-columns: repeat(3, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-direct { grid-template-columns: 1fr; gap: 2rem; }
    .help-transparency__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .subpage-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
    .subpage-hero__inner--reverse .subpage-hero__media { order: 0; }
    .subpage-hero__media { min-height: 20rem; }
    .help-hero__inner { grid-template-columns: 1fr; }
    .help-hero__visual { display: none; }
    .work-step { grid-template-columns: 48px 1fr; gap: 1rem; }
    .work-step__number { font-size: 2rem; }
    .subpage-quote { padding: 1.75rem 2rem; }
    .subpage-honesty-card { padding: 2rem; }
}

@media (max-width: 720px) {
    .subpage-cta-row { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .help-other__grid { grid-template-columns: 1fr 1fr; }
    .donation-mosaic { grid-template-columns: 1fr 1fr; }
    .donation-mosaic--compact { grid-template-columns: repeat(2, 1fr); }
    .work-step { grid-template-columns: 1fr; }
    .work-step__number { font-size: 1.5rem; }
}

@media (max-width: 520px) {
    .help-other__grid { grid-template-columns: 1fr; }
    .donation-mosaic { grid-template-columns: 1fr; }
    .donation-mosaic--compact { grid-template-columns: 1fr 1fr; }
    .subpage-quote { padding: 1.25rem 1.25rem 1.25rem 1.5rem; }
    .donation-card__footer { flex-direction: column; align-items: flex-start; }
    .donation-card__btn { width: 100%; justify-content: center; }
}

/* ============================================================
   33. BETA GATE
   ============================================================ */
.beta-gate-body {
    min-height: 100vh;
}

.beta-gate-shell {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 2rem 0;
}

.beta-gate-wrap {
    display: flex;
    justify-content: center;
}

.beta-gate-card {
    width: min(100%, 1100px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.4rem;
    padding: clamp(1.25rem, 3vw, 1.6rem);
    border-radius: 34px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
        radial-gradient(circle at top left, rgba(47, 93, 52, 0.07), transparent 38%);
    border: 1px solid rgba(47, 93, 52, 0.1);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.beta-gate-card__intro,
.beta-gate-card__form {
    min-width: 0;
}

.beta-gate-card__intro {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.beta-gate-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.beta-gate-brand__mark {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: rgba(47, 93, 52, 0.08);
    border: 1px solid rgba(47, 93, 52, 0.08);
    flex-shrink: 0;
}

.beta-gate-brand__mark .responsive-picture,
.beta-gate-brand__mark .responsive-picture__img,
.beta-gate-brand__logo {
    width: 64px;
    height: 64px;
}

.beta-gate-brand__mark .responsive-picture__img,
.beta-gate-brand__logo {
    object-fit: contain;
}

.beta-gate-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.42rem 0.78rem;
    margin-bottom: 0.9rem;
    border-radius: 999px;
    background: rgba(139, 30, 63, 0.08);
    color: var(--color-burgundy);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beta-gate-title {
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    color: var(--color-text);
}

.beta-gate-text {
    max-width: 35rem;
    margin-top: 0.85rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.beta-gate-text--strong {
    color: var(--color-green-dark);
    font-weight: 700;
}

.beta-gate-note-list {
    display: grid;
    gap: 0.9rem;
}

.beta-gate-note {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(247, 244, 238, 0.78);
    border: 1px solid rgba(47, 93, 52, 0.08);
}

.beta-gate-note strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1rem;
}

.beta-gate-note span {
    color: var(--color-text-soft);
    line-height: 1.65;
}

.beta-gate-card__form {
    display: flex;
    align-items: stretch;
}

.beta-gate-form-panel {
    width: 100%;
    padding: clamp(1.3rem, 3vw, 2rem);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.95)),
        radial-gradient(circle at top right, rgba(139, 30, 63, 0.08), transparent 42%);
    border: 1px solid rgba(139, 30, 63, 0.1);
    box-shadow: var(--shadow-soft);
}

.beta-gate-form-panel__eyebrow {
    margin: 0 0 0.6rem;
    color: var(--color-green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.beta-gate-form-panel h2 {
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--color-text);
}

.beta-gate-form {
    display: grid;
    gap: 1rem;
}

.beta-gate-field {
    display: grid;
    gap: 0.42rem;
}

.beta-gate-field label {
    font-weight: 800;
    color: var(--color-text);
}

.beta-gate-field input {
    width: 100%;
    min-height: 58px;
    padding: 0.95rem 1rem;
    border: 1.5px solid rgba(47, 93, 52, 0.14);
    border-radius: 18px;
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}

.beta-gate-field input:focus {
    outline: none;
    border-color: rgba(47, 93, 52, 0.44);
    box-shadow: 0 0 0 4px rgba(47, 93, 52, 0.08);
}

.beta-gate-field--error input {
    border-color: rgba(139, 30, 63, 0.5);
    background: rgba(139, 30, 63, 0.03);
}

.beta-gate-error {
    margin: 0;
    color: var(--color-burgundy);
    font-size: 0.92rem;
    font-weight: 700;
}

.beta-gate-button {
    width: 100%;
    justify-content: center;
}

.beta-gate-footer {
    margin-top: 1.2rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 920px) {
    .beta-gate-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .beta-gate-shell {
        padding: 1rem 0;
    }

    .beta-gate-brand {
        grid-template-columns: 1fr;
    }

    .beta-gate-brand__mark {
        width: 72px;
        height: 72px;
    }

    .beta-gate-brand__mark .responsive-picture,
    .beta-gate-brand__mark .responsive-picture__img,
    .beta-gate-brand__logo {
        width: 54px;
        height: 54px;
    }

    .beta-gate-card,
    .beta-gate-form-panel {
        border-radius: 24px;
    }
}

/* ============================================================
   34. FOCUS & ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 3px;
    border-radius: 4px;
}

.nav-links a:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible {
    outline: 3px solid var(--color-green);
    outline-offset: 2px;
}

.social-links a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
}

/* ============================================================
   35. RESCUE REPORTS
   ============================================================ */
.rp-hero {
    padding: clamp(1.75rem, 4vw, 3.25rem) 0 1.5rem;
}

.rp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
}

.rp-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.8vw, 5rem);
    line-height: 0.93;
    letter-spacing: -0.04em;
}

.rp-lead {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--color-text-soft);
}

.rp-callout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.rp-callout {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(47, 93, 52, 0.1);
    box-shadow: var(--shadow-card);
}

.rp-callout__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(47, 93, 52, 0.08);
    color: var(--color-green-dark);
    flex-shrink: 0;
}

.rp-callout strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.rp-callout p {
    margin: 0.28rem 0 0;
    color: var(--color-text-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.rp-hero__media {
    position: relative;
    display: grid;
    gap: 1rem;
}

.rp-hero__image-shell {
    width: 100%;
    aspect-ratio: 5 / 4;
    min-height: 26rem;
    overflow: hidden;
    border-radius: 36% 64% 58% 42% / 44% 41% 59% 56%;
    box-shadow: var(--shadow-float);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 28%),
        linear-gradient(160deg, rgba(47, 93, 52, 0.22), rgba(47, 93, 52, 0.04));
}

.rp-hero__image-shell .responsive-picture,
.rp-hero__image-shell .responsive-picture__img,
.rp-hero__image {
    width: 100%;
    height: 100%;
}

.rp-hero__image-shell .responsive-picture__img,
.rp-hero__image {
    object-fit: cover;
}

.rp-emergency-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    width: min(100%, 24rem);
    margin-left: auto;
    padding: 1.2rem 1.2rem 1.25rem;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.94)),
        radial-gradient(circle at top right, rgba(139, 30, 63, 0.08), transparent 40%);
    border: 1px solid rgba(139, 30, 63, 0.15);
    box-shadow: var(--shadow-soft);
}

.rp-emergency-card__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 30, 63, 0.1);
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.rp-emergency-card strong {
    display: block;
    margin-bottom: 0.28rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.rp-emergency-card p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 0.93rem;
    line-height: 1.65;
}

.rp-form-section {
    padding: 0 0 clamp(3.5rem, 6vw, 5rem);
}

.rp-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.63fr);
    gap: 1.4rem;
    align-items: start;
}

.rp-main,
.rp-form,
.rp-side {
    display: grid;
    gap: 1.15rem;
}

.rp-global-errors {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(139, 30, 63, 0.18);
    background: rgba(139, 30, 63, 0.08);
    color: var(--color-burgundy-dark);
}

.rp-global-errors strong {
    display: block;
    margin-bottom: 0.35rem;
}

.rp-global-errors ul {
    margin: 0;
    padding-left: 1rem;
}

.rp-section-card,
.rp-side-card {
    position: relative;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)),
        radial-gradient(circle at top right, rgba(47, 93, 52, 0.05), transparent 36%);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.rp-section-head {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    max-width: 42rem;
}

.rp-section-kicker,
.rp-side-card__eyebrow,
.rp-location-manual__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.rp-section-kicker,
.rp-side-card__eyebrow {
    color: var(--color-green);
}

.rp-section-head h2,
.rp-side-card h2 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.1;
}

.rp-section-head h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.rp-side-card h2 {
    font-size: 1.3rem;
}

.rp-section-head p,
.rp-side-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.rp-contact-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: rgba(47, 93, 52, 0.06);
    border: 1px solid rgba(47, 93, 52, 0.08);
}

.rp-contact-note strong {
    color: var(--color-green-dark);
    font-size: 0.92rem;
}

.rp-contact-note span {
    color: var(--color-text-soft);
    font-size: 0.9rem;
}

.rp-row,
.rp-gps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rp-field {
    display: grid;
    gap: 0.42rem;
}

.rp-label {
    font-weight: 800;
    color: var(--color-text);
}

.rp-req {
    margin-left: 0.18rem;
    color: var(--color-burgundy);
}

.rp-field input[type="text"],
.rp-field input[type="email"],
.rp-field input[type="tel"],
.rp-field input[type="file"],
.rp-field textarea,
.rp-field select {
    width: 100%;
    min-height: 58px;
    padding: 0.95rem 1rem;
    border: 1.5px solid rgba(47, 93, 52, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
    font: inherit;
    transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}

.rp-field textarea {
    min-height: 164px;
    resize: vertical;
}

.rp-field input:focus,
.rp-field textarea:focus,
.rp-field select:focus {
    outline: none;
    border-color: rgba(47, 93, 52, 0.46);
    box-shadow: 0 0 0 4px rgba(47, 93, 52, 0.08);
}

.rp-field--err input,
.rp-field--err textarea,
.rp-field--err select {
    border-color: rgba(139, 30, 63, 0.52);
    background: rgba(139, 30, 63, 0.03);
}

.rp-hint {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.rp-error {
    margin: 0;
    color: var(--color-burgundy);
    font-size: 0.92rem;
    font-weight: 700;
}

.rp-select-wrap {
    position: relative;
}

.rp-select-wrap select {
    padding-right: 3rem;
    appearance: none;
}

.rp-select-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--color-muted);
    pointer-events: none;
}

.rp-urgency-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.rp-chip {
    position: relative;
    display: block;
}

.rp-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.rp-chip span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    min-height: 62px;
    padding: 0.95rem 1rem;
    border: 1.5px solid rgba(47, 93, 52, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.9), rgba(255, 255, 255, 0.96));
    color: var(--color-text-soft);
    font-weight: 800;
    transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}

.rp-chip input:checked + span {
    transform: translateY(-1px);
    box-shadow: var(--shadow-card);
}

.rp-chip input:focus-visible + span,
.rp-upload-label:focus-within,
.rp-gps-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(47, 93, 52, 0.1);
}

.rp-chip--low input:checked + span {
    background: rgba(47, 93, 52, 0.08);
    border-color: rgba(47, 93, 52, 0.34);
    color: var(--color-green-dark);
}

.rp-chip--medium input:checked + span {
    background: rgba(215, 166, 50, 0.14);
    border-color: rgba(215, 166, 50, 0.35);
    color: #7a5604;
}

.rp-chip--urgent input:checked + span {
    background: rgba(139, 30, 63, 0.1);
    border-color: rgba(139, 30, 63, 0.34);
    color: var(--color-burgundy-dark);
}

.rp-gps-panel,
.rp-location-manual {
    padding: 1.2rem;
    border-radius: 24px;
}

.rp-gps-panel {
    background: linear-gradient(145deg, rgba(47, 93, 52, 0.08), rgba(247, 244, 238, 0.96));
    border: 1px solid rgba(47, 93, 52, 0.12);
}

.rp-location-manual {
    background: rgba(247, 244, 238, 0.78);
    border: 1px solid rgba(47, 93, 52, 0.08);
}

.rp-location-manual__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--color-burgundy);
}

.rp-gps-panel__header {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 0.55rem;
    font-weight: 800;
    color: var(--color-green-dark);
}

.rp-gps-panel__desc {
    margin: 0 0 1rem;
    color: var(--color-text-soft);
    line-height: 1.65;
}

.rp-gps-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0.85rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-green-dark), var(--color-green));
    color: var(--color-white);
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: transform var(--t-base), box-shadow var(--t-base), opacity var(--t-base);
}

.rp-gps-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(47, 93, 52, 0.24);
}

.rp-gps-btn.is-loading,
.rp-gps-btn:disabled {
    opacity: 0.82;
    cursor: wait;
}

.rp-gps-status {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-weight: 700;
}

.rp-gps-status--info {
    background: rgba(47, 93, 52, 0.08);
    color: var(--color-green-dark);
}

.rp-gps-status--success {
    background: rgba(47, 93, 52, 0.14);
    color: var(--color-green-dark);
}

.rp-gps-status--error {
    background: rgba(139, 30, 63, 0.09);
    color: var(--color-burgundy-dark);
}

.rp-gps-result {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(47, 93, 52, 0.1);
}

.rp-gps-result__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(47, 93, 52, 0.1);
    flex-shrink: 0;
}

.rp-gps-result__info {
    display: grid;
    gap: 0.15rem;
}

.rp-gps-result__info span {
    color: var(--color-muted);
    font-size: 0.92rem;
}

.rp-gps-result__link {
    margin-left: auto;
    color: var(--color-green-dark);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rp-upload-label {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
    padding: 1.75rem 1rem;
    border: 1.5px dashed rgba(47, 93, 52, 0.28);
    border-radius: 24px;
    background: rgba(247, 244, 238, 0.82);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--t-base), background-color var(--t-base), transform var(--t-base);
}

.rp-upload-label:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 93, 52, 0.44);
    background: rgba(47, 93, 52, 0.05);
}

.rp-upload-label__icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(47, 93, 52, 0.09);
}

.rp-upload-label__text {
    font-weight: 800;
    color: var(--color-text);
}

.rp-upload-label__sub {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.rp-field input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.rp-submit-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.95)),
        radial-gradient(circle at bottom left, rgba(139, 30, 63, 0.06), transparent 42%);
}

.rp-field--check {
    gap: 0.75rem;
}

.rp-check-label {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    color: var(--color-text-soft);
    line-height: 1.65;
}

.rp-check-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
    accent-color: var(--color-green);
    flex-shrink: 0;
}

.rp-submit-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.1rem;
}

.rp-submit-btn {
    min-width: 19rem;
    justify-content: center;
    flex-shrink: 0;
}

.rp-submit-note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 24rem;
}

.rp-side-card--sticky {
    position: sticky;
    top: 1rem;
}

.rp-side-list {
    display: grid;
    gap: 0.95rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.rp-side-list li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--color-text-soft);
    line-height: 1.65;
}

.rp-side-list li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 0 5px rgba(47, 93, 52, 0.08);
}

.rp-status-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.rp-status-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.8rem;
    align-items: start;
}

.rp-status-item strong {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 30, 63, 0.08);
    color: var(--color-burgundy);
    font-family: var(--font-heading);
}

.rp-status-item span {
    color: var(--color-text-soft);
    line-height: 1.65;
}

.report-success-shell {
    display: flex;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.report-success-card {
    width: min(100%, 760px);
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.report-success-icon {
    width: 92px;
    margin: 0 auto 1.25rem;
}

.report-success-title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.report-success-text {
    max-width: 38rem;
    margin: 0 auto 1.25rem;
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.report-success-note {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(139, 30, 63, 0.06);
    text-align: left;
    max-width: 38rem;
}

.report-success-note p {
    margin: 0;
    color: var(--color-text-soft);
}

.report-success-actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .rp-shell {
        grid-template-columns: 1fr;
    }

    .rp-side-card--sticky {
        position: static;
    }
}

@media (max-width: 980px) {
    .rp-hero__grid,
    .rp-callout-grid {
        grid-template-columns: 1fr;
    }

    .rp-hero__image-shell {
        min-height: 22rem;
    }

    .rp-emergency-card {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 720px) {
    .rp-row,
    .rp-gps-grid,
    .rp-urgency-chips,
    .rp-submit-actions,
    .report-success-actions {
        grid-template-columns: 1fr;
    }

    .rp-submit-actions {
        display: grid;
    }

    .rp-gps-result,
    .report-success-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rp-gps-result__link {
        margin-left: 0;
    }

    .rp-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 520px) {
    .rp-section-card,
    .rp-side-card {
        padding: 1.2rem;
        border-radius: 24px;
    }

    .rp-title {
        font-size: clamp(2.5rem, 13vw, 3.8rem);
    }

    .rp-hero__image-shell {
        border-radius: var(--radius-xl);
        min-height: 18rem;
    }
}

/* ============================================================
   Adoption application — selected animal card
   ============================================================ */
.adoption-animal-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.adoption-animal-card__image {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.adoption-animal-card__image .responsive-picture,
.adoption-animal-card__image img,
.adoption-animal-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.adoption-animal-card__info {
    flex: 1;
    min-width: 0;
}

.adoption-animal-card__name {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: .2rem;
}

.adoption-animal-card__age {
    display: block;
    font-size: .85rem;
    color: var(--color-muted);
    margin-bottom: .3rem;
}

.adoption-animal-card__desc {
    font-size: .9rem;
    color: var(--color-body);
    margin: .2rem 0 .5rem;
    line-height: 1.45;
}

.adoption-animal-card__link {
    font-size: .85rem;
    color: var(--color-green-dark);
    text-decoration: none;
}

.adoption-animal-card__link:hover {
    text-decoration: underline;
}

@media (max-width: 520px) {
    .adoption-animal-card {
        flex-direction: column;
    }
    .adoption-animal-card__image {
        width: 72px;
        height: 72px;
    }
}
