/* ==========================================================
   Kennel Vikas-Dog – основен стилов файл
   Цветове: тъмно зелено (гора), златисто (логото), крем
   ========================================================== */

:root {
    --green-950: #0a1c15;
    --green-900: #0f271d;
    --green-800: #153527;
    --green-700: #1d4733;
    --green-600: #2a5e45;
    --gold: #c9a35f;
    --gold-light: #e4cc97;
    --cream: #f5efe1;
    --text: #e6e1d3;
    --muted: #a3b1a8;
    --error: #e9877a;
    --success: #94cf9f;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --font-head: "Cormorant Garamond", Georgia, serif;
    --font-body: "Manrope", Arial, sans-serif;
}

/* ---------- Нулиране и основни стилове ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--green-950);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

body.no-scroll {
    overflow: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    display: block;
    height: auto;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover,
a:focus {
    color: var(--cream);
}

h1,
h2,
h3 {
    margin: 0 0 0.5em;
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.15;
    color: var(--cream);
}

h2 {
    font-size: 2.6em;
}

h3 {
    font-size: 1.6em;
}

p {
    margin: 0 0 1.1em;
}

ul,
ol {
    padding-left: 1.2em;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 0.6em;
    font-family: var(--font-head);
    font-size: 1.3em;
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 1px;
    margin-right: 12px;
    vertical-align: middle;
    background-color: var(--gold);
}

.lead {
    font-size: 1.15em;
    color: var(--cream);
}

.section {
    padding: 110px 0;
}

/* Плавен преход от и към основния фон – без резки линии */
.section-alt {
    background: linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 140px, var(--green-900) calc(100% - 140px), var(--green-950) 100%);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 60px;
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- Бутони ---------- */

.btn {
    display: inline-block;
    padding: 0.95em 2em;
    border: 1px solid var(--gold);
    border-radius: 40px;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--green-950);
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--gold-light);
    color: var(--green-950);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--cream);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background-color: rgba(201, 163, 95, 0.15);
    color: var(--cream);
}

.link-arrow {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    font-weight: 600;
}

/* линията под връзката се свива при посочване */
.link-arrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.link-arrow:hover::after,
.link-arrow:focus::after {
    transform: scaleX(0.35);
}

/* ---------- Заглавна лента и навигация ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 18px 0;
    transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    background-color: rgba(10, 28, 21, 0.96);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
}

.brand img {
    width: 52px;
    height: 52px;
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.brand-text {
    font-family: var(--font-head);
    font-size: 1.55em;
    font-weight: 700;
    line-height: 1;
}

.brand-text small {
    display: block;
    margin-top: 3px;
    font-size: 0.6em;
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav ul a {
    position: relative;
    display: block;
    padding: 8px 14px;
    font-size: 0.93em;
    font-weight: 500;
    color: var(--text);
}

.main-nav ul a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1px;
    background-color: var(--gold);
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-nav ul a:hover::after,
.main-nav ul a.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.main-nav ul a.active {
    color: var(--gold-light);
}

.lang-switch {
    padding: 6px 14px;
    border: 1px solid rgba(201, 163, 95, 0.6);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(201, 163, 95, 0.6);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    background-color: var(--cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) {
    top: 15px;
}

.nav-toggle span:nth-child(2) {
    top: 21px;
}

.nav-toggle span:nth-child(3) {
    top: 27px;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Начален екран (hero) ---------- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background-color: var(--green-950);
    background-image: url("../images/hero/cover-large.jpg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 28, 21, 0.85) 0%, rgba(10, 28, 21, 0.25) 42%, rgba(10, 28, 21, 0) 62%, rgba(10, 28, 21, 0.9) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--green-950);
    pointer-events: none;
    animation: veil-lift 1.8s ease 0.1s forwards;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 13vh;
    text-align: center;
}

.hero h1 {
    margin-bottom: 0.15em;
    font-size: 5.4em;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--cream);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
    animation: fade-up 1s ease 0.9s both;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero .eyebrow {
    animation: fade-up 1s ease 0.7s both;
}

.hero-lead {
    max-width: 720px;
    margin: 0 auto 1.6em;
    font-size: 1.1em;
    color: var(--cream);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    animation: fade-up 1s ease 1.1s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    animation: fade-up 1s ease 1.3s both;
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 32px;
    z-index: 2;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 2px solid var(--cream);
    border-radius: 14px;
    opacity: 0.8;
}

.scroll-hint::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background-color: var(--cream);
    animation: scroll-dot 1.8s ease infinite;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes veil-lift {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* По-малък банер за вътрешните страници */
