/* =========================================
   1. CUSTOM PROPERTIES
   ========================================= */
:root {
    /* Typography */
    --font: 'Inter', system-ui, -apple-system, sans-serif;

    /* Dog Theme — sky blue */
    --dog-primary: #2e8bc0;
    --dog-primary-hover: #2479a8;
    --dog-light: #e9f3fa;
    --dog-lighter: #f3f8fc;

    /* Horse Theme — soft coral / warm rose */
    --horse-primary: #d4735e;
    --horse-primary-hover: #c06350;
    --horse-light: #fdf0ec;
    --horse-lighter: #fef7f5;

    /* Active theme defaults to dog */
    --primary: var(--dog-primary);
    --primary-hover: var(--dog-primary-hover);
    --theme-light: var(--dog-light);
    --theme-lighter: var(--dog-lighter);

    /* Neutrals */
    --bg: #ffffff;
    --bg-soft: #f8f9fb;
    --bg-muted: #f1f3f6;
    --text: #1a2332;
    --text-secondary: #5b6b80;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #eef2f7;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container-max: 1200px;
    --radius: 12px;
    --radius-lg: 16px;

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 0.2s var(--ease-smooth);
    --t-slide: 0.65s var(--ease-out);
}

/* Theme switching */
[data-active-theme="horse"] {
    --primary: var(--horse-primary);
    --primary-hover: var(--horse-primary-hover);
    --theme-light: var(--horse-light);
    --theme-lighter: var(--horse-lighter);
}


/* =========================================
   2. RESET & BASE
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    color: var(--text);
    line-height: 1.65;
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
address { font-style: normal; }


/* =========================================
   3. UTILITY
   ========================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-label {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-heading {
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.placeholder {
    background: var(--bg-muted);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}


/* =========================================
   4. BUTTONS
   ========================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.9rem 2.1rem;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    padding: 0.85rem 2.1rem;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-fast);
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--theme-light);
}

/* Per-slide overrides */
[data-theme="dog"] .btn-primary { background: var(--dog-primary); }
[data-theme="dog"] .btn-primary:hover { background: var(--dog-primary-hover); }
[data-theme="horse"] .btn-primary { background: var(--horse-primary); }
[data-theme="horse"] .btn-primary:hover { background: var(--horse-primary-hover); }


/* =========================================
   5. NAVBAR
   ========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 16px rgba(0,0,0,0.04);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* -- Row 1: logo + toggle + CTA + burger -- */
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.logo-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.25;
}
.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: none;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all var(--t-fast);
}
.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
    .nav-cta { display: inline-flex; }
}

/* -- Row 2: section links -- */
.nav-links {
    display: none;
    list-style: none;
    gap: 0.2rem;
    padding: 0 0 0.6rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.5rem;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover {
    color: var(--primary);
    background: var(--theme-light);
}

/* Desktop: show second row inline, hide mobile-only items */
@media (min-width: 960px) {
    .nav-links {
        display: flex;
    }
    .nav-mobile-only {
        display: none !important;
    }
}

/* -- Hamburger Button -- */
.nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 7px;
    border-radius: 8px;
    transition: background var(--t-fast);
    -webkit-tap-highlight-color: transparent;
}

.nav-burger:hover {
    background: var(--bg-soft);
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.open span:nth-child(2) {
    opacity: 0;
}
.nav-burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide burger on desktop */
@media (min-width: 960px) {
    .nav-burger { display: none; }
}

/* -- Mobile dropdown: opens below row 1 -- */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.75rem;
}

.nav-links.mobile-open a {
    display: block;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 8px;
}

.nav-links.mobile-open .nav-mobile-only a {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin-top: 0.35rem;
    border-radius: 50px;
    padding: 0.7rem 1rem;
}
.nav-links.mobile-open .nav-mobile-only a:hover {
    background: var(--primary-hover);
}


/* -- Species Toggle -- */
.species-toggle {
    display: flex;
    background: var(--bg-soft);
    padding: 3px;
    border-radius: 50px;
    position: relative;
    user-select: none;
    border: 1px solid var(--border);
}

.species-toggle input { display: none; }

.species-toggle label {
    z-index: 2;
    padding: 6px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    transition: color 0.3s;
    color: var(--text-secondary);
    white-space: nowrap;
}

.species-toggle input:checked + label {
    color: #fff;
}

.toggle-pill {
    position: absolute;
    left: 3px;
    top: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: var(--dog-primary);
    border-radius: 50px;
    transition: transform 0.35s var(--ease-out), background 0.35s;
    z-index: 1;
}

