/* Raltuv Exotic Travel — main stylesheet */
:root {
  --bg-dark: #0a1628;
  --bg-black: #050810;
  --text-white: #ffffff;
  --accent: #5ec8f2;
  --accent-dark: #3aa8d8;
  --accent-glow: rgba(94, 200, 242, 0.35);
  --border: #5ec8f2;
  --error: #ff6b6b;
  --success: #6bffb8;
  --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.65;
  font-size: 1rem;
}

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

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

a:hover {
  color: var(--text-white);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-black);
  border-bottom: 2px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.header-logo img {
  height: 48px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  color: var(--text-white);
  font-weight: 500;
  white-space: nowrap;
}

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

.header-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.header-contact a,
.header-contact span {
  color: var(--text-white);
  white-space: nowrap;
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--border);
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
}

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

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-black);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 999;
  border-top: 2px solid var(--border);
}

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

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-menu nav a {
  color: var(--text-white);
  font-size: 1.125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(94, 200, 242, 0.2);
}

.mobile-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.mobile-contact a {
  color: var(--accent);
}

/* Hero banner */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--border);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.55) 0%,
    rgba(10, 22, 40, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem;
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0;
  opacity: 0.95;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
}

/* Strengths — horizontal desktop, double border, shadow */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.strength-card {
  background: var(--bg-black);
  padding: 1.75rem 1.5rem;
  border: 3px double var(--border);
  border-radius: 8px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 4px 12px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    0 6px 16px var(--accent-glow);
}

.strength-card h3 {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 1.15rem;
}

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

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

.service-card {
  background: var(--bg-black);
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 28px var(--accent-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 h3 {
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.service-card p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.95rem;
}

/* Achievements */
.achievements-block {
  background: var(--bg-black);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}

.achievements-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: 6px;
}

.stat-number {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

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

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

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--bg-dark);
  color: var(--text-white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: inherit;
  text-align: center;
}

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

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

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--text-white);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  border: 2px solid var(--success);
  color: var(--success);
  background: rgba(107, 255, 184, 0.08);
}

.form-message.error {
  border: 2px solid var(--error);
  color: var(--error);
  background: rgba(255, 107, 107, 0.08);
}

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

.faq-item {
  border: 2px solid var(--border);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background: var(--bg-black);
  overflow: hidden;
}

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

.faq-question::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  content: "−";
}

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

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

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  opacity: 0.92;
}

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.about-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 2px solid var(--border);
  border-radius: 8px;
  width: 100%;
}

.mission-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.mission-chip {
  padding: 1rem 1.75rem;
  background: var(--bg-black);
  border: 2px solid var(--border);
  border-radius: 50px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Services detail */
.service-detail-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--bg-black);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.service-detail-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--border);
}

.price-tag {
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.service-meta {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-meta li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-meta li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.advantages-list {
  columns: 2;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.advantages-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  break-inside: avoid;
}

.advantages-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.bonus-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-black);
  border: 2px solid var(--border);
  border-radius: 8px;
}

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

.top7-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.top7-grid li {
  padding: 1rem;
  background: var(--bg-black);
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

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

.contact-info-block p {
  margin: 0.5rem 0;
}

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

.map-link {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--bg-black);
  border-top: 3px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.service-card-book {
  margin-top: 1.25rem;
  align-self: flex-start;
}

#order-form {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.footer-order {
  padding: 2.5rem 1.25rem 2rem;
  border-bottom: 1px solid rgba(94, 200, 242, 0.25);
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-order .form-section {
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-white);
  white-space: nowrap;
}

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

.footer-contact p {
  margin: 0.35rem 0;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.footer-legal {
  border-top: 1px solid rgba(94, 200, 242, 0.25);
  padding-top: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

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

.footer-meta {
  opacity: 0.85;
  line-height: 1.6;
}

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

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

.legal-page h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

.legal-page p {
  margin: 0 0 1rem;
  text-align: justify;
}

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

.content-block {
  margin-bottom: 2rem;
}

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

/* Utilities */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

  .header-nav {
    display: none;
  }

  .header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
  }

  .header-logo img {
    height: 44px;
    width: auto;
    max-width: 120px;
  }

  .header-inner {
    justify-content: flex-start;
  }

  .burger {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .achievements-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .advantages-list {
    columns: 1;
  }

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

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

  .achievements-stats {
    grid-template-columns: 1fr;
  }
}
