/* ====================================================
   Stajnia Pod Lipą — nauka jazdy konnej, Pniewy
   Estetyka: kremowa, rustykalna, przestrzenna, spokój
   ==================================================== */

/* ---- Custom properties ---- */
:root {
    --bg:         #F5EFE0;
    --bg-2:       #EFE6D0;
    --bg-3:       #E8DFC8;
    --green:      #4A5D3A;
    --green-dim:  #3D4E2E;
    --brown:      #8B5E3C;
    --brown-dim:  #7A4E2C;
    --text:       #2D2A1F;
    --text-mid:   #5A5347;
    --text-muted: #8A7E71;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Work Sans', system-ui, sans-serif;

    --radius:     3px;
    --radius-lg:  6px;
    --gap:        clamp(1.5rem, 4vw, 3rem);
    --section-pad: clamp(5rem, 12vw, 9rem);
    --max-width:  1160px;
    --text-width: 65ch;

    --transition: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    line-height: 1.72;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover, a:focus-visible { color: var(--green-dim); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
    border-radius: var(--radius);
}

ul, ol { list-style: none; }

/* ---- Typography helpers ---- */
.section-label {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.01em;
    margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
    max-width: var(--text-width);
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.875rem;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
    line-height: 1;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--brown);
    color: #fff;
    border-color: var(--brown);
}
.btn--primary:hover, .btn--primary:focus-visible {
    background: var(--brown-dim);
    border-color: var(--brown-dim);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: rgba(45, 42, 31, 0.3);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
    border-color: var(--text);
    color: var(--text);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 239, 224, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 93, 58, 0.12);
}

.site-nav nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gap);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text);
    letter-spacing: 0.01em;
    transition: color var(--transition);
}
.nav-logo:hover .nav-logo__text,
.nav-logo:focus-visible .nav-logo__text { color: var(--green); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}
.nav-links a {
    color: var(--text-mid);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.nav-links .nav-cta {
    color: #fff;
    background: var(--brown);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background var(--transition);
}
.nav-links .nav-cta:hover, .nav-links .nav-cta:focus-visible {
    background: var(--brown-dim);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding-top: 64px;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-pad) var(--gap);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    width: 100%;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: 0.01em;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.hero-headline em {
    font-style: italic;
    color: var(--green);
}

.hero-sub {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: var(--text-mid);
    max-width: 50ch;
    line-height: 1.75;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.hero-detail {
    font-size: 0.825rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

/* Album-format image */
.hero-image__frame {
    position: relative;
}
.hero-image__frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: sepia(15%) brightness(0.95) contrast(1.02);
    border: 1px solid rgba(139, 94, 60, 0.15);
}
.hero-image__caption {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.05em;
}

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy {
    background: var(--bg-2);
    padding: var(--section-pad) var(--gap);
}

.philosophy-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.portrait-frame {
    position: relative;
}
.portrait-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    filter: sepia(12%) brightness(0.92) contrast(1.05);
    border: 1px solid rgba(139, 94, 60, 0.15);
}

.philosophy-credential {
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(74, 93, 58, 0.15);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
    font-style: italic;
}

.philosophy-text .section-label { margin-bottom: 2rem; }

.philosophy-body p {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    max-width: var(--text-width);
}
.philosophy-body p:last-child { margin-bottom: 0; }

.philosophy-quote {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    border-left: 3px solid var(--brown);
    background: var(--bg-3);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.philosophy-quote p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 400;
    color: var(--text);
    line-height: 1.45;
}

/* ============================================================
   HORSES — Sekcja zaufania Typ E
   ============================================================ */
.horses {
    background: var(--bg);
    padding: var(--section-pad) var(--gap);
}

.horses-header {
    max-width: var(--max-width);
    margin: 0 auto clamp(3rem, 6vw, 5rem);
}
.horses-intro {
    color: var(--text-mid);
    max-width: 55ch;
    margin-top: 0.5rem;
}

.horses-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* 7. karta — szeroka, ostatnia w siatce 3-kol */
.horse-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 300px 1fr;
    align-items: start;
    gap: 2rem;
}
.horse-card--wide .horse-card__photo img {
    height: 300px;
}

.horse-card {
    border: 1px solid rgba(74, 93, 58, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-2);
    transition: border-color var(--transition), transform var(--transition);
}
.horse-card:hover {
    border-color: rgba(139, 94, 60, 0.3);
    transform: translateY(-3px);
}

.horse-card__photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: sepia(10%) brightness(0.93) contrast(1.04);
    border-bottom: 1px solid rgba(74, 93, 58, 0.1);
}
.horse-card--wide .horse-card__photo {
    border-bottom: none;
    border-right: 1px solid rgba(74, 93, 58, 0.1);
}

.horse-card__info {
    padding: 1.5rem;
}

.horse-card__name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.horse-card__meta {
    font-size: 0.775rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}

.horse-card__note {
    font-style: italic;
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.65;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

/* ============================================================
   LESSONS — Jak wygląda lekcja
   ============================================================ */
.lessons {
    background: var(--bg-3);
    padding: var(--section-pad) var(--gap);
}

.lessons-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.lessons-header {
    margin-bottom: clamp(3rem, 6vw, 5rem);
}
.lessons-intro {
    color: var(--text-mid);
    max-width: 55ch;
    margin-top: 0.5rem;
    font-size: 1.05rem;
}

.lessons-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
    max-width: 800px;
}

