@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&display=swap');

:root {
  --bg: #0a0a0a;
  --bg-burgundy: #4a1525;
  --bg-burgundy-light: #5c1a30;
  --text: #ffffff;
  --text-muted: #d4d4d4;
  --coral: #ff6f61;
  --coral-dark: #e85a4f;
  --coral-glow: rgba(255, 111, 97, 0.35);
  --gradient-border: linear-gradient(135deg, #ff6f61, #ff9a8b, #c44569, #ff6f61);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --header-h: 72px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --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: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: var(--coral); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ff9a8b; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

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

.section__intro {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.drop-cap::first-letter {
  font-family: var(--font-heading);
  float: left;
  font-size: 3.8em;
  line-height: 0.75;
  padding-right: 0.12em;
  padding-top: 0.06em;
  color: var(--coral);
  font-weight: 700;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid rgba(255, 111, 97, 0.25);
  height: var(--header-h);
}

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

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

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

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

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

.header__contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__contacts p,
.header__contacts a {
  margin: 0;
  white-space: nowrap;
}

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

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

.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--coral);
  transition: var(--transition);
}

.header__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Banner */
.banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.55), rgba(74,21,37,0.75));
}

.banner__title {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  color: var(--text);
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

/* Strengths — staggered cards */
.strengths {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  padding: 1rem 0;
}

.strength-card {
  flex: 1 1 220px;
  max-width: 280px;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,111,97,0.1);
  transition: transform var(--transition);
}

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

.strength-card:nth-child(1) { transform: translateY(-18px); }
.strength-card:nth-child(2) { transform: translateY(8px); }
.strength-card:nth-child(3) { transform: translateY(-8px); }
.strength-card:nth-child(4) { transform: translateY(14px); }

.strength-card:hover { transform: translateY(-6px) scale(1.02); }

.strength-card h3 {
  color: var(--text);
  margin-bottom: 0.75rem;
}

.strength-card p { font-size: 0.95rem; color: var(--text-muted); }

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

.service-card {
  background: var(--bg-burgundy-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 111, 97, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--coral-glow);
}

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

.service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__body h3 { margin-bottom: 0.75rem; }

.service-card__body p {
  flex: 1;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--coral);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--coral);
  color: var(--bg) !important;
  border: 2px solid var(--coral);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn:hover {
  background: transparent;
  color: var(--coral) !important;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--coral) !important;
}

.btn--outline:hover {
  background: var(--coral);
  color: var(--bg) !important;
}

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

.achievement-item {
  text-align: center;
  padding: 1.5rem;
  border: 1px solid rgba(255, 111, 97, 0.35);
  border-radius: var(--radius);
}

.achievement-item__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--coral);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.achievement-item__label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.content-block p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

/* Forms */
.form-section {
  background: var(--bg-burgundy);
  padding: 4rem 0;
}

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 111, 97, 0.35);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #151515;
  border: 1px solid rgba(255, 111, 97, 0.4);
  border-radius: 8px;
  color: var(--text);
  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(--coral);
  box-shadow: 0 0 0 3px var(--coral-glow);
}

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

.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.2);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  display: none;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid #4caf50;
  color: #a5d6a7;
}

.form-message.error {
  display: block;
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid #f44336;
  color: #ef9a9a;
}

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

.faq-item {
  border-bottom: 1px solid rgba(255, 111, 97, 0.25);
  margin-bottom: 0.5rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  position: relative;
}

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

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

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

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--text-muted);
}

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

/* About — mission sticks */
.mission-sticks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0;
}

.mission-stick {
  flex: 1 1 200px;
  max-width: 280px;
  padding: 1.5rem;
  background: var(--bg-burgundy);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-stick h3 {
  color: var(--coral);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateX(-5.5px);
  box-shadow: 0 0 12px var(--coral-glow);
}

.timeline-item__year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--coral);
  margin-bottom: 0.35rem;
}

.timeline-item p { color: var(--text-muted); font-size: 0.95rem; }

/* About photos */
.about-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.about-photos img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 111, 97, 0.3);
}

/* Services detail */
.guarantees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.guarantee-card {
  padding: 1.5rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 111, 97, 0.25);
}

.guarantee-card h3 {
  color: var(--coral);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

.advantages-list li {
  padding: 1rem 0 1rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 111, 97, 0.15);
  color: var(--text-muted);
}

.advantages-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--coral);
}

/* Bonus program */
.bonus-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bonus-icon-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 111, 97, 0.3);
}

.bonus-icon-item svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  fill: var(--coral);
}

.bonus-icon-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.bonus-icon-item p { font-size: 0.85rem; color: var(--text-muted); }

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

.contact-info-block {
  padding: 2rem;
  background: var(--bg-burgundy);
  border-radius: var(--radius);
}

.contact-info-block h3 {
  color: var(--coral);
  margin-bottom: 1rem;
}

.contact-info-block p,
.contact-info-block a {
  margin-bottom: 0.75rem;
  display: block;
}

/* Legal pages */
.legal-page {
  padding: 4rem 0 5rem;
}

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

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

.legal-page p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  text-align: justify;
}

/* Footer */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255, 111, 97, 0.2);
  padding: 3rem 0 2rem;
}

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

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

.footer__menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer__menu a { color: var(--text); font-size: 0.95rem; }
.footer__menu a:hover { color: var(--coral); }

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer__contacts > p,
.footer__contacts > a {
  display: block;
  margin: 0;
}

.footer__contacts > p {
  color: var(--text);
}

.footer__contacts > a[href^="mailto"] {
  color: var(--coral);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 111, 97, 0.25);
}

.footer__contacts > a[href*="maps"],
.footer__contacts > a[href*="goo.gl"] {
  color: var(--text-muted);
}

.footer__contacts > a[href*="maps"]:hover,
.footer__contacts > a[href*="goo.gl"]:hover {
  color: var(--coral);
}

.footer__social {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 111, 97, 0.15);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__legal {
  border-top: 1px solid rgba(255, 111, 97, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

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

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  padding: 2rem;
  overflow-y: auto;
}

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

.mobile-nav__menu {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-nav__menu li { margin-bottom: 1rem; }

.mobile-nav__menu a {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.mobile-nav__contacts {
  border-top: 1px solid rgba(255, 111, 97, 0.25);
  padding-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 2;
}

.mobile-nav__contacts p { margin: 0; }

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

  .strength-card:nth-child(n) { transform: none; }
  .strengths { align-items: stretch; }

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

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

  .footer__logo { justify-self: center; }
  .footer__menu { justify-content: center; }
  .footer__contacts { text-align: center; }
  .footer__social { justify-content: center; }
  .footer__legal { flex-direction: column; text-align: center; }
  .footer__legal-links { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .banner { min-height: 300px; }
  .form-wrapper { padding: 1.5rem; }
}
