/* =========================
   RESET / BASE
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html, body{
    width:100%;
    overflow-x:hidden;
}

body{
    font-family:"Georgia", "Times New Roman", serif;
    background:#f6f3ee;
    color:#1c1c1c;
    line-height:1.7;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

/* =========================
   CONTAINER
========================= */
.container{
    max-width:1100px;
    margin:auto;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    overflow:hidden;
}

/* =========================
   HEADER
========================= */
.header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    padding:25px;
    border-bottom:1px solid #eee;
}

.brand{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
}

.site-name{
    font-size:34px;
    font-weight:400;
    letter-spacing:1px;
    font-family:"Georgia", "Times New Roman", serif;
}

.site-name span{
    color:#b89b5e;
}
.logo p{
    margin-top:5px;
    font-size:16px;
    color:#777;
}

.contacts{
    font-size:14px;
    color:#777;
    text-align:right;
}

/* =========================
   MENU
========================= */
.menu-toggle{
    display:none;
    padding:12px;
    text-align:center;
    font-size:20px;
    background:#fff;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

nav{
    background:#fff;
    border-bottom:1px solid #eee;
}

nav ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
    list-style:none;
    padding:15px 20px;
}

nav a{
    text-decoration:none;
    color:#1c1c1c;
    font-size:14px;
    transition:0.3s;
}

nav a:hover{
    color:#b89b5e;
    letter-spacing:0.5px;
}

/* =========================
   HERO
========================= */
.hero{
    text-align:center;
}

.hero img{
    width:auto;
    max-width:100%;
    height:auto;
    display:block;
    margin:0 auto;
}.hero-text{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background:rgba(0,0,0,0.45);
    color:#fff;
    padding:12px 20px;
    border-radius:6px;
    font-size:18px;
    text-align:center;
}

/* =========================
   CONTENT
========================= */
.content{
    padding:35px 25px;
    font-size:16px;
    color:#333;
}

/* =========================
   CARDS
========================= */
.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:0 25px 40px;
}

.card{
    background:#fff;
    border:1px solid #eee;
    padding:20px;
    border-radius:10px;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.card h3{
    color:#b89b5e;
    margin-bottom:10px;
    font-size:16px;
}

/* =========================
   FOOTER
========================= */
footer{
    background:#111;
    color:#bbb;
    padding:40px 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

footer h4{
    color:#fff;
    margin-bottom:10px;
    font-size:14px;
}

footer a{
    color:#aaa;
    text-decoration:none;
    font-size:13px;
    display:block;
    margin-bottom:6px;
}

footer a:hover{
    color:#fff;
}

.bottom{
    margin-top:20px;
    border-top:1px solid #333;
    padding-top:15px;
    font-size:12px;
    text-align:center;
}

/* =========================
   ANIMATION (SAFE)
========================= */
.reveal{
    opacity:0;
    transform:translateY(20px);
    transition:all 0.7s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   MOBILE
========================= */
@media (max-width:768px){

    .brand{
        flex-direction:column;
        text-align:center;
    }

    .contacts{
        text-align:center;
    }

    nav ul{
        display:none;
        flex-direction:column;
        align-items:center;
    }

    nav ul.show{
        display:flex;
    }

    .menu-toggle{
        display:block;
    }

    .hero img{
        height:240px;
    }

    .hero-text{
        font-size:14px;
        padding:10px 14px;
    }

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

    .footer-grid{
        grid-template-columns:1fr;
    }
}
/* ??????? ?????????? */
table{
  width:100%;
  max-width:700px;
  margin:20px auto;
  border-collapse:collapse;
}

td{
  padding:6px;
  border-bottom:1px solid #ddd;
}
/* ????? */
.block{
  margin-bottom:30px;
}

.center{
  text-align:center;
}
.page-title{
    text-align:center;
    padding:30px 20px 20px;
    background:#fff;
}

.page-title h1{
    font-family:"Georgia","Times New Roman",serif;
    font-size:36px;
    font-weight:400;
    color:#1c1c1c;
    line-height:1.3;
    margin:0;
}

@media (max-width:768px){
    .page-title h1{
        font-size:26px;
    }
}
/* =========================
   FIX IMAGE QUALITY / NO DISTORTION
========================= */

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}
/* =========================
   ???????? ?????
========================= */

.dog-premium{
    width:320px;
    margin:20px auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    transition:.3s;
}

.dog-premium:hover{
    transform:translateY(-5px);
}

.dog-premium img{
    width:auto !important;
    max-width:100%;
    height:auto !important;
}
.dog-info{
    padding:20px;
    text-align:center;
}

.dog-info h3{
    margin:0;
    font-size:26px;
    color:#222;
    font-weight:400;
}

.dog-info p{
    margin:8px 0 20px;
    color:#b89b5e;
    letter-spacing:2px;
    font-size:14px;
}

.dog-link{
    display:inline-block;
    padding:10px 20px;
    border:1px solid #b89b5e;
    border-radius:30px;
    text-decoration:none;
    color:#7a6540;
    transition:.3s;
}

.dog-link:hover{
    background:#b89b5e;
    color:#fff;
}
/* =========================
   ???????? ??????
========================= */

.content a,
.photo-text a{
    color:#7a6540;
    text-decoration:none;
    font-weight:600;
    border-bottom:1px solid transparent;
    transition:all .3s ease;
}

.content a:hover,
.photo-text a:hover{
    color:#b89b5e;
    border-bottom:1px solid #b89b5e;
    padding-left:5px;
}

/* ?????? "???????????? ????????" */
.photo-text a{
    display:inline-block;
    margin-top:10px;
    padding:8px 18px;
    border:1px solid #b89b5e;
    border-radius:30px;
    background:#fff;
}

.photo-text a:hover{
    background:#b89b5e;
    color:#fff;
    padding-left:18px; /* ????? ?????? ?? ??????? */
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(184,155,94,.25);
}
.dogs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
    padding:40px 25px;
}
.section-title{
    text-align:center;
    font-size:36px;
    font-family:"Georgia","Times New Roman",serif;
    font-weight:400;
    color:#1c1c1c;
    margin:50px 0 30px;
}

.dogs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:35px;
    justify-items:center;
    padding:0 20px 40px;
}
.dogs-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:40px;
    max-width:900px;
    margin:0 auto;
    padding:20px;
    justify-items:center;
}

.dog-premium{
    width:100%;
    max-width:360px;
}

/* ???????? */
@media (max-width:768px){

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

    .dog-premium{
        max-width:420px;
    }
}
