:root {
    /* Фирменные цвета логотипа English Standard */
    --color-green: #1c2e2c; /* Темно-зеленый (почти черный) из логотипа */
    --color-green-light: #2a403d; /* Чуть светлее для ховеров */
    --color-red: #ba4a3c; /* Кирпично-красный из логотипа */
    --color-red-hover: #9c3b2f;
    --color-golden: #e6a122; /* Желтый/золотой как акцент для главного CTA */
    --color-golden-hover: #d29019;
    
    --color-bg: #f5f5f7; /* Очень светло-серый (Apple style) */
    --color-white: #ffffff;
    --color-text: #1d1d1f;
    --color-text-muted: #86868b;
    --color-border: #e2e8f0;

    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --container-width: 1280px;
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans); color: var(--color-text);
    background-color: var(--color-bg); line-height: 1.5; overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-text); text-transform: uppercase; font-weight: 900;}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; font-weight: 900;}
.section-subtitle { text-align: center; margin-top: -2rem; margin-bottom: 3rem; color: var(--color-text-muted); font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 100px; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: transform var(--transition-normal), background var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
}
.btn:active { transform: scale(0.97); }

.btn--golden {
    background-color: var(--color-golden); color: var(--color-green);
    box-shadow: 0 8px 25px rgba(230, 161, 34, 0.3);
}
.btn--golden:hover { background-color: var(--color-golden-hover); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(230, 161, 34, 0.4); }

.btn--primary {
    background-color: var(--color-red); color: var(--color-white);
}
.btn--primary:hover { background-color: var(--color-red-hover); transform: translateY(-3px); }

.btn--outline-dark {
    background-color: transparent; border: 2px solid var(--color-green); color: var(--color-green);
}
.btn--outline-dark:hover { background-color: var(--color-green); color: white; }

.btn__icon { margin-right: 8px; font-size: 1.2rem; }
.btn--sm { padding: 12px 24px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* HEADER PILL (Inter-nation style) */
.header-wrapper {
    position: fixed; top: 20px; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: center; pointer-events: none;
}
.header-pill {
    background-color: rgba(28, 46, 44, 0.85); /* Dark green glass */
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    width: 95%; max-width: 1200px;
    height: 70px; border-radius: 100px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px 0 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    pointer-events: auto; border: 1px solid rgba(255,255,255,0.1);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__circle {
    width: 50px; height: 50px; border-radius: 50%;
    background-color: white; /* Place for their logo.png */
    background-image: url('../img/logo.jpg'); /* If they put logo.jpg */
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo__text {
    color: white; font-family: var(--font-heading); font-weight: 700;
    font-size: 0.85rem; line-height: 1.1; text-transform: uppercase; letter-spacing: 1px;
}

.nav { display: flex; gap: 24px; }
.nav__link {
    color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.9rem;
}
.nav__link:hover { color: white; }
.nav__link--highlight { color: var(--color-golden); }
.nav__link--highlight:hover { color: white; }

.header__action { display: flex; align-items: center; gap: 20px; color: white; }
.phone-link { font-weight: 700; font-size: 0.95rem; }
.phone-link:hover { color: var(--color-golden); }
.lang-switcher {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: bold; cursor: pointer; transition: background 0.2s;
}
.lang-switcher:hover { background: rgba(255,255,255,0.2); }

.hamburger { display: none; background: none; border: none; cursor: pointer; width: 24px; height: 18px; position: relative; }
.hamburger span { position: absolute; height: 2px; width: 100%; background: white; left: 0; transition: 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

/* HERO FULLSCREEN */
.hero-full {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: flex-end; padding-bottom: 80px; overflow: hidden;
}
.hero-full__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    z-index: -2; transform: scale(1.05); animation: slowZoom 20s infinite alternate;
}
@keyframes slowZoom { from{transform: scale(1);} to{transform: scale(1.08);} }

.hero-full__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(28,46,44, 0.9) 0%, rgba(28,46,44, 0.3) 50%, rgba(28,46,44, 0.5) 100%);
    z-index: -1;
}

.hero-full__content {
    max-width: 800px; color: white;
}
.hero-full__badge {
    color: var(--color-golden); font-family: var(--font-heading);
    font-weight: 900; font-size: 1.5rem; margin-bottom: 8px; letter-spacing: 2px;
}
.hero-full__title {
    font-size: 4.5rem; color: white; margin-bottom: 20px; line-height: 1.05; letter-spacing: -1px;
}
.hero-full__subtitle {
    font-size: 1.25rem; opacity: 0.9; margin-bottom: 40px; max-width: 600px; font-weight: 400;
}

/* Section Spacing */
section { padding: 100px 0; }

/* ABOUT / STATS */
.about { background: var(--color-white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }

.about__video {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: #000; display: flex; align-items: center; justify-content: center;
}
.about__video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.play-btn {
    position: absolute; width: 70px; height: 70px; border-radius: 50%;
    background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
    border: 2px solid white; color: white; font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform var(--transition-fast);
}
.about__video:hover .play-btn { transform: scale(1.1); background: var(--color-golden); border-color: var(--color-golden); color: var(--color-green); }

.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 30px;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: box-shadow var(--transition-normal);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card__label { color: var(--color-text-muted); font-size: 0.95rem; font-weight: 500; margin-bottom: 8px; }
.stat-card__value { font-size: 2.5rem; font-family: var(--font-heading); color: var(--color-text); }
.stat-card__decor {
    position: absolute; right: -20px; bottom: -20px; width: 80px; height: 80px;
    background: rgba(230, 161, 34, 0.15); border-radius: 20px; transform: rotate(15deg);
}
.stat-card__decor--alt { background: rgba(186, 74, 60, 0.1); border-radius: 50%; }

/* ADVANTAGES */
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card {
    border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column;
    position: relative; overflow: hidden; min-height: 400px;
}
.adv-card--light { background: white; border: 1px solid var(--color-border); }
.adv-card--dark {
    background: var(--color-text); color: white; text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); align-items: center;
}
.adv-card__title { font-size: 1.8rem; margin-bottom: 16px; color: inherit; line-height: 1.2; }
.adv-card__desc { color: var(--color-text-muted); margin-bottom: auto; font-size: 1.05rem; }
.adv-card--dark .adv-card__desc { color: rgba(255,255,255,0.7); margin-bottom: 30px; }

.adv-card__icon-wrap {
    margin-top: 30px; width: 80px; height: 80px; border-radius: 20px;
    background: #f0f0f0; display: flex; align-items: center; justify-content: center;
}
.icon-ielts { font-family: var(--font-heading); font-weight: 900; font-size: 1.5rem; color: #111; }

.phone-mockup {
    width: 200px; height: 260px; background: #333; border-radius: 30px 30px 0 0;
    margin-top: 30px; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    border: 8px solid #222; border-bottom: none;
    background-image: url('../img/hero-inter.png'); background-size: cover; opacity: 0.5;
}

/* BANNER */
.banner-section { padding: 40px 0 100px; }
.banner {
    background: var(--color-golden); border-radius: var(--radius-lg); padding: 60px;
    display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: center;
}
.banner__tag { font-weight: 700; text-transform: uppercase; margin-bottom: 16px; color: var(--color-green); }
.banner__title { font-size: 2.5rem; color: var(--color-green); margin-bottom: 24px; }
.banner__list { list-style: none; margin-bottom: 32px; font-size: 1.1rem; color: var(--color-green); font-weight: 500;}
.banner__list li { margin-bottom: 8px; }

/* TEACHERS (Modern Cards) */
.team-modern__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-modern__card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    height: 500px; background: #fff; cursor: pointer; box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.team-modern__card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.team-modern__photo {
    position: absolute; inset: 0; background-position: center top;
    background-size: cover; background-repeat: no-repeat;
    /* When user uploads a PNG with transparent bg, add a gradient background here if desired */
    background-color: #fceceb; /* Soft bg to match the references */
}

.team-modern__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(28,46,44,0.95) 100%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px;
}
.play-btn-small {
    position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
    background: rgba(255,255,255,0.5); backdrop-filter: blur(5px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem;
}
.team-modern__info .name { color: white; font-size: 1.4rem; margin-bottom: 12px; }

.badges { display: flex; gap: 8px; margin-bottom: 20px; }
.badge { display: flex; align-items: center; background: rgba(255,255,255,0.1); border-radius: 100px; padding: 4px; padding-left: 12px; }
.badge .lbl { font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.6); margin-right: 8px; letter-spacing: 0.5px; }
.badge .val { padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 800; background: rgba(255,255,255,0.2); color: white;}

