@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --bg-dark: #0a1628;
  --bg-azure: #132d4a;
  --bg-azure-light: #1a3d5c;
  --text-white: #ffffff;
  --neon-blue: #00d4ff;
  --accent-blue: #4da6ff;
  --gradient-border: linear-gradient(135deg, #00d4ff, #4da6ff, #0066cc, #00d4ff);
  --shadow-glow: 0 8px 32px rgba(0, 212, 255, 0.25);
  --shadow-deep: 0 12px 40px rgba(0, 0, 0, 0.4);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', sans-serif;
  --header-height: 80px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-blue);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-white);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--azure {
  background-color: var(--bg-azure);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gradient-border);
  margin: 15px auto 0;
  border-radius: 2px;
}

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--neon-blue);
  font-weight: 700;
}

.text-block {
  font-size: 1.05rem;
  text-align: justify;
}

.text-block p {
  margin-bottom: 1.2rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  height: var(--header-height);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 15px;
}

.header__logo img {
  height: 50px;
  width: 50px;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav a {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav a:hover {
  color: var(--neon-blue);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header__contacts p,
.header__contacts a,
.header__contacts span {
  white-space: nowrap;
  color: var(--text-white);
  font-size: 0.85rem;
}

.header__contacts a:hover {
  color: var(--neon-blue);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--neon-blue);
  border-radius: 2px;
  transition: var(--transition);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-contacts {
  display: none;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 40, 0.5), rgba(10, 22, 40, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner__title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  padding: 0 20px;
}

/* Strengths - staggered cards */
.strengths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  padding: 20px 0;
}

.strength-card {
  position: relative;
  flex: 0 1 280px;
  padding: 30px 25px;
  background: var(--bg-azure-light);
  border-radius: 12px;
  box-shadow: var(--shadow-deep);
  transition: transform var(--transition), box-shadow var(--transition);
}

.strength-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  background: var(--gradient-border);
  z-index: -1;
}

.strength-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--bg-azure-light);
  z-index: -1;
}

.strength-card:nth-child(1) { transform: translateY(-20px); }
.strength-card:nth-child(2) { transform: translateY(10px); }
.strength-card:nth-child(3) { transform: translateY(-35px); }
.strength-card:nth-child(4) { transform: translateY(5px); }

.strength-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--shadow-glow);
}

.strength-card__icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--neon-blue);
}

.strength-card h3 {
  margin-bottom: 12px;
  color: var(--neon-blue);
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-azure-light);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-blue);
  box-shadow: var(--shadow-glow);
}

.service-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 {
  margin-bottom: 12px;
  color: var(--neon-blue);
}

.service-card__body p {
  margin-bottom: 20px;
  flex: 1;
  font-size: 0.95rem;
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--neon-blue);
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--neon-blue);
  color: var(--neon-blue);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: var(--shadow-glow);
}

.btn--filled {
  background: var(--neon-blue);
  color: var(--bg-dark);
}

.btn--filled:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--bg-dark);
}

/* Advantages / Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-azure-light);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--neon-blue);
  font-weight: 700;
}

.stat-item__label {
  font-size: 0.95rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.85);
}

/* Forms */
.form-section {
  background: var(--bg-azure);
  border-radius: 16px;
  padding: 40px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--accent-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 16px;
  display: none;
  font-weight: 600;
}

.form-message.success {
  display: block;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
}

.form-message.error {
  display: block;
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid #ff5050;
  color: #ff8080;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--neon-blue);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--neon-blue);
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* About page */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.about-images img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.3);
}

.mission-sticks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.mission-stick {
  flex: 1 1 200px;
  padding: 25px 20px;
  background: var(--bg-azure-light);
  border-left: 4px solid var(--neon-blue);
  border-radius: 0 8px 8px 0;
}

.mission-stick h3 {
  color: var(--neon-blue);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: var(--neon-blue);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px var(--neon-blue);
}

.timeline-item__year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--neon-blue);
  font-weight: 700;
}

.timeline-item h3 {
  margin: 8px 0;
}

/* Services detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  padding: 40px;
  background: var(--bg-azure-light);
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.3);
}

.service-detail__guarantee {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--neon-blue);
}

.advantages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--bg-azure-light);
  border-radius: 10px;
}

.advantage-item__num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--neon-blue);
  font-weight: 700;
  min-width: 40px;
}

/* Bonus program */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.bonus-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-azure-light);
  border-radius: 12px;
  border: 2px solid rgba(0, 212, 255, 0.2);
  transition: border-color var(--transition);
}

.bonus-item:hover {
  border-color: var(--neon-blue);
}

.bonus-item__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-block {
  padding: 30px;
  background: var(--bg-azure-light);
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.contact-info-block h3 {
  color: var(--neon-blue);
  margin-bottom: 20px;
}

.contact-info-block p,
.contact-info-block a {
  margin-bottom: 12px;
  display: block;
}

.contact-info-block a {
  color: var(--accent-blue);
}

/* Legal pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h1 {
  margin-bottom: 30px;
  color: var(--neon-blue);
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.legal-content p {
  margin-bottom: 16px;
  text-align: justify;
}

.legal-content ul {
  margin: 16px 0 16px 30px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--bg-azure);
  border-top: 2px solid rgba(0, 212, 255, 0.2);
  padding: 60px 0 30px;
}

.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.footer__logo img {
  height: 60px;
  width: 60px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer__nav a {
  color: var(--text-white);
  font-weight: 600;
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--neon-blue);
}

.footer__contacts {
  text-align: right;
  font-size: 0.9rem;
}

.footer__contacts p,
.footer__contacts a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-white);
  white-space: nowrap;
}

.footer__social {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
}

.footer__social a {
  color: var(--neon-blue);
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer__legal a:hover {
  color: var(--neon-blue);
}

.footer__company {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(0, 212, 255, 0.15);
  padding-top: 25px;
}

.footer__company p {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header__contacts {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-azure);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    overflow-y: auto;
  }

  .header__nav.open {
    right: 0;
  }

  .header__nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    font-size: 1.1rem;
  }

  .mobile-contacts {
    display: block;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    width: 100%;
  }

  .mobile-contacts p,
  .mobile-contacts a,
  .mobile-contacts span {
    display: block;
    margin-bottom: 12px;
    color: var(--text-white);
    font-size: 0.95rem;
  }

  .strength-card:nth-child(n) {
    transform: none;
  }

  .strengths {
    flex-direction: column;
    align-items: center;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

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

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contacts {
    text-align: center;
  }

  .footer__logo {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .banner {
    height: 300px;
  }

  .section {
    padding: 50px 0;
  }

  .form-section {
    padding: 25px;
  }
}
