87 lines
5.8 KiB
SCSS
87 lines
5.8 KiB
SCSS
.servicesPage {
|
|
overflow: clip;
|
|
background: radial-gradient(ellipse at 83% 22%, var(--site-glow), transparent 29%);
|
|
:global(.container) { width: calc(100% - 14.7vw); max-width: 1440px; padding-inline: 0; }
|
|
}
|
|
.hero { position: relative; min-height: 283px; padding-top: 34px; }
|
|
.heroCopy { position: relative; z-index: 1; width: 61%; }
|
|
.eyebrow {
|
|
display: flex; align-items: center; gap: 18px; margin: 0 0 9px;
|
|
color: var(--site-link); font-size: 20px; line-height: 28px; letter-spacing: .15em; font-weight: 600; text-transform: uppercase;
|
|
span { width: 125px; height: 1px; background: linear-gradient(90deg, var(--bs-steel-blue), transparent); }
|
|
}
|
|
.hero h1 { font-size: 70px; line-height: 80px; font-weight: 700; letter-spacing: -.045em; margin: 0 0 2px; }
|
|
.intro { max-width: 780px; font-size: 23px; line-height: 35px; color: var(--site-text); margin: 0; }
|
|
.illustration { position: absolute; right: 20px; top: -8px; width: 600px; height: 320px; overflow: visible; }
|
|
.floor { fill: none; stroke: var(--bs-steel-blue); stroke-width: 1; opacity: .36; }
|
|
.backPanel, .middlePanel, .frontPanel {
|
|
fill: url(#services-panel-fill); stroke: var(--site-link); stroke-width: 1.3;
|
|
}
|
|
.backPanel { opacity: .75; }
|
|
.middlePanel { opacity: .85; }
|
|
.frontPanel { stroke-width: 1.6; filter: drop-shadow(0 12px 15px var(--site-glow)); }
|
|
.codeLines { fill: none; stroke: var(--site-link); stroke-width: 4; opacity: .38; }
|
|
.panelRule { stroke: var(--bs-steel-blue); stroke-width: 1; opacity: .7; }
|
|
.codeSymbol { fill: none; stroke: var(--site-link); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
|
|
.serviceGrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 58px; }
|
|
.service {
|
|
display: grid; grid-template-columns: 110px 1fr; column-gap: 54px;
|
|
padding: 0 0 27px;
|
|
border-bottom: 1px solid var(--site-line);
|
|
&:nth-last-child(-n+2) { padding-top: 32px; padding-bottom: 0; border-bottom: 0; }
|
|
h2 { font-size: 30px; line-height: 38px; font-weight: 600; letter-spacing: -.025em; margin: 3px 0 5px; }
|
|
p { margin: 0; color: var(--site-text); font-size: 20px; line-height: 30px; }
|
|
}
|
|
.icon {
|
|
display: grid; place-items: center; width: 110px; height: 110px;
|
|
border-radius: 24px;
|
|
background: radial-gradient(ellipse at top left, var(--site-glow), transparent 95%), var(--site-surface);
|
|
color: var(--site-link);
|
|
svg { width: 64px; height: 64px; stroke-width: 1.35; }
|
|
}
|
|
.contact {
|
|
position: relative; isolation: isolate; overflow: hidden;
|
|
border: 1px solid var(--site-line); border-radius: 24px;
|
|
text-align: center; padding: 24px;
|
|
margin: 45px -57px 20px -53px;
|
|
background: radial-gradient(ellipse at top right, var(--site-glow), transparent 65%), var(--site-surface);
|
|
&::before, &::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border-top: 1px solid var(--site-line); background: var(--site-glow); }
|
|
&::before { width: 75%; height: 170%; left: -20%; top: 85%; transform: rotate(15deg); }
|
|
&::after { width: 90%; height: 190%; right: -31%; top: 80%; transform: rotate(-29deg); }
|
|
h2 { font-size: 46px; line-height: 58px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 6px; }
|
|
> p { font-size: 24px; line-height: 36px; margin: 0 0 18px; }
|
|
}
|
|
.contactLink { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 28px; min-height: 54px; font-size: 22px; line-height: 32px; font-weight: 600; border-radius: 8px; svg { width: 29px; height: 29px; } }
|
|
@media (min-width: 1200px) {
|
|
:global(.app):has(.servicesPage) {
|
|
:global(footer .container) { width: calc(100% - 14.7vw); max-width: 1440px; }
|
|
}
|
|
}
|
|
@media (min-width: 768px) and (max-width: 1199.98px) {
|
|
.servicesPage :global(.container) { width: calc(100% - 80px); }
|
|
.hero { min-height: 255px; padding-top: 32px; }
|
|
.hero h1 { font-size: 56px; line-height: 68px; }
|
|
.eyebrow { font-size: 15px; line-height: 23px; }
|
|
.intro { font-size: 17px; line-height: 27px; }
|
|
.illustration { width: 420px; height: 224px; right: -25px; top: 5px; }
|
|
.serviceGrid { column-gap: 35px; }
|
|
.service { grid-template-columns: 75px 1fr; column-gap: 24px; h2 { font-size: 20px; line-height: 27px; } p { font-size: 15px; line-height: 24px; } }
|
|
.icon { width: 75px; height: 75px; border-radius: 17px; svg { width: 43px; height: 43px; } }
|
|
.contact { margin-inline: -15px; border-radius: 16px; h2 { font-size: 36px; line-height: 45px; } > p { font-size: 18px; line-height: 27px; } }
|
|
.contactLink { font-size: 18px; line-height: 26px; min-height: 46px; svg { width: 23px; height: 23px; } }
|
|
}
|
|
@media (max-width: 767.98px) {
|
|
.servicesPage :global(.container) { width: calc(100% - 40px); }
|
|
.hero { min-height: auto; padding-top: 32px; padding-bottom: 20px; }
|
|
.heroCopy { width: 100%; }
|
|
.eyebrow { font-size: 13px; line-height: 21px; margin-bottom: 10px; }
|
|
.hero h1 { font-size: 48px; line-height: 58px; margin-bottom: 10px; }
|
|
.intro { font-size: 16px; line-height: 26px; }
|
|
.illustration { position: relative; right: auto; top: auto; display: block; width: 100%; height: auto; max-width: 480px; margin: 10px auto 0; }
|
|
.serviceGrid { grid-template-columns: 1fr; }
|
|
.service { grid-template-columns: 64px 1fr; column-gap: 20px; padding: 18px 0; &:nth-last-child(-n+2) { padding: 18px 0; border-bottom: 1px solid var(--site-line); } &:last-child { border: 0; } h2 { font-size: 18px; line-height: 25px; margin-top: 0; } p { font-size: 14px; line-height: 23px; } }
|
|
.icon { width: 64px; height: 64px; border-radius: 14px; svg { width: 37px; height: 37px; } }
|
|
.contact { margin: 20px -5px; padding: 26px 18px; border-radius: 16px; h2 { font-size: 30px; line-height: 38px; } > p { font-size: 15px; line-height: 24px; margin-bottom: 20px; } }
|
|
.contactLink { font-size: 16px; line-height: 24px; min-height: 46px; padding-inline: 21px; svg { width: 22px; height: 22px; } }
|
|
}
|