css
/* ============================================
Версаль — фитостудия
Полный набор стилей для index.html
============================================ */
:root {
--bg: #f3ede2;
--bg-alt: #e8e0cf;
--dark: #18382f;
--dark-soft: #234c41;
--accent: #c9a961;
--accent-warm: #b88a4a;
--text: #1f2622;
--text-soft: #6b6359;
--line: rgba(24, 56, 47, 0.14);
--container: 1280px;
--radius: 24px;
--radius-sm: 14px;
--shadow: 0 14px 40px rgba(24, 56, 47, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: 'Manrope', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
font-size: 16px;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--accent); color: var(--dark); }
.container {
max-width: var(--container);
margin: 0 auto;
padding: 0 clamp(20px, 4vw, 60px);
}
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
/* === Typography === */
h1, h2, h3 {
font-family: 'Playfair Display', Georgia, serif;
font-weight: 500;
line-height: 1.08;
letter-spacing: -0.015em;
color: var(--dark);
margin: 0;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent-warm); }
p { margin: 0; }
.kicker {
text-transform: uppercase;
letter-spacing: 0.22em;
font-size: 0.72rem;
font-weight: 600;
color: var(--accent-warm);
margin-bottom: 16px;
display: inline-block;
}
.kicker.light { color: rgba(255, 255, 255, 0.7); }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--text); }
.small-note { font-size: 0.85rem; color: var(--text-soft); font-style: italic; }
.text-link {
display: inline-flex;
align-items: center;
gap: 10px;
color: var(--dark);
font-weight: 600;
border-bottom: 1px solid currentColor;
padding-bottom: 4px;
transition: gap 0.3s, color 0.3s;
}
.text-link:hover { gap: 16px; color: var(--accent-warm); }
/* === Buttons === */
.button {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 16px 28px;
border-radius: 999px;
font-weight: 600;
font-size: 0.95rem;
letter-spacing: 0.01em;
transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
white-space: nowrap;
}
.button-dark { background: var(--dark); color: #fff; }
.button-dark:hover { background: var(--dark-soft); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,56,47,0.25); }
.button-light { background: #fff; color: var(--dark); }
.button-light:hover { background: var(--bg-alt); transform: translateY(-2px); }
.button-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.button-line:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
/* === Skip link === */
.skip-link {
position: absolute; top: -100px; left: 16px;
background: var(--dark); color: #fff;
padding: 12px 20px; border-radius: 8px; z-index: 1000;
}
.skip-link:focus { top: 16px; }
/* === Header === */
.site-header {
position: sticky; top: 0; z-index: 90;
background: rgba(243, 237, 226, 0.92);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border-bottom: 1px solid var(--line);
}
.utility {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 32px;
padding: 18px clamp(20px, 4vw, 60px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
width: 46px; height: 46px;
background: var(--dark); color: #fff;
display: grid; place-items: center;
border-radius: 50%;
font-family: 'Playfair Display', serif;
font-size: 1.4rem; font-weight: 600;
position: relative;
}
.brand-mark .leaf {
position: absolute; top: 5px; right: 4px;
font-size: 0.7rem; color: var(--accent);
}
.brand-text {
display: flex; flex-direction: column;
font-family: 'Playfair Display', serif;
font-size: 1.4rem; font-weight: 600; line-height: 1;
}
.brand-text small {
font-family: 'Manrope', sans-serif;
font-size: 0.68rem; font-weight: 500;
letter-spacing: 0.22em; text-transform: uppercase;
color: var(--text-soft); margin-top: 5px;
}
.contacts {
display: flex; gap: 36px; justify-content: center;
font-size: 0.85rem;
}
.contacts > div { display: flex; flex-direction: column; gap: 2px; }
.contacts span { color: var(--text-soft); font-size: 0.78rem; }
.contacts strong { color: var(--dark); font-weight: 600; }
.header-cta {
display: inline-flex; align-items: center; gap: 8px;
padding: 12px 22px;
background: var(--dark); color: #fff;
border-radius: 999px;
font-weight: 600; font-size: 0.88rem;
transition: transform 0.3s, background 0.3s;
}
.header-cta:hover { background: var(--dark-soft); transform: translateY(-2px); }
.nav-bar { border-top: 1px solid var(--line); }
.nav-inner {
display: flex; align-items: center; gap: 24px;
padding: 12px clamp(20px, 4vw, 60px);
}
.menu-trigger {
display: inline-flex; align-items: center; gap: 12px;
padding: 8px 16px; border-radius: 999px;
font-weight: 600; font-size: 0.92rem;
transition: background 0.3s;
}
.menu-trigger:hover { background: var(--bg-alt); }
.hamburger { display: inline-flex; flex-direction: column; gap: 4px; }
.hamburger i {
width: 18px; height: 2px; background: var(--dark);
display: block; transition: transform 0.3s, opacity 0.3s;
}
.menu-trigger[aria-expanded="true"] .hamburger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] .hamburger i:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }
.quick-nav {
display: flex; gap: 28px; margin-left: auto;
}
.quick-nav a {
font-size: 0.95rem; font-weight: 500;
color: var(--text); position: relative;
transition: color 0.3s;
}
.quick-nav a::after {
content: ''; position: absolute; left: 0; bottom: -4px;
width: 0; height: 1px; background: var(--dark);
transition: width 0.3s;
}
.quick-nav a:hover { color: var(--dark); }
.quick-nav a:hover::after { width: 100%; }
.nav-contact {
padding: 10px 20px;
border: 1px solid var(--dark); color: var(--dark);
border-radius: 999px;
font-weight: 600; font-size: 0.88rem;
display: inline-flex; align-items: center; gap: 8px;
transition: background 0.3s, color 0.3s;
}
.nav-contact:hover { background: var(--dark); color: #fff; }
/* === Mega menu === */
.mega-menu {
position: absolute; top: 100%; left: 0; right: 0;
background: var(--bg);
border-bottom: 1px solid var(--line);
box-shadow: var(--shadow);
animation: fadeDown 0.3s ease;
}
.mega-menu[hidden] { display: none; }
@keyframes fadeDown {
from { opacity: 0; transform: translateY(-8px); }
to { opacity: 1; transform: translateY(0); }
}
.mega-layout {
display: grid;
grid-template-columns: 260px 1fr 340px;
gap: 48px;
padding: 48px clamp(20px, 4vw, 60px);
}
.mega-tabs { display: flex; flex-direction: column; gap: 8px; }
.mega-tab {
text-align: left; padding: 14px 18px;
font-size: 1rem; font-weight: 500;
border-radius: 12px;
display: flex; justify-content: space-between; align-items: center;
transition: background 0.3s, color 0.3s;
}
.mega-tab.active { background: var(--dark); color: #fff; }
.mega-tab:hover:not(.active) { background: var(--bg-alt); }
.mega-content {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px 32px;
align-content: start;
}
.mega-content a {
display: flex; justify-content: space-between; align-items: center;
padding: 14px 0;
border-bottom: 1px solid var(--line);
font-weight: 500;
transition: color 0.3s, padding 0.3s;
}
.mega-content a::after { content: '↗'; opacity: 0.4; transition: opacity 0.3s; }
.mega-content a:hover { color: var(--accent-warm); padding-left: 8px; }
.mega-content a:hover::after { opacity: 1; }
.mega-visual {
border-radius: 20px; overflow: hidden;
position: relative; align-self: start;
}
.mega-visual img { width: 100%; height: 320px; object-fit: cover; }
.mega-visual p {
position: absolute; bottom: 20px; left: 20px; right: 20px;
color: #fff;
font-family: 'Playfair Display', serif;
font-style: italic; font-size: 1.15rem;
text-shadow: 0 2px 12px rgba(0,0,0,0.5);
margin: 0;
}
/* === Hero === */
.hero {
position: relative;
min-height: 92vh;
display: flex; align-items: flex-end;
color: #fff;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
position: absolute; inset: 0;
background:
linear-gradient(180deg, rgba(24,56,47,0.25) 0%, rgba(24,56,47,0.75) 100%),
linear-gradient(90deg, rgba(24,56,47,0.4), transparent 60%);
}
.hero-inner {
position: relative; z-index: 1;
padding: 100px clamp(20px, 4vw, 60px) 64px;
width: 100%;
}
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 28px; }
.hero-lead {
font-size: clamp(1.1rem, 1.8vw, 1.35rem);
max-width: 540px; margin-bottom: 40px;
opacity: 0.92;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-bottom {
margin-top: 80px; padding-top: 24px;
border-top: 1px solid rgba(255,255,255,0.22);
display: flex; justify-content: space-between; align-items: center;
font-size: 0.9rem;
}
.hero-bottom a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.hero-bottom a b { transition: transform 0.3s; }
.hero-bottom a:hover b { transform: translateY(3px); }
/* === Sections === */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section-number {
font-size: 0.78rem; font-weight: 600;
text-transform: uppercase; letter-spacing: 0.22em;
color: var(--accent-warm);
margin-bottom: 32px;
}
.section-heading {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: 48px;
margin-bottom: 64px;
align-items: end;
}
.section-heading p { color: var(--text-soft); max-width: 480px; }
/* === Intro === */
.intro {
display: grid;
grid-template-columns: 200px 1fr;
gap: 48px;
align-items: start;
}
.intro-grid {
display: grid;
grid-template-columns: 1.1fr 1fr;
gap: 48px;
margin-top: 40px;
}
.intro-grid .lead { font-size: 1.3rem; line-height: 1.5; font-family: 'Playfair Display', serif; font-style: italic; color: var(--dark); }
.intro-grid p + a { margin-top: 24px; }
/* === Services === */
.service-scroll {
display: flex; gap: 20px;
overflow-x: auto;
scroll-snap-type: x mandatory;
scroll-behavior: smooth;
padding: 20px clamp(20px, 4vw, 60px);
margin: 0 calc(-1 * clamp(20px, 4vw, 60px));
}
.service-scroll::-webkit-scrollbar { height: 6px; }
.service-scroll::-webkit-scrollbar-track { background: transparent; }
.service-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.service-card {
flex: 0 0 320px;
height: 460px;
border-radius: var(--radius);
padding: 32px;
display: flex; flex-direction: column; justify-content: space-between;
color: #fff;
position: relative; overflow: hidden;
scroll-snap-align: start;
transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 60%);
pointer-events: none;
}
.card-one { background: linear-gradient(140deg, #2a4a3e 0%, #122a22 100%); }
.card-two { background: linear-gradient(140deg, #3a4a2c 0%, #1c2a14 100%); }
.card-three { background: linear-gradient(140deg, #4a3a22 0%, #2a1d10 100%); }
.card-four { background: linear-gradient(140deg, #2c3a4a 0%, #121f2c 100%); }
.card-five { background: linear-gradient(140deg, #3a2c4a 0%, #1f1428 100%); }
.card-six { background: linear-gradient(140deg, #4a2c36 0%, #281218 100%); }
.service-index {
font-family: 'Playfair Display', serif;
font-size: 4rem; font-weight: 500;
opacity: 0.35; line-height: 1;
}
.service-category {
font-size: 0.74rem; text-transform: uppercase;
letter-spacing: 0.22em; opacity: 0.7;
}
.service-card h3 { color: #fff; font-size: 1.85rem; margin: 12px 0 18px; }
.service-arrow { font-size: 1.5rem; transition: transform 0.3s; display: inline-block; }
.service-card:hover .service-arrow { transform: translate(4px, -4px); }
.slider-controls {
display: flex; justify-content: space-between; align-items: center;
margin-top: 32px;
}
.slider-controls > div { display: flex; gap: 12px; }
.circle-button {
width: 48px; height: 48px;
border-radius: 50%;
border: 1px solid var(--line);
background: transparent;
display: grid; place-items: center;
font-size: 1.1rem;
transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.circle-button:hover { background: var(--dark); color: #fff; border-color: var(--dark); transform: translateY(-2px); }
/* === Landscape === */
.landscape {
position: relative;
min-height: 70vh;
display: flex; align-items: center;
color: #fff;
}
.landscape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.landscape-shade {
position: absolute; inset: 0;
background: linear-gradient(90deg, rgba(24,56,47,0.88) 0%, rgba(24,56,47,0.5) 100%);
}
.landscape-content { position: relative; padding: 100px clamp(20px, 4vw, 60px); }
.landscape h2 { color: #fff; max-width: 720px; margin-bottom: 24px; }
.landscape p { max-width: 480px; margin-bottom: 32px; opacity: 0.9; font-size: 1.1rem; }
/* === Advantages === */
.advantage-layout {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 80px;
}
.advantage-layout > div:first-child { position: sticky; top: 140px; height: fit-content; }
.advantage-layout .lead { margin: 24px 0 32px; }
.advantage-list { display: flex; flex-direction: column; }
.advantage-list article {
display: grid;
grid-template-columns: 60px 1fr;
gap: 24px;
padding: 32px 0;
border-bottom: 1px solid var(--line);
transition: padding 0.3s;
}
.advantage-list article:hover { padding-left: 8px; }
.advantage-list article:last-child { border-bottom: 0; }
.advantage-list article span {
font-family: 'Playfair Display', serif;
font-size: 1.6rem; color: var(--accent-warm);
font-weight: 500;
}
.advantage-list h3 { margin-bottom: 8px; }
.advantage-list p { color: var(--text-soft); line-height: 1.65; }
/* === Photo service === */
.photo-service { background: var(--bg-alt); padding: clamp(80px, 10vw, 140px) 0; }
.photo-layout {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 64px; align-items: center;
}
.photo-visual {
position: relative;
border-radius: var(--radius);
overflow: hidden;
aspect-ratio: 4/5;
}
.photo-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.photo-visual:hover img { transform: scale(1.04); }
.photo-visual span {
position: absolute; bottom: 28px; left: 28px; right: 28px;
color: #fff;
font-family: 'Playfair Display', serif;
font-style: italic; font-size: 1.3rem;
text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.photo-copy .lead { margin: 24px 0 32px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.25rem; color: var(--dark); }
.mini-steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
margin-bottom: 28px;
}
.mini-steps > div {
background: #fff;
padding: 20px;
border-radius: 16px;
display: flex; flex-direction: column; gap: 8px;
transition: transform 0.3s;
}
.mini-steps > div:hover { transform: translateY(-4px); }
.mini-steps b { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--accent-warm); }
.mini-steps span { font-size: 0.88rem; color: var(--text-soft); }
/* === Projects === */
.project-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 380px 380px;
gap: 20px;
margin-bottom: 24px;
}
.project-large { grid-row: span 2; }
.project-card {
position: relative;
border-radius: var(--radius);
overflow: hidden;
padding: 0;
cursor: pointer;
text-align: left;
}
.project-card img {
width: 100%; height: 100%;
object-fit: cover;
transition: transform 0.7s, filter 0.5s;
}
.project-card:hover img { transform: scale(1.06); }
.project-card::after {
content: ''; position: absolute; inset: 0;
background: linear-gradient(0deg, rgba(24,56,47,0.85), rgba(24,56,47,0.05) 60%);
pointer-events: none;
}
.project-card span {
position: absolute; bottom: 0; left: 0; right: 0;
padding: 28px;
color: #fff;
display: flex; flex-direction: column; gap: 6px;
text-align: left; align-items: flex-start;
z-index: 1;
}
.project-card span small {
font-size: 0.74rem;
text-transform: uppercase;
letter-spacing: 0.22em;
opacity: 0.75;
}
.project-card span strong {
font-family: 'Playfair Display', serif;
font-size: 1.45rem; font-weight: 500;
line-height: 1.2;
}
.project-card span b {
position: absolute; top: 20px; right: 20px;
width: 40px; height: 40px;
background: #fff; color: var(--dark);
border-radius: 50%;
display: grid; place-items: center;
font-size: 1rem;
transition: transform 0.3s, background 0.3s;
}
.project-card:hover span b { background: var(--accent); color: #fff; transform: rotate(45deg); }
/* === Clients === */
.clients { background: var(--dark); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.clients .kicker { color: var(--accent); }
.clients h2 { color: #fff; margin-bottom: 24px; }
.clients-layout {
display: grid;
grid-template-columns: 1fr 1.1fr;
gap: 64px; align-items: center;
}
.clients-layout > div:first-child p { color: rgba(255,255,255,0.7); max-width: 480px; font-size: 1.05rem; }
.client-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.client-types span {
padding: 18px 22px;
border: 1px solid rgba(255,255,255,0.18);
border-radius: 14px;
text-align: center;
font-weight: 500; font-size: 0.95rem;
transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.client-types span:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); color: var(--accent); }
/* === Process === */
.timeline {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 18px;
margin-bottom: 48px;
}
.timeline article {
padding: 28px 26px;
background: var(--bg-alt);
border-radius: 20px;
transition: background 0.3s, transform 0.3s, color 0.3s;
position: relative;
overflow: hidden;
}
.timeline article::before {
content: ''; position: absolute; top: 0; left: 0;
width: 0; height: 3px; background: var(--accent-warm);
transition: width 0.4s;
}
.timeline article:hover { background: var(--dark); color: #fff; transform: translateY(-4px); }
.timeline article:hover::before { width: 100%; }
.timeline article:hover h3 { color: #fff; }
.timeline article:hover p { color: rgba(255,255,255,0.8); }
.timeline b {
font-family: 'Playfair Display', serif;
font-size: 2rem; color: var(--accent-warm);
display: block; margin-bottom: 12px;
}
.timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.5; }
/* === Pots === */
.pot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pot-card {
display: grid;
grid-template-columns: 240px 1fr;
gap: 32px;
align-items: center;
padding: 36px;
background: var(--bg-alt);
border-radius: var(--radius);
transition: background 0.3s;
}
.pot-card:hover { background: #fff; box-shadow: var(--shadow); }
.pot-illustration {
position: relative;
height: 240px;
background: #fff;
border-radius: 18px;
display: grid; place-items: end center;
padding-bottom: 28px;
overflow: hidden;
}
.pot-vase {
display: block;
width: 110px; height: 92px;
background: linear-gradient(180deg, var(--accent-warm), #7a542b);
border-radius: 0 0 26px 26px;
position: relative;
}
.pot-vase::before {
content: ''; position: absolute;
top: -10px; left: -8px; right: -8px;
height: 14px; background: var(--dark);
border-radius: 8px 8px 0 0;
}
.pot-b .pot-vase { background: linear-gradient(180deg, #5a6e58, #2c3a2a); }
.pot-leaves {
position: absolute; top: 28px; left: 50%;
transform: translateX(-50%);
font-size: 3rem; color: var(--dark);
animation: sway 6s ease-in-out infinite;
}
.pot-b .pot-leaves { animation-delay: -3s; color: #3a5a3a; }
@keyframes sway {
0%, 100% { transform: translateX(-50%) rotate(-3deg); }
50% { transform: translateX(-50%) rotate(3deg); }
}
.pot-card h3 { margin-bottom: 8px; }
.pot-card p { color: var(--text-soft); }
/* === Media === */
.video-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 56px;
}
.video-card { display: flex; flex-direction: column; gap: 16px; cursor: pointer; }
.video-art {
aspect-ratio: 4/3;
background: linear-gradient(135deg, var(--dark), var(--dark-soft));
border-radius: 18px;
display: grid; place-items: center;
color: #fff;
font-family: 'Playfair Display', serif;
font-size: 3.2rem; font-weight: 500;
position: relative;
overflow: hidden;
transition: transform 0.3s;
}
.video-art::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(circle at 30% 30%, rgba(201,169,97,0.25), transparent 60%);
}
.video-art::after {
content: '▶'; position: absolute;
bottom: 16px; right: 16px;
width: 44px; height: 44px;
background: rgba(255,255,255,0.2);
border-radius: 50%;
display: grid; place-items: center;
font-size: 0.9rem;
backdrop-filter: blur(10px);
transition: background 0.3s, transform 0.3s;
}
.video-card:hover .video-art { transform: translateY(-4px); }
.video-card:hover .video-art::after { background: var(--accent); }
.video-card h3 { font-size: 1.1rem; transition: color 0.3s; }
.video-card:hover h3 { color: var(--accent-warm); }
.video-card p { font-size: 0.9rem; color: var(--text-soft); font-style: italic; }
.telegram-strip {
display: flex; justify-content: space-between; align-items: center;
padding: 36px 40px;
background: var(--bg-alt);
border-radius: 22px;
gap: 32px;
}
.telegram-strip h3 { font-size: 1.3rem; margin-top: 8px; max-width: 480px; }
.telegram-strip span { color: var(--text-soft); font-style: italic; max-width: 360px; text-align: right; }
/* === FAQ === */
.faq { background: var(--bg-alt); }
.faq-layout {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 64px;
}
.faq-layout > div:first-child p { margin-top: 24px; color: var(--text-soft); max-width: 480px; }
.faq-items { display: flex; flex-direction: column; }
.faq-items details {
border-bottom: 1px solid var(--line);
padding: 24px 0;
}
.faq-items summary {
display: flex; justify-content: space-between; align-items: center;
cursor: pointer;
font-family: 'Playfair Display', serif;
font-size: 1.2rem;
color: var(--dark);
list-style: none;
transition: color 0.3s;
}
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after {
content: '+'; font-size: 1.5rem; font-family: 'Manrope', sans-serif;
transition: transform 0.3s; font-weight: 300;
}
.faq-items details[open] summary::after { transform: rotate(45deg); }
.faq-items summary:hover { color: var(--accent-warm); }
.faq-items details p { margin-top: 16px; color: var(--text-soft); line-height: 1.7; }
/* === Order === */
.order { background: var(--dark); color: #fff; padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.order::before {
content: ''; position: absolute;
top: -1px; left: 0; right: 0; height: 1px;
background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.order .kicker { color: var(--accent); }
.order h2 { color: #fff; margin-bottom: 24px; }
.order-layout {
display: grid;
grid-template-columns: 1fr 1.2fr;
gap: 80px;
align-items: start;
}
.order-layout p { opacity: 0.85; margin-bottom: 32px; font-size: 1.05rem; }
.order-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.order-meta span {
padding: 10px 18px;
border: 1px solid rgba(255,255,255,0.2);
border-radius: 999px;
font-size: 0.9rem;
transition: background 0.3s, border-color 0.3s;
}
.order-meta span:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); }
.order-form {
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 26px;
padding: 36px;
display: flex; flex-direction: column; gap: 18px;
backdrop-filter: blur(8px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-form label, .order-form .file-label {
display: flex; flex-direction: column; gap: 8px;
font-size: 0.82rem;
color: rgba(255,255,255,0.7);
}
.order-form input, .order-form select, .order-form textarea {
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.18);
color: #fff;
padding: 14px 16px;
border-radius: 12px;
font-family: inherit;
transition: border-color 0.3s, background 0.3s;
}
.order-form input::placeholder, .order-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.order-form input:focus, .order-form select:focus, .order-form textarea:focus {
border-color: var(--accent);
background: rgba(255,255,255,0.1);
outline: none;
}
.order-form select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M6 8L0 0h12z' opacity='0.6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 16px center;
padding-right: 40px;
}
.order-form select option { background: var(--dark); color: #fff; }
.file-label {
position: relative; cursor: pointer;
padding: 14px 16px;
background: rgba(255,255,255,0.06);
border: 1px dashed rgba(255,255,255,0.22);
border-radius: 12px;
text-align: center;
transition: border-color 0.3s, background 0.3s;
}
.file-label:hover { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.file-label input {
position: absolute; inset: 0; opacity: 0; cursor: pointer;
padding: 0; width: 100%; height: 100%;
}
.file-label span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.consent {
flex-direction: row; align-items: center; gap: 12px;
font-size: 0.85rem; cursor: pointer;
}
.consent input {
width: 18px; height: 18px;
accent-color: var(--accent);
flex-shrink: 0;
}
.form-message {
font-size: 0.92rem;
min-height: 1.2em;
color: var(--accent);
}
.form-message.success { color: #8ce99a; }
.form-message.error { color: #ff8b7a; }
.form-fine {
font-size: 0.8rem;
color: rgba(255,255,255,0.5);
font-style: italic;
}
/* === Footer === */
.footer { background: #0e2520; color: #fff; padding: 80px 0 24px; }
.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
gap: 48px;
margin-bottom: 48px;
}
.footer-brand { margin-bottom: 20px; }
.footer-grid p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.7; }
.footer-grid h3 {
color: #fff; font-size: 1rem; margin-bottom: 20px;
font-family: 'Manrope', sans-serif; font-weight: 600;
text-transform: uppercase; letter-spacing: 0.18em;
}
.footer-grid a {
display: block; padding: 6px 0;
color: rgba(255,255,255,0.7);
font-size: 0.95rem;
transition: color 0.3s, padding 0.3s;
}
.footer-grid a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
display: flex; justify-content: space-between; align-items: center;
padding-top: 24px;
border-top: 1px solid rgba(255,255,255,0.1);
font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent); }
/* === Floating buttons === */
.float-call {
position: fixed; right: 24px; bottom: 24px;
width: 60px; height: 60px;
background: var(--accent);
color: #fff;
border-radius: 50%;
display: grid; place-items: center;
font-size: 1.4rem;
box-shadow: 0 10px 28px rgba(201,169,97,0.45);
z-index: 80;
transition: transform 0.3s, box-shadow 0.3s;
animation: pulse 2.4s ease-in-out infinite;
}
.float-call:hover { transform: scale(1.08); }
@keyframes pulse {
0%, 100% { box-shadow: 0 10px 28px rgba(201,169,97,0.45); }
50% { box-shadow: 0 10px 28px rgba(201,169,97,0.75), 0 0 0 14px rgba(201,169,97,0); }
}
.float-top {
position: fixed; right: 24px; bottom: 96px;
width: 46px; height: 46px;
background: var(--dark); color: #fff;
border-radius: 50%;
display: grid; place-items: center;
font-size: 1.1rem;
opacity: 0; transform: translateY(20px);
transition: opacity 0.3s, transform 0.3s, background 0.3s;
z-index: 80;
text-decoration: none;
}
.float-top.visible { opacity: 1; transform: translateY(0); }
.float-top:hover { background: var(--accent-warm); }
/* === Modal === */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop {
position: absolute; inset: 0;
background: rgba(14, 37, 32, 0.75);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
animation: fadeIn 0.3s ease;
}
.modal-panel {
position: relative;
background: var(--bg);
padding: 44px 40px;
border-radius: 26px;
max-width: 480px;
width: 100%;
max-height: calc(100vh - 32px);
overflow-y: auto;
animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
from { opacity: 0; transform: scale(0.95) translateY(20px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
position: absolute; top: 16px; right: 16px;
width: 38px; height: 38px;
background: var(--bg-alt); color: var(--dark);
border-radius: 50%;
font-size: 1.5rem;
display: grid; place-items: center;
transition: background 0.3s, color 0.3s, transform 0.3s;
}
.modal-close:hover { background: var(--dark); color: #fff; transform: rotate(90deg); }
.modal-panel h2 { margin-bottom: 14px; }
.modal-panel > p { margin-bottom: 24px; color: var(--text-soft); }
.modal-panel form { display: flex; flex-direction: column; gap: 16px; }
.modal-panel label {
display: flex; flex-direction: column; gap: 6px;
font-size: 0.85rem; color: var(--text-soft);
}
.modal-panel input, .modal-panel textarea {
background: #fff;
border: 1px solid var(--line);
padding: 14px 16px;
border-radius: 12px;
font-family: inherit;
transition: border-color 0.3s, box-shadow 0.3s;
color: var(--text);
}
.modal-panel input:focus, .modal-panel textarea:focus {
border-color: var(--dark);
outline: none;
box-shadow: 0 0 0 3px rgba(24,56,47,0.1);
}
.modal-panel .consent {
flex-direction: row; align-items: center; gap: 10px;
color: var(--text-soft); font-size: 0.85rem; cursor: pointer;
}
.modal-panel .consent input { width: 18px; height: 18px; accent-color: var(--dark); }
.project-modal-panel { max-width: 720px; }
.project-modal-panel img {
width: 100%;
border-radius: 18px;
margin-bottom: 24px;
max-height: 420px; object-fit: cover;
}
/* === Reveal on scroll === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
/* === Responsive === */
@media (max-width: 1200px) {
.utility { grid-template-columns: auto 1fr; }
.contacts { display: none; }
.intro { grid-template-columns: 1fr; }
.section-heading { grid-template-columns: 1fr; gap: 20px; align-items: start; }
.advantage-layout, .photo-layout, .clients-layout, .faq-layout, .order-layout {
grid-template-columns: 1fr; gap: 56px;
}
.advantage-layout > div:first-child { position: static; }
.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
.quick-nav { display: none; }
.nav-contact { margin-left: auto; }
.mega-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px; }
.mega-content { grid-template-columns: 1fr; }
.mega-visual img { height: 220px; }
.project-grid {
grid-template-columns: 1fr 1fr;
grid-template-rows: 300px 300px 300px;
}
.project-large { grid-column: span 2; grid-row: span 1; }
.video-grid { grid-template-columns: 1fr 1fr; }
.pot-grid { grid-template-columns: 1fr; }
.telegram-strip { flex-direction: column; text-align: left; align-items: flex-start; gap: 16px; }
.telegram-strip span { text-align: left; }
.client-types { grid-template-columns: repeat(2, 1fr); }
.photo-visual { aspect-ratio: 5/4; }
}
@media (max-width: 640px) {
.header-cta { display: none; }
.nav-inner { padding: 12px 20px; }
.container { padding: 0 20px; }
.hero { min-height: 82vh; }
.hero-inner { padding: 80px 20px 48px; }
.hero h1 { font-size: 2.4rem; }
.hero-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
.form-grid { grid-template-columns: 1fr; }
.project-grid {
grid-template-columns: 1fr;
grid-template-rows: 280px 280px 280px;
}
.project-large { grid-column: span 1; }
.video-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; gap: 32px; }
.footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
.pot-card { grid-template-columns: 1fr; padding: 24px; }
.pot-illustration { height: 200px; }
.service-card { flex: 0 0 280px; height: 420px; padding: 26px; }
.service-index { font-size: 3.2rem; }
.service-card h3 { font-size: 1.55rem; }
.order-form { padding: 24px; }
.modal-panel { padding: 32px 24px; }
.telegram-strip { padding: 24px; }
.mini-steps { grid-template-columns: 1fr; }
.client-types { grid-template-columns: 1fr 1fr; }
.float-call { width: 54px; height: 54px; right: 16px; bottom: 16px; }
.float-top { right: 16px; bottom: 84px; }
}
@media (max-width: 480px) {
.section-heading h2 { font-size: 1.9rem; }
.intro-grid { grid-template-columns: 1fr; gap: 24px; }
.brand-text { font-size: 1.2rem; }
.brand-mark { width: 40px; height: 40px; font-size: 1.2rem; }
}