/* Самостоятельный лендинг АУРА.С. Базовые стили → адаптивность. */

/* Локальный вариативный шрифт с поддержкой кириллицы */
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* Montserrat для названия проекта */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* Переменные и базовые стили */
:root {
  color-scheme: dark;
  --blue: #2935f5;
  --cyan: #48dfe0;
  --muted: #aaa;
  --card: #1e1e20;
  --font: 'Manrope', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 7px;
}

a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Фон и контейнер страницы */
.site {
  min-height: 100vh;
  background-image: url('assets/background.svg');
  background-position: center top;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.wrap {
  width: calc(100% - 136px);
  max-width: 1787px;
  margin-inline: auto;
}

/* Шапка и навигация */
.header {
  position: relative;
  z-index: 10;
  top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(125, 125, 125, .4);
  border-radius: 24px;
  padding: 14px 32px;
  min-height: 96px;
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 180px;
  height: auto;
}

.header nav {
  display: flex;
  gap: clamp(40px, 7.6vw, 150px);
  padding-right: 70px;
  align-items: center;
}

.header nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 30px;
  font-weight: 500;
  color: #eee;
  transition: color .2s, background-color .2s;
}

.header nav a:hover {
  color: var(--cyan);
  background-color: rgba(255, 255, 255, .08);
}

/* Первый экран */
.hero {
  padding-top: 144px;
  position: relative;
}

