:root {
  --brand-teal: #008080;
  --accent-gold: #ffbb11;
  --bg-light: #f0f4f8;
  --text-dark: #2c3e50;
  --accent-purple: #c82a89;
  --about-bg: #dffafb;
  --font-body: 'Lato', sans-serif;
  --font-heading: 'Roboto Slab', serif;
}

html {
  font-size: 16px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}

.logo img {
  height: 82px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.menu a {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
}

.menu a:hover {
  color: var(--accent-gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 220px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: none;
  }
  .menu.menu--open {
    transform: translateX(0);
        display: block;
        z-index: 20;
        top: 95px;
        left: 0;
        width: 100%;
        text-align: center;
  }
  .menu li + li {
    margin-top: 1rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-teal);
}

.hero-aiz {
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  padding: 6rem 0;
  text-align: center;
  color: #fff;
}

/* Hero block overlay */
.hero-aiz {
  position: relative;
  overflow: hidden;
}

.hero-aiz::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-aiz .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.2); /* слегка светлый полупрозрачный фон под текстом */
  border-radius: 8px;
}


.hero-aiz h1 {
  line-height: 1;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-weight: 900;
}

.hero-aiz p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
    padding: 0.75rem 5rem;
    font-family: var(--font-body);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-teal);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-gold);
}
.about-aiz {
  background: var(--about-bg);
  padding: 4rem 0;
}

.about-aiz-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-aiz-text {
  flex: 1;
}

.about-aiz-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

.about-aiz-text p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.about-aiz-image {
  flex: 1;
}

.about-aiz-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .about-aiz-container {
    flex-direction: column;
  }
  .about-aiz-text h2 {
    text-align: center;
  }
}
/* features-aiz / Why section */
.features-aiz {
  padding: 4rem 0;
}

.features-aiz h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-gold);
}

.features-aiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-card {
  background: var(--accent-purple);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  color: #fff; /* чтобы текст был читаем на фиолетовом */
}

.feature-card h3 {
  font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #fff;
    border: 1px solid #ffbb11;
}

.feature-card p {
  line-height: 1.5;
}

/* Secondary button */
.btn-secondary {
  display: inline-block;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-gold);
  background: #fff;
  border: 2px solid var(--accent-gold);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #fff;
}

/* Responsive adjustment */
@media (max-width: 500px) {
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}
/* faq-aiz section */
.faq-aiz {
  background: linear-gradient(135deg, #6a0dad, #b19cd9);
  color: #fff;
  padding: 4rem 0;
}

.faq-aiz-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2rem;
}

.faq-aiz-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.faq-aiz-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-gold);
}

/* Accordion */
.accordion .item + .item {
  margin-top: 1rem;
}

.question {
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  position: relative;
  cursor: pointer;
  border-radius: 4px;
}

.question::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(255,255,255,0.1);
  border-radius: 0 0 4px 4px;
}

.answer p {
  padding: 0.75rem 1rem;
  line-height: 1.6;
  color: #f0f4f8;
}

/* Toggle behavior via JS: add/remove `open` class */
.accordion .item.open .answer {
  max-height: 200px; /* достаточно для одного–двух абзацев */
}

/* Responsive */
@media (max-width: 768px) {
  .faq-aiz-container {
    grid-template-columns: 1fr;
  }
  .faq-aiz-image {
    order: 2;
  }
}
/* Dark footer styles */
.footer {
  background: #1a1a1a;
  border-top: 4px solid var(--accent-gold);
  padding: 3rem 0;
  font-family: var(--font-body);
  color: #ddd;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-top {
  text-align: center;
  max-width: 600px;
}

.footer-logo {
  height: 90px;
    margin-bottom: 1rem;
    display: block;
    margin: 20px auto;
}

.btn-resp {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent-gold);
  color: #1a1a1a;
  font-weight: 700;
  border-radius: 4px;
  cursor: default;
}

.footer-note {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
  color: #ccc;
}

.footer-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-icons img {
  height: 90px;
  width: auto;
}
li {
  list-style: none;
}
.footer-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 1rem;
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.6;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    gap: 1.5rem;
  }
  .footer-icons img {
    height: 60px;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}
/* Contact page inner block styles */
.contact-page .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* Form column */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--brand-teal);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 2px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
}

/* Info column */
.contact-info {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-info h2 {
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  color: var(--brand-teal);
  font-size: 1.75rem;
}

.contact-info p {
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 700;
}

.contact-info a:hover {
  color: var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form,
  .contact-info {
    margin: 0 auto;
    max-width: 500px;
  }
}
/* Thank You page styles */
.thankyou-page {
  background: var(--bg-light);
  padding: 6rem 0;
}

.thankyou-page .container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.thankyou-page h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--brand-teal);
  margin-bottom: 1rem;
}

.thankyou-page p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.thankyou-page .btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--accent-gold);
  color: #1a1a1a;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.thankyou-page .btn-primary:hover {
  background: var(--brand-teal);
  color: #fff;
}
