/* ═══════════════════════════════════════════════════════════════
   DOM CAVALO — PREMIUM HOMEPAGE
   Elegant, clean, emotional, image-forward
   ═══════════════════════════════════════════════════════════════ */

:root {
    --pm-black: #1a1714;
    --pm-dark: #2c2620;
    --pm-brown: #423a34;
    --pm-warm: #6b5d52;
    --pm-gold: #c9a96e;
    --pm-gold-light: #dcc49b;
    --pm-cream: #f8f5f0;
    --pm-white: #fefdfb;
    --pm-text: #5a5550;
    --pm-text-light: #8a8580;
    --pm-font-body: "Mona Sans", sans-serif;
    --pm-font-heading: "Playfair Display", Georgia, serif;
    --pm-radius: 2px;
    --pm-transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ─── HERO ────────────────────────────────────────────────── */

.pm-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.pm-hero-swiper,
.pm-hero-swiper .swiper-wrapper,
.pm-hero-slide {
    height: 100%;
}

.pm-hero-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.pm-hero-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pm-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.pm-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(26, 23, 20, 0.85) 0%,
        rgba(26, 23, 20, 0.4) 40%,
        rgba(26, 23, 20, 0.15) 70%,
        rgba(26, 23, 20, 0.05) 100%
    );
}

.pm-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 120px;
}

.pm-hero-label {
    display: inline-block;
    font-family: var(--pm-font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--pm-gold);
    margin-bottom: 24px;
    background: rgba(92, 92, 92, 0.311);
    border-radius: 3px;
    box-shadow: 0 4px 30px rgba(103, 103, 103, 0.226);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px);
    padding: 5px 20px;
}

.pm-hero-title {
    font-family: var(--pm-font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--pm-white);
    margin-bottom: 24px;
    max-width: 700px;
}

.pm-hero-desc {
    font-family: var(--pm-font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin-bottom: 40px;
}

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

.pm-hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pm-hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
}

.pm-scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.pm-scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pm-gold);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { top: -100%; }
    50%  { top: 0; }
    100% { top: 100%; }
}


/* ─── BUTTONS ─────────────────────────────────────────────── */

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pm-font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border: 1px solid transparent;
    transition: all 0.4s var(--pm-transition);
    cursor: pointer;
    min-width: 180px;
}

.pm-btn-primary {
    background: var(--pm-gold);
    color: var(--pm-black);
    border-color: var(--pm-gold);
}

.pm-btn-primary:hover {
    background: #d5a958;
    color: var(--pm-white);
    transform: translateY(-2px);
}

.pm-btn-ghost {
    background: transparent;
    color: var(--pm-black);
    border-color: rgba(255, 255, 255, 0.3);
}

.pm-btn-ghost:hover {
    border-color: var(--pm-gold);
    color: var(--pm-black);
    transform: translateY(-2px);
}

.pm-btn-ghost-banner{
    background: transparent;
    color: var(--pm-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.pm-btn-ghost-banner:hover{
    border-color: var(--pm-gold);
    color: var(--pm-gold);
    transform: translateY(-2px);
}

.pm-btn-dark {
    background: var(--pm-brown);
    color: var(--pm-white);
    border-color: var(--pm-brown);
}

.pm-btn-dark:hover {
    background: var(--pm-black);
    border-color: var(--pm-black);
    color: var(--pm-white);
    transform: translateY(-2px);
}

.pm-btn-outline {
    background: transparent;
    color: var(--pm-brown);
    border-color: var(--pm-brown);
}

.pm-btn-outline:hover {
    background: var(--pm-brown);
    color: var(--pm-white);
    transform: translateY(-2px);
}


/* ─── COMMON ELEMENTS ─────────────────────────────────────── */

.pm-label {
    display: inline-block;
    font-family: var(--pm-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--pm-gold);
    margin-bottom: 16px;
}

.pm-heading {
    font-family: var(--pm-font-heading);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--pm-brown);
    margin-bottom: 0;
}

.pm-heading span {
    font-style: italic;
    color: var(--pm-gold);
}

.pm-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pm-text);
    max-width: 520px;
}

.pm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pm-section-header .pm-heading {
    margin-top: 8px;
}

.pm-section-cta {
    text-align: center;
    margin-top: 60px;
}


/* ─── STATEMENT ───────────────────────────────────────────── */

.pm-statement {
    padding: 120px 0;
    background: var(--pm-white);
}

.pm-statement-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.pm-statement-text {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--pm-brown);
    margin-bottom: 32px;
}

.pm-statement-text em {
    font-style: italic;
    color: var(--pm-gold);
}

.pm-statement-since {
    display: inline-block;
    font-family: var(--pm-font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--pm-text-light);
    padding-top: 24px;
    border-top: 1px solid rgba(66, 58, 52, 0.15);
}


/* ─── STORY ───────────────────────────────────────────────── */