.hero h1 {
  font-family: 'Montserrat', var(--font);
  font-size: clamp(95px, 15.4vw, 296px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0 0 120px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: clamp(28px, 3.45vw, 66px);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -.025em;
  margin: 0;
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 65px;
}

.button {
  display: inline-block;
  background: var(--blue);
  font-size: clamp(24px, 2.6vw, 50px);
  font-weight: 700;
  letter-spacing: 0;
  padding: 30px 36px;
  border-radius: 70px;
  transition: background .2s, transform .2s;
}

.button:hover {
  background: #404aff;
  transform: translateY(-3px);
}

.scroll-down {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  margin: 26px auto 50px;
}

.scroll-down span {
  width: 30px;
  height: 30px;
  border-right: 5px solid var(--blue);
  border-bottom: 5px solid var(--blue);
  transform: rotate(45deg);
}

/* Заголовки разделов */
h2 {
  text-align: center;
  font-size: clamp(44px, 6.1vw, 116px);
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0 0 85px;
  font-weight: 700;
}

/* Описание проекта */
.intro-card {
  display: flex;
  align-items: center;
  gap: 45px;
  padding: 64px 20px;
  background: var(--card);
  border-radius: 8px;
  min-height: 300px;
}

.intro-card p {
  font-size: clamp(22px, 2.25vw, 43px);
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
  flex: 1;
  letter-spacing: -.025em;
}

.pink {
  color: #e734df;
}

.rose {
  color: #ed71b5;
}

.spark-icon {
  width: 240px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 24px;
  background: #080909;
  display: grid;
  place-items: center;
}

.spark-icon svg {
  width: 175px;
  height: 175px;
  fill: var(--cyan);
  filter: drop-shadow(0 0 15px #36d9db70);
}

/* Задачи АУРА.С */
.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 78px;
}

.capability {
  background: var(--card);
  border-radius: 8px;
  min-height: 210px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.capability svg {
  width: 60px;
  height: 60px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability:last-child svg {
  fill: var(--cyan);
  stroke: none;
}

.capability h3 {
  font-size: clamp(20px, 1.8vw, 34px);
  line-height: 1.3;
  font-weight: 500;
  margin: 0;
}

/* Функционал */
.features {
  padding-top: 140px;
}

.features h2 {
  margin-bottom: 140px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 96px;
}

.feature-card {
  padding: 34px 36px 42px;
  background: var(--card);
  border-radius: 8px;
  min-width: 0;
}

.feature-heading {
  display: flex;
  gap: 28px;
  align-items: center;
  min-height: 150px;
}

.icon {
  background: #505251;
  border-radius: 8px;
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.icon svg {
  width: 90px;
  height: 90px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: clamp(24px, 2.8vw, 54px);
  line-height: 1.25;
  font-weight: 500;
  margin: 0;
  letter-spacing: -.025em;
}

.feature-card p {
  font-size: clamp(20px, 2vw, 38px);
  line-height: 1.5;
  color: #aaa;
  margin: 24px 0 0;
  overflow-wrap: break-word;
}

/* ЧаВо */
.faq {
  padding-top: 168px;
  padding-bottom: 200px;
}

.faq h2 {
  margin-bottom: 70px;
}

.faq-panel {
  max-width: 1600px;
  margin: auto;
  background: rgba(10, 10, 10, .92);
  padding: 44px 26px;
  border-radius: 10px;
  display: grid;
  gap: 42px;
}

details {
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 15px 18px #ffffff05;
}

summary {
  padding: 44px 26px;
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  list-style: none;
  font-size: clamp(22px, 2.6vw, 50px);
  line-height: 1.3;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

.chevron {
  width: 66px;
  height: 66px;
  border: 7px solid var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.chevron:before {
  content: '';
  width: 23px;
  height: 23px;
  border-right: 7px solid var(--blue);
  border-bottom: 7px solid var(--blue);
  transform: translateY(-5px) rotate(45deg);
  transition: transform .2s;
}

details[open] .chevron:before {
  transform: translateY(5px) rotate(225deg);
}

.answer {
  padding: 0 32px 36px;
  font-size: clamp(18px, 1.7vw, 32px);
  line-height: 1.55;
  color: #bdbdc4;
}

.answer p {
  margin: 0 0 18px;
}

.answer p:last-child {
  margin-bottom: 0;
}

.trust {
  display: flex;
  gap: 40px;
  align-items: center;
}

.trust img {
  width: 213px;
  height: auto;
  flex-shrink: 0;
}

.text-link {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Футер и контакты */
.footer {
  background: linear-gradient(135deg, #1e1e20 0%, #1e1e20 36%, #080809 36%, #000 90%);
  padding: 90px 0 65px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr 1.4fr;
  gap: 44px;
}

.footer h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 35px;
}

.footer p,
.footer a,
.footer span {
  font-size: 24px;
  line-height: 1.5;
  color: #a7a7aa;
}

.footer p {
  margin: 0 0 14px;
}

.footer-col>a {
  display: block;
  margin-bottom: 14px;
}

.contact-col {
  border-left: 2px solid #888;
  border-right: 2px solid #888;
  text-align: center;
  padding: 0 24px;
}

.contact-col a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer a:hover {
  color: #fff;
}

.customer-col {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-col img {
  width: 213px;
  max-width: 100%;
  height: auto;
}

.customer-col span {
  margin-top: auto;
  font-size: 20px;
}

/* Широкие экраны */
@media (min-width: 1920px) {
  .site {
    background-size: 1920px 100%;
  }

}

/* Экраны до 1500 px */
@media (max-width: 1500px) {
  .wrap {
    width: calc(100% - 96px);
  }

  .header {
    top: 48px;
    min-height: 72px;
    padding: 10px 24px;
    border-radius: 18px;
  }

  .brand img {
    width: 135px;
  }

  .header nav {
    padding-right: 40px;
  }

  .header nav a {
    font-size: 24px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    margin-bottom: 80px;
  }

  .hero-action {
    margin-top: 48px;
  }

  .button {
    padding: 24px 30px;
  }

  .scroll-down {
    margin-bottom: 36px;
  }

  h2 {
    margin-bottom: 64px;
  }

  .intro-card {
    padding: 44px 24px;
    min-height: 220px;
  }

  .spark-icon {
    width: 180px;
    height: 180px;
  }

  .spark-icon svg {
    width: 135px;
    height: 135px;
  }

  .features {
    padding-top: 104px;
  }

  .features h2 {
    margin-bottom: 100px;
  }

  .feature-grid {
    gap: 65px;
  }

  .feature-card {
    padding: 28px;
  }

  .feature-heading {
    gap: 20px;
    min-height: 108px;
  }

  .icon {
    width: 108px;
    height: 108px;
  }

  .icon svg {
    width: 70px;
    height: 70px;
  }

  .faq {
    padding-top: 126px;
    padding-bottom: 156px;
  }

  .faq-panel {
    gap: 28px;
    padding: 30px 22px;
  }

  summary {
    min-height: 116px;
    padding: 30px 22px;
  }

  .chevron {
    width: 50px;
    height: 50px;
    border-width: 5px;
  }

  .chevron:before {
    width: 18px;
    height: 18px;
    border-width: 5px;
  }

  .footer {
    padding: 65px 0 45px;
  }

  .footer-inner {
    gap: 28px;
  }

  .footer h3 {
    font-size: 22px;
    margin-bottom: 24px;
  }

  .footer p,
  .footer a,
  .footer span {
    font-size: 18px;
  }

  .customer-col img {
    width: 180px;
  }

  .customer-col span {
    font-size: 16px;
  }

  .capabilities {
    gap: 32px;
    margin-top: 58px;
  }

  .capability {
    min-height: 170px;
    padding: 26px 16px;
    gap: 20px;
  }

  .capability svg {
    width: 50px;
    height: 50px;
  }

}

/* Экраны до 1050 px */
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }

  .header {
    top: 28px;
  }

  .header nav a {
    font-size: 20px;
  }

  .header nav {
    gap: 55px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 85px;
  }

  .hero h1 {
    margin-bottom: 58px;
  }

  .hero-action {
    margin-top: 40px;
  }

  .button {
    padding: 20px 26px;
  }

  .scroll-down {
    margin-bottom: 24px;
  }

  .intro-card {
    gap: 24px;
    padding: 34px 20px;
    min-height: 180px;
  }

  .spark-icon {
    width: 110px;
    height: 110px;
  }

  .spark-icon svg {
    width: 84px;
    height: 84px;
  }

  .features {
    padding-top: 65px;
  }

  .features h2 {
    margin-bottom: 70px;
  }

  .feature-grid {
    gap: 38px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .feature-heading {
    gap: 14px;
    min-height: 75px;
  }

  .icon {
    width: 65px;
    height: 65px;
  }

  .icon svg {
    width: 45px;
    height: 45px;
  }

  .feature-card h3 {
    font-size: 27px;
  }

  .feature-card p {
    font-size: 20px;
  }

  .faq {
    padding-top: 84px;
    padding-bottom: 100px;
  }

  .faq h2 {
    margin-bottom: 42px;
  }

  .faq-panel {
    gap: 20px;
    padding: 22px 18px;
  }

  summary {
    min-height: 88px;
    padding: 20px 16px;
  }

  .chevron {
    width: 36px;
    height: 36px;
    border-width: 4px;
  }

  .chevron:before {
    width: 12px;
    height: 12px;
    border-width: 4px;
    transform: translateY(-3px) rotate(45deg);
  }

  details[open] .chevron:before {
    transform: translateY(3px) rotate(225deg);
  }

  .answer {
    padding: 0 18px 24px;
  }

  .footer-inner {
    gap: 18px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer p,
  .footer a {
    font-size: 15px;
  }

  .contact-col {
    padding: 0 18px;
  }

  .customer-col img {
    width: 155px;
  }

  .customer-col span {
    font-size: 14px;
  }

  .capabilities {
    gap: 20px;
    margin-top: 35px;
  }

  .capability {
    min-height: 145px;
    padding: 22px 12px;
    gap: 16px;
  }

  .capability svg {
    width: 42px;
    height: 42px;
  }

}

/* Планшеты: 701–900 px */
@media (min-width: 701px) and (max-width: 900px) {
  .feature-grid {
    gap: 22px;
  }

  .feature-card {
    padding: 20px 16px;
    min-width: 0;
  }

  .feature-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .feature-card h3 {
    font-size: 25px;
  }

  .feature-card p {
    font-size: 18px;
    overflow-wrap: break-word;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-col {
    border-left: 0;
    text-align: left;
    padding-left: 0;
  }

  .customer-col {
    align-items: flex-start;
    text-align: left;
  }

}

/* Мобильные экраны до 700 px */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 20px;
  }

  .site {
    background-size: auto 100%;
    background-position: 48% top;
  }

  .wrap {
    width: calc(100% - 36px);
  }

  .header {
    top: 18px;
    border-radius: 14px;
    min-height: 60px;
    padding: 10px 14px;
  }

  .brand img {
    width: 100px;
  }

  .header nav {
    gap: 8px;
    padding-right: 0;
  }

  .header nav a {
    padding: 4px;
    font-size: 14px;
  }

  .hero {
    padding-top: 86px;
  }

  .hero h1 {
    font-size: clamp(64px, 16vw, 110px);
    letter-spacing: -.045em;
    white-space: nowrap;
    margin-bottom: 42px;
  }

  .hero-subtitle {
    font-size: clamp(21px, 5.1vw, 32px);
    line-height: 1.3;
  }

  .hero-action {
    margin-top: 44px;
  }

  .button {
    font-size: 21px;
    padding: 18px 24px;
  }

  .scroll-down {
    margin: 28px auto 30px;
    width: 44px;
    height: 44px;
  }

  .scroll-down span {
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  h2 {
    font-size: clamp(32px, 7.8vw, 50px);
    margin-bottom: 32px;
  }

  .intro-card {
    padding: 25px 20px;
    gap: 14px;
    min-height: 0;
    align-items: flex-start;
  }

  .intro-card p {
    font-size: 19px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .spark-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .spark-icon svg {
    width: 44px;
    height: 44px;
  }

  .features {
    padding-top: 62px;
  }

  .features h2 {
    margin-bottom: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-heading {
    min-height: 60px;
    gap: 18px;
  }

  .icon {
    width: 60px;
    height: 60px;
  }

  .feature-card h3 {
    font-size: 27px;
  }

  .feature-card h3 br {
    display: none;
  }

  .feature-card p {
    font-size: 19px;
    line-height: 1.5;
    margin-top: 18px;
  }

  .faq {
    padding-top: 66px;
    padding-bottom: 75px;
  }

  .faq h2 {
    margin-bottom: 30px;
  }

  .faq-panel {
    padding: 14px;
    gap: 14px;
  }

  summary {
    font-size: 19px;
    min-height: 86px;
    padding: 19px 14px;
    gap: 15px;
  }

  .chevron {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .chevron:before {
    width: 10px;
    height: 10px;
    border-width: 3px;
  }

  .answer {
    font-size: 17px;
    padding: 0 14px 22px;
  }

  .trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .trust img {
    width: 160px;
  }

  .footer {
    padding: 38px 0 30px;
    background: linear-gradient(135deg, #1e1e20, #080809 65%);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .footer p,
  .footer a {
    font-size: 15px;
  }

  .contact-col {
    border: 0;
    text-align: left;
    padding: 22px 0 0;
    border-top: 1px solid #666;
    grid-column: 1/-1;
  }

  .customer-col {
    grid-column: 1/-1;
    text-align: left;
    align-items: flex-start;
    padding-top: 24px;
    border-top: 1px solid #666;
  }

  .customer-col img {
    width: 180px;
  }

  .customer-col span {
    margin-top: 10px;
  }

  .capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
  }

  .capability {
    min-height: 150px;
    padding: 22px 12px;
    gap: 14px;
  }

  .capability h3 {
    font-size: 18px;
  }

}

/* Компактные экраны до 360 px */
@media (max-width: 360px) {
  .feature-card {
    padding: 22px 18px;
  }

  .feature-card h3 {
    font-size: 24px;
  }

  .feature-heading {
    gap: 14px;
  }

  .intro-card {
    position: relative;
    display: block;
  }

  .intro-card p {
    padding-right: 0;
  }

  .spark-icon {
    float: right;
    margin: 0 0 12px 12px;
  }

  .header nav {
    gap: 4px;
  }

  .header nav a {
    font-size: 13px;
  }

  .brand img {
    width: 88px;
  }

}

/* Уменьшение движения */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none!important;
  }

}