#horse-mode:checked ~ .toggle-pill {
    transform: translateX(100%);
    background: var(--horse-primary);
}


/* =========================================
   6. SLIDER MECHANICS
   ========================================= */
.slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 200%;
    transition: transform var(--t-slide);
}

.slider-track.show-horse {
    transform: translateX(-50%);
}

.slide-page {
    width: 50%;
    flex-shrink: 0;
}


/* =========================================
   7. HERO — Full Background
   ========================================= */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--bg-soft);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

/* Gradient blend into page */
.hero-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            rgba(255,255,255,0) 40%,
            rgba(255,255,255,0.6) 72%,
            rgba(255,255,255,1) 100%
        ),
        linear-gradient(to right,
            rgba(255,255,255,0.95) 0%,
            rgba(255,255,255,0.8) 28%,
            rgba(255,255,255,0.15) 52%,
            rgba(255,255,255,0) 68%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    width: 100%;
}

.hero .badge {
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 6px;
    margin-bottom: 1rem;
}
[data-theme="dog"] .hero .badge {
    color: var(--dog-primary);
    background: var(--dog-light);
    border: 1px solid rgba(46, 139, 192, 0.2);
}
[data-theme="horse"] .hero .badge {
    color: var(--horse-primary);
    background: var(--horse-light);
    border: 1px solid rgba(212, 115, 94, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.3rem);
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    max-width: 500px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 440px;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}


/* =========================================
   8. INDICATIONS (per-slide)
   Fixed: explicit 2-column grid so both slides match
   ========================================= */
