/* Main Stylesheet - Radiantjam Home Designs */

/* Base Styles */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #e5e7eb;
  --accent-color: #f59e0b;
  --text-color: #1f2937;
  --light-text: #f9fafb;
  --border-radius: 5px;
  --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;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1f2937;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: #2563eb;
}

/* Layout */
section {
  padding: 4rem 0;
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  margin-left: 1rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-color);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin-right: 1.5rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  display: inline-block;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  height: 2px;
  background-color: var(--primary-color);
}

.nav-buttons {
  display: flex;
  align-items: center;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  line-height: 1.2;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

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

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #1e40af;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.btn-accent:hover {
  background-color: #d97706;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  max-width: 600px;
}

/* Заголовок героя с подложкой */
.hero-title {
  font-size: 3.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--accent-color);
}

/* Описание в герое с подложкой */
.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-buttons .btn {
  font-weight: 700;
  transform: translateZ(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Page Hero (Internal Pages) */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  width: 100%;
}

/* Заголовок с подложкой на внутренних страницах */
.page-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--accent-color);
}

/* Описание с подложкой на внутренних страницах */
.page-hero-content p {
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Page Title (for pages without hero) */
.page-title {
  padding: 4rem 0 2rem;
  background-color: #f9fafb;
  text-align: center;
}

.page-title h1 {
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  color: #6b7280;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: #6b7280;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

/* Features Section */
.features {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-description {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #6b7280;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  height: 4rem;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.feature-card p {
  text-align: center;
  color: #4b5563;
  flex-grow: 1;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
  background-color: white;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 500;
}

/* Services Preview Section */
.services-preview {
  padding: 5rem 0;
}

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

.service-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: white;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* Plans Preview Section */
.plans-preview {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.plan-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background-color: white;
  transition: var(--transition);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.plan-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.plan-content {
  padding: 1.5rem;
}

.plan-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-code {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.plan-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plan-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #4b5563;
}

.plan-meta-icon {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.plan-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plan-favorite {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #6b7280;
  transition: var(--transition);
}

.plan-favorite:hover {
  background-color: #fee2e2;
  color: #ef4444;
  transform: scale(1.1);
}

.plan-favorite.active {
  background-color: #fee2e2;
  color: #ef4444;
}

/* Plan Categories Section */
.plan-categories {
  padding: 5rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.category-card {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
}

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

.category-count {
  font-size: 0.875rem;
  opacity: 0.9;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

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

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  padding-top: 1rem;
  color: #4b5563;
}

.testimonial-content::before {
  content: '\201C';
  font-size: 3rem;
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  color: #e5e7eb;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
  border: 3px solid #f3f4f6;
}

.testimonial-author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author-role,
.testimonial-author-location {
  color: #6b7280;
  font-size: 0.875rem;
}

.testimonial-date {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.testimonial-project-type {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
  color: #4b5563;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Calculator Preview Section */
.calculator-preview {
  padding: 5rem 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cta-content {
  display: flex;
  flex-direction: column;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.cta-features li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cta-features li i {
  color: #10b981;
  margin-right: 0.75rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.cta-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.cta-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta .btn {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  font-weight: 700;
}

.cta .btn-accent {
  border-color: white;
}

.cta .btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #f3f4f6;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #374151;
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer-social-link:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #d1d5db;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  margin-right: 0.75rem;
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.footer-bottom-links a {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f9fafb;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 50;
  border-top: 1px solid #e5e7eb;
}

.cookie-content {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 280px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Policy Content */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.last-updated {
  margin-bottom: 2rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.policy-section h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.cookie-settings-controls {
  background-color: #f9fafb;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.cookie-setting-item {
  margin-bottom: 1.5rem;
}

.cookie-setting-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-setting-header h4 {
  margin-bottom: 0;
  margin-left: 1rem;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

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

/* Contact Page */
.contact-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  height: 100%;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-icon {
  background-color: #f3f4f6;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

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

.toggle-content {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.toggle-content h3 {
  margin: 0;
  font-size: 1.25rem;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.active {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.collapsible-content.active {
  max-height: 1000px;
}

/* About Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.team-bio {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.team-contact {
  display: flex;
  gap: 0.75rem;
}

.team-email, .team-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #f3f4f6;
  border-radius: 50%;
  color: #4b5563;
  transition: var(--transition);
}

.team-email:hover, .team-social:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.team-cta {
  text-align: center;
}

/* Process Section */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-content {
  padding-bottom: 2rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.process-step:last-child .step-content {
  padding-bottom: 0;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 2px;
  background-color: #e5e7eb;
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

.process-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Awards Section */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.award-image {
  height: 120px;
  margin-bottom: 1.5rem;
}

.award-content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.award-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Featured Projects */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.featured-project:last-child {
  margin-bottom: 0;
}

.featured-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.featured-content h3 {
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

.featured-project.reverse .featured-image {
  order: 2;
}

.featured-project.reverse .featured-content {
  order: 1;
}

/* Portfolio Section */
.portfolio-section {
  padding: 5rem 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.portfolio-filter {
  padding: 0.5rem 1rem;
  background-color: #f3f4f6;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.portfolio-filter.active {
  background-color: var(--primary-color);
  color: white;
}

.portfolio-filter:hover:not(.active) {
  background-color: #e5e7eb;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 300px;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 1.5rem;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-location {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.portfolio-link {
  display: inline-block;
  color: white;
  background-color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.portfolio-link:hover {
  background-color: #d97706;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.portfolio-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
}

.pagination-item.active,
.pagination-item:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Pricing Tables */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-header {
  background-color: #f9fafb;
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 1.5rem;
  background-color: var(--accent-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pricing-header h3 {
  margin-bottom: 0;
}

.pricing-body {
  padding: 1.5rem;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-note {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
  margin-top: 1rem;
}

.pricing-footer {
  padding: 1.5rem;
  text-align: center;
  background-color: #f9fafb;
}

.pricing-footer .btn {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Plan Search and Filter */
.plan-search {
  padding: 3rem 0;
  background-color: white;
}

.search-filters {
  background-color: #f9fafb;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.filter-form {
  display: flex;
  flex-direction: column;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.filter-group {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.filter-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Error Pages */
.error-container {
  text-align: center;
  padding: 8rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.error-icon {
  font-size: 4rem;
  color: #e5e7eb;
  margin-bottom: 2rem;
}

.error-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.redirect-message {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1280px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-company {
    grid-column: span 3;
    margin-bottom: 2rem;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-grid,
  .cta-grid,
  .featured-project {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-project .featured-image,
  .featured-project .featured-content,
  .featured-project.reverse .featured-image,
  .featured-project.reverse .featured-content {
    order: unset;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 30;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .nav-menu li {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.75rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .plan-actions {
    flex-direction: column;
  }
  
  .plan-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-company {
    grid-column: unset;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .portfolio-filters {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 1rem;
  }
  
  .error-actions {
    flex-direction: column;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .plan-meta {
    grid-template-columns: 1fr;
  }

  /* Улучшение видимости заголовков и описаний на мобильных устройствах */
  .hero-title,
  .page-hero-content h1 {
    font-size: 1.75rem;
    padding: 0.5rem 0.75rem;
  }
  
  .hero-description,
  .page-hero-content p {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .cta,
  .nav-buttons,
  .plan-actions,
  .portfolio-filters,
  .portfolio-pagination {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
}