.stats-row { display: flex; gap: 24px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
.st { display: flex; flex-direction: column; }
.st span { font-size: 0.65rem; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 2px; }
.st strong { color: white; font-size: 1rem; }

/* FOOTER */
.footer { background-color: var(--color-green); color: white; padding-top: 80px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__desc { margin-top: 20px; opacity: 0.8; max-width: 300px; font-size: 0.95rem; }
.footer__title { color: white; font-size: 1.1rem; margin-bottom: 24px; opacity: 0.5; }
.footer__link { display: block; color: white; margin-bottom: 16px; font-weight: 500; }
.footer__link:hover { color: var(--color-golden); }
.footer__text { color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.footer__socials { display: flex; gap: 12px; flex-direction: column; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 0.9rem; opacity: 0.5; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-full__title { font-size: 3.5rem; }
    .about__grid, .banner { grid-template-columns: 1fr; }
    .adv__grid, .team-modern__grid { grid-template-columns: repeat(2, 1fr); }
    .banner__images { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-pill { width: 100%; border-radius: 0; top: 0; padding: 10px 20px; border: none; height: 60px;}
    .nav { position: fixed; top: 60px; left: -100%; width: 100%; height: calc(100vh - 60px); background: var(--color-green); flex-direction: column; align-items: center; padding-top: 40px; transition: var(--transition-normal); }
    .nav.active { left: 0; }
    .header__action .phone-link, .header__action .lang-switcher { display: none; }
    .hamburger { display: block; }
    .hero-full__title { font-size: 2.5rem; }
    .adv__grid, .team-modern__grid, .stats__grid, .footer__inner { grid-template-columns: 1fr; }
    .team-modern__card { height: 400px; }
}
/* MODAL */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.modal.active { display: flex; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(28,46,44,0.8); backdrop-filter: blur(10px); }
.modal__content { position: relative; background: var(--color-bg); width: 90%; max-width: 450px; padding: 40px; border-radius: 20px; z-index: 10; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 15px; right: 20px; font-size: 2rem; background: none; border: none; color: var(--color-text-muted); cursor: pointer; }
.modal__title { font-size: 1.8rem; margin-bottom: 8px; color: var(--color-green); }
.modal__desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.form__group { margin-bottom: 20px; }
.form__label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--color-green); }
.form__input { width: 100%; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 1rem; color: var(--color-text); font-family: inherit; background: white; transition: border-color var(--transition-fast); }
.form__input:focus { outline: none; border-color: var(--color-red); }
.form__status { margin-top: 10px; font-size: 0.9rem; font-weight: 500; text-align: center; }
