1
0
Files
valeriy-blagorost-landing/src/css/cta.css
T

256 lines
4.5 KiB
CSS

#cta {
padding: 160px 0 120px;
position: relative;
overflow: hidden;
text-align: center;
}
#cta::before {
content: 'φ';
position: absolute;
font-family: 'Cormorant Garamond', serif;
font-size: 600px;
color: rgba(201,151,58,0.03);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-style: italic;
pointer-events: none;
line-height: 1;
}
.cta-label {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
letter-spacing: 0.3em;
color: var(--gold);
text-transform: uppercase;
opacity: 0.8;
margin-bottom: 24px;
}
.cta-title {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(40px, 5vw, 68px);
font-weight: 300;
color: var(--text-bright);
line-height: 1.1;
letter-spacing: -0.02em;
margin-bottom: 28px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-desc {
font-size: 16px;
color: var(--text-dim);
max-width: 520px;
margin: 0 auto 56px;
line-height: 1.8;
}
.cta-buttons {
display: flex;
gap: 20px;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.btn-large {
display: inline-block;
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--dark);
background: var(--gold);
padding: 20px 52px;
text-decoration: none;
transition: all 0.3s;
}
.btn-large:hover { background: var(--gold-light); }
.cta-note {
font-family: 'JetBrains Mono', monospace;
font-size: 11px;
color: var(--text-dim);
margin-top: 40px;
letter-spacing: 0.1em;
}
.cta-note span { color: var(--gold); }
.cta-note a {
color: var(--gold);
text-decoration: none;
transition: color 0.2s;
}
.cta-note a:hover {
color: var(--gold-light);
text-decoration: underline;
}
.cta-note a:visited {
color: var(--gold);
}
.cta-note a:active {
color: var(--gold-light);
}
.access-badges {
display: flex;
gap: 32px;
justify-content: center;
margin-top: 60px;
flex-wrap: wrap;
}
.badge {
display: flex;
align-items: center;
gap: 10px;
font-size: 13px;
color: var(--text-dim);
}
.badge-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--gold);
flex-shrink: 0;
}
/* Кнопка калькулятора — сброс стилей и типографика */
.cta-buttons .btn-secondary,
.cta-buttons button.btn-secondary {
background: none;
border: none;
cursor: pointer;
font: inherit;
padding: 0;
font-size: 13px;
letter-spacing: 0.15em;
}
/* Модальное окно калькулятора */
.calc-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s, visibility 0.3s;
}
.calc-modal.is-open {
opacity: 1;
visibility: visible;
}
.calc-modal-backdrop {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.85);
cursor: pointer;
}
.calc-modal-wrap {
position: relative;
width: 100%;
max-width: 1400px;
height: calc(100vh - 48px);
max-height: calc(100dvh - 48px);
background: var(--dark);
border: 1px solid rgba(201, 151, 58, 0.2);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.calc-modal-close {
position: absolute;
top: 16px;
right: 16px;
z-index: 10;
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
line-height: 1;
color: var(--text-dim);
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
cursor: pointer;
transition: color 0.2s, background 0.2s;
}
.calc-modal-close:hover {
color: var(--text-bright);
background: rgba(255, 255, 255, 0.1);
}
.calc-modal-iframe {
width: 100%;
height: 100%;
border: none;
display: block;
}
@media (max-width: 900px) {
#cta {
padding: 100px 0 80px;
}
.cta-desc {
font-size: 15px;
margin-bottom: 40px;
}
.access-badges {
gap: 20px;
margin-top: 40px;
}
}
@media (max-width: 600px) {
#cta {
padding: 72px 0 56px;
}
.cta-label {
font-size: 10px;
letter-spacing: 0.2em;
margin-bottom: 18px;
}
.cta-desc {
font-size: 14px;
margin-bottom: 32px;
}
.cta-buttons {
flex-direction: column;
align-items: center;
gap: 14px;
}
.btn-large {
padding: 18px 40px;
}
.access-badges {
flex-direction: column;
align-items: center;
gap: 12px;
margin-top: 32px;
}
.badge {
font-size: 12px;
}
}