.page-hero {
    position: relative;
    padding: 190px 0 90px;
    overflow: hidden;
    background-color: var(--green-900);
    background-position: center;
    background-size: cover;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 28, 21, 0.9) 0%, rgba(10, 28, 21, 0.6) 55%, var(--green-950) 100%);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    font-size: 4em;
}

.page-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--cream);
}

.hero-breed {
    background-image: url("../images/photos/breed-standing.jpg");
}

.hero-show {
    background-image: url("../images/photos/award-ceremony.jpg");
}

.hero-puppies {
    background-image: url("../images/photos/puppy-ring.jpg");
}

.hero-contact {
    background-image: url("../images/hero/cover-medium.jpg");
    background-position: center bottom;
}

/* ---------- За развъдника ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 70px;
}

.photo-frame {
    position: relative;
    margin: 0;
}

.photo-frame img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.photo-frame::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: -1;
    width: 70%;
    height: 70%;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
}

.photo-frame figcaption {
    margin-top: 12px;
    font-size: 0.85em;
    color: var(--muted);
}

/* ---------- Предимства ---------- */

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

.feature {
    padding: 30px 6px 0 0;
    border-top: 1px solid rgba(201, 163, 95, 0.35);
}

.feature svg {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    stroke: var(--gold);
}

.feature h3 {
    font-size: 1.45em;
}

.feature p {
    margin: 0;
    font-size: 0.95em;
    color: var(--muted);
}

/* ---------- Изложба (превю на началната страница) ---------- */

.show-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: var(--radius);
    background-color: var(--green-800);
    box-shadow: var(--shadow);
}

.show-teaser img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-teaser-text {
    padding: 60px 56px;
}

.show-meta {
    margin: 0 0 1.4em;
    padding: 0;
    list-style: none;
}

.show-meta li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(201, 163, 95, 0.18);
}

.show-meta strong {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- Призив за действие ---------- */

.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--green-950) 0%, rgba(10, 28, 21, 0) 22%, rgba(10, 28, 21, 0) 78%, var(--green-950) 100%), radial-gradient(circle at 20% 30%, var(--green-700) 0%, var(--green-900) 40%, var(--green-950) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 3em;
}

.cta p {
    max-width: 560px;
    margin: 0 auto 2em;
}

.cta .hero-actions {
    animation: none;
}

/* ---------- Страница „Породата“ ---------- */

.breed-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
    align-items: start;
    gap: 60px;
}

.breed-article h2 {
    margin-top: 1.2em;
    font-size: 2.2em;
}

.breed-article h2:first-child {
    margin-top: 0;
}

/* Изображение, обтекаемо от текста (float) */
.float-photo {
    float: right;
    width: 45%;
    margin: 6px 0 20px 30px;
}

.float-photo img {
    width: 100%;
    border-radius: var(--radius);
}

.float-photo figcaption {
    margin-top: 8px;
    font-size: 0.8em;
    color: var(--muted);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.breed-table {
    width: 100%;
    margin: 10px 0 30px;
    border-collapse: collapse;
    font-size: 0.95em;
}

.breed-table caption {
    margin-bottom: 10px;
    font-family: var(--font-head);
    font-size: 1.4em;
    text-align: left;
    color: var(--cream);
}

.breed-table th,
.breed-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(201, 163, 95, 0.2);
    text-align: left;
    vertical-align: top;
}

