/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-cream: #f5f5f0;
  --color-cream-dark: #e8e8e0;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
}

body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

/* Header Styles */
.header-main {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #374151;
  font-size: 0.813rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-emerald-700);
}

/* Burger Menu */
.burger-line {
  width: 28px;
  height: 3px;
  background-color: #1f2937;
  transition: all 0.3s ease;
  border-radius: 2px;
}

#burgerMenu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

#burgerMenu.active .burger-line:nth-child(2) {
  opacity: 0;
}

#burgerMenu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(17, 24, 39, 0.98);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 40;
  padding-top: 80px;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: white;
  padding: 24px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transition: bottom 0.5s ease;
}

.cookie-popup.show {
  bottom: 20px;
}

.cookie-content {
  color: #374151;
}

.btn-accept {
  background-color: var(--color-emerald-700);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-accept:hover {
  background-color: var(--color-emerald-800);
}

.btn-decline {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-decline:hover {
  background-color: #d1d5db;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background-color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #111827;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background-color: white;
  color: #111827;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #111827;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #111827;
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: #111827;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #111827;
  background-color: #f9fafb;
}

/* Hero Image Grid */
.hero-image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 100px);
  gap: 12px;
  position: relative;
}

.hero-image-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-image-1 {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.hero-image-2 {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
}

.hero-image-3 {
  grid-column: 4 / 7;
  grid-row: 2 / 4;
}

.hero-image-4 {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
}

.hero-curve {
  position: absolute;
  background-color: var(--color-emerald-700);
  border-radius: 50%;
  z-index: 1;
}

.hero-curve-1 {
  width: 180px;
  height: 180px;
  top: 20%;
  right: -10%;
}

.hero-curve-2 {
  width: 140px;
  height: 140px;
  bottom: 10%;
  left: 30%;
}

/* Mission Section */
.mission-section {
  padding: 4rem 0;
  background-color: var(--color-cream);
}

.mission-card {
  background-color: white;
  padding: 3rem;
  border-radius: var(--border-radius-xl);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.mission-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.mission-link {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.938rem;
  transition: color 0.3s ease;
}

.mission-link:hover {
  color: var(--color-emerald-800);
}

/* Achievements Section */
.achievements-section {
  padding: 5rem 0;
  background-color: white;
}

.section-title-underline {
  font-size: 2.5rem;
  font-weight: 300;
  color: #111827;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fbbf24;
}

.achievements-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #6b7280;
  max-width: 600px;
}

.achievement-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 2px solid #f3f4f6;
  transition: all 0.3s ease;
  cursor: pointer;
}

.achievement-card:hover {
  border-color: var(--color-emerald-700);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
  margin-bottom: 1rem;
}

.achievement-number {
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-emerald-700);
  margin-bottom: 0.5rem;
}

.achievement-label {
  font-size: 0.938rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Partners Section */
.partners-section {
  margin-top: 4rem;
  padding: 3rem;
  background-color: #f9fafb;
  border-radius: var(--border-radius-xl);
}

.partners-title {
  text-align: center;
  font-size: 0.938rem;
  color: #6b7280;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 2rem;
}

.partner-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.partner-logo:hover {
  color: var(--color-emerald-700);
}

.explore-link {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.938rem;
  transition: color 0.3s ease;
}

.explore-link:hover {
  color: var(--color-emerald-800);
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--color-cream);
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.flipped {
  background-color: var(--color-emerald-700);
}

.service-card.flipped .service-title,
.service-card.flipped .service-description,
.service-card.flipped .service-link {
  color: white;
}

.service-card.flipped .service-icon svg {
  color: white;
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-description {
  font-size: 0.938rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.service-link {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--color-emerald-800);
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: white;
}

.testimonial-card-green {
  background-color: var(--color-emerald-700);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  min-height: 500px;
}

.testimonial-curve {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
}

.testimonial-content {
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  padding-top: 1.5rem;
}

.author-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-position {
  font-size: 0.938rem;
  opacity: 0.9;
}

.testimonial-photo {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  z-index: 2;
}

.testimonial-card-light {
  background-color: var(--color-cream);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  min-height: 500px;
}

.testimonial-photo-left {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  z-index: 2;
}

.testimonial-content-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.testimonial-quote-dark {
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  color: #111827;
  margin-bottom: 2rem;
}

.testimonial-author-dark {
  border-top: 2px solid #d1d5db;
  padding-top: 1.5rem;
}

.testimonial-curve-right {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
}

.team-member-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.team-member-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-member-card.expanded {
  grid-column: 1 / -1;
}

.team-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-info {
  padding: 2rem;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.team-position {
  font-size: 0.938rem;
  color: var(--color-emerald-700);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  font-size: 0.938rem;
  color: #6b7280;
  line-height: 1.7;
}

/* Cases Section */
.cases-section {
  padding: 5rem 0;
  background-color: var(--color-cream);
}

.view-more-link {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.938rem;
  transition: color 0.3s ease;
}

.view-more-link:hover {
  color: var(--color-emerald-800);
}

.case-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.case-content {
  padding: 2rem;
}

.case-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald-700);
  background-color: var(--color-emerald-50);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.case-excerpt {
  font-size: 0.938rem;
  color: #6b7280;
  line-height: 1.7;
}

/* Contacts Section */
.contacts-section {
  padding: 5rem 0;
  background-color: white;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-top: 1rem;
}

.contact-info-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 2px solid #f3f4f6;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-emerald-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.contact-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
  font-size: 0.938rem;
}

.contact-value {
  color: #6b7280;
  font-size: 0.938rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--color-emerald-700);
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 400px;
  border: 2px solid #f3f4f6;
}

.contact-form-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 2px solid #f3f4f6;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.938rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.938rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-emerald-700);
}

.form-input.error,
.form-textarea.error {
  border-color: #ef4444;
}

.form-textarea {
  resize: none;
}

.form-group-checkbox {
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  accent-color: var(--color-emerald-700);
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.form-link {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: var(--color-emerald-800);
  text-decoration: underline;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--color-emerald-700);
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  background-color: var(--color-emerald-800);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

/* Footer */
.footer-main {
  background-color: #111827;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-emerald-600);
  margin-bottom: 1rem;
}

.footer-description {
  color: #9ca3af;
  font-size: 0.938rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.938rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-emerald-600);
}

.footer-contact {
  list-style: none;
  color: #9ca3af;
  font-size: 0.938rem;
}

.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--color-emerald-600);
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-checkbox {
  display: flex;
  align-items: center;
  color: #9ca3af;
  font-size: 0.875rem;
  cursor: pointer;
}

.footer-checkbox input {
  margin-right: 0.5rem;
  accent-color: var(--color-emerald-700);
}

.footer-checkbox:hover {
  color: var(--color-emerald-600);
}

/* Animations */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .testimonial-card-green,
  .testimonial-card-light {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image-grid {
    grid-template-rows: repeat(4, 80px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title-underline {
    font-size: 2rem;
  }

  .cookie-popup {
    left: 10px;
    right: 10px;
    padding: 16px;
  }

  .achievement-number {
    font-size: 2.5rem;
  }

  .testimonial-quote,
  .testimonial-quote-dark {
    font-size: 1rem;
  }

  .hero-image-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 150px);
  }

  .hero-image-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .hero-image-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .hero-image-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .hero-image-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .hero-curve {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
input:focus,
textarea:focus,
button:focus {
  outline: none;
}

/* Print Styles */
@media print {
  .cookie-popup,
  header,
  footer {
    display: none;
  }
}
