test главной

This commit is contained in:
2026-05-03 14:57:56 +03:00
parent 208614f71b
commit a6748f3079
431 changed files with 561 additions and 0 deletions

View File

@@ -0,0 +1,421 @@
.home-page {
width: min(1280px, calc(100% - 32px));
margin: 0 auto;
padding: 24px 0 56px;
color: #2f2520;
}
.hero {
position: relative;
overflow: hidden;
background: linear-gradient(160deg, #fffdf9 0%, #f6e7d6 100%);
border: 1px solid #ead9c8;
border-radius: 28px;
padding: 30px;
box-shadow: 0 28px 60px -36px rgba(42, 27, 19, 0.4);
}
.hero__bg-shape {
position: absolute;
border-radius: 999px;
filter: blur(2px);
}
.hero__bg-shape--one {
width: 260px;
height: 260px;
right: -100px;
top: -90px;
background: radial-gradient(circle, rgba(210, 112, 78, 0.45) 0%, rgba(210, 112, 78, 0) 70%);
}
.hero__bg-shape--two {
width: 260px;
height: 260px;
left: -120px;
bottom: -130px;
background: radial-gradient(circle, rgba(227, 194, 137, 0.4) 0%, rgba(227, 194, 137, 0) 70%);
}
.hero__container {
position: relative;
z-index: 1;
display: flex;
gap: 26px;
}
.hero__content {
flex: 1 1 52%;
}
.hero__eyebrow {
margin: 0 0 10px;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: 700;
color: #8e311d;
}
.hero__title {
margin: 0;
font-family: "Cormorant Garamond", Georgia, serif;
font-size: clamp(32px, 4.8vw, 58px);
line-height: 0.94;
}
.hero__lead {
margin: 16px 0 14px;
max-width: 560px;
line-height: 1.6;
}
.hero__badges {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
gap: 9px;
}
.hero__badges li {
border: 1px solid #e2c9af;
background: rgba(255, 255, 255, 0.8);
border-radius: 999px;
padding: 6px 12px;
font-size: 13px;
}
.hero__actions {
margin-top: 18px;
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.hero__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
border-radius: 999px;
padding: 0 18px;
font-weight: 700;
text-decoration: none;
}
.hero__btn--primary {
background: linear-gradient(135deg, #b44b31, #8e311d);
color: #fff;
}
.hero__btn--ghost {
border: 1px solid #cfb39b;
color: #2f2520;
background: #fff;
}
.hero__gallery {
flex: 1 1 48%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.hero__card {
margin: 0;
border-radius: 18px;
overflow: hidden;
border: 1px solid #ead9c8;
}
.hero__card--main {
grid-row: span 2;
}
.hero__card img,
.category__item img,
.cake-card img,
.steps__visual img,
.portfolio__grid img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.section-head {
margin: 62px 0 18px;
}
.section-head h2,
.steps h2,
.delivery h2,
.reviews h2,
.faq h2,
.cta-final h2 {
margin: 0;
font-family: "Cormorant Garamond", Georgia, serif;
font-size: clamp(30px, 4vw, 48px);
line-height: 0.98;
}
.section-head__kicker {
margin: 0 0 8px;
color: #8e311d;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.1em;
font-weight: 700;
}
.category__grid,
.showcase__grid,
.portfolio__grid,
.delivery__grid,
.reviews__grid {
display: grid;
gap: 14px;
}
.category__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category__item {
text-decoration: none;
color: #2f2520;
border-radius: 16px;
overflow: hidden;
border: 1px solid #ead9c8;
background: #fff;
}
.category__item span {
display: block;
padding: 10px 12px;
font-weight: 700;
}
.showcase__grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cake-card {
border: 1px solid #ead9c8;
border-radius: 16px;
overflow: hidden;
background: #fff;
}
.cake-card h3 {
margin: 10px 12px 2px;
font-size: 17px;
}
.cake-card p {
margin: 0 12px 12px;
color: #8e311d;
font-weight: 700;
}
.steps {
margin-top: 62px;
display: grid;
grid-template-columns: 1.1fr 0.9fr;
gap: 20px;
align-items: center;
}
.steps ol {
margin: 14px 0;
padding-left: 18px;
line-height: 1.7;
}
.steps__link,
.delivery__link,
.portfolio__link {
color: #8e311d;
font-weight: 700;
text-decoration: none;
}
.steps__visual {
border-radius: 18px;
overflow: hidden;
border: 1px solid #ead9c8;
min-height: 360px;
}
.delivery {
margin-top: 62px;
padding: 24px;
border-radius: 18px;
border: 1px solid #ead9c8;
background: #fffaf4;
}
.delivery__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
margin-top: 12px;
}
.delivery__grid h3 {
margin: 0 0 4px;
font-size: 18px;
}
.delivery__grid p {
margin: 0;
line-height: 1.6;
}
.portfolio__grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.portfolio__grid img {
border-radius: 16px;
border: 1px solid #ead9c8;
aspect-ratio: 1/1;
}
.reviews__grid {
margin-top: 14px;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reviews__grid article {
background: #fff;
border: 1px solid #ead9c8;
border-radius: 16px;
padding: 16px;
}
.reviews__grid p {
margin: 0 0 8px;
line-height: 1.65;
}
.reviews__grid span {
font-size: 13px;
color: #7f6353;
}
.faq {
margin-top: 62px;
}
.faq details {
border-top: 1px solid #ead9c8;
padding: 12px 0;
}
.faq details:last-child {
border-bottom: 1px solid #ead9c8;
}
.faq summary {
cursor: pointer;
font-weight: 700;
}
.faq p {
margin: 8px 0 0;
line-height: 1.6;
}
.cta-final {
margin-top: 62px;
border-radius: 22px;
background: linear-gradient(120deg, #4b241a 0%, #8e311d 60%, #b44b31 100%);
color: #fff;
padding: 30px;
}
.cta-final h2,
.cta-final p {
color: #fff;
}
.cta-final p {
max-width: 620px;
}
.cta-final__actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 14px;
}
.cta-final__actions a {
text-decoration: none;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.55);
border-radius: 999px;
padding: 9px 14px;
font-weight: 700;
}
@media (max-width: 1100px) {
.showcase__grid,
.portfolio__grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero__container,
.steps {
grid-template-columns: 1fr;
display: grid;
}
.hero__gallery {
min-height: 420px;
}
}
@media (max-width: 820px) {
.home-page {
width: min(1280px, calc(100% - 20px));
}
.category__grid,
.showcase__grid,
.portfolio__grid,
.delivery__grid,
.reviews__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 560px) {
.hero {
padding: 20px;
border-radius: 20px;
}
.hero__gallery {
grid-template-columns: 1fr;
min-height: auto;
}
.hero__card--main {
grid-row: span 1;
}
.category__grid,
.showcase__grid,
.portfolio__grid,
.delivery__grid,
.reviews__grid {
grid-template-columns: 1fr;
}
.delivery,
.cta-final {
padding: 20px;
}
}