/* =========================================================
   BEACON STREET BOSTON
   Main stylesheet
   ========================================================= */

:root {
    --navy: #183451;
    --navy-dark: #10263c;
    --text: #24384b;
    --muted: #71869a;
    --gold: #b89557;
    --cream: #f7f6f3;
    --white: #ffffff;
    --line: #e4e5e6;
    --max-width: 1100px;
    --content-width: 1040px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

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

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

.container {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex: 0 0 auto;
    font-size: 20px;
    letter-spacing: 0.3px;
    color: var(--navy);
    white-space: nowrap;
}

.site-logo span {
    font-weight: 400;
}

.site-logo strong {
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    margin-left: auto;
}


/* =========================
   LANGUAGE SWITCHER
   ========================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 0;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.language-switcher a::after {
    display: none;
}

.language-switcher span {
    color: #c7c9ca;
    font-size: 11px;
}

.language-switcher a:hover,
.language-switcher a:focus {
    color: var(--gold);
}


.main-nav a {
    position: relative;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

/* =========================
   SIMPLE PAGE HERO
   ========================= */

.page-hero-simple {
    padding: 68px 0 42px;
    background: var(--white);
}

.page-hero-simple .container {
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-hero-simple h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(38px, 4.5vw, 52px);
    line-height: 1.15;
    font-weight: 700;
}

.title-decoration {
    width: 150px;
    height: 10px;
    margin: 24px auto 0;
    position: relative;
}

.title-decoration::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 1px;
    background: var(--gold);
}

.title-decoration span {
    position: absolute;
    left: 50%;
    top: 0;
    width: 9px;
    height: 9px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--gold);
}

/* =========================
   BREEDING STORY
   ========================= */

.breeding-story {
    padding: 28px 0 82px;
}

.breeding-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 70px;
    align-items: center;
}

.breeding-intro {
    max-width: 720px;
}

.breeding-intro p {
    margin: 0 0 26px;
    color: #52677a;
    font-size: 16px;
    line-height: 1.85;
}

.breeding-intro .story-lead {
    margin-bottom: 25px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.75;
}

.gold-rule {
    width: 100%;
    height: 1px;
    margin: 0 0 30px;
    background: linear-gradient(
        to right,
        var(--gold) 0,
        var(--gold) 35%,
        rgba(184,149,87,0.18) 100%
    );
}

.breeding-feature {
    margin: 0;
    position: relative;
}

.breeding-feature::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 14px;
    width: 1px;
    height: calc(100% - 28px);
    background: var(--gold);
}

.breeding-feature img {
    width: 100%;
    aspect-ratio: 4 / 4.5;
    object-fit: cover;
}

/* =========================
   GALLERY
   ========================= */

.breeding-gallery {
    padding: 0 0 88px;
}

.gallery-heading {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 25px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}

.gallery-heading .eyebrow {
    margin: 0;
}

.gallery-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 28px;
    line-height: 1.2;
}

.gallery-editorial {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 22px;
    align-items: stretch;
}

.gallery-editorial figure {
    margin: 0;
    overflow: hidden;
    background: var(--cream);
}

.gallery-editorial img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-editorial figure:hover img {
    transform: scale(1.025);
}

.gallery-large {
    min-height: 520px;
}

.gallery-small {
    min-height: 520px;
}

/* =========================
   VALUES
   ========================= */

.breeding-values {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 68px 0;
}

.values-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

.values-title h2 {
    margin: 0;
    max-width: 500px;
    color: var(--navy);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.25;
}

.gold-rule-short {
    width: 100px;
    margin: 22px 0 0;
    background: var(--gold);
}

