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

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

:root {
  --bg-dark: #2c1810;
  --bg-olive: #3d4a32;
  --bg-olive-light: #4a5a3d;
  --text-white: #f5f0eb;
  --accent-yellow: #d4a843;
  --accent-yellow-light: #e8c468;
  --accent-yellow-dark: #b8922f;
  --shadow: rgba(0, 0, 0, 0.45);
  --gradient-border: linear-gradient(135deg, #d4a843, #e8c468, #b8922f, #d4a843);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', sans-serif;
  --header-height: 80px;
}

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-yellow);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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-olive {
  background-color: var(--bg-olive);
}

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

/* Drop cap */
.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(--accent-yellow);
  font-weight: 700;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(44, 24, 16, 0.97);
  border-bottom: 2px solid var(--accent-yellow);
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 15px;
}

.header-logo img {
  height: 55px;
  width: 55px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent-yellow);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--accent-yellow);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.header-contacts p,
.header-contacts a,
.header-contacts span {
  font-size: 0.85rem;
  white-space: nowrap;
}

.header-contacts p {
  color: var(--text-white);
  margin: 0;
}

.header-contacts a {
  color: var(--accent-yellow);
}

.header-contacts .address {
  color: var(--text-white);
}

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

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  border-bottom: 2px solid var(--accent-yellow);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 15px;
}

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

.mobile-menu a {
  color: var(--text-white);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-olive);
}

.mobile-menu .mobile-contacts {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--accent-yellow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu .mobile-contacts p,
.mobile-menu .mobile-contacts a {
  font-size: 0.9rem;
  color: var(--text-white);
}

.mobile-menu .mobile-contacts a {
  color: var(--accent-yellow);
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 500px;
  margin-top: var(--header-height);
  overflow: hidden;
}

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

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 24, 16, 0.4), rgba(44, 24, 16, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-title {
  text-align: center;
  padding: 20px;
}

.banner-title h1 {
  text-shadow: 2px 4px 12px var(--shadow);
  letter-spacing: 2px;
}

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

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

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

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

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

.strength-card {
  flex: 1 1 280px;
  max-width: 360px;
  padding: 35px 28px;
  background: var(--bg-olive);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 12px 30px var(--shadow), 0 4px 8px rgba(0,0,0,0.3);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.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-olive);
  z-index: -1;
}

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

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px var(--shadow), 0 6px 12px rgba(0,0,0,0.35);
}

.strength-card h3 {
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

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

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

.service-card {
  background: var(--bg-olive);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-4px);
}

.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;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.service-card-body p {
  flex: 1;
  margin-bottom: 20px;
  font-size: 0.93rem;
}

.service-card-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-yellow);
  margin-bottom: 15px;
}

/* Advantages stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-olive-light);
  border-radius: 8px;
  border: 1px solid var(--accent-yellow-dark);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-yellow);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
}

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

/* Forms */
.form-section {
  max-width: 700px;
  margin: 0 auto;
}

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

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

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

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

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

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

.form-message.success {
  display: block;
  background: rgba(74, 90, 61, 0.8);
  border: 2px solid var(--accent-yellow);
  color: var(--text-white);
}

.form-message.error {
  display: block;
  background: rgba(120, 40, 30, 0.8);
  border: 2px solid #c0392b;
  color: var(--text-white);
}

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

.faq-item {
  border: 1px solid var(--accent-yellow-dark);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-olive);
}

.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;
  gap: 15px;
}

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

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

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

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

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

.about-img {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--accent-yellow);
}

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

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

.mission-stick {
  flex: 1 1 200px;
  padding: 25px 20px;
  background: var(--bg-olive);
  border-left: 4px solid var(--accent-yellow);
  border-radius: 0 8px 8px 0;
}

.mission-stick h4 {
  color: var(--accent-yellow);
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 20px 25px;
  background: var(--bg-olive);
  border-radius: 8px;
}

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

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent-yellow);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Services page extras */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.guarantee-item {
  padding: 25px;
  background: var(--bg-olive);
  border-radius: 8px;
  border: 1px solid var(--accent-yellow-dark);
}

.guarantee-item h4 {
  color: var(--accent-yellow);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.benefits-list {
  list-style: none;
  max-width: 800px;
  margin: 30px auto 0;
}

.benefits-list li {
  padding: 15px 20px 15px 45px;
  margin-bottom: 10px;
  background: var(--bg-olive);
  border-radius: 6px;
  position: relative;
}

.benefits-list li::before {
  content: '✦';
  position: absolute;
  left: 18px;
  color: var(--accent-yellow);
  font-size: 1rem;
}

.bonus-program {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.bonus-icon {
  text-align: center;
  padding: 25px 15px;
  background: var(--bg-olive-light);
  border-radius: 10px;
  border: 2px solid var(--accent-yellow-dark);
}

.bonus-icon .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.bonus-icon h4 {
  color: var(--accent-yellow);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.order-steps {
  counter-reset: step;
  max-width: 800px;
  margin: 30px auto;
}

.order-step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.order-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-yellow);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-block {
  padding: 30px;
  background: var(--bg-olive);
  border-radius: 10px;
  border: 2px solid var(--accent-yellow-dark);
}

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

.contact-info-item {
  margin-bottom: 18px;
}

.contact-info-item strong {
  color: var(--accent-yellow);
  display: block;
  margin-bottom: 4px;
}

/* Footer */
.footer {
  background: #1a0f0a;
  border-top: 3px solid var(--accent-yellow);
  padding: 50px 0 25px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 35px;
  margin-bottom: 35px;
}

.footer-logo img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 2px solid var(--accent-yellow);
  margin-bottom: 15px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: var(--text-white);
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: var(--accent-yellow);
}

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

.footer-contacts a {
  color: var(--accent-yellow);
}

.footer-legal {
  border-top: 1px solid var(--bg-olive);
  padding-top: 25px;
  text-align: center;
}

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

.footer-legal-links a {
  font-size: 0.85rem;
}

.footer-company-info {
  font-size: 0.8rem;
  color: rgba(245, 240, 235, 0.7);
  line-height: 1.8;
}

.footer-company-info p {
  margin-bottom: 4px;
}

/* Legal pages */
.legal-page {
  margin-top: var(--header-height);
  padding: 60px 0;
}

.legal-page h1 {
  margin-bottom: 30px;
  color: var(--accent-yellow);
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--accent-yellow-light);
}

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

.section-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-intro p {
  font-size: 1.05rem;
}

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

.text-block p {
  margin-bottom: 18px;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-nav,
  .header-contacts {
    display: none;
  }

  .burger {
    display: flex;
  }

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

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

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

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

  .section {
    padding: 50px 0;
  }

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

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

  .mission-sticks {
    flex-direction: column;
  }

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

  .footer-logo img {
    margin: 0 auto 15px;
  }
}

@media (min-width: 1025px) {
  .strengths-grid {
    flex-wrap: nowrap;
    align-items: flex-end;
  }
}
