/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* COLORS */
:root {
    --teal: #7ea69f;
    --teal-dark: #4f7c75;
    --gold: #c9a96a;
    --sand: #e9dfcf;
    --cream: #faf8f4;
    --white: #ffffff;
    --text: #2e2e2e;
    --muted: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
.brand {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.1;
    font-weight: 500;
}

p {
    color: var(--muted);
    font-size: 1rem;
}

.nav {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: var(--teal-dark);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-donate {
    border: 1px solid var(--teal-dark);
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--teal-dark) !important;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.about-hero {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 42px;
    align-items: center;
    background: var(--white);
    border-radius: 30px;
}

.about-hero h1 {
    margin-bottom: 22px;
    color: var(--teal-dark);
    font-size: clamp(2.6rem, 6vw, 5rem);
}

.about-hero p {
    max-width: 620px;
    font-size: 1.08rem;
}

.about-hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
}

.story-section,
.gallery-section,
.pets-section,
.about-cta {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.story-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
}

.story-copy,
.quote-panel,
.gallery-copy,
.pets-section,
.about-cta {
    border-radius: 28px;
}

.story-copy {
    background: var(--white);
    padding: 45px;
}

.story-copy h2,
.section-heading h2,
.gallery-copy h2,
.pets-section h2,
.about-cta h2 {
    margin-bottom: 18px;
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.story-copy p + p {
    margin-top: 17px;
}

.quote-panel {
    background: var(--sand);
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-panel p {
    color: var(--teal-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
}

.difference-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.difference-section h2 {
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.difference-grid {
    display: grid;
    gap: 18px;
}

.difference-card {
    padding: 30px;
    background: var(--white);
    border-radius: 24px;
    border-left: 5px solid var(--teal);
}

.difference-card h3 {
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: 1.5rem;
}

.mission-donate-panel {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    padding: 55px;
    background: var(--sand);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.mission-donate-panel h2 {
    max-width: 660px;
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.mission-donate-panel p {
    max-width: 650px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.secondary {
    background: var(--white);
    color: var(--teal-dark);
    border: 1px solid var(--white);
}

.light-btn {
    border-color: var(--white);
}

.section-heading {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto 50px;
    text-align: center;
}

.gallery-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 34px;
    align-items: center;
}

.gallery-section.reverse {
    grid-template-columns: 1.3fr 0.7fr;
}

.gallery-section.reverse .gallery-copy {
    order: 2;
}

.gallery-copy {
    background: var(--white);
    padding: 38px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(79, 124, 117, 0.1);
}

.three-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pets-section {
    padding: 48px;
    background: var(--white);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: center;
}

.pet-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.single-pet-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.featured-pet-card {
    border-left: 4px solid rgba(126, 166, 159, 0.55);
}

.pet-card {
    padding: 28px;
    background: var(--cream);
    border-radius: 24px;
}

.pet-placeholder {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    background: var(--sand);
    border-radius: 50%;
    font-size: 1.7rem;
}

.pet-photo {
    width: 118px;
    height: 118px;
    margin-bottom: 18px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(79, 124, 117, 0.16);
}
.photo-gallery-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.photo-gallery-grid img {
    width: 100%;
    height: 240px;
    display: block;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 16px 36px rgba(79, 124, 117, 0.1);
}

.pet-card h3 {
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: 1.5rem;
}

.amenities-list-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    padding: 48px;
    background: var(--white);
    border-radius: 28px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.amenities-list-section h2 {
    margin-bottom: 18px;
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.amenities-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.amenity-category {
    padding: 24px 24px 22px;
    background: var(--cream);
    border-radius: 20px;
    border-left: 4px solid rgba(126, 166, 159, 0.55);
}

.amenity-category h3 {
    margin-bottom: 14px;
    color: var(--teal-dark);
    font-size: 1.18rem;
    letter-spacing: 0.01em;
}

.amenity-category ul {
    padding-left: 18px;
    color: var(--muted);
}

.amenity-category li {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.amenity-category li + li {
    margin-top: 6px;
}

.amenity-category li::marker {
    color: var(--teal-dark);
}

.donate-hero {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    padding: 70px;
    background: linear-gradient(135deg, var(--sand), var(--white));
    border-radius: 30px;
}

.donate-hero h1 {
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--teal-dark);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.donate-hero p {
    max-width: 700px;
    font-size: 1.1rem;
}

.donate-grid-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 26px;
}

.donate-card {
    padding: 42px;
    background: var(--white);
    border-radius: 28px;
}

.donate-card h2,
.donate-card h3 {
    margin-bottom: 16px;
    color: var(--teal-dark);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.donate-card p {
    margin-bottom: 24px;
}

.donate-card ul {
    padding-left: 22px;
    color: var(--muted);
}

.donate-card li + li {
    margin-top: 12px;
}

.main-donate-card {
    border-top: 6px solid var(--gold);
}

.donorbox-wrapper {
    width: 100%;
    margin-top: 24px;
}

.donorbox-wrapper dbox-widget {
    width: 100%;
}

.apply-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: start;
}

.apply-copy,
.apply-form {
    background: var(--white);
    border-radius: 28px;
    padding: 42px;
}

.apply-copy h2 {
    margin-bottom: 18px;
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.apply-copy p + p {
    margin-top: 16px;
}

.apply-form {
    display: grid;
    gap: 14px;
}

.apply-form label {
    color: var(--teal-dark);
    font-weight: 700;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(79, 124, 117, 0.28);
    border-radius: 14px;
    background: var(--cream);
    color: var(--text);
    font: inherit;
}

.apply-form textarea {
    resize: vertical;
}

.apply-form button {
    margin-top: 8px;
    border: none;
    cursor: pointer;
    justify-self: start;
}

.hidden-field {
    display: none;
}

.about-cta {
    padding: 55px;
    background: var(--teal-dark);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-cta h2,
.about-cta p {
    color: var(--white);
}

.light {
    color: var(--sand);
}

.btn {
    display: inline-block;
    padding: 13px 20px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 124, 117, 0.18);
}

.primary {
    background: var(--gold);
    color: var(--white);
}

.footer {
    text-align: center;
    padding: 28px 20px 40px;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 8px;
}

.footer-link {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

@media (max-width: 850px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .about-hero,
    .story-section,
    .difference-section,
    .gallery-section,
    .gallery-section.reverse,
    .amenities-list-section,
    .pets-section,
    .donate-grid-section,
    .apply-section,
    .mission-donate-panel,
    .about-cta,
    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-hero,
    .story-copy,
    .quote-panel,
    .gallery-copy,
    .amenities-list-section,
    .pets-section,
    .donate-hero,
    .donate-card,
    .apply-copy,
    .apply-form,
    .mission-donate-panel,
    .about-cta {
        padding: 32px;
    }

    .about-hero img {
        height: 360px;
    }

    .gallery-section.reverse .gallery-copy {
        order: 0;
    }

    .gallery-grid,
    .three-grid,
    .amenities-category-grid,
    .pet-card-grid,
    .single-pet-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 260px;
    }
    .photo-gallery-grid img {
        height: 260px;
    }

    .amenity-category li {
        font-size: 0.92rem;
    }
}