.values-inner > p {
    margin: 0;
    color: #5e7182;
    font-size: 17px;
    line-height: 1.85;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .breeding-intro-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .breeding-feature {
        max-width: 620px;
    }

    .breeding-feature img {
        aspect-ratio: 16 / 10;
    }

    .values-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 700px) {
    .page-hero-simple {
        padding: 50px 0 30px;
    }

    .breeding-story {
        padding: 20px 0 55px;
    }

    .breeding-intro p {
        font-size: 15px;
        line-height: 1.75;
    }

    .breeding-intro .story-lead {
        font-size: 18px;
        line-height: 1.7;
    }

    .breeding-feature::before {
        display: none;
    }

    .gallery-heading {
        display: block;
    }

    .gallery-heading .eyebrow {
        margin-bottom: 7px;
    }

    .gallery-editorial {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-large,
    .gallery-small {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .breeding-gallery {
        padding-bottom: 55px;
    }

    .breeding-values {
        padding: 52px 0;
    }
}

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 28px 0;
}

.footer-inner {
    text-align: center;
}

.footer-inner p {
    margin: 0;
    font-size: 13px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        min-height: 76px;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 12px 24px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 8px 20px rgba(16, 38, 60, 0.08);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 4px;
        border-bottom: 1px solid #edf0f2;
        font-size: 13px;
    }

    .language-switcher {
        justify-content: flex-start;
        gap: 10px;
        padding: 6px 4px 4px;
    }

    .language-switcher a {
        padding: 6px 0;
        border-bottom: 0 !important;
    }

    .language-switcher span {
        display: inline;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .menu-toggle {
        display: block;
    }

    .breeding-story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-accent {
        display: none;
    }

    .gallery-editorial {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .gallery-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 16px;
    }

    .gallery-side figure {
        aspect-ratio: 4 / 3;
    }

    .values-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .container,
    .narrow {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .page-hero-simple {
        padding: 48px 0 25px;
    }

    .breeding-story {
        padding-top: 20px;
        padding-bottom: 55px;
    }

    .story-copy p {
        font-size: 15px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .story-copy .story-lead {
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 26px;
    }

    .breeding-gallery {
        padding-bottom: 55px;
    }

    .gallery-side {
        gap: 12px;
    }

    .breeding-values {
        padding: 50px 0;
    }

    .values-inner p {
        font-size: 15px;
    }
}


/* =========================================================
   DROPDOWN MENU – PSY / SUKI
   ========================================================= */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: var(--navy);
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    white-space: nowrap;
    padding: 8px 0;
    transition: color 0.2s ease;
    cursor: default;
}

.nav-dropdown-toggle:hover {
    color: var(--gold);
}

.nav-arrow {
    font-size: 14px;
    line-height: 1;
    color: var(--gold);
    transform: translateY(-1px);
}

.nav-dropdown > a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 170px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.99);
    border-top: 2px solid var(--gold);
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(16, 38, 60, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 1100;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--navy) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    color: var(--gold) !important;
    background: var(--cream);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


/* =========================
   DROPDOWNS ON MOBILE
   ========================= */

@media (max-width: 900px) {

    .nav-dropdown {
        display: block;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-arrow {
        font-size: 18px;
        margin-right: 6px;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        min-width: 0;
        padding: 0;
        background: #f2f3f4;
        border: 0;
        border-left: 2px solid var(--gold);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 10px 14px 10px 24px !important;
        border-bottom: 1px solid #e1e4e6;
        color: #52677a !important;
        font-size: 12px !important;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus {
        background: #e8eaec;
        color: var(--gold) !important;
    }
}

/* =========================
   KONTAKT
   ========================= */
.contact-page {
    padding: 90px 0 110px;
}

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

.contact-heading {
    text-align: center;
    margin-bottom: 55px;
}

.contact-heading .hero-kicker {
    margin-bottom: 12px;
}

.contact-heading h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
}

.contact-heading .gold-line {
    width: 54px;
    height: 2px;
    margin: 24px auto 0;
    background: var(--gold);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-photo {
    overflow: hidden;
    background: #f4f2ee;
}

.contact-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.contact-details {
    color: var(--navy);
}

.contact-details h2 {
    margin: 0 0 25px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--navy);
}

.contact-details h2::after {
    content: "";
    display: block;
    width: 45px;
    height: 2px;
    margin-top: 18px;
    background: var(--gold);
}

.contact-details p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.contact-details strong {
    color: var(--navy);
}

.contact-details a {
    color: var(--navy);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--gold);
}

@media (max-width: 800px) {
    .contact-page {
        padding: 60px 24px 80px;
    }

    .contact-card {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 520px;
    }

    .contact-heading {
        margin-bottom: 40px;
    }
}

/* =========================
   PLANOWANE MIOTY
   ========================= */

.planned-litters {
    padding: 28px 0 100px;
}

.planned-intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 70px;
    align-items: center;
}

.planned-text {
    max-width: 700px;
    color: #52677a;
    font-size: 16px;
    line-height: 1.85;
}

.planned-text p {
    margin: 0 0 26px;
}

.planned-text .planned-lead {
    margin-bottom: 25px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.75;
}

.planned-text .gold-rule {
    margin-bottom: 30px;
}

.planned-text .gold-button {
    display: inline-block;
    margin-top: 6px;
    padding: 14px 24px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: opacity .2s ease;
}

.planned-text .gold-button:hover {
    opacity: .88;
}

.planned-feature {
    margin: 0;
    position: relative;
}

.planned-feature::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 14px;
    width: 1px;
    height: calc(100% - 28px);
    background: var(--gold);
}

.planned-feature img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

@media (max-width: 900px) {
    .planned-intro-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .planned-feature {
        max-width: 620px;
    }
}

@media (max-width: 700px) {
    .planned-litters {
        padding: 20px 0 60px;
    }

    .planned-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .planned-text .planned-lead {
        font-size: 18px;
        line-height: 1.7;
    }

    .planned-feature::before {
        display: none;
    }
}


/* =========================
   HOMEPAGE — AKTUALNOŚCI
   ========================= */

.news-section {
    padding: 92px 0 88px;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.news-heading .hero-kicker {
    margin-bottom: 8px;
    color: var(--gold);
}

.news-heading .section-title {
    margin: 0;
}

.news-all-link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.news-all-link span {
    margin-left: 8px;
    color: var(--gold);
    font-size: 17px;
}

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

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(24,52,81,.09);
}

.news-card.is-hidden {
    display: none;
}

.news-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e9e8e4;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.035);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 25px 25px;
}

.news-card-date {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.news-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.35;
}

.news-card p {
    margin: 0 0 20px;
    color: #71869a;
    font-size: 14px;
    line-height: 1.7;
}

.news-card-link {
    margin-top: auto;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.news-card-link span {
    margin-left: 7px;
    color: var(--gold);
    font-size: 16px;
}

.news-load-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.news-load-more {
    min-width: 150px;
    cursor: pointer;
}

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

@media (max-width: 650px) {
    .news-section {
        padding: 64px 0;
    }

    .news-heading {
        display: block;
    }

    .news-all-link {
        display: inline-block;
        margin-top: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}