.breed-table th {
    width: 36%;
    font-weight: 600;
    color: var(--gold-light);
}

.breed-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

.record {
    clear: both;
    margin: 10px 0 34px;
    padding: 30px 32px;
    border: 1px solid var(--gold);
    border-left-width: 4px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
}

.record-label {
    margin-bottom: 0.5em;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.record-text {
    margin-bottom: 0.8em;
    font-family: var(--font-head);
    font-size: 1.6em;
    line-height: 1.25;
    color: var(--cream);
}

.record-stats {
    display: flex;
    gap: 40px;
    margin: 0 0 0.8em;
    padding: 0;
    list-style: none;
}

.record-stats strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2.8em;
    line-height: 1;
    color: var(--gold-light);
}

.record-stats span {
    font-size: 0.85em;
    color: var(--muted);
}

.record-note {
    margin: 0;
    font-size: 0.9em;
    color: var(--muted);
}

.sidebar {
    position: sticky;
    top: 110px;
}

.sidebar-box {
    margin-bottom: 24px;
    padding: 30px 28px;
    border: 1px solid rgba(201, 163, 95, 0.25);
    border-radius: var(--radius);
    background-color: var(--green-800);
}

.sidebar-box h2 {
    font-size: 1.7em;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 6px 0 6px 30px;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--gold);
    font-weight: 700;
}

.video-wrap {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
    background-color: #000;
}

.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Галерия ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* първата снимка е голяма, осмата – широка */
.gallery li:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery li:nth-child(6),
.gallery li:nth-child(11) {
    grid-column: span 2;
}

.gallery a {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.gallery a::after {
    content: "+";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin: -27px 0 0 -27px;
    border-radius: 50%;
    background-color: rgba(201, 163, 95, 0.9);
    color: var(--green-950);
    font-size: 30px;
    line-height: 54px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery a:hover img,
.gallery a:focus img {
    opacity: 0.75;
    transform: scale(1.06);
}

.gallery a:hover::after,
.gallery a:focus::after {
    opacity: 1;
}

.show-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Lightbox – увеличен изглед на снимка */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px 80px;
    background-color: rgba(5, 14, 10, 0.94);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
    visibility: visible;
    opacity: 1;
}

.lightbox figure {
    margin: 0;
    text-align: center;
}

.lightbox img {
    max-height: 82vh;
    margin: 0 auto;
    border-radius: 8px;
}

.lightbox figcaption {
    margin-top: 14px;
    color: var(--cream);
}

.lightbox button {
    position: absolute;
    width: 52px;
    height: 52px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background-color: rgba(10, 28, 21, 0.8);
    color: var(--cream);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.lightbox button:hover {
    background-color: var(--gold);
    color: var(--green-950);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    margin-top: -26px;
}

.lightbox-next {
    right: 20px;
    top: 50%;
    margin-top: -26px;
}

/* ---------- Страница „Кученца“ ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 70px 26px 30px;
    border-top: 2px solid var(--gold);
    background-color: var(--green-800);
    border-radius: 0 0 var(--radius) var(--radius);
    counter-increment: step;
}

.steps li::before {
    content: "0" counter(step);
    position: absolute;
    top: 18px;
    left: 26px;
    font-family: var(--font-head);
    font-size: 2.4em;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.steps h3 {
    font-size: 1.4em;
}

.steps p {
    margin: 0;
    font-size: 0.95em;
    color: var(--muted);
}

.included {
    columns: 2;
    column-gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.included li {
    position: relative;
    padding: 10px 0 10px 34px;
    border-bottom: 1px solid rgba(201, 163, 95, 0.15);
    break-inside: avoid;
}

.included li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 18px;
    height: 9px;
    border-left: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
}

/* ---------- Формуляр ---------- */

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.reservation-form {
    padding: 50px;
    border: 1px solid rgba(201, 163, 95, 0.25);
    border-radius: var(--radius);
    background-color: var(--green-800);
}

.reservation-form fieldset {
    margin: 0 0 30px;
    padding: 0;
    border: 0;
}

.reservation-form legend {
    width: 100%;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201, 163, 95, 0.3);
    font-family: var(--font-head);
    font-size: 1.6em;
    font-weight: 600;
    color: var(--cream);
}

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

.field {
    margin-bottom: 20px;
}

.field label,
.field .label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9em;
    font-weight: 600;
    color: var(--cream);
}

