```css
/* =========================================================
TEAMLEAD ACADEMY — GLOBAL STYLES
Responsive: mobile / tablet / desktop / wide screens
========================================================= */
/* -------------------------
1. DESIGN TOKENS
------------------------- */
:root {
/* Colors */
--color-bg: #F7F5F0;
--color-bg-soft: #E8E4DC;
--color-bg-muted: #DED9D0;
--color-card: #EBEAE5;
--color-dark: #1B1C1F;
--color-dark-text: #F7F5F0;
--color-text: #2E2A25;
--color-text-secondary: #433D36;
--color-text-muted: #D8D3CB;
--color-gold: #D6A92B;
--color-blue: #4F68A0;
--color-border: rgba(27, 28, 31, 0.12);
--color-border-light: rgba(247, 245, 240, 0.20);
/* Fonts */
--font-body: "Inter", sans-serif;
--font-heading: "TT Wellingtons", sans-serif;
--font-accent: "Georgia Pro", Georgia, serif;
/* Container */
--container-max: 1200px;
--container-padding: 80px;
/* Radius */
--radius-sm: 8px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-pill: 999px;
/* Spacing */
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-7: 32px;
--space-8: 40px;
--space-9: 48px;
--space-10: 64px;
--space-11: 80px;
--space-12: 120px;
}
/* -------------------------
2. FONT FACES
------------------------- */
/*
Подставьте реальные файлы шрифтов проекта.
*/
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Inter";
src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "TT Wellingtons";
src: url("/fonts/TT-Wellingtons-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "TT Wellingtons";
src: url("/fonts/TT-Wellingtons-SemiBold.woff2") format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Georgia Pro";
src: url("/fonts/Georgia-Pro.woff2") format("woff2");
font-weight: 400 700;
font-style: normal italic;
font-display: swap;
}
/* -------------------------
3. RESET
------------------------- */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
min-width: 320px;
background: var(--color-bg);
color: var(--color-text);
font-family: var(--font-body);
font-size: 16px;
line-height: 1.6;
overflow-x: hidden;
}
img {
display: block;
max-width: 100%;
height: auto;
}
button,
input,
textarea,
select {
font: inherit;
}
button {
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
/* -------------------------
4. GLOBAL CONTAINER
------------------------- */
.container {
width: min(
calc(100% - 40px),
var(--container-max)
);
margin-inline: auto;
}
/* Desktop container */
@media (min-width: 768px) {
.container {
width: min(
calc(100% - 64px),
var(--container-max)
);
}
}
@media (min-width: 1200px) {
.container {
width: min(
calc(100% - 160px),
var(--container-max)
);
}
}
/* -------------------------
5. SECTION
------------------------- */
.section {
position: relative;
width: 100%;
overflow: hidden;
}
.section--light {
background: var(--color-bg);
}
.section--soft {
background: var(--color-bg-soft);
}
.section--muted {
background: var(--color-bg-muted);
}
.section--dark {
background: var(--color-dark);
color: var(--color-dark-text);
}
.section__inner {
padding-block: clamp(64px, 8vw, 120px);
}
/* -------------------------
6. TYPOGRAPHY
------------------------- */
.eyebrow {
margin: 0 0 20px;
color: rgba(27, 28, 31, 0.60);
font-family: var(--font-heading);
font-size: 16px;
font-weight: 500;
line-height: 1.25;
text-transform: uppercase;
letter-spacing: 0.01em;
}
.section--dark .eyebrow {
color: rgba(247, 245, 240, 0.35);
}
/*
Главный заголовок.
48px в исходнике превращаем в fluid typography.
*/
.h1,
.h2,
.heading {
margin: 0;
color: var(--color-text);
font-family: var(--font-heading);
font-weight: 600;
font-size: clamp(32px, 4vw, 48px);
line-height: 1.15;
letter-spacing: -0.025em;
}
.section--dark .h1,
.section--dark .h2,
.section--dark .heading {
color: var(--color-bg);
}
/* Золотая часть заголовка */
.heading__accent {
color: var(--color-gold);
font-family: var(--font-accent);
font-style: italic;
font-weight: 600;
}
/* Малый текст */
.text {
margin: 0;
color: var(--color-text-secondary);
font-family: var(--font-body);
font-size: 14px;
line-height: 1.65;
}
.text--small {
font-size: 12px;
line-height: 1.65;
}
.section--dark .text {
color: var(--color-text-muted);
}
/* -------------------------
7. COMMON CONTENT LAYOUT
------------------------- */
.section-header {
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
gap: clamp(32px, 6vw, 100px);
margin-bottom: 56px;
}
.section-header__title {
max-width: 800px;
}
.section-header__description {
max-width: 540px;
}
/* Mobile */
@media (max-width: 767px) {
.section-header {
grid-template-columns: 1fr;
gap: 24px;
margin-bottom: 32px;
}
}
/* -------------------------
8. GRID
------------------------- */
.grid {
display: grid;
}
.grid--3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.grid--2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
}
.grid--4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 20px;
}
/* Tablet */
@media (max-width: 991px) {
.grid--3,
.grid--4 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
/* Phone */
@media (max-width: 639px) {
.grid--2,
.grid--3,
.grid--4 {
grid-template-columns: 1fr;
gap: 12px;
}
}
/* -------------------------
9. CARDS
------------------------- */
.card {
position: relative;
padding: 20px;
background: var(--color-card);
border-radius: var(--radius-md);
overflow: hidden;
}
.card--light {
background: var(--color-bg);
}
.card--dark {
background: var(--color-dark);
color: var(--color-bg);
}
.card--blue {
background: var(--color-blue);
color: var(--color-bg);
}
.card__label {
margin-bottom: 52px;
color: rgba(27, 28, 31, 0.35);
font-family: var(--font-heading);
font-size: 12px;
font-weight: 500;
line-height: 1.25;
text-transform: uppercase;
}
.card--dark .card__label,
.card--blue .card__label {
color: rgba(247, 245, 240, 0.35);
}
.card__number {
position: absolute;
top: 20px;
right: 20px;
color: rgba(27, 28, 31, 0.25);
font-family: var(--font-accent);
font-size: 20px;
font-style: italic;
font-weight: 600;
}
.card--dark .card__number,
.card--blue .card__number {
color: rgba(247, 245, 240, 0.25);
}
.card__title {
margin: 0 0 16px;
color: var(--color-text);
font-family: var(--font-heading);
font-size: 20px;
font-weight: 600;
line-height: 1.2;
}
.card--dark .card__title,
.card--blue .card__title {
color: var(--color-bg);
}
.card__text {
margin: 0;
color: var(--color-text-secondary);
font-family: var(--font-body);
font-size: 12px;
line-height: 1.65;
}
.card--dark .card__text,
.card--blue .card__text {
color: var(--color-text-muted);
}
/* -------------------------
10. TAG / BADGE
------------------------- */
.badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 5px 10px;
background: rgba(27, 28, 31, 0.05);
border-radius: var(--radius-pill);
color: var(--color-text-secondary);
font-family: var(--font-body);
font-size: 10px;
font-weight: 500;
line-height: 20px;
}
.section--dark .badge,
.card--dark .badge {
background: rgba(247, 245, 240, 0.05);
color: var(--color-text-muted);
}
/* -------------------------
11. BUTTONS
------------------------- */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 40px;
padding: 10px 20px;
border: 0;
border-radius: var(--radius-pill);
font-family: var(--font-body);
font-size: 12px;
font-weight: 500;
line-height: 20px;
transition:
transform 0.2s ease,
opacity 0.2s ease,
background 0.2s ease;
}
.btn:hover {
transform: translateY(-1px);
}
.btn:active {
transform: translateY(0);
}
.btn--primary {
background: var(--color-gold);
color: var(--color-bg);
}
.btn--outline {
background: transparent;
border: 1px solid var(--color-gold);
color: var(--color-gold);
}
.btn--link {
padding: 0;
min-height: auto;
background: transparent;
color: var(--color-gold);
font-size: 14px;
font-weight: 600;
}
/* -------------------------
12. STATS
------------------------- */
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
.stat {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 130px;
padding: 20px;
border-right: 1px solid var(--color-border-light);
text-align: center;
}
.stat:last-child {
border-right: 0;
}
.stat__value {
color: var(--color-gold);
font-family: var(--font-accent);
font-size: clamp(26px, 3vw, 40px);
font-style: italic;
font-weight: 600;
line-height: 1;
}
.stat__label {
margin-top: 8px;
color: var(--color-text-muted);
font-family: var(--font-body);
font-size: 12px;
line-height: 1.5;
}
/* Mobile stats */
@media (max-width: 639px) {
.stats {
grid-template-columns: repeat(2, 1fr);
}
.stat {
min-height: 100px;
}
.stat:nth-child(2) {
border-right: 0;
}
.stat:nth-child(-n + 2) {
border-bottom: 1px solid var(--color-border-light);
}
}
/* -------------------------
13. PEOPLE / TEAM CARDS
------------------------- */
.people-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.person {
overflow: hidden;
background: var(--color-bg);
border-radius: var(--radius-md);
}
.person__image {
aspect-ratio: 333 / 250;
width: 100%;
object-fit: cover;
}
.person__content {
padding: 20px;
}
.person__name {
margin: 0 0 20px;
font-family: var(--font-heading);
font-size: 20px;
font-weight: 600;
line-height: 1.25;
}
.person__tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
@media (max-width: 991px) {
.people-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 639px) {
.people-grid {
grid-template-columns: 1fr;
}
}
/* -------------------------
14. IMAGE / HERO
------------------------- */
.hero {
position: relative;
min-height: clamp(560px, 56vw, 675px);
display: flex;
align-items: flex-end;
background: var(--color-dark);
overflow: hidden;
}
.hero__image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.hero::after {
content: "";
position: absolute;
inset: 0;
background:
linear-gradient(
180deg,
rgba(27, 28, 31, 0) 20%,
rgba(27, 28, 31, 0.65) 55%,
rgba(27, 28, 31, 0.95) 100%
);
}
.hero__content {
position: relative;
z-index: 1;
width: 100%;
padding-block: clamp(48px, 8vw, 100px);
}
.hero__title {
max-width: 850px;
color: var(--color-bg);
font-family: var(--font-heading);
font-size: clamp(36px, 5vw, 64px);
font-weight: 600;
line-height: 1.08;
letter-spacing: -0.03em;
}
.hero__title-accent {
color: var(--color-gold);
font-family: var(--font-accent);
font-style: italic;
}
/* -------------------------
15. QUOTE SECTION
------------------------- */
.quote {
position: relative;
min-height: 450px;
display: flex;
align-items: center;
background-size: cover;
background-position: center;
color: var(--color-bg);
}
.quote::before {
content: "";
position: absolute;
inset: 0;
background: rgba(27, 28, 31, 0.90);
}
.quote__content {
position: relative;
z-index: 1;
max-width: 900px;
}
.quote__title {
margin: 0 0 32px;
color: var(--color-bg);
font-family: var(--font-heading);
font-size: clamp(32px, 4vw, 48px);
font-weight: 600;
line-height: 1.15;
}
.quote__accent {
color: var(--color-gold);
font-family: var(--font-accent);
font-style: italic;
}
/* -------------------------
16. PRICING
------------------------- */
.pricing-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
}
.price-card {
padding: clamp(24px, 4vw, 40px);
border-radius: var(--radius-md);
background: var(--color-dark);
color: var(--color-bg);
}
.price-card--light {
background: #F2F0EB;
color: var(--color-text);
}
.price {
margin: 0 0 16px;
font-family: var(--font-heading);
font-size: clamp(32px, 4vw, 40px);
font-weight: 600;
line-height: 1.15;
}
@media (max-width: 639px) {
.pricing-grid {
grid-template-columns: 1fr;
}
}
/* -------------------------
17. FORM
------------------------- */
.form {
display: flex;
flex-direction: column;
gap: 16px;
}
.input {
width: 100%;
min-height: 48px;
padding: 12px 16px;
border: 1px solid rgba(216, 211, 203, 0.25);
border-radius: var(--radius-sm);
outline: none;
background: rgba(247, 245, 240, 0.04);
color: var(--color-bg);
font-family: var(--font-body);
font-size: 14px;
transition:
border-color 0.2s ease,
background 0.2s ease;
}
.input::placeholder {
color: rgba(216, 211, 203, 0.55);
}
.input:focus {
border-color: var(--color-gold);
background: rgba(247, 245, 240, 0.07);
}
/* -------------------------
18. FOOTER
------------------------- */
.footer {
padding-block: 64px 32px;
background: var(--color-dark);
color: var(--color-text-muted);
}
.footer__grid {
display: grid;
grid-template-columns: 2fr repeat(3, 1fr);
gap: 40px;
}
.footer__title {
margin: 0 0 16px;
color: var(--color-bg);
font-family: var(--font-heading);
font-size: 14px;
font-weight: 600;
}
.footer__link {
display: block;
margin-bottom: 8px;
color: var(--color-text-muted);
font-size: 12px;
}
.footer__link:hover {
color: var(--color-gold);
}
@media (max-width: 767px) {
.footer__grid {
grid-template-columns: repeat(2, 1fr);
gap: 32px 20px;
}
}
@media (max-width: 479px) {
.footer__grid {
grid-template-columns: 1fr;
}
}
/* -------------------------
19. RESPONSIVE CONTAINER
------------------------- */
/* Small phones */
@media (max-width: 374px) {
.container {
width: calc(100% - 32px);
}
.section__inner {
padding-block: 48px;
}
.heading,
.h1,
.h2 {
font-size: 30px;
}
}
/* Phones */
@media (min-width: 375px) and (max-width: 639px) {
.container {
width: calc(100% - 40px);
}
.section__inner {
padding-block: 56px;
}
}
/* Tablets */
@media (min-width: 640px) and (max-width: 991px) {
.container {
width: calc(100% - 64px);
}
.section__inner {
padding-block: 72px;
}
}
/* Desktop */
@media (min-width: 992px) {
.section__inner {
padding-block: 96px;
}
}
/* Large desktop */
@media (min-width: 1440px) {
.container {
width: min(
calc(100% - 160px),
1280px
);
}
}
/* Very wide screens */
@media (min-width: 1800px) {
.container {
width: min(
calc(100% - 240px),
1440px
);
}
}
/* -------------------------
20. ACCESSIBILITY
------------------------- */
:focus-visible {
outline: 2px solid var(--color-gold);
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}
}
```