/* PERM LINE Design System - Pure CSS */

:root {
  /* PERM LINE Design Tokens - Sunset Theme */
  --c-bg: #0B1D39;
  --c-surface: #1F3A60;
  --c-surface-2: #F4F6FA;
  --c-text: #FFFFFF;
  --c-text-dark: #1A2438;
  --c-accent: #FDB64E;
  --c-warm: #ED7A66;
  --c-violet: #6C4CA5;
  --c-line: rgba(255,255,255,.15);
  
  /* Gradients */
  --grad-dusk: linear-gradient(180deg, #0B1D39 0%, #1F3A60 55%, #6C4CA5 100%);
  --grad-horizon: linear-gradient(135deg, #6C4CA5 0%, #ED7A66 40%, #FDB64E 100%);
  
  /* Shadows */
  --shadow-soft: 0px 12px 32px rgba(0, 0, 0, 0.18);
  --shadow-warm: 0px 24px 48px rgba(253, 182, 78, 0.24);
  
  /* Form elements */
  --border-color: rgba(203, 206, 212, 0.5);
  --input-border: rgba(203, 206, 212, 0.3);
  --input-background: rgba(255, 255, 255, 0.8);
  
  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 5rem 0;
  --border-radius: 0.75rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text-dark);
  background-color: var(--c-surface-2);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-weight: 800;
}

button, label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.5;
}
button.TINKOFF_SIZE_M {
    margin: 0 8px 8px 0;
    width: 45%;
}
input, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-gray {
  background-color: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}

.section-header p {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.btn-primary {
  background-color: var(--c-accent);
  color: var(--c-text-dark);
  box-shadow: var(--shadow-warm);
}

.btn-primary:hover {
  background-color: #e59d3a;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.btn-outline-sm {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-outline-sm:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}



.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--c-text-dark);
}

input, textarea, select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: var(--border-radius);
  background-color: var(--input-background);
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(253, 182, 78, 0.1);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.125rem;
}

.form-checkbox label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.form-checkbox label a {
  color: var(--c-accent);
  text-decoration: none;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
}

.form-submit {
  text-align: center;
}

/* Topbar */
.topbar {
  background-color: #1e293b;
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.topbar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .topbar-content {
    flex-direction: row;
  }
}

.topbar-info {
  text-align: center;
}

@media (min-width: 640px) {
  .topbar-info {
    text-align: left;
  }
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: #fb923c;
}

.contact-item i {
  width: 1rem;
  height: 1rem;
}

/* Navigation */
.navigation {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navigation.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(27, 61, 96, 0.9);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
  height: 48px;
  width: 180px;
}

.nav-logo {
  height: 48px;
  width: auto;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.3s ease;
}

/* По умолчанию: тёмный логотип виден, светлый скрыт */
.nav-logo-dark {
  opacity: 1;
}

.nav-logo-light {
  opacity: 0;
}

/* При прокрутке: светлый логотип виден, тёмный скрыт */
.navigation.scrolled .nav-logo-dark {
  opacity: 0;
}

.navigation.scrolled .nav-logo-light {
  opacity: 1;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  background: none;
  border: none;
  color: var(--c-text-dark);
  cursor: pointer;
  transition: color 0.2s;
  font-size: 1rem;
}

.navigation.scrolled .nav-link {
  color: white;
}

.nav-link:hover {
  color: var(--c-accent);
}

.navigation.scrolled .nav-link:hover {
  color: #fb923c;
}

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

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn button {
  background: none;
  border: none;
  color: var(--c-text-dark);
  cursor: pointer;
  transition: color 0.2s;
}

.navigation.scrolled .mobile-menu-btn button {
  color: white;
}

.mobile-menu-btn button:hover {
  color: var(--c-accent);
}

.mobile-menu {
  display: none;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background-color: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  flex-direction: column;
  gap: 0.25rem;
}

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

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  color: white;
  background: none;
  border: none;
  border-radius: calc(var(--border-radius) - 4px);
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  color: #fb923c;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-dusk);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
}



.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 64rem;
}

.hero-title {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-features {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .hero-features {
    flex-direction: row;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--c-accent);
  border-radius: 50%;
}

/* Search Section */
.search-content {
  max-width: 64rem;
  margin: 0 auto;
}

.tourvisor-widget {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.widget-header i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--c-accent);
}

.widget-header h3 {
  font-size: 1.25rem;
  color: var(--c-text-dark);
}

.widget-placeholder {
  background: linear-gradient(to right, #fff7ed, #f3e8ff);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
}

.widget-placeholder p {
  color: #64748b;
  margin-bottom: 0.5rem;
}

.widget-note {
  font-size: 0.875rem;
  color: #94a3b8;
}

.widget-demo {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius);
}

.widget-demo p {
  color: #64748b;
}