.req {
    color: var(--gold);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field input[type="password"],
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(201, 163, 95, 0.35);
    border-radius: 8px;
    background-color: var(--green-950);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 1em;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 163, 95, 0.2);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
    border-color: var(--error);
}

.field.valid input,
.field.valid select {
    border-color: var(--success);
}

.error-msg {
    display: block;
    min-height: 1.2em;
    margin-top: 5px;
    font-size: 0.82em;
    color: var(--error);
}

.hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: var(--muted);
}

.choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}

.choice {
    display: inline-block;
    font-size: 0.95em;
    cursor: pointer;
}

.choice input {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    vertical-align: middle;
    accent-color: var(--gold);
}

/* Индикатор за сила на паролата */
.strength {
    height: 6px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.08);
}

.strength-bar {
    width: 0;
    height: 100%;
    background-color: var(--error);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 10px 0 0;
    padding: 0;
    font-size: 0.8em;
    list-style: none;
    color: var(--muted);
}

.password-rules li::before {
    content: "\2022";
    margin-right: 6px;
}

.password-rules li.ok {
    color: var(--success);
}

.password-rules li.ok::before {
    content: "\2713";
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.form-actions .btn {
    font-family: var(--font-body);
    font-size: 1em;
}

.form-status {
    display: none;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 10px;
}

.form-status.success {
    display: block;
    border: 1px solid var(--success);
    background-color: rgba(148, 207, 159, 0.12);
    color: var(--cream);
}

.form-status.fail {
    display: block;
    border: 1px solid var(--error);
    background-color: rgba(233, 135, 122, 0.12);
}

.honey {
    display: none;
}

/* ---------- Контакти ---------- */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    padding: 34px 30px;
    border: 1px solid rgba(201, 163, 95, 0.25);
    border-radius: var(--radius);
    background-color: var(--green-800);
    text-align: center;
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    border-color: var(--gold);
}

.contact-card svg {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    stroke: var(--gold);
}

.contact-card h2 {
    font-size: 1.5em;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    font-size: 1.1em;
    font-weight: 600;
}

.map-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    line-height: 0;
}

.map-wrap iframe {
    width: 100%;
    height: 440px;
    border: 0;
}

.faq details {
    margin-bottom: 12px;
    border: 1px solid rgba(201, 163, 95, 0.25);
    border-radius: 10px;
    background-color: var(--green-800);
}

.faq summary {
    position: relative;
    padding: 18px 56px 18px 24px;
    font-weight: 600;
    color: var(--cream);
    cursor: pointer;
    list-style: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    margin-top: -14px;
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    margin: 0;
    padding: 0 24px 20px;
    color: var(--muted);
}

/* ---------- Социални мрежи ---------- */

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(201, 163, 95, 0.5);
    border-radius: 50%;
    color: var(--gold-light);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social a:hover,
.social a:focus {
    background-color: var(--gold);
    color: var(--green-950);
    transform: translateY(-3px);
}

.social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-large a {
    width: auto;
    height: auto;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 600;
}

/* ---------- Долна лента (footer) ---------- */

.site-footer {
    padding: 80px 0 0;
    background: linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 180px);
    font-size: 0.95em;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

.site-footer h2 {
    margin-bottom: 18px;
    font-size: 1.5em;
}

.footer-brand img {
    float: left;
    width: 80px;
    height: 80px;
    margin: 0 18px 10px 0;
    border-radius: 50%;
}

