:root{
  --brand-1: #631af4;
  --accent: #0ea5e9;
  --logo-blue: #053141; /* тёмно-синий/сине-зелёный — под логотип */
  --ring: #e6eef8;
  --bg: #f7fbff;
}

/* ===== BACKGROUND ===== */
html, body {
  height: 100%;
}

body {
  background-image: url("/static/assets/bg.png"); 
  background-size: cover;          
  background-position: center top; 
  background-repeat: no-repeat;
  background-attachment: fixed;    

  margin: 0;
}
/* ===== BACKGROUND ===== */

/* ===== HERO===== */

.hero {
  width: 100%;
  min-height: 60vh;              /* ВЫСОТА */
  display: flex;
  align-items: center;
  
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 40px;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* ЛЕВАЯ ЧАСТЬ */
.hero-left {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 18px;
  display: block;
}

.hero-title {
  font-family: "Playfair Display", serif, bold;
  font-size: 44px;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 32px;
}

/* КНОПКА */
.hero-btn {
  display: inline-block;
  padding: 16px 36px;
  background: #2563eb;
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* ПРАВАЯ ЧАСТЬ */
.hero-right {
  position: relative;
}

.hero-image {
  height: 70vh;        /* было меньше */
  max-height: 720px;
  transform: translateX(40px); /* эффект выхода за сетку */
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-right {
    display: none;
  }

  .hero-image {
    height: auto;
    max-width: 300px;
  }
}

/* ===== HERO===== */


/* ===== ABOUT ===== */

.about-simple {
  padding: 80px 0;
  background: #fff;
}

.about-simple__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* LEFT */
.about-simple__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* RIGHT */
.about-simple__content h2 {
   font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 32px;
}

.about-simple__content p {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 16px;
}

.about-simple__btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 28px;
  background: #0b3bbf;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background .25s ease;
}

.about-simple__btn:hover {
  background: #062c8c;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
  .about-simple__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-simple__content h2 {
    font-size: 28px;
    text-align: center;
  }

  .about-simple__content {
    text-align: center;
  }
}
/* ===== ABOUT ===== */


/* ===== COURSES ===== */

.courses_title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 32px;
}

.courses-short {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 16px;
}

.courses-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.course-btn {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 22px 26px;
  border-radius: 14px;

  background: linear-gradient(180deg, #1e3a8a, #0b3b6b);
  color: #fff;
  text-decoration: none;

  font-size: 18px;
  font-weight: 700;

  box-shadow: 0 16px 40px rgba(14,165,233,.25);
  transition: all .25s ease;
}

.course-btn img {
  width: 42px;
  height: 42px;
}

.course-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(14,165,233,.35);
}

/* Mobile */
@media (max-width: 768px) {
  .courses-buttons {
    grid-template-columns: 1fr;
  }
}

/* ===== COURSES ===== */


/* ===== INSTRUCTORS ===== */

.instructors {
  padding: 80px 0;
  background: #ffffff;
}

.instructors .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 32px;
}

/* GRID */
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */
.instructor img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.instructor h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #0f172a;
  text-transform: uppercase;
}

.instructor p {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .instructors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .instructor img {
    height: 380px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  .section-title {
    font-size: 28px;
  }

  .instructors-grid {
    grid-template-columns: 1fr;
  }

  .instructor img {
    height: 340px;
  }
}
/* ===== INSTRUCTORS ===== */



/* ===== CERTIFICATES ===== */
.certificates {
  padding: 100px 0;
  
}

.certificates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

/* ЛЕВАЯ ЧАСТЬ */
.certificates-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 32px;
}

.certificates-line {
  width: 48px;
  height: 3px;
  background: #2563eb;
  margin-bottom: 24px;
}

.certificates-info p {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}

/* ПРАВАЯ ЧАСТЬ */
.certificates-list {
  display: flex;
  gap: 32px;
}

.certificate-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.certificate-card img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.certificate-card a {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease;
}

.certificate-card a:hover {
  background: #1d4ed8;
}

/*  МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 900px) {
  .certificates-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .certificates-list {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .certificates-list {
    flex-direction: column;
    gap: 24px;
  }

  .certificates-info h2 {
    font-size: 28px;
  }
}

/* ===== CERTIFICATES ===== */



