@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #E63946;
  --secondary: #1D3557;
  --accent: #F77F00;
  --dark: #2B2D42;
  --light: #F8F9FA;
  --success: #06A77D;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --shadow: rgba(29, 53, 87, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 1100px;
}

header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 24px;
  color: var(--secondary);
  flex-shrink: 0;
}

.logo-link svg {
  width: 48px;
  height: 48px;
}

.logo-link:hover {
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  background: var(--light);
  color: var(--secondary);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--light);
  border-radius: 50px;
  border: 2px solid var(--border);
}

.lang-btn {
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}

.lang-divider {
  color: var(--border);
  font-weight: 300;
}

.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 24px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--secondary);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 4px solid var(--light);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--secondary);
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 3px solid var(--primary);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-wrapper {
  position: relative;
  height: 600px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid var(--secondary);
  box-shadow: 0 20px 60px var(--shadow);
}

.hero-accent-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.3);
  border: 3px solid var(--white);
  max-width: 280px;
  z-index: 3;
}

.hero-accent-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-accent-card p {
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  border: 3px solid var(--primary);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.cta-button:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 53, 87, 0.4);
}

.cta-button i {
  font-size: 20px;
}

.section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding-bottom: 32px;
  border-bottom: 4px solid var(--primary);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 20px;
  color: var(--dark);
  line-height: 1.6;
}

.bg-light {
  background: var(--light);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}

.bg-dark {
  background: var(--secondary);
  color: var(--white);
  border-top: 4px solid var(--primary);
}

.bg-dark .section-title {
  color: var(--white);
}

.bg-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  gap: 24px;
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  border: 3px solid var(--border);
  transition: all 0.3s ease;
}

.bg-dark .feature-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.feature-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.bg-dark .feature-content h3 {
  color: var(--white);
}

.feature-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  margin: 0;
}

.bg-dark .feature-content p {
  color: rgba(255, 255, 255, 0.85);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.solution-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--border);
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--shadow);
}

.solution-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary);
}

.solution-content {
  padding: 32px;
}

.solution-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 16px;
}

.solution-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 24px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.solution-link:hover {
  gap: 12px;
  color: var(--accent);
}

.contact-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  border: 3px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
}

.contact-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--white);
  margin: 0 auto 24px;
  border: 4px solid var(--white);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 16px;
  color: var(--dark);
  margin: 0;
  word-wrap: break-word;
}

.contact-card a {
  color: var(--primary);
  font-weight: 500;
}

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

.image-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 4px solid var(--secondary);
  box-shadow: 0 16px 48px var(--shadow);
  transition: all 0.3s ease;
}

.showcase-item:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(29, 53, 87, 0.3);
}

.showcase-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-item:hover img {
  transform: scale(1.05);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.95), transparent);
  padding: 32px;
  color: var(--white);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.showcase-overlay h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.showcase-overlay p {
  font-size: 15px;
  margin: 0;
  opacity: 0.95;
}

.form-section {
  padding: 100px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px;
  border-radius: 12px;
  border: 3px solid var(--border);
  box-shadow: 0 16px 48px var(--shadow);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 10px;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 3px solid var(--border);
  border-radius: 8px;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  color: var(--dark);
  transition: all 0.3s ease;
  background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

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

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.checkbox-group input[type="checkbox"] {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
  margin: 0;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary);
  font-weight: 500;
}

.checkbox-group a:hover {
  color: var(--accent);
}

.submit-button {
  width: 100%;
  padding: 18px 36px;
  background: var(--primary);
  color: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

.submit-button:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(29, 53, 87, 0.4);
}

.map-container {
  margin-top: 60px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--secondary);
  box-shadow: 0 16px 48px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

.thanks-section {
  padding: 120px 0;
  text-align: center;
}

.thanks-content {
  max-width: 700px;
  margin: 0 auto;
}

.thanks-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--success), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--white);
  margin: 0 auto 32px;
  border: 6px solid var(--white);
  box-shadow: 0 12px 40px rgba(6, 167, 125, 0.3);
}

.thanks-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
}

.thanks-content p {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 40px;
  line-height: 1.6;
}

.legal-section {
  padding: 80px 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 60px;
  border-radius: 12px;
  border: 3px solid var(--border);
  box-shadow: 0 12px 40px var(--shadow);
}

.legal-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  padding-bottom: 24px;
  border-bottom: 4px solid var(--primary);
}

.legal-date {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 40px;
  font-weight: 500;
}

.legal-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

.legal-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 20px;
}

.legal-content ul {
  margin: 20px 0 20px 32px;
}

.legal-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 12px;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
  border-top: 4px solid var(--primary);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 28px 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  border-top: 4px solid var(--primary);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.cookie-text a {
  color: var(--accent);
  font-weight: 500;
}

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

.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cookie-accept:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cookie-decline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero h1 {
    font-size: 52px;
  }
  
  .hero-image-wrapper {
    height: 500px;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  nav.active {
    transform: translateX(0);
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .nav-links a {
    width: 100%;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 28px;
  }
  
  .section-title {
    font-size: 38px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-preview {
    grid-template-columns: 1fr;
  }
  
  .image-showcase {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 40px 28px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  
  .header-content {
    padding: 16px 0;
  }
  
  .logo-link {
    font-size: 20px;
  }
  
  .logo-link svg {
    width: 40px;
    height: 40px;
  }
  
  .hero {
    padding: 48px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .hero-image-wrapper {
    height: 400px;
  }
  
  .hero-accent-card {
    position: static;
    margin-top: 24px;
    max-width: 100%;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-subtitle {
    font-size: 18px;
  }
  
  .feature-item {
    flex-direction: column;
    padding: 28px;
  }
  
  .solution-image {
    height: 240px;
  }
  
  .showcase-item img {
    height: 300px;
  }
  
  .form-container {
    padding: 32px 20px;
  }
  
  .legal-content {
    padding: 40px 24px;
  }
  
  .legal-content h1 {
    font-size: 32px;
  }
  
  .thanks-content h1 {
    font-size: 36px;
  }
  
  footer {
    padding: 60px 0 32px;
  }
}