.footer-brand p {
    color: var(--muted);
}

.footer-brand .social {
    clear: both;
    padding-top: 6px;
}

.site-footer address {
    font-style: normal;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom p {
    margin: 0;
}

.contact-line {
    margin-bottom: 10px;
}

.contact-line svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    stroke: var(--gold);
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(201, 163, 95, 0.15);
    font-size: 0.85em;
    color: var(--muted);
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--green-950);
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
}

.back-to-top:hover {
    color: var(--green-950);
    background-color: var(--gold-light);
}

/* ---------- Плавно появяване при скролиране ---------- */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ---------- Факти за развъдника (описателен списък) ---------- */

.kennel-facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 26px;
    margin: 2em 0;
    padding: 24px 0;
    border-top: 1px solid rgba(201, 163, 95, 0.3);
    border-bottom: 1px solid rgba(201, 163, 95, 0.3);
}

.kennel-facts dt {
    font-family: var(--font-head);
    font-size: 1.15em;
    font-style: italic;
    color: var(--gold);
}

.kennel-facts dd {
    margin: 0;
    color: var(--cream);
}

/* ---------- Рекордът: мерителна летва за височина при холката ---------- */

.record-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 80px;
}

.withers {
    position: relative;
    height: 440px;
    padding-left: 70px;
}

/* скалата: деление на всеки 10 см */
.withers-scale {
    position: relative;
    width: 46px;
    height: 100%;
    border: 1px solid rgba(201, 163, 95, 0.5);
    border-radius: 4px;
    background-color: rgba(201, 163, 95, 0.06);
}

/* деленията се рисуват върху запълването: дълги на 10 см, къси на 5 см */
.withers-scale::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(201, 163, 95, 0.9) 0, rgba(201, 163, 95, 0.9) 1px, transparent 1px, transparent 10%), repeating-linear-gradient(0deg, rgba(201, 163, 95, 0.6) 0, rgba(201, 163, 95, 0.6) 1px, transparent 1px, transparent 5%);
    background-size: 100% 100%, 45% 100%;
    background-repeat: no-repeat;
    mix-blend-mode: difference;
    pointer-events: none;
}

.withers-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 90%;
    background: linear-gradient(0deg, var(--gold) 0%, var(--gold-light) 100%);
    opacity: 0.9;
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.withers.visible .withers-fill {
    transform: scaleY(1);
}

.withers-mark {
    position: absolute;
    left: -10px;
    width: 230px;
    height: 0;
    border-top: 1px dashed var(--cream);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.withers-mark span {
    position: absolute;
    left: 74px;
    top: -1.4em;
    white-space: nowrap;
    font-size: 0.85em;
    color: var(--cream);
}

.withers-mark.ours {
    bottom: 90%;
    border-top: 2px solid var(--gold-light);
}

.withers-mark.ours span {
    font-family: var(--font-head);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--gold-light);
}

.withers-mark.standard {
    bottom: 68%;
}

.withers.visible .withers-mark.standard {
    opacity: 0.7;
    transition-delay: 0.6s;
}

.withers.visible .withers-mark.ours {
    opacity: 1;
    transition-delay: 1.8s;
}

.withers-numbers {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.75em;
    color: var(--muted);
}

.withers-numbers li {
    position: absolute;
    left: 0;
    width: 52px;
    text-align: right;
    transform: translateY(50%);
}

.withers-numbers li:nth-child(1) {
    bottom: 100%;
}

.withers-numbers li:nth-child(2) {
    bottom: 80%;
}

.withers-numbers li:nth-child(3) {
    bottom: 60%;
}

.withers-numbers li:nth-child(4) {
    bottom: 40%;
}

.withers-numbers li:nth-child(5) {
    bottom: 20%;
}

.withers-numbers li:nth-child(6) {
    bottom: 0;
}

.record-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 56px;
    margin: 0.4em 0 1.2em;
    padding: 0;
    list-style: none;
}

