.hero--page {
max-width: var(--container);
width: calc(100vw - 100px);
margin-inline: auto;
margin-top: 145px;
height: auto;
border-radius: var(--radius-lg);
}
.hero--page .hero__image {
min-height: 400px;
}
.hero--page .hero__content {
top: 50%;
bottom: auto;
transform: translateY(-50%);
display: flex;
align-items: center;
justify-content: center;
}
.hero--page .hero__title {
font-size: clamp(36px, 5vw, 72px);
text-align: center;
}
.hero--page .hero__title--services span:first-child {
font-weight: 700;
display: inline-block;
}
.hero--page .hero__title--services span:last-child {
display: block;
font-weight: 400;
text-transform: uppercase;
margin-top: 0.25rem;
}
.hero--page .hero__overlay {
background: #00000070;
}
.hero--page .hero__overlay {
background: #00000070;
} .section--services {
padding: 84px 0 100px;
}
.section__header {
margin-bottom: 56px;
}
.section__title {
font-size: clamp(36px, 4vw, 72px);
font-weight: 600;
color: var(--text);
line-height: 1.1;
letter-spacing: 0;
} .services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
} .service-card {
--reveal-y: 20px;
background: var(--white);
border-radius: var(--radius-lg);
overflow: hidden;
display: flex;
flex-direction: column;
opacity: 0;
transform: translateY(var(--reveal-y));
transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease;
}
.service-card.is-revealed {
--reveal-y: 0px;
opacity: 1;
}
.service-card:hover {
box-shadow: 0 12px 32px rgba(58, 121, 227, 0.13);
} .service-card__media {
width: 100%;
max-height: 164px;
aspect-ratio: 4 / 3;
overflow: hidden;
border-radius: var(--radius-md);
margin: 12px 12px 0;
width: calc(100% - 24px);
flex-shrink: 0;
}
.service-card__media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.service-card:hover .service-card__media img {
transform: scale(1.04);
} .service-card__body {
display: flex;
flex-direction: column;
flex: 1;
padding: 20px 20px 22px;
gap: 10px;
}
.service-card__title {
font-size: clamp(28px, 1.2vw, 32px);
font-weight: 700;
color: var(--text-dark);
line-height: 1.3;
}
.service-card__desc {
font-size: clamp(13px, 1.1vw, 14px);
font-weight: 400;
color: var(--text);
line-height: 1.6;
flex: 1;
} .service-card__btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin-top: 6px;
padding: 11px 20px;
background: var(--primary);
color: var(--white);
font-size: 14px;
font-weight: 700;
border-radius: var(--radius-pill);
border: none;
cursor: pointer;
transition: background 0.2s ease;
text-align: center;
}
.service-card__btn:hover {
background: var(--primary-dark);
} .service-card:nth-child(1) {
transition-delay: 0.05s;
}
.service-card:nth-child(2) {
transition-delay: 0.12s;
}
.service-card:nth-child(3) {
transition-delay: 0.19s;
}
.service-card:nth-child(4) {
transition-delay: 0.26s;
}
.service-card:nth-child(5) {
transition-delay: 0.10s;
}
.service-card:nth-child(6) {
transition-delay: 0.17s;
}
.service-card:nth-child(7) {
transition-delay: 0.24s;
}
.service-card:nth-child(8) {
transition-delay: 0.31s;
} .section--socials {
padding: 84px 0 100px;
} .posts-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
min-height: 200px;
position: relative;
} .post-card {
background: var(--white);
border-radius: var(--radius-lg);
overflow: hidden;
display: flex;
flex-direction: column;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease;
}
.post-card.is-revealed {
opacity: 1;
transform: translateY(0);
}
.post-card:hover {
box-shadow: 0 14px 36px rgba(58, 121, 227, 0.13);
}
.post-card__media {
width: calc(100% - 20px);
margin: 10px 10px 0;
border-radius: var(--radius-md);
aspect-ratio: 16 / 10;
overflow: hidden;
flex-shrink: 0;
}
.post-card__media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.post-card:hover .post-card__media img {
transform: scale(1.04);
}
.post-card__body {
display: flex;
flex-direction: column;
flex: 1;
padding: 16px 18px 18px;
gap: 10px;
}
.post-card__date {
font-size: 12px;
font-weight: 500;
color: var(--text-light);
letter-spacing: 0.02em;
}
.post-card__title {
font-size: 20px;
font-weight: 700;
color: var(--text-dark);
line-height: 1.45;
flex: 1;
}
.post-card__btn {
display: inline-flex;
align-items: center;
gap: 10px;
align-self: flex-end;
margin-top: 4px;
padding: 9px 20px;
background: var(--primary);
color: var(--white);
font-size: 14px;
font-weight: 700;
border-radius: var(--radius-pill);
border: none;
cursor: pointer;
transition: background 0.2s ease, transform 0.2s ease;
text-decoration: none;
}
.post-card__btn:hover {
background: var(--primary-dark);
transform: translateX(2px);
}
.post-card__btn svg {
width: 14px;
height: 14px;
flex-shrink: 0;
} .posts-grid--loading::after {
content: '';
position: absolute;
inset: 0;
background: rgba(246, 248, 250, 0.6);
border-radius: var(--radius-lg);
z-index: 2;
}
.skeleton-card {
background: var(--white);
border-radius: var(--radius-lg);
overflow: hidden;
display: flex;
flex-direction: column;
}
.skeleton-card__media {
width: calc(100% - 20px);
margin: 10px 10px 0;
border-radius: var(--radius-md);
aspect-ratio: 16 / 10;
background: linear-gradient(90deg, #eef1f5 25%, #e2e6ec 50%, #eef1f5 75%);
background-size: 200% 100%;
animation: shimmer 1.4s infinite;
}
.skeleton-card__body {
padding: 16px 18px 18px;
display: flex;
flex-direction: column;
gap: 10px;
}
.skeleton-line {
border-radius: 6px;
background: linear-gradient(90deg, #eef1f5 25%, #e2e6ec 50%, #eef1f5 75%);
background-size: 200% 100%;
animation: shimmer 1.4s infinite;
}
.skeleton-line--date {
height: 12px;
width: 70px;
}
.skeleton-line--title {
height: 16px;
width: 90%;
}
.skeleton-line--title2 {
height: 16px;
width: 70%;
}
.skeleton-line--btn {
height: 36px;
width: 110px;
border-radius: var(--radius-pill);
margin-top: 4px;
}
@keyframes shimmer {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
} .pagination {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 56px;
flex-wrap: wrap;
}
.pagination__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 42px;
height: 42px;
padding: 0 6px;
font-size: 14px;
font-weight: 700;
border-radius: var(--radius-pill);
border: 1.5px solid var(--border);
background: var(--white);
color: var(--text);
cursor: pointer;
transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.15s;
user-select: none;
}
.pagination__btn:hover:not(:disabled):not(.pagination__btn--active) {
border-color: var(--primary);
color: var(--primary);
}
.pagination__btn--active {
background: var(--primary);
border-color: var(--primary);
color: var(--white);
cursor: default;
}
.pagination__btn--arrow svg {
width: 16px;
height: 16px;
}
.pagination__btn:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.pagination__ellipsis {
font-size: 14px;
font-weight: 600;
color: var(--text-light);
padding: 0 4px;
line-height: 42px;
} @media (max-width: 1024px) {
.hero--page {
width: calc(100vw - 50px);
}
}
@media (max-width: 900px) {
.hero--page {
margin-top: 120px;
}
.posts-grid {
grid-template-columns: repeat(2, 1fr);
gap: 18px;
}
.section--socials {
padding: 56px 0 72px;
}
.pagination {
margin-top: 40px;
}
}
@media (max-width: 768px) {
.section--services {
padding: 56px 0 72px;
}
.section__header {
margin-bottom: 36px;
}
.services-grid {
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}
}
@media (max-width: 600px) {
.section__title {
font-size: 28px;
}
.posts-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.post-card__media {
aspect-ratio: 16 / 9;
}
.pagination {
gap: 6px;
}
.pagination__btn {
min-width: 36px;
height: 36px;
font-size: 14px;
}
}
@media (max-width: 480px) {
.services-grid {
grid-template-columns: 1fr;
gap: 14px;
}
.service-card__media {
aspect-ratio: 16 / 9;
}
}
@media (prefers-reduced-motion: reduce) {
.service-card {
opacity: 1;
transform: none;
transition: none;
}
.post-card,
.skeleton-line,
.skeleton-card__media {
animation: none;
transition: none;
opacity: 1;
transform: none;
}
}