/* All styles are optimized, comments omitted for cleanliness */
:root {
  --primary: #f39c12;
  --primary-hover: #e67e22;
  --dark-accent: #2e3e50;
  --bg-deep: #1e2836;
  --bg-light: #f7f9fb;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --text-muted: #627284;
  --white: #ffffff;
  --font-base: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-base);
  color: var(--text-dark);
  background-color: var(--white);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark-accent);
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px auto;
  color: var(--text-muted);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-accent);
}

.nav-desktop {
  display: flex;
  gap: 32px;
}

.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.cta-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.header-btn {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--dark-accent);
  transition: var(--transition);
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.burger-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 10px 15px rgba(0,0,0,0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-150%);
  transition: var(--transition);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding-top: 80px;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 40, 54, 0.85);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 24px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
}

.services-section {
  padding: 100px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background-color: var(--white);
  border: 1px solid #eef2f6;
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.service-icon {
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--dark-accent);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.card-btn:hover {
  background-color: var(--primary-hover);
}

.about-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 24px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.numbers-section {
  background-color: var(--bg-deep);
  color: var(--white);
  padding: 80px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.number-box .num-value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.number-box .num-label {
  font-size: 1rem;
  opacity: 0.85;
}

.how-section {
  padding: 100px 0;
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  position: relative;
  padding: 40px 24px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: var(--transition);
}

.step-card:hover {
  background: #f1f4f8;
}

.step-num {
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(243, 156, 18, 0.15);
  position: absolute;
  top: 10px;
  right: 20px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark-accent);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-banner-section {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-banner-section h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.cta-banner-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px auto;
  opacity: 0.9;
}

.text-cta-btn {
  background-color: var(--bg-deep);
}

.text-cta-btn:hover {
  background-color: #1a232f;
}

.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid #eef2f6;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-user h4 {
  font-size: 1rem;
  color: var(--dark-accent);
}

.testimonial-user span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-section {
  padding: 100px 0;
  background-color: var(--white);
}

.faq-container {
  max-width: 800px;
  margin: 48px auto 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eef2f6;
  padding: 16px 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-accent);
  padding: 10px 0;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.faq-content p {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-content {
  max-height: 200px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.contacts-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.contacts-wrapper {
  max-width: 700px;
  margin: 48px auto;
}

.form-block {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.03);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-accent);
  margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dce4ec;
  border-radius: 4px;
  font-family: var(--font-base);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

.error-msg {
  font-size: 0.8rem;
  color: #e74c3c;
  position: absolute;
  bottom: -20px;
  left: 0;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #e74c3c;
}

.form-btn {
  width: 100%;
  padding: 14px;
}

.success-alert-box {
  margin-top: 20px;
  padding: 15px;
  background-color: #2ecc71;
  color: var(--white);
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

.map-wrapper {
  margin-top: 48px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gmap {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.legal-content-section {
  padding: 140px 0 80px 0;
  background-color: var(--white);
}

.legal-content-section h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--dark-accent);
}

.legal-content-section h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--dark-accent);
}

.legal-content-section p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.footer {
  background-color: var(--bg-deep);
  color: var(--white);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact-info {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
}

.footer-contact-info span {
  font-weight: 600;
}

.footer-contact-info a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-deep);
  color: var(--white);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
  z-index: 2000;
  display: none;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-container p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.5;
}

.cookie-container a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.cookie-accept-btn:hover {
  background-color: var(--primary-hover);
}

.cookie-decline-btn {
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}

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

@media(max-width: 991px) {
  .nav-desktop {
    display: none;
  }
  .header-btn {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
}