@import url('https://fonts.googleapis.com/css2?family=GFS+Didot&family=GFS+Neohellenic:wght@400;700&display=swap');

:root {
  --bg-dark: #0a1628;
  --bg-azure: #0f2847;
  --bg-azure-light: #163456;
  --text-white: #ffffff;
  --accent: #4db8e8;
  --accent-hover: #6ecbf5;
  --accent-dark: #2a8fc4;
  --gradient-border: linear-gradient(135deg, #4db8e8, #1a6fa0, #4db8e8);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 12px 40px rgba(77, 184, 232, 0.15);
  --font-heading: 'GFS Didot', 'Times New Roman', Times, serif;
  --font-body: 'GFS Neohellenic', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 80px;
}

*, *::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(--accent);
  text-decoration: none;
  transition: color 0.3s;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

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(--accent);
  margin: 1rem auto 0;
}

.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 3.5em;
  line-height: 0.8;
  padding-right: 0.1em;
  color: var(--accent);
  font-weight: 700;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(77, 184, 232, 0.2);
  height: var(--header-h);
}

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

.header__logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

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

.header__menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

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

.header__menu a:hover,
.header__menu a.active {
  color: var(--accent);
}

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

.header__contacts p,
.header__contacts a {
  color: var(--text-white);
  white-space: nowrap;
}

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

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

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-azure);
  padding: 24px;
  z-index: 999;
  border-bottom: 2px solid var(--accent);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 16px;
}

.mobile-menu a {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 600;
}

.mobile-menu__contacts {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(77, 184, 232, 0.3);
}

.mobile-menu__contacts p,
.mobile-menu__contacts a {
  color: var(--text-white);
  margin-bottom: 10px;
  display: block;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  margin-top: var(--header-h);
  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.4), 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.6);
}

/* Strengths */
.strengths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
}

.strength-card {
  flex: 1 1 260px;
  max-width: 320px;
  min-width: 240px;
  padding: 28px 22px;
  background: var(--bg-azure);
  border-radius: 12px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  overflow: hidden;
}

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

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

.strength-card:hover {
  transform: translateY(-5px) !important;
}

.strength-card h3 {
  color: var(--text-white);
  margin-bottom: 12px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.35;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.strength-card p {
  font-size: 0.95rem;
}

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

.service-card {
  background: var(--bg-azure);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(77, 184, 232, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__body {
  padding: 24px;
}

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

.service-card__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 12px 0;
  font-family: var(--font-heading);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--bg-dark);
  border: 2px solid var(--accent);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-align: center;
}

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

.btn--outline {
  background: transparent;
  color: var(--accent);
}

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

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

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-azure-light);
  border-radius: 10px;
  border: 1px solid rgba(77, 184, 232, 0.25);
}

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

.stat-item__label {
  font-size: 0.95rem;
  margin-top: 8px;
}

.text-block {
  max-width: 900px;
  margin: 0 auto;
}

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

/* Forms */
.form-section {
  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);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid rgba(77, 184, 232, 0.4);
  border-radius: 6px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 184, 232, 0.2);
}

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

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

.form-message.success {
  display: block;
  background: rgba(77, 184, 232, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

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

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

.faq-item {
  border: 1px solid rgba(77, 184, 232, 0.3);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-azure);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

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

.faq-answer__inner {
  padding: 0 24px 18px;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* About page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-images img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(77, 184, 232, 0.3);
}

.mission-stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 2rem;
}

.mission-sticker {
  flex: 1 1 200px;
  max-width: 280px;
  padding: 24px;
  background: var(--bg-azure-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  box-shadow: var(--shadow);
}

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

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

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

.timeline-item__year {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

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

/* Services detail */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(77, 184, 232, 0.2);
}

.service-detail__img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(77, 184, 232, 0.3);
}

.service-detail__guarantee {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-dark);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
}

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

.advantages-list li {
  padding: 20px;
  background: var(--bg-azure);
  border-radius: 8px;
  border: 1px solid rgba(77, 184, 232, 0.25);
}

.advantages-list li::before {
  content: '✦';
  color: var(--accent);
  margin-right: 10px;
}

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

.bonus-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-azure-light);
  border-radius: 12px;
  border: 1px solid rgba(77, 184, 232, 0.3);
}

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

.bonus-item h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

.contact-info-block {
  padding: 30px;
  background: var(--bg-azure);
  border-radius: 12px;
}

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

.contact-info-block p,
.contact-info-block a {
  margin-bottom: 14px;
  display: block;
  color: var(--text-white);
}

/* Footer */
.footer {
  background: var(--bg-azure);
  padding: 60px 0 30px;
  border-top: 2px solid rgba(77, 184, 232, 0.3);
}

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

.footer__logo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  justify-content: center;
}

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

.footer__contacts p,
.footer__contacts a {
  color: var(--text-white);
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.footer__social a {
  color: var(--accent);
  font-weight: 600;
}

.footer__legal {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(77, 184, 232, 0.2);
  font-size: 0.85rem;
}

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

.footer__legal-links a {
  color: var(--accent);
}

.footer__company-info {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

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

.legal-content h1 {
  margin-bottom: 2rem;
  color: var(--accent);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--accent);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-banner {
  margin-top: var(--header-h);
  padding: 60px 0;
  background: var(--bg-azure);
  text-align: center;
}

/* How to order */
.order-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 2rem 0;
}

.order-step {
  text-align: center;
  padding: 24px;
  background: var(--bg-azure-light);
  border-radius: 10px;
  border: 1px solid rgba(77, 184, 232, 0.25);
}

.order-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

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

  .burger {
    display: flex;
  }

  .header__menu {
    display: none;
  }

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

  .about-content,
  .service-detail,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer__contacts {
    text-align: center;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

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

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

  .strength-card {
    max-width: 100%;
  }
}