.section-indications {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.indication-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.indication-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--t-fast);
    min-height: 56px;
}
.indication-item:hover {
    background: var(--bg);
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.indication-item svg {
    flex-shrink: 0;
}
[data-theme="dog"] .indication-item svg { color: var(--dog-primary); }
[data-theme="horse"] .indication-item svg { color: var(--horse-primary); }

.indication-item span {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
}


/* =========================================
   9. SERVICES (per-slide)
   ========================================= */
.section-services {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.service-card {
    background: var(--bg);
    padding: 1.85rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.25s var(--ease-smooth);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.service-num {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.8rem;
    display: block;
    transition: color 0.3s;
    color: var(--border);
}
.service-card:hover .service-num { color: var(--primary); }
[data-theme="dog"] .service-card:hover .service-num { color: var(--dog-primary); }
[data-theme="horse"] .service-card:hover .service-num { color: var(--horse-primary); }
[data-theme="dog"] .service-card:hover { border-color: var(--dog-primary); }
[data-theme="horse"] .service-card:hover { border-color: var(--horse-primary); }

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
[data-theme="dog"] .service-card h3 { color: var(--dog-primary); }
[data-theme="horse"] .service-card h3 { color: var(--horse-primary); }

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}


/* =========================================
   10. OSTEOPATHY INFO (shared)
   ========================================= */
.section-osteo {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.osteo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.osteo-card {
    background: var(--bg-soft);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}
.osteo-card:hover {
    background: var(--bg);
    border-color: var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Reveal animation */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out),
                background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}
.osteo-cards .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.osteo-cards .reveal-item:nth-child(3) { transition-delay: 0.16s; }

.osteo-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    color: var(--primary);
}

.osteo-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.osteo-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* =========================================
   10b. THERAPY SECTIONS (Mesotherapie / Mikroimmuntherapie)
   ========================================= */
.section-therapy {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.section-therapy--alt {
    background: var(--bg);
}

.therapy-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: center;
}

.therapy-layout--reversed {
    grid-template-columns: 1.15fr 0.85fr;
}

.therapy-layout--reversed .therapy-image {
    order: 2;
}

.therapy-layout--reversed .therapy-text {
    order: 1;
}

.therapy-image {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.therapy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.therapy-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.therapy-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.therapy-point {
    padding: 1.1rem 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--t-fast);
}

.section-therapy--alt .therapy-point {
    background: var(--bg-soft);
}

.therapy-point:hover {
    border-color: var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.therapy-point h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.therapy-point p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* =========================================
   11. ABOUT (shared)
   ========================================= */
.section-about {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.about-layout {
    display: grid;
    /* Shift to a flexible text area and a fixed, smaller image column */
    grid-template-columns: 1fr 280px; 
    gap: 4rem;
    align-items: start; /* Align to the top instead of the vertical center */
}

.about-text .section-heading {
    font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.about-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-text > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credential {
    display: grid;
    /* 1st col: 45px for logo | 2nd col: 150px for title | 3rd col: description */
    grid-template-columns: 45px 150px 1fr; 
    gap: 1.25rem;
    align-items: center; 
    padding: 0.8rem 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.credential-logo {
    width: 100%;
    height: auto;
    max-height: 45px;
    object-fit: contain; 
}

.credential-logo-placeholder {
    width: 100%;
    height: 45px;
}

.credential strong {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    white-space: nowrap;
}

.credential span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* The new, smaller portrait styling */
.about-portrait {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps it a perfect square */
    border-radius: 50%; /* A circle looks highly professional for smaller portraits */
    overflow: hidden;
    background: var(--bg-muted);
    border: 4px solid var(--bg); /* Adds a nice frame effect */
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}


/* =========================================
   12. QUOTE (shared)
   ========================================= */
.section-quote {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.section-quote blockquote {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.section-quote blockquote p {
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
    font-weight: 500;
    font-style: italic;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.section-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* =========================================
   13. CONTACT (shared)
   ========================================= */
.section-contact {
    padding: var(--section-pad) 0;
    background: var(--bg-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.contact-item svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}
.contact-item div {
    display: flex;
    flex-direction: column;
}
.contact-item strong {
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1px;
}
.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    color: var(--text);
}
.contact-item a { transition: color var(--t-fast); }
.contact-item a:hover { color: var(--primary); }

.contact-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-map {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-muted);
}


/* =========================================
   14. FOOTER
   ========================================= */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.45);
    padding: 1.75rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}
.footer-brand strong {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}
.footer-brand span {
    font-size: 0.78rem;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
}
.footer-legal a { transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }


/* =========================================
   15. LEGAL PAGES (impressum / datenschutz)
   ========================================= */
.legal-page {
    padding: var(--section-pad) 0;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.legal-page p,
.legal-page li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-page a:hover {
    color: var(--primary-hover);
}


/* =========================================
   16. RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
    /* HERO MOBILE: image fills from top-right, bigger and shifted */
    .hero {
        min-height: 90vh;
        align-items: flex-end;
    }
    .hero-bg img {
        object-fit: cover;
        object-position: 80% 15%;
        transform: scale(1.2);
    }
    .hero-fade {
        background:
            linear-gradient(to bottom,
                rgba(255,255,255,0.15) 0%,
                rgba(255,255,255,0.5) 45%,
                rgba(255,255,255,0.85) 65%,
                rgba(255,255,255,1) 100%
            );
    }
    .hero-content {
        padding-bottom: 3rem;
    }
    .hero-content h1 {
        max-width: 100%;
    }
    .hero-content p {
        max-width: 100%;
    }

    .indication-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .osteo-cards {
        grid-template-columns: 1fr;
    }

    .therapy-layout,
    .therapy-layout--reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .therapy-layout--reversed .therapy-image { order: -1; }
    .therapy-layout--reversed .therapy-text { order: 2; }
    .therapy-image {
        max-width: 350px;
        margin: 0 auto;
    }
    .therapy-details {
        text-align: left;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-image-col {
        display: flex;
        justify-content: center;
        order: -1;
    }

    .about-portrait {
        max-width: 220px;
    }
    
    .about-credentials {
        text-align: left;
    }
    
    .credential {
        grid-template-columns: 40px 1fr; /* Logo left, stacked text right */
        grid-template-rows: auto auto;
        gap: 0.2rem 1rem;
        align-items: start;
        text-align: left;
    }
    
    .credential-logo,
    .credential-logo-placeholder {
        grid-row: 1 / span 2; 
        margin-top: 4px; 
    }
    
    .credential strong,
    .credential span {
        grid-column: 2; 
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 280px;
    }
}

@media (max-width: 600px) {
    body { font-size: 16px; }

    .nav-inner { padding: 0 1rem; }
    .nav-top { padding: 0.5rem 0; }
    .logo-name { font-size: 0.88rem; }
    .species-toggle label {
        padding: 5px 14px;
        font-size: 0.76rem;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero {
        min-height: 85vh;
    }
    .hero-content {
        padding: 2rem 1.25rem 2.5rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-bg img {
        object-position: 5% 100px;
        transform: scale(1.35);
    }

    .contact-actions {
        flex-direction: column;
    }
    .contact-actions .btn-primary,
    .contact-actions .btn-outline {
        text-align: center;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