.search-form-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.search-form-card h3 {
  font-size: 1.25rem;
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Process Section */
.process-steps {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 4rem;
  height: 4rem;
  background: var(--grad-horizon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-icon i {
  width: 2rem;
  height: 2rem;
  color: white;
}

.step-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background-color: var(--c-accent);
  color: var(--c-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}

.process-step p {
  color: #64748b;
  line-height: 1.6;
}

/* Payment Section */
.payment-methods {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .payment-methods {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payment-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
}

.payment-card-highlight {
  background: linear-gradient(135deg, #fff7ed, #f3e8ff);
  border: 2px solid var(--c-accent);
}

/* Hide legacy placeholder button inside highlight card */
.payment-card-highlight > button.btn {
  display: none;
}

.payment-icon {
  width: 4rem;
  height: 4rem;
  background: var(--grad-horizon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.payment-icon i {
  width: 2rem;
  height: 2rem;
  color: white;
}

.payment-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}

.payment-card p {
  color: #64748b;
  margin-bottom: 1rem;
}

.tinkoff-note {
  font-weight: 600;
  color: var(--c-accent);
}

.payment-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.payment-card li {
  padding: 0.25rem 0;
  color: #64748b;
  position: relative;
  padding-left: 1.5rem;
}

.payment-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: bold;
}

/* Destinations Section */
.destinations-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.destination-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-5px);
}

.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
}

.destination-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.destination-content p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.destination-price {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--c-accent);
}

/* Deals Section removed: not used on main page */

/* Documents Section */
.docs-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doc-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
}

.doc-icon {
  width: 4rem;
  height: 4rem;
  background: var(--grad-horizon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.doc-icon i {
  width: 2rem;
  height: 2rem;
  color: white;
}

.doc-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--c-text-dark);
}

.doc-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.doc-link {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.doc-link:hover {
  text-decoration: underline;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
}

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

.review-info h4 {
  color: var(--c-text-dark);
  margin-bottom: 0.25rem;
}

.review-rating {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: var(--c-accent);
  font-size: 1rem;
}

.review-text {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-trip {
  font-size: 0.875rem;
  color: var(--c-accent);
  font-weight: 600;
}

/* FAQ Section */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-question h3 {
  font-size: 1.125rem;
  color: var(--c-text-dark);
  margin: 0;
}

.faq-question i {
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  transition: transform 0.2s;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem; /* bottom padding animates in when open */
  color: #64748b;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding-bottom 0.25s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px; /* large enough for typical answers */
  opacity: 1;
  padding: 0 1.5rem 1.5rem;
}

/* Contacts Section */
.contacts-content {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contacts-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-icon {
  background-color: #fed7aa;
}

.phone-icon i {
  color: #ea580c;
}

.messenger-icon {
  background-color: #ddd6fe;
}

.messenger-icon i {
  color: #7c3aed;
}

.email-icon {
  background-color: #fce7f3;
}

.email-icon i {
  color: #db2777;
}

.schedule-icon {
  background-color: #dcfce7;
}

.schedule-icon i {
  color: #16a34a;
}

.contact-details h4 {
  color: var(--c-text-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-details a {
  display: block;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

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

.weekend {
  font-size: 0.875rem;
  color: #94a3b8;
}

.chat-widget {
  background: linear-gradient(to right, #fed7aa, #ddd6fe);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #fed7aa;
}

.chat-widget h4 {
  color: var(--c-text-dark);
  margin-bottom: 0.5rem;
}

.chat-widget p {
  color: #64748b;
  margin-bottom: 0.5rem;
}

.contact-form-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.contact-form-card h3 {
  font-size: 1.25rem;
  color: var(--c-text-dark);
  margin-bottom: 1.5rem;
}

/* Fixes and overrides */
/* Ensure bullet marker in payment list is a dot, not '?' */
.payment-card li::before {
  content: '•';
}

/* Footer */
.footer {
  background-color: var(--c-bg);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: var(--c-accent);
  margin-bottom: 1rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--c-accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--c-accent);
}

.footer-social i {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--c-accent);
}

.footer-developer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-developer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-developer a:hover {
  color: var(--c-accent);
}

/* Floating Action Bar */
.floating-action-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.floating-action-bar.visible {
  display: flex;
}

.fab-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.fab-btn:hover {
  transform: scale(1.1);
}

.fab-phone {
  background-color: #22c55e;
  color: white;
}

.fab-message {
  background-color: var(--c-accent);
  color: var(--c-text-dark);
}

.fab-up {
  background-color: var(--c-violet);
  color: white;
}

.fab-btn i {
  width: 1.5rem;
  height: 1.5rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-soft);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  margin-bottom: 1rem;
}

.modal-header h3 {
  color: var(--c-text-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: #f1f5f9;
}

.modal-close i {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-form {
  padding: 0 1.5rem 1.5rem;
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: #22c55e;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

/* Form status messages */
.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
}

.form-status.success {
  background-color: #ecfdf5; /* emerald-50 */
  color: #065f46; /* emerald-800 */
  border: 1px solid #a7f3d0; /* emerald-200 */
}

.form-status.error {
  background-color: #fef2f2; /* red-50 */
  color: #991b1b; /* red-800 */
  border: 1px solid #fecaca; /* red-200 */
}

.toast.show {
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.toast-message {
  font-weight: 500;
}

/* Utility classes removed: not used on main page */

/* Responsive utilities */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-header h2 {
    font-size: 1.875rem;
  }
  
  /* animated-plane override removed */
  
  .topbar-contacts {
    gap: 0.5rem;
    font-size: 0.75rem;
  }
  
  .contact-item {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}
