@tailwind base;
@tailwind components;
@tailwind utilities;


[class*="text-"] strong,
[class*="text-"] b,
[style*="color"] strong,
[style*="color"] b,
.text-white strong, .text-white b,
.text-light strong, .text-light b {
  color: inherit;
}

:root {
  --primary-blue: #1e40af;
  --primary-orange: #f97316;
  --secondary-orange: #fb923c;
  --accent-yellow: #eab308;
  --dark-navy: #0f172a;
  --light-gray: #f8fafc;
  --medium-gray: #64748b;
  --dark-gray: #1e293b;
}


body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}


.btn-primary {
  background-color: #f97316;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3), 0 2px 4px -1px rgba(249, 115, 22, 0.2);
  background: linear-gradient(135deg, var(--primary-orange) 0%, #f56565 100%);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #f56565 100%);
  background-color: #f56565;
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.4), 0 4px 6px -2px rgba(249, 115, 22, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1a202c;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  border: 2px solid #64748b;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(100, 116, 139, 0.1), 0 2px 4px -1px rgba(100, 116, 139, 0.06);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--primary-orange);
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.15), 0 4px 6px -2px rgba(249, 115, 22, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary:active {
  transform: translateY(1px);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.btn-secondary-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
}

.btn-loading::after {
  content: '';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-group .btn-primary,
.btn-group .btn-secondary {
  flex: 1 1 0%;
  min-width: max-content;
}

.cta-section {
  background: linear-gradient(135deg, #f97316 0%, #f56565 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
  opacity: 0.1;
}

.cta-button-primary {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.cta-button-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(249, 115, 22, 0.1);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button-primary:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  transform: scale(1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.cta-button-secondary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button-secondary:hover::before {
  width: 300px;
  height: 300px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.service-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.testimonial-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  padding: 1.5rem;
  border: 1px solid #f1f5f9;
}

.testimonial-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.team-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.team-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  outline: none;
}

.input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  border: none;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a202c;
}

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

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #1f2937;
  color: white;
  border-top: 1px solid #cbd5e1;
  padding: 1rem;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
}
.cookie-consent-banner.hidden {
  display: none;
}


@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}


.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Дополнительные стили для our-mobile-story.html */
.hover\:shadow-xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.transition-shadow {
  transition: box-shadow 0.3s ease-in-out;
}

.rounded-full {
  border-radius: 9999px;
}

.w-24 {
  width: 6rem;
}

.h-24 {
  height: 6rem;
}

.object-cover {
  object-fit: cover;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-orange-500 {
  color: #f97316;
}

.text-yellow-500 {
  color: #eab308;
}

.text-green-500 {
  color: #22c55e;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.md\:text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-orange-500 {
  border-color: #f97316;
}

.p-6 {
  padding: 1.5rem;
}

.border-l {
  border-left-width: 1px;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.border-b {
  border-bottom-width: 1px;
}

.text-red-500 {
  color: #ef4444;
}

.text-white {
  color: #ffffff;
}

.underline {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bg-orange-500 {
  background-color: #f97316;
}

.hover\:bg-orange-600:hover {
  background-color: #f55f49;
}

.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.hover\:text-orange-500:hover {
   color: #f97316;
}

.faq-answer {
    transition: all 0.3s ease-in-out;
}

.faq-question {
    cursor: pointer;
    user-select: none;
}

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

.faq-answer {
    animation: fadeIn 0.3s ease-in-out;
}