:root {
    --bg: #f6fbef;
    --cream: #fffaf0;
    --card: #ffffff;
    --green-deep: #073e24;
    --green: #0f6f3c;
    --green-soft: #e9f8df;
    --mint: #effbe8;
    --gold: #f3b84b;
    --peach: #f6a68d;
    --ink: #102618;
    --muted: #647263;
    --line: #dfe9d8;
    --danger: #b83232;
    --shadow: 0 24px 65px rgba(11, 54, 29, .14);
    --shadow-soft: 0 12px 36px rgba(11, 54, 29, .08);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

main {
    flex: 1;
    min-height: auto;
}

.muted {
    color: var(--muted);
}

/* TOP STRIP */
.top-strip {
    height: 38px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    background: #eaf3e2;
    color: var(--green-deep);
    font-size: 13px;
    font-weight: 800;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(223, 233, 216, .8);
    box-shadow: 0 10px 30px rgba(8, 62, 36, .06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 1000;
    color: var(--green-deep);
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}

.brand span {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    letter-spacing: -.04em;
}

.brand span::first-letter {
    color: var(--green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 900;
    color: #163b26;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    height: 3px;
    border-radius: 99px;
    background: var(--gold);
    transform: scaleX(0);
    transition: .2s;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 1000;
    cursor: pointer;
    transition: .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 111, 60, .22);
}

.btn.primary:hover {
    background: #0b5b32;
}

.btn.soft {
    background: var(--green-soft);
    color: var(--green-deep);
    border: 1px solid #c7eab9;
}

.btn.ghost {
    background: #fff;
    color: var(--green-deep);
    border: 1px solid var(--line);
}

.btn.large {
    padding: 15px 24px;
    font-size: 15px;
}

.btn.full {
    width: 100%;
}

/* SMALL LABELS */
.pill,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 1000;
}

.pill {
    padding: 8px 13px;
    background: #eef9e6;
    border: 1px solid #cfeac3;
    border-radius: 99px;
    color: var(--green-deep);
    letter-spacing: .06em;
}

.eyebrow.light {
    color: #eaffdd;
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    padding: 68px 7% 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
    gap: 48px;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -8% -18% -8%;
    height: 360px;
    background:
        radial-gradient(circle at 24% 40%, rgba(243, 184, 75, .18), transparent 45%),
        radial-gradient(circle at 74% 22%, rgba(15, 111, 60, .16), transparent 38%);
    pointer-events: none;
}

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

.hero h1 {
    max-width: 820px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .95;
    letter-spacing: -.06em;
    color: var(--green-deep);
}

.hero p {
    max-width: 650px;
    margin: 22px 0 28px;
    font-size: 18px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.trust-row span {
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 900;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 42px;
    background: #e7f5dd;
    box-shadow: var(--shadow);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 45, 26, .28));
}

.floating-card {
    position: absolute;
    z-index: 2;
    max-width: 230px;
    padding: 16px 18px;
    display: grid;
    gap: 3px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 14px 34px rgba(7, 62, 36, .16);
    border-radius: 22px;
}

.floating-card strong {
    color: var(--green-deep);
}

.floating-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.top-card {
    left: 24px;
    top: 24px;
}

.bottom-card {
    right: 24px;
    bottom: 24px;
}

/* STATS */
.stats-strip {
    margin: 0 7% 55px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.stats-strip div {
    padding: 24px;
    border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
    border-right: 0;
}

.stats-strip strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--green-deep);
    font-size: 42px;
    line-height: 1;
}

.stats-strip span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

/* SECTIONS */
.section {
    padding: 76px 7%;
}

.soft-section,
.preview-section {
    background: #f0f8ea;
}

.section-title {
    max-width: 760px;
    margin-bottom: 34px;
}

.center-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2,
.split-section h2,
.cta-panel h2 {
    margin-top: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    color: var(--green-deep);
    letter-spacing: -.04em;
}

.section-title p {
    margin-top: 10px;
    color: var(--muted);
}

/* HOW IT WORKS */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

.work-card,
.panel-card,
.pet-card,
.form-shell,
.auth-card,
.profile-card,
.profile-menu,
.user-stat,
.feature-image-card,
.preview-grid-cards article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.work-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.work-card.active {
    background: var(--green-deep);
    color: #fff;
}

.work-card span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--green-soft);
    color: var(--green-deep);
    font-weight: 1000;
    margin-bottom: 18px;
}

.work-card.active span {
    background: var(--gold);
}

.work-card h3 {
    font-size: 22px;
    color: inherit;
}

.work-card p {
    color: var(--muted);
    margin-top: 8px;
}

.work-card.active p {
    color: #e7f7df;
}

/* SPLIT FEATURE SECTION */
.split-section {
    display: grid;
    grid-template-columns: .9fr 1fr;
    gap: 36px;
    align-items: center;
}

.feature-image-card {
    padding: 14px;
}

.feature-image-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 22px;
}

.feature-list {
    display: grid;
    gap: 14px;
}

.feature-list div {
    display: grid;
    gap: 3px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
}

.feature-list strong {
    color: var(--green-deep);
    font-size: 17px;
}

.feature-list span {
    color: var(--muted);
}

.vertical-list {
    margin-top: 22px;
}

/* HOMEPAGE PREVIEW CARDS */
.preview-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.preview-grid-cards article {
    padding: 15px;
    border-radius: 28px;
}

.preview-grid-cards img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    border-radius: 20px;
}

.preview-grid-cards h3 {
    font-size: 21px;
    margin: 15px 8px 4px;
    color: var(--green-deep);
}

.preview-grid-cards p {
    color: var(--muted);
    margin: 0 8px 12px;
    font-size: 14px;
}

/* CTA */
.cta-panel {
    margin: 40px 7%;
    padding: 40px;
    border-radius: 38px;
    background: linear-gradient(135deg, var(--green-deep), #0d6c3c);
    color: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-panel .eyebrow {
    color: #cfffad;
}

.cta-panel h2 {
    color: #fff;
}

.cta-panel p {
    color: #d8f0d0;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-actions .ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .38);
}

/* PAGE HERO */
.page-hero {
    padding: 64px 7% 42px;
    background: linear-gradient(135deg, #fffaf0, #eaf8e1);
    border-bottom: 1px solid var(--line);
}

.page-hero.small {
    padding-top: 46px;
}

.page-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .95;
    color: var(--green-deep);
    letter-spacing: -.05em;
}

.page-hero p {
    color: var(--muted);
    max-width: 680px;
    margin-top: 12px;
}

/* AUTH */
.auth-wrap {
    padding: 54px 7%;
}

.auth-card {
    display: grid;
    grid-template-columns: .9fr 1fr;
    overflow: hidden;
    max-width: 1120px;
    margin: auto;
}

.auth-art {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 44px;
    background: linear-gradient(135deg, var(--green-deep), #0e733f);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-art::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.auth-art img {
    width: 82px;
    height: 82px;
    background: #fff;
    border-radius: 24px;
    padding: 8px;
}

.auth-art h1 {
    position: relative;
    z-index: 1;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px;
    line-height: 1;
}

.auth-art p {
    position: relative;
    z-index: 1;
    color: #dff6d7;
}

.auth-demo-box {
    display: grid;
    gap: 7px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    padding: 16px;
    font-size: 13px;
}

.auth-form {
    padding: 44px;
    display: grid;
    gap: 16px;
    background: #fff;
}

.auth-form h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 46px;
    color: var(--green-deep);
}

/* FORMS */
label {
    display: grid;
    gap: 8px;
    font-weight: 1000;
    color: var(--green-deep);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 15px;
    background: #fff;
    color: var(--ink);
    outline: none;
    font-size: 15px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #9edb8a;
    box-shadow: 0 0 0 4px rgba(151, 226, 92, .18);
}

textarea {
    resize: vertical;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.tight-grid {
    gap: 12px;
}

.alert,
.flash {
    margin: 16px 7%;
    padding: 13px 16px;
    border-radius: 16px;
    font-weight: 900;
}

.alert.danger,
.flash.error {
    background: #ffe9e9;
    color: #8c1515;
    border: 1px solid #ffcaca;
}

.flash.success {
    background: #e8f8d7;
    color: #286116;
    border: 1px solid #c7edae;
}

/* REPORT FORM */
.form-shell {
    max-width: 1120px;
    margin: 36px auto 70px;
    padding: 30px;
}

.report-form {
    display: grid;
    gap: 18px;
}

.upload-box {
    position: relative;
    border: 2px dashed #cfe5c4;
    border-radius: 22px;
    padding: 28px;
    text-align: center;
    background: #fbfff8;
}

.upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-box p {
    font-weight: 1000;
    color: var(--green-deep);
}

.upload-box small {
    color: var(--muted);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.preview-grid img {
    height: 96px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
}

/* FILTER BAR */
.toolbar-section {
    padding: 26px 7% 12px;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 145px 145px 160px auto;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

/* REPORT CARDS */
.reports-grid-section {
    padding: 34px 7% 82px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 34px;
}

.compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 30px;
}

.pet-card {
    overflow: hidden;
    border-radius: 28px;
    transition: .2s ease;
}

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

.pet-img-wrap {
    position: relative;
    overflow: hidden;
    height: 195px;
    padding: 10px;
    background: linear-gradient(135deg, #f7fff2, #e4f7dc);
}

.compact-card .pet-img-wrap {
    height: 175px;
}

.pet-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.type-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
    background: #e7f7dc;
    color: #27621b;
}

.pet-img-wrap .type-chip {
    position: absolute;
    top: 18px;
    left: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

.type-chip.lost {
    background: #fff0cf;
    color: #7f5209;
}

.type-chip.found {
    background: #dffff0;
    color: #0e6440;
}

.pet-card-body {
    padding: 21px;
    display: grid;
    gap: 10px;
}

.pet-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pet-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    line-height: 1.05;
    color: var(--green-deep);
}

.pet-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
}

.pet-card .btn,
.preview-grid-cards .btn {
    margin-top: 6px;
}

.badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge.open {
    background: #eaf8ff;
    color: #12638c;
}

.badge.success {
    background: #e5ffd3;
    color: #285d1f;
}

.badge.warning {
    background: #fff2cc;
    color: #865b00;
}

.badge.muted {
    background: #eee;
    color: #555;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 46px;
}

.empty-state .btn {
    margin-top: 14px;
}

/* DETAILS PAGE */
.details-shell {
    padding: 42px 7% 70px;
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--green-deep);
    font-weight: 1000;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gallery-card,
.details-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 22px;
    box-shadow: var(--shadow-soft);
}

.main-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    background: #eef8ea;
}

.thumb-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb-row img {
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
}

.details-title-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.details-card h1 {
    margin: 12px 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 52px;
    line-height: 1;
    color: var(--green-deep);
}

.details-card h3 {
    margin-top: 18px;
    color: var(--green-deep);
}

.detail-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-reveal {
    width: 100%;
}

.contact-reveal summary {
    list-style: none;
}

.contact-reveal summary::-webkit-details-marker {
    display: none;
}

.contact-box {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #eef9e7;
    border: 1px solid #cfe8be;
    color: #003f24;
    font-weight: 800;
    text-align: center;
}

.contact-box {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #eef9e7;
    border: 1px solid #cfe8be;
    color: #003f24;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.5px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.panel-card {
    padding: 24px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-head a {
    color: var(--green-deep);
    font-weight: 1000;
}

.info-list {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px;
}

.info-list dt {
    font-weight: 1000;
    color: var(--green-deep);
}

.sightings-list {
    margin-top: 24px;
}

.activity-row {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.activity-row:last-child {
    border-bottom: 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 6px;
    flex: 0 0 auto;
}

.mini-form {
    display: grid;
    gap: 12px;
}

/* DASHBOARD */
.dashboard-hero {
    padding: 46px 7% 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.dashboard-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    color: var(--green-deep);
}

.dashboard-shell {
    padding: 0 7% 70px;
}

.user-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.user-stat {
    padding: 22px;
}

.user-stat span,
.user-stat a {
    font-weight: 1000;
    color: var(--muted);
}

.user-stat strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--green-deep);
    font-size: 46px;
}

.user-stat a {
    font-size: 13px;
    color: var(--green);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.activity-list {
    display: grid;
    gap: 10px;
}

.mini-report-row {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    background: #fbfff8;
}

.mini-report-row img {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
}

.mini-report-row small {
    display: block;
    color: var(--muted);
}

/* PROFILE */
.profile-shell {
    padding: 50px 7% 70px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}

.profile-menu {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-menu a {
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 1000;
    color: var(--green-deep);
}

.profile-menu a.active,
.profile-menu a:hover {
    background: var(--mint);
}

.profile-avatar-large {
    width: 110px;
    height: 110px;
    border-radius: 34px;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 1000;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card {
    padding: 34px;
}

.profile-card h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 48px;
    color: var(--green-deep);
    margin-bottom: 16px;
}

/* PAGE HEIGHT FIX */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    min-height: auto;
}

/* FOOTER */
.site-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    background: var(--green-deep);
    color: white;
    padding: 22px 7%;
    min-height: auto;
}

.site-footer p {
    color: #d6ead0;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.site-footer strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    line-height: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 360px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    padding: 5px;
}

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

.footer-links a {
    color: #e8ffdf;
    font-weight: 900;
    font-size: 13px;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    text-align: right;
    font-size: 13px;
    font-weight: 800;
    color: #e8ffdf;
    white-space: nowrap;
}

/* PHONE */
@media (max-width: 700px) {
    .site-footer {
        padding: 20px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-brand img {
        width: 42px;
        height: 42px;
    }

    .site-footer strong {
        font-size: 21px;
    }

    .footer-contact {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
        text-align: left;
        white-space: normal;
        font-size: 12px;
    }
}

/* PHONE */
@media (max-width: 700px) {
    .site-footer {
        padding: 12px 5% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        min-height: auto !important;
    }

    .footer-brand img {
        width: 36px !important;
        height: 36px !important;
    }

    .site-footer strong {
        font-size: 19px !important;
    }

    .footer-contact {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        text-align: left !important;
        white-space: normal !important;
        font-size: 11px !important;
    }
}

/* PHONE */
@media (max-width: 700px) {
    .site-footer {
        padding: 18px 5%;
        gap: 14px;
        align-items: flex-start;
    }

    .footer-brand img {
        width: 40px;
        height: 40px;
    }

    .site-footer strong {
        font-size: 20px;
    }

    .footer-contact {
        text-align: left;
    }
}

/* TABLET */
@media (max-width: 1000px) {
    .hero,
    .split-section,
    .auth-card,
    .details-grid,
    .profile-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 42px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 420px;
    }

    .stats-strip,
    .user-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid,
    .steps-grid,
    .preview-grid-cards,
    .reports-grid,
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }

    .filter-bar {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .pet-img-wrap,
    .compact-card .pet-img-wrap,
    .preview-grid-cards img {
        height: 190px;
    }
}

/* PHONE */
@media (max-width: 700px) {
    .top-strip {
        display: none;
    }

    .site-header {
        padding: 12px 5%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .brand span {
        font-size: 25px;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        gap: 16px;
        font-size: 13px;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions .btn {
        padding: 10px 13px;
        font-size: 12px;
    }

    .hero,
    .section,
    .auth-wrap,
    .details-shell,
    .dashboard-shell,
    .profile-shell {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .hero {
        padding-top: 36px;
        padding-bottom: 44px;
        gap: 26px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-visual,
    .hero-visual img {
        min-height: 330px;
    }

    .floating-card {
        display: none;
    }

    .stats-strip {
        margin: 0 5% 30px;
        grid-template-columns: 1fr 1fr;
        border-radius: 22px;
    }

    .stats-strip div {
        padding: 18px;
    }

    .stats-strip strong {
        font-size: 32px;
    }

    .work-grid,
    .steps-grid,
    .preview-grid-cards,
    .reports-grid,
    .compact-grid,
    .user-stat-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .reports-grid-section {
        padding: 24px 5% 56px;
    }

    .pet-card {
        border-radius: 24px;
    }

    .pet-img-wrap,
    .compact-card .pet-img-wrap,
    .preview-grid-cards img {
        height: 185px;
    }

    .pet-card-body {
        padding: 18px;
    }

    .pet-card h3 {
        font-size: 23px;
    }

    .filter-bar,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .auth-art {
        min-height: auto;
        padding: 28px;
    }

    .auth-art h1,
    .auth-form h2,
    .profile-card h1 {
        font-size: 36px;
    }

    .auth-form,
    .form-shell,
    .profile-card {
        padding: 24px;
    }

    .page-hero {
        padding: 42px 5% 32px;
    }

    .details-card h1 {
        font-size: 40px;
    }

    .main-photo {
        height: 320px;
    }

    .thumb-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-hero {
        padding: 34px 5% 18px;
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-panel {
        margin: 32px 5%;
        padding: 28px;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 5%;
    }
}

/* GLOBAL SPACING + SIZE ADJUSTMENT */

/* More breathing room overall */
.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    margin-bottom: 48px;
}

.hero {
    gap: 70px;
    padding-top: 82px;
    padding-bottom: 70px;
}

/* More space between statistic cards */
.stats-strip {
    margin-bottom: 75px;
}

/* Space out homepage cards */
.preview-grid-cards {
    gap: 46px;
}

.preview-grid-cards article {
    padding: 18px;
}

.preview-grid-cards img {
    height: 230px;
}

/* Space out lost/found cards */
.reports-grid {
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.compact-grid {
    gap: 42px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Make cards feel cleaner, less cramped */
.pet-card {
    border-radius: 32px;
}

.pet-img-wrap {
    height: 230px;
    padding: 14px;
}

.compact-card .pet-img-wrap {
    height: 205px;
}

.pet-card-body {
    padding: 28px;
    gap: 15px;
}

.pet-card h3 {
    font-size: 25px;
}

.pet-card p {
    line-height: 1.65;
}

/* More space for How It Works cards */
.work-grid,
.steps-grid {
    gap: 42px;
}

.work-card {
    padding: 36px;
}

/* Forms less tight */
.form-shell,
.auth-form,
.profile-card {
    padding: 38px;
}

.form-grid {
    gap: 20px;
}

/* Dashboard cards */
.user-stat-grid,
.dashboard-grid {
    gap: 28px;
}

/* Tablet */
@media (max-width: 1000px) {
    .section {
        padding-top: 76px;
        padding-bottom: 76px;
    }

    .hero {
        gap: 42px;
    }

    .reports-grid,
    .compact-grid,
    .preview-grid-cards,
    .work-grid,
    .steps-grid {
        gap: 32px;
    }

    .pet-img-wrap,
    .compact-card .pet-img-wrap,
    .preview-grid-cards img {
        height: 215px;
    }
}

/* Phone */
@media (max-width: 700px) {
    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .hero {
        gap: 34px;
    }

    .reports-grid,
    .compact-grid,
    .preview-grid-cards,
    .work-grid,
    .steps-grid,
    .user-stat-grid,
    .dashboard-grid {
        gap: 28px;
    }

    .pet-img-wrap,
    .compact-card .pet-img-wrap,
    .preview-grid-cards img {
        height: 215px;
    }

    .pet-card-body {
        padding: 22px;
    }

    .form-shell,
    .auth-form,
    .profile-card {
        padding: 28px;
    }
}

/* HERO IMAGE FIX */
.hero-visual {
    position: relative;
    min-height: 540px;
    border-radius: 42px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #dfe9d8;
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* FADE EFFECT */
.hero-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to right,
            rgba(247, 255, 242, 0.18),
            rgba(247, 255, 242, 0.04) 35%,
            rgba(8, 60, 34, 0.08) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.08),
            rgba(8, 60, 34, 0.22)
        );
}

/* FLOATING CARDS */
.hero-card {
    position: absolute;
    z-index: 2;
    width: 210px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.hero-card strong {
    display: block;
    color: var(--green-deep);
    font-weight: 1000;
    margin-bottom: 6px;
}

.hero-card p {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}

.hero-card-top {
    top: 22px;
    left: 22px;
}

.hero-card-bottom {
    right: 22px;
    bottom: 22px;
}

/* LANDING SAMPLE PET IMAGES FIX */
.preview-grid-cards article {
    overflow: hidden;
}

.preview-grid-cards img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    background: #f7fff2;
    padding: 8px;
    border-radius: 18px 18px 0 0;
}

/* LANDING ACTIVITIES SECTION */
.activities-section {
    background: #f7fcf1;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.activity-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: .2s ease;
    min-height: 230px;
}

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

.activity-number {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--green-soft);
    color: var(--green-deep);
    display: grid;
    place-items: center;
    font-weight: 1000;
    margin-bottom: 18px;
}

.activity-card h3 {
    color: var(--green-deep);
    font-size: 22px;
    margin-bottom: 8px;
}

.activity-card p {
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 1100px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .activity-card {
        padding: 22px;
        min-height: auto;
        border-radius: 22px;
    }
}

/* ACTIVITIES SECTION FIX */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.activity-card {
    min-height: 220px;
}

@media (max-width: 760px) {
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ACTIVITIES VIEW LINKS */
.activity-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.activity-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.activity-link:hover {
    text-decoration: underline;
}

/* ACTIVITY MULTI LINKS */
.activity-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.activity-link-group {
    display: grid;
    gap: 10px;
}

.activity-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.activity-link:hover {
    text-decoration: underline;
}

/* ACTIVITY VIEW LINKS */
.activity-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.activity-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.activity-link:hover {
    text-decoration: underline;
}

/* ACTIVITY VIEW LINKS */
.activity-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.activity-link-group {
    display: grid;
    gap: 10px;
}

.activity-link {
    color: var(--green);
    font-weight: 900;
    text-decoration: none;
}

.activity-link:hover {
    text-decoration: underline;
}

.site-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e6eee3;
    padding: 18px 7%;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #06451f;
    font-size: 32px;
    font-weight: 800;
}

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

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

.nav-links a {
    text-decoration: none;
    color: #063b1c;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.logout-btn {
    padding: 13px 28px;
    border: 1px solid #dce5d8;
    border-radius: 999px;
    text-decoration: none;
    color: #063b1c;
    font-weight: 800;
    background: #fff;
}

.logout-btn:hover {
    background: #eef8ec;
}

/* LOGIN DEMO ACCOUNTS */
.demo-accounts {
    margin-top: 28px;
    width: 100%;
    max-width: 380px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.demo-title {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.demo-account {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.demo-account strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #ffffff;
}

.demo-account span {
    display: block;
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
}

/* NAVBAR OVERFLOW FIX */
.site-header {
    width: 100%;
    max-width: 100%;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.nav-links a {
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-actions .btn {
    white-space: nowrap;
    padding: 12px 22px;
}

/* TABLET / SMALL SCREEN */
@media (max-width: 1000px) {
    .site-header {
        padding: 16px 24px;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-actions .btn {
        padding: 10px 16px;
    }
}

/* MOBILE */
@media (max-width: 760px) {
    .site-header {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex: none;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .nav-actions {
        order: 2;
        margin-left: auto;
    }
}/* FIX NAVBAR WIDTH / SIGN UP GOING OUT */
* {
    box-sizing: border-box;
}

.site-header {
    width: 100%;
    max-width: 100%;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
}

.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    white-space: nowrap;
}

.nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    white-space: nowrap;
    padding: 12px 22px;
}

/* smaller laptop screens */
@media (max-width: 1100px) {
    .site-header {
        padding: 16px 32px;
        gap: 18px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-actions .btn {
        padding: 10px 16px;
    }
}

/* mobile */
@media (max-width: 760px) {
    .site-header {
        flex-wrap: wrap;
        padding: 16px 22px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex: none;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .nav-actions {
        order: 2;
        margin-left: auto;
    }
}

/* FIX NAVBAR WIDTH / SIGN UP GOING OUT */
* {
    box-sizing: border-box;
}

.site-header {
    width: 100%;
    max-width: 100%;
    padding: 18px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
}

.brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-links a {
    white-space: nowrap;
}

.nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-actions .btn {
    white-space: nowrap;
    padding: 12px 22px;
}

/* smaller laptop screens */
@media (max-width: 1100px) {
    .site-header {
        padding: 16px 32px;
        gap: 18px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-actions .btn {
        padding: 10px 16px;
    }
}

/* mobile */
@media (max-width: 760px) {
    .site-header {
        flex-wrap: wrap;
        padding: 16px 22px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex: none;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

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

    .nav-actions {
        order: 2;
        margin-left: auto;
    }
}

.activity-card-clickable {
    cursor: pointer;
}
