Загрузка данных
* {
box-sizing: border-box;
}
body {
margin: 0; font-family: "Arial", sans-serif; background: #fff; color: #222;
}
a {
color: #bb8d1a; text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
border-bottom: 1px solid #ddd;
padding: 10px 20px;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
font-size: 14px;
color:#444;
}
.logo {
font-weight: 700;
font-size: 18px;
flex-shrink: 0;
}
.search {
flex-grow: 1;
max-width: 300px;
margin: 0 20px;
position: relative;
}
.search input {
width: 100%; padding: 6px 32px 6px 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 3px;
}
.search svg {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
width: 16px;
height: 16px;
fill: #999;
}
.contacts {
text-align: right;
font-weight: 600;
font-size: 14px;
min-width: 200px;
}
.contacts a.phone {
font-weight: 700;
color: #222;
}
.callback {
font-size: 12px;
color: #bb8d1a;
cursor: pointer;
}
nav {
border-bottom: 1px solid #ddd;
background: #fff;
display: flex;
justify-content: center;
}
nav a {
padding: 15px 20px;
text-transform: uppercase;
font-weight: 600;
font-size: 13px;
color: #222;
border-bottom: 3px solid transparent;
}
nav a.active, nav a:hover {
color: #bb8d1a;
border-color: #bb8d1a;
}
.banner {
height: 400px;
color: #fff;
text-align: center;
background: url('i.webp') center/cover no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
padding: 0 20px;
font-weight: 700;
font-size: 26px;
letter-spacing: 0.04em;
text-shadow: 0 0 8px rgba(0,0,0,0.7);
}
.cards-container {
max-width: 1200px;
margin: -100px auto 60px;
display: flex;
gap: 20px;
padding: 0 20px;
flex-wrap: wrap;
justify-content: center;
}
.card {
background: #fff;
flex: 1 1 280px;
max-width: 320px;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.1);
border-radius: 3px;
overflow: hidden;
}
.card-header {
background: #bb8d1a;
color: #fff;
font-weight: 700;
font-size: 14px;
padding: 15px;
text-align: center;
}
.card-image {
display: flex; justify-content:center; padding: 20px;
background: #f7f7f7;
}
.card-image img {
max-height: 130px;
object-fit: contain;
}
.card-text {
font-size: 14px;
padding: 15px 15px 10px;
color: #444;
min-height: 80px;
}
.card-link {
padding: 0 15px 15px;
font-weight: 600;
font-size: 14px;
color: #bb8d1a;
cursor: pointer;
display: block;
}
.btn-center {
text-align: center;
margin-bottom: 60px;
}
.btn-center button {
background: #bb8d1a;
border: none;
padding: 12px 28px;
font-size: 14px;
font-weight: 700;
color: #fff;
border-radius: 3px;
cursor: pointer;
}
.btn-center button:hover {
background: #997311;
}
.about-company {
max-width: 900px;
margin: 0 auto 70px;
padding: 0 20px;
font-size: 14px;
color: #444;
line-height: 1.6;
}
.about-company strong {
font-weight: 700;
}
hr.divider {
max-width: 1200px;
margin: 60px auto;
border: none;
border-top: 1px solid #ddd;
}
.our-objects {
max-width: 1200px;
margin: 0 auto 80px;
padding: 0 20px;
}
.objects-title {
font-weight: 700;
font-size: 16px;
margin-bottom: 18px;
text-align: center;
color: #222;
}
.objects-list {
display: flex;
gap: 20px;
flex-wrap: wrap;
justify-content: center;
}
.object-card {
flex: 1 1 280px;
max-width: 45%;
background: #fff;
position: relative;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.1);
border-radius: 3px;
overflow: hidden;
margin-bottom: 20px;
}
.object-card img {
width: 100%;
height: 180px;
object-fit: cover;
}
.object-info {
position: absolute;
bottom: 0;
background: rgba(187, 141, 26, 0.7);
color: white;
padding: 15px;
width: 100%;
}
.object-info b {
font-weight: 700;
font-size: 15px;
display: block;
margin-bottom: 8px;
}
.object-info p {
font-size: 13px;
line-height: 1.4;
margin: 0 0 7px;
}
.object-info a {
color: white;
font-weight: 600;
font-size: 12px;
}
.object-info a:hover {
text-decoration: underline;
}
.news-section {
max-width: 1200px;
margin: 0 auto 80px;
padding: 0 20px;
}
.news-title {
font-weight: 700;
font-size: 16px;
margin-bottom: 18px;
text-align: center;
color: #222;
}
.news-list {
display: flex;
gap: 20px;
flex-wrap: wrap;
justify-content: center;
}
.news-card {
flex: 1 1 280px;
max-width: 320px;
border: 1px solid #ddd;
border-radius: 3px;
overflow: hidden;
box-shadow: 0 3px 8px rgb(0 0 0 / 0.05);
background: #fff;
cursor: pointer;
transition: box-shadow 0.3s ease;
}
.news-card:hover {
box-shadow: 0 4px 15px rgb(0 0 0 / 0.15);
}
.news-card img {
width: 100%;
height: 160px;
object-fit: cover;
}
.news-content {
padding: 10px 15px;
font-size: 14px;
color: #333;
}
.news-date {
color: #999;
font-size: 12px;
margin-top: 6px;
}
.btn-news {
text-align: center;
margin: 30px 0 60px;
}
.btn-news button {
background: #bb8d1a;
border: none;
padding: 10px 26px;
font-size: 14px;
font-weight: 700;
color: #fff;
border-radius: 3px;
cursor: pointer;
}
.btn-news button:hover {
background: #997311;
}
.consultation {
background: url('https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=1400&q=70') center/cover no-repeat;
color: #fff;
padding: 60px 20px;
text-align: center;
font-weight: 600;
font-size: 18px;
position: relative;
}
.consultation::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 0;
}
.consultation-content {
position: relative;
z-index: 1;
max-width: 700px;
margin: 0 auto;
}
.consultation button {
margin-top: 20px;
background: #bb8d1a;
border: none;
padding: 14px 36px;
font-size: 14px;
font-weight: 700;
color: #fff;
border-radius: 4px;
cursor: pointer;
}
.consultation button:hover {
background: #997311;
}
footer {
background: #f9f9f9;
border-top: 1px solid #ddd;
font-size: 13px;
color: #666;
padding: 20px ;
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
align-items: center;
justify-content: space-between;
}
footer nav {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
footer nav a {
color: #666;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 0.03em;
}
footer nav a:hover {
color: #bb8d1a;
}
.socials {
display: flex;
gap: 15px;
}
.socials a {
display: inline-block;
width: 22px;
height: 22px;
fill: #666;
transition: fill 0.3s;
}
.socials a:hover {
fill: #bb8d1a;
}
.copyright {
font-size: 12px;
color: #999;
margin-top: 10px;
flex-basis: 100%;
text-align: center;
}
@media (max-width: 992px) {
.cards-container,
.objects-list,
.news-list {
flex-direction: column;
align-items: center;
}
.card, .object-card, .news-card {
max-width: 100%;
}
.object-card {
max-width: 90%;
}
}