.pm-story {
    background: var(--pm-cream);
}

.pm-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 85vh;
}

.pm-story-image {
    position: relative;
    overflow: hidden;
}

.pm-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--pm-transition);
}

.pm-story-image:hover img {
    transform: scale(1.03);
}

.pm-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 80px 80px 100px;
}

.pm-story-content .pm-heading {
    margin-bottom: 28px;
}

.pm-story-content .pm-text {
    margin-bottom: 48px;
}

.pm-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(66, 58, 52, 0.12);
}

.pm-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-stat-number {
    font-family: var(--pm-font-heading);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--pm-brown);
    line-height: 1;
}

.pm-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--pm-text-light);
    text-transform: uppercase;
}


/* ─── HORSES ──────────────────────────────────────────────── */

.pm-horses {
    padding: 120px 0;
    background: var(--pm-white);
}

.pm-horses .shop-grid {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.pm-horses .container {
    text-align: center;
}

.pm-horses .shop-grid .shop-card {
    width: 400px;
    flex-shrink: 0;
    gap: 2px;
    text-align: left;
}

.pm-horses .shop-card {
    margin-bottom: 0 !important;
}

.pm-horses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pm-horse-card {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: var(--pm-cream);
}

.pm-horse-img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.pm-horse-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--pm-transition);
}

.pm-horse-card:hover .pm-horse-img-wrap img {
    transform: scale(1.06);
}

.pm-horse-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 23, 20, 0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--pm-transition);
}

.pm-horse-card:hover .pm-horse-overlay {
    opacity: 1;
}

.pm-horse-info {
    padding: 20px 24px 24px;
}

.pm-horse-info h3 {
    font-family: var(--pm-font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--pm-brown);
    margin: 0 0 6px;
    transition: color 0.3s ease;
}

.pm-horse-card:hover .pm-horse-info h3 {
    color: var(--pm-gold);
}

.pm-horse-breed {
    font-size: 0.8rem;
    color: var(--pm-text);
    display: block;
}

.pm-horse-age {
    font-size: 0.75rem;
    color: var(--pm-text-light);
    display: block;
    margin-top: 2px;
}


/* ─── CINEMATIC ───────────────────────────────────────────── */

.pm-cinematic {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-cinematic-img {
    position: absolute;
    inset: 0;
}

.pm-cinematic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 23, 20, 0.6);
}

.pm-cinematic-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 0 24px;
}

.pm-cinematic-content blockquote {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: var(--pm-white);
    margin: 0;
}


/* ─── SERVICES ────────────────────────────────────────────── */

.pm-services {
    padding: 120px 0;
    background: var(--pm-cream);
}

.pm-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pm-service-card {
    background: var(--pm-white);
    overflow: hidden;
    transition: transform 0.5s var(--pm-transition), box-shadow 0.5s var(--pm-transition);
}

.pm-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(26, 23, 20, 0.08);
}

.pm-service-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pm-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--pm-transition);
}

.pm-service-card:hover .pm-service-img img {
    transform: scale(1.06);
}

.pm-service-body {
    padding: 28px 24px 32px;
}

.pm-service-body h3 {
    font-family: var(--pm-font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--pm-brown);
    margin: 0 0 12px;
}

.pm-service-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--pm-text);
    margin: 0;
}


/* ─── CTA ─────────────────────────────────────────────────── */

.pm-cta {
    padding: 120px 0;
    background-color: #f8f5f0;
}

.pm-cta-inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.pm-cta-inner h2 {
    font-family: var(--pm-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 400;
    color: var(--pm-black);
    margin: 0 0 20px;
    line-height: 1.2;
}

.pm-cta-inner p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--pm-black);
    margin: 0 0 40px;
}

.pm-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .pm-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pm-story-content {
        padding: 60px 50px 60px 60px;
    }
}

@media (max-width: 991px) {
    .pm-story-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .pm-story-image {
        height: 50vh;
        min-height: 400px;
    }
    .pm-story-content {
        padding: 60px 30px;
    }
    .pm-horses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pm-hero-scroll {
        display: none;
    }
    .pm-statement {
        padding: 80px 0;
    }
    .pm-horses,
    .pm-services,
    .pm-cta {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .pm-hero-content {
        padding-bottom: 80px;
    }
    .pm-hero-title {
        font-size: 2.2rem;
    }
    .pm-hero-actions {
        flex-direction: column;
    }
    .pm-hero-actions .pm-btn {
        width: 100%;
    }
    .pm-statement-text {
        font-size: 1.4rem;
    }
    .pm-stats {
        flex-direction: column;
        gap: 24px;
    }
    .pm-horses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pm-horse-img-wrap {
        aspect-ratio: 4 / 3;
    }
    .pm-cinematic {
        height: 50vh;
        min-height: 350px;
    }
    .pm-services-grid {
        grid-template-columns: 1fr;
    }
    .pm-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