.record-numbers strong {
    font-family: var(--font-head);
    font-size: 5em;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-light);
}

.record-numbers .unit {
    margin-left: 6px;
    font-family: var(--font-head);
    font-size: 2em;
    color: var(--gold);
}

.record-numbers small {
    display: block;
    font-size: 0.9em;
    color: var(--muted);
}

/* ---------- Лента със снимки от ринга ---------- */

.ring-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.ring-strip a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.ring-strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.55) brightness(0.85);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.ring-strip a:hover img,
.ring-strip a:focus img {
    filter: none;
    transform: scale(1.05);
}

.cta-social {
    justify-content: center;
    margin-top: 34px;
}

/* ---------- Анимации при действие на потребителя ---------- */

/* плавно появяване на всяка страница */
main,
.site-footer {
    animation: page-enter 0.6s ease both;
}

@keyframes page-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* следа от лапи при смяна на страница */
.page-curtain {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(21, 53, 39, 0.94) 0%, rgba(10, 28, 21, 0.98) 70%);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
}

.page-curtain.active {
    visibility: visible;
    opacity: 1;
}

.paw-step {
    position: absolute;
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
}

.paw-step svg {
    width: 100%;
    height: 100%;
    fill: var(--gold);
    filter: drop-shadow(0 0 16px rgba(201, 163, 95, 0.35));
    opacity: 0;
}

/* всяка лапа се „отпечатва“ малко след предишната */
.page-curtain.active .paw-step svg {
    animation: paw-print 0.45s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes paw-print {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }

    60% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.9;
        transform: scale(1);
    }
}

/* вълна при натискане на бутон */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    pointer-events: none;
    animation: ripple 0.65s ease-out forwards;
}

@keyframes ripple {
    to {
        opacity: 0;
        transform: scale(18);
    }
}

/* лента за напредъка при скролиране */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left center;
}

/* разгъване на отговорите в често задаваните въпроси */
.faq details[open] p {
    animation: unfold 0.4s ease both;
}

@keyframes unfold {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* снимката в lightbox-а се отваря с леко приближаване */
.lightbox img {
    transform: scale(0.92);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox img.switching {
    opacity: 0;
}

/* ==========================================================
   Адаптивен дизайн (Media Queries)
   Граничните стойности са според Browser Display Statistics
   (w3schools.com): 1920x1080, 1366x768, 1280x800, 1024x768
   и „Lower“ – таблети (768px) и смартфони (480px)
   ========================================================== */

/* Широки екрани – над 1920px */
@media screen and (min-width: 1920px) {
    body {
        font-size: 18px;
    }

    .container {
        max-width: 1480px;
    }
}

/* Лаптопи 1366x768 – по-нисък екран */
@media screen and (max-width: 1366px) {
    .hero h1 {
        font-size: 4.6em;
    }

    .section {
        padding: 90px 0;
    }
}

/* Ниски екрани (напр. 1366x768) – текстът остава над кучетата */
@media screen and (max-height: 820px) and (min-aspect-ratio: 4/3) {
    .hero-content {
        padding-top: 9vh;
    }

    .hero h1 {
        font-size: 4.2em;
    }

    .hero .eyebrow {
        margin-bottom: 0.5em;
    }

    .hero-lead {
        margin-bottom: 1.3em;
    }
}

/* 1280x800 */
@media screen and (max-width: 1280px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav ul a {
        padding: 8px 10px;
    }
}

/* 1024x768 – таблети в хоризонтален режим */
@media screen and (max-width: 1024px) {
    h2 {
        font-size: 2.2em;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        width: 100%;
        padding: 10px 5% 26px;
        background-color: rgba(10, 28, 21, 0.98);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        display: block;
        margin-bottom: 16px;
    }

    .main-nav ul a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(201, 163, 95, 0.15);
        font-size: 1.05em;
    }

    .main-nav ul a::after {
        display: none;
    }

    .site-header.menu-open {
        background-color: rgba(10, 28, 21, 0.98);
    }

    .hero {
        background-image: url("../images/hero/cover-medium.jpg");
    }

    .about-grid,
    .show-info,
    .breed-layout,
    .form-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sidebar {
        position: static;
    }

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

    .gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery li:nth-child(6) {
        grid-column: span 1;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

/* Lower – таблети във вертикален режим */
@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 3.6em;
    }

    .page-hero {
        padding: 150px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.9em;
    }

    .show-teaser {
        grid-template-columns: 1fr;
    }

    .show-teaser-text {
        padding: 40px 30px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .included {
        columns: 1;
    }

    .reservation-form {
        padding: 34px 24px;
    }

    .float-photo {
        float: none;
        width: 100%;
        margin: 0 0 24px;
    }

    .lightbox {
        padding: 70px 12px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 16px;
        margin-top: 0;
    }

    .lightbox-prev {
        left: 50%;
        margin-left: -62px;
    }

    .lightbox-next {
        right: 50%;
        margin-right: -62px;
    }
}

/* Lower – смартфони */
@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.9em;
    }

    .container {
        width: 92%;
    }

    .brand-text {
        font-size: 1.3em;
    }

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

    .hero-content {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 2.9em;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features,
    .steps,
    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 10px;
    }

    .gallery li:nth-child(6),
    .gallery li:nth-child(11) {
        grid-column: span 1;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .cta h2 {
        font-size: 2.2em;
    }

    .record {
        padding: 24px 22px;
    }

    .record-stats {
        gap: 26px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

/* Вертикални екрани – снимката е долу, а текстът над нея */
@media screen and (max-aspect-ratio: 4/3) {
    .hero {
        height: auto;
        min-height: 100vh;
        background-image: url("../images/hero/cover-medium-fade.jpg");
        background-size: 100% auto;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(10, 28, 21, 0.6) 0%, rgba(10, 28, 21, 0) 30%, rgba(10, 28, 21, 0) 75%, rgba(10, 28, 21, 0.9) 100%);
    }

    .hero-content {
        padding-top: 140px;
    }
}

@media screen and (max-aspect-ratio: 4/3) and (max-width: 600px) {
    .hero {
        background-image: url("../images/hero/cover-small-fade.jpg");
    }

    .hero-content {
        padding-top: 120px;
    }
}


/* ---------- Адаптивност на новите елементи ---------- */

@media screen and (max-width: 1024px) {
    .record-grid {
        grid-template-columns: 200px 1fr;
        gap: 50px;
    }

    .withers {
        height: 380px;
    }

    /* менюто се спуска, а точките влизат една след друга */
    .main-nav.open {
        animation: menu-drop 0.35s ease both;
    }

    .main-nav.open li {
        animation: menu-item 0.4s ease both;
    }

    .main-nav.open li:nth-child(2) {
        animation-delay: 0.05s;
    }

    .main-nav.open li:nth-child(3) {
        animation-delay: 0.1s;
    }

    .main-nav.open li:nth-child(4) {
        animation-delay: 0.15s;
    }

    .main-nav.open li:nth-child(5) {
        animation-delay: 0.2s;
    }
}

@keyframes menu-drop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes menu-item {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media screen and (max-width: 768px) {
    .record-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .withers {
        height: 320px;
    }

    .withers-mark {
        width: 200px;
    }

    .withers-mark span {
        width: 130px;
        white-space: normal;
        line-height: 1.3;
    }

    .withers-mark.standard span {
        top: -2.8em;
    }

    .record-numbers strong {
        font-size: 3.8em;
    }

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

    .paw-step {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
    }
}

@media screen and (max-width: 480px) {
    .kennel-facts {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .kennel-facts dd {
        margin-bottom: 10px;
    }
}

/* Без движение за потребители, които са го изключили в системата си */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* котвите не се скриват под фиксираната заглавна лента */
#about,
#gallery,
#reservation {
    scroll-margin-top: 70px;
}