.lessons-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(74, 93, 58, 0.12);
    align-items: start;
}
.lessons-step:first-child { padding-top: 0; }

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--brown);
    line-height: 1;
    padding-top: 0.25rem;
    opacity: 0.6;
}

.step-title {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.step-text {
    color: var(--text-mid);
    font-size: 0.925rem;
    line-height: 1.72;
}

/* Pricing */
.lessons-pricing {
    background: var(--bg-2);
    border: 1px solid rgba(74, 93, 58, 0.15);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 93, 58, 0.1);
}
.pricing-item:last-child { border-bottom: none; }

.pricing-item__name {
    color: var(--text-mid);
    font-size: 0.9375rem;
}
.pricing-item__price {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.pricing-item--note .pricing-item__price {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.lessons-cta { margin-top: 1rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--bg-2);
    padding: var(--section-pad) var(--gap);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.contact-lead {
    color: var(--text-mid);
    max-width: 56ch;
    font-size: 1.05rem;
    line-height: 1.72;
    margin-top: 0.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

/* ---- Form ---- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label,
.form-fieldset legend {
    font-size: 0.85rem;
    color: var(--text-mid);
    letter-spacing: 0.02em;
}
.form-group label span[aria-hidden] { color: var(--brown); }

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg);
    border: 1px solid rgba(74, 93, 58, 0.25);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: border-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: rgba(74, 93, 58, 0.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A7E71' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-group select option { background: var(--bg); color: var(--text); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group--consent { margin-top: 0.25rem; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: var(--green);
    flex-shrink: 0;
    margin-top: 0.1em;
    cursor: pointer;
    padding: 0;
    border: none;
}
.checkbox-label a { color: var(--green); font-size: inherit; }

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.form-success {
    text-align: center;
    padding: 1.25rem;
    background: rgba(74, 93, 58, 0.08);
    border: 1px solid rgba(74, 93, 58, 0.25);
    border-radius: var(--radius);
    color: var(--green-dim);
    font-weight: 500;
}

/* ---- Contact info ---- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
}
.contact-info__block { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-info__title {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.2rem;
    font-weight: 500;
}
.contact-info__block address {
    font-style: normal;
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.75;
}
.contact-info__block address a { color: var(--brown); }
.contact-info__block > a { color: var(--brown); font-size: 0.9rem; }

.contact-hours {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1rem;
    font-size: 0.875rem;
}
.contact-hours dt { color: var(--text-muted); }
.contact-hours dd { color: var(--text-mid); }

.contact-map-placeholder {
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(74, 93, 58, 0.25);
    background: var(--bg);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.contact-map-placeholder:hover,
.contact-map-placeholder:focus-visible {
    border-color: rgba(74, 93, 58, 0.45);
    background: rgba(74, 93, 58, 0.04);
}
.contact-map-placeholder__inner {
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.contact-map-placeholder__inner span { color: var(--text-mid); font-size: 0.875rem; }
.contact-map-placeholder__inner small { color: var(--text-muted); font-size: 0.72rem; }

.contact-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-style: italic;
}

.contact-closing {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 93, 58, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-3);
    border-top: 1px solid rgba(74, 93, 58, 0.12);
    padding: clamp(3rem, 6vw, 5rem) var(--gap) clamp(1.5rem, 3vw, 2.5rem);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
    margin-bottom: 3rem;
}

.footer-brand__name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.footer-brand__address {
    font-style: normal;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 0.25rem;
}
.footer-brand__address a { color: var(--brown); }
.footer-brand__hours {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 3rem;
    justify-content: flex-end;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(74, 93, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-demo { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }
.footer-demo a { color: var(--text-muted); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ---- Sticky CTA (mobile) ---- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brown);
    color: #fff;
    text-align: center;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 1rem;
    z-index: 90;
    transition: background var(--transition);
}
.sticky-cta:hover { background: var(--brown-dim); color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-image {
        display: none;
    }
    .philosophy-inner {
        grid-template-columns: 1fr;
    }
    .philosophy-portrait {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: 1.5rem;
        align-items: start;
    }
    .portrait-frame img { height: 280px; }
    .philosophy-credential { border-top: none; border-left: 1px solid rgba(74,93,58,0.15); padding: 0 0 0 1rem; margin-top: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        min-height: calc(100dvh - 64px);
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 99;
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { font-size: 1.2rem; }
    .nav-toggle { display: flex; }

    .horses-grid { grid-template-columns: 1fr 1fr; }
    .horse-card--wide {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }
    .horse-card--wide .horse-card__photo { border-right: none; border-bottom: 1px solid rgba(74,93,58,0.1); }
    .horse-card--wide .horse-card__photo img { height: 260px; }

    .form-row--two { grid-template-columns: 1fr; }
    .philosophy-portrait { grid-template-columns: 1fr; }
    .philosophy-credential { border-left: none; border-top: 1px solid rgba(74,93,58,0.15); padding: 1rem 0 0; margin-top: 0.5rem; }

    .sticky-cta { display: block; }
    .contact { padding-bottom: calc(var(--section-pad) + 56px); }
}

@media (max-width: 560px) {
    .horses-grid { grid-template-columns: 1fr; }
    .horse-card--wide { grid-template-columns: 1fr; }

    .footer-links { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .lessons-step { grid-template-columns: 40px 1fr; gap: 1rem; }
    .step-number { font-size: 1.5rem; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
    .btn--primary { border: 2px solid ButtonText; }
    .horse-card { border: 1px solid ButtonText; }
}