/* ===== ФОРМА ===== */

/* Белый фон для контактной секции */

#contact-section-white {
  background: #ffffff;
  position: relative;
  z-index: 2;
}

/* Убираем влияние фоновой картинки */
#contact-section-white::before,
#contact-section-white::after {
  display: none !important;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  
}

.input-field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid #cfd9ea;
  font-size: 16px;
  font-family: inherit;
}

.textarea-field {
  min-height: 120px;
  resize: vertical;
}
/* ===== ФОРМА ===== */




/* --- Contact Section Unified --- */
.contact-box {
  background: #ffffff; 
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(2,8,23,0.08);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.contact-box:hover {
  border-color: #93c5fd;
  box-shadow: 0 16px 40px rgba(14,165,233,.18);
}

/* Единые параметры для обеих сторон */
.contact-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #0f172a;
}
.contact-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #334155;
}

/* Уравниваем высоту левой и правой части */
@media (min-width: 768px) {
  .contact-side {
    height: 100%;
  }
  .contact-box .grid {
    align-items: stretch;
  }
}

/* Inputs */
.input-field {
  border:1.6px solid #cbd5e1;
  border-radius:12px;
  padding:12px 14px;
  font-size:1rem;
  transition: all .25s ease;
}
textarea.input-field {
  padding-top: 12px;
  line-height: 1.4;
  resize: vertical;
}

.input-field:focus {
  outline:none;
  border-color:#0ea5e9;
  box-shadow:0 0 0 3px rgba(14,165,233,.18);
}

/* Button */
.submit-btn {
  background:linear-gradient(135deg,#2563eb,#0ea5e9);
  color:#fff;
  font-weight:700;
  border:none;
  border-radius:12px;
  padding:12px 16px;
  transition:all .3s ease;
  cursor:pointer;
}
.submit-btn:hover {
  background:linear-gradient(135deg,#0ea5e9,#0284c7);
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(14,165,233,.28);
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2563eb;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}












/* Нижний блок trust + social */
.trust-social {
  background: rgba(255,255,255,0.96);
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(2,8,23,0.07);
}

/* Соц иконки */
.social-icon {
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#f1f5f9;
  box-shadow:0 4px 10px rgba(2,8,23,.06);
  transition:transform .25s ease, filter .25s ease, background .25s ease;
}
.social-icon:hover {
  transform:translateY(-2px) scale(1.06);
  filter:saturate(115%);
}

/* Responsive */
@media (max-width:768px) {
  .contact-box { padding: 20px; }
  .contact-title { text-align: center; }
  .contact-text { text-align: center; }
  .trust-social { text-align: center; padding: 18px; }
}

/* ANIMATIONS */
@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-8px)}100%{transform:translateY(0)}}
.animate-float{animation:float 6s ease-in-out infinite}
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.reveal.show{opacity:1;transform:none}
.hero-glow{position:relative;isolation:isolate}
.hero-glow::after{
  background: radial-gradient(600px 240px at 100% 100%, rgba(14,165,233,.08), transparent 60%);
}

/* FORMS */
input,textarea{border:1px solid var(--ring);border-radius:14px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}
input:focus,textarea:focus{outline:none;border-color:#93c5fd;box-shadow:0 0 0 4px rgba(59,130,246,.15)}
::placeholder{color:#94a3b8}
/* MOBILE */
@media (max-width:480px){
  h1{font-size:1.9rem}
  .btn-primary,.btn-ghost{width:100%;text-align:center}
}
/* UTILITIES */
.shadow-soft{box-shadow:var(--shadow)}
.blur-bg{backdrop-filter:blur(8px)}
.text-gradient{background:linear-gradient(90deg,var(--indigo),var(--primary));-webkit-background-clip:text;background-clip:text;color:transparent}
.border-fade{border:1px solid var(--ring)}







/* -----------ДОКУМЕНТЫ--------- */
.links-strip {
  width: 100%;
  background: #0b1f3b; 
}

.links-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.links-strip-inner a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.links-strip-inner a:hover {
  text-decoration: underline;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .links-strip-inner {
    justify-content: center;
    gap: 16px;
  }
}
/* -----------ДОКУМЕНТЫ--------- */