/* =========================
   RESET
========================= */

*{
    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;
    overflow-wrap:break-word;
}

/* =========================
   BASE
========================= */

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

img[width],
img[height]{
    width:auto !important;
    height:auto !important;
}

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

.center{
    text-align:center;
}

.block{
    margin-bottom:30px;
}

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

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

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

.site-name{
    font-size:34px;
    font-weight:400;
    letter-spacing:1px;
}

.site-name span{
    color:#b89b5e;
}

.logo p,
.contacts{
    color:#777;
}

.logo p{
    margin-top:5px;
    font-size:16px;
}

.contacts{
    font-size:14px;
    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:.3s;
}

nav a:hover{
    color:#b89b5e;
}

/* =========================
   PAGE TITLE
========================= */

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

.page-title h1{
    font-size:36px;
    font-weight:400;
    line-height:1.3;
}

/* =========================
   HERO
========================= */

.hero{
    position:relative;
    text-align:center;
}

.hero-text{
    position:absolute;
    left:50%;
    bottom:20px;
    transform:translateX(-50%);
    padding:12px 20px;
    border-radius:6px;
    background:rgba(0,0,0,.45);
    color:#fff;
    font-size:18px;
}

/* =========================
   CONTENT
========================= */

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

.photo-block{
    max-width:800px;
    margin:0 auto 35px;
    padding:0 15px;
}

.photo-text{
    margin-top:12px;
    text-align:center;
    font-size:15px;
}

/* =========================
   ACHIEVEMENTS
========================= */

.achievements{
    max-width:900px;
    margin:0 auto;
    padding:0 20px;
    list-style:none;
}

.achievements li{
    display:flex;
    gap:10px;
    padding:8px 0;
    border-bottom:1px solid #eee;
}

.count{
    min-width:30px;
    font-weight:bold;
}

/* =========================
   TABLES
========================= */

table{
    width:100%;
    max-width:700px;
    margin:20px auto;
    border-collapse:collapse;
}

td{
    padding:6px;
    border-bottom:1px solid #ddd;
}

/* =========================
   CARDS
========================= */

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

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

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

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

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

footer{
    padding:40px 25px;
    background:#111;
    color:#bbb;
}

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

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

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

footer a:hover{
    color:#fff;
}

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

/* =========================
   ANIMATION
========================= */

.reveal{
    opacity:0;
    transform:translateY(20px);
    transition:all .7s ease;
}

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

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

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

    .contacts{
        text-align:center;
    }

    .menu-toggle{
        display:block;
    }

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

    nav ul.show{
        display:flex;
    }

    .hero img{
        max-height:240px;
        object-fit:cover;
    }

    .hero-text{
        width:90%;
        font-size:14px;
    }

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

    .page-title h1{
        font-size:26px;
    }
}
