/* Bauhaus Design System */
:root {
  /* Primary Bauhaus Colors */
  --color-red: #E53935;
  --color-yellow: #FDD835;
  --color-blue: #1E88E5;
  --color-black: #1A1A1A;
  --color-white: #FAFAFA;
  --color-cream: #F5F5F0;
  
  /* Functional Colors */
  --color-background: var(--color-cream);
  --color-foreground: var(--color-black);
  --color-foreground-muted: #4A4A4A;
  --color-border: #2A2A2A;
  --color-card: var(--color-white);
  
  /* Typography */
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  
  /* Shadows - minimal for Bauhaus */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 4px 4px 0 var(--color-black);
  --shadow-lg: 6px 6px 0 var(--color-black);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hide {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-foreground);
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 3px solid var(--color-black);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 2px solid var(--color-black);
}

.logo-text {
  color: var(--color-black);
}

.logo-accent {
  color: var(--color-red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-red);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-cta {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border: 3px solid var(--color-black);
  box-shadow: var(--shadow-md);
  transition: all 0.15s ease;
}

.nav-link-cta::after {
  display: none;
}

.nav-link-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
  color: var(--color-white);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-black);
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  border: 3px solid var(--color-black);
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
  background: var(--color-yellow);
}

.btn-full {
  width: 100%;
}

/* Geometric Decorations */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-square {
  position: absolute;
  pointer-events: none;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Hero Section */
.hero {
  padding: 12rem 0 6rem;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 120px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: var(--color-yellow);
  border-radius: 50%;
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--color-blue);
  opacity: 0.4;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-black);
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--color-red);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-foreground-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-logos {
  margin-top: 6rem;
  width: 100%;
}

.hero-logos-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--color-foreground-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.hero-logos-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.logo-item {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-black);
  padding: 1rem 1.5rem;
  background: var(--color-cream);
  border: 2px solid var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
  background: var(--color-yellow);
  cursor: crosshair;
}

.logo-item:hover:nth-child(2n){
  background: var(--color-blue);
  color: white;
}

/* Sections */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-alt {
  background: var(--color-white);
}

.section-header {
  text-align: left;
  max-width: 700px;
  margin: 0 0 5rem 0;
}

.section-badge {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.375rem 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.section-badge-blue {
  background: var(--color-blue);
}

.section-badge-yellow {
  background: var(--color-yellow);
  color: var(--color-black);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  text-wrap: balance;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-foreground-muted);
  line-height: 1.7;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  position: relative;
}

.profile-frame {
  position: relative;
  border: 4px solid var(--color-black);
  box-shadow: var(--shadow-lg);
  background: var(--color-white);
  padding: 8px;
}

.profile-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--color-red);
  z-index: -1;
}

.profile-frame::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60px;
  height: 60px;
  background: var(--color-blue);
  z-index: -1;
}

.profile-img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
}

.about-content .section-badge {
  display: inline-block;
}

.about-text {
  font-size: 1.125rem;
  color: var(--color-foreground-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--color-cream);
  border: 3px solid var(--color-black);
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
    min-width: 160px;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--color-red);
}

.stat-card:nth-child(2)::before {
  background: var(--color-blue);
}

.stat-card:nth-child(3)::before {
  background: var(--color-yellow);
}

.stat-card:nth-child(4)::before {
  background: var(--color-black);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;

}

.stat-number span.sub {
  font-size: 1.5rem;
  margin-right: 5px;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--color-foreground-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border: 3px solid var(--color-black);
  padding: 2.5rem 2rem;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--shadow-md);
}

.service-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
}

.service-card:nth-child(1) .service-icon { background: var(--color-red); }
.service-card:nth-child(2) .service-icon { background: var(--color-blue); }
.service-card:nth-child(3) .service-icon { background: var(--color-yellow); color: var(--color-black); }
.service-card:nth-child(4) .service-icon { background: var(--color-black); }
.service-card:nth-child(5) .service-icon { background: var(--color-red); }
.service-card:nth-child(6) .service-icon { background: var(--color-blue); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.service-description {
  font-size: 1rem;
  color: var(--color-foreground-muted);
  line-height: 1.7;
}

/* Approach Section */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.approach-card {
  background: var(--color-white);
  border: 3px solid var(--color-black);
  border-right: none;
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.approach-card:last-child {
  border-right: 3px solid var(--color-black);
}

.approach-card:nth-child(1) { background: var(--color-red); color: var(--color-white); }
.approach-card:nth-child(2) { background: var(--color-yellow); }
.approach-card:nth-child(3) { background: var(--color-blue); color: var(--color-white); }
.approach-card:nth-child(4) { background: var(--color-white); }
.approach-card:nth-child(5) { background: var(--color-black); color: var(--color-white); }

.approach-number {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: 0.3;
  letter-spacing: -0.02em;
}

.approach-card:nth-child(1) .approach-number,
.approach-card:nth-child(3) .approach-number,
.approach-card:nth-child(5) .approach-number {
  color: var(--color-white);
}

.approach-card:nth-child(2) .approach-number {
  color: var(--color-black);
}

.approach-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.approach-card:nth-child(1) .approach-title,
.approach-card:nth-child(3) .approach-title,
.approach-card:nth-child(5) .approach-title {
  color: var(--color-white);
}

.approach-card:nth-child(2) .approach-title,
.approach-card:nth-child(4) .approach-title {
  color: var(--color-black);
}

.approach-description {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.85;
}

.approach-card:nth-child(2) .approach-description,
.approach-card:nth-child(4) .approach-description {
  color: var(--color-foreground-muted);
}

/* Testimonials Section */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
}

.section-header-content {
  max-width: 700px;
}

.carousel-nav {
  display: flex;
  gap: 1rem;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border: 3px solid var(--color-black);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--color-black);
}

.carousel-btn:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.carousel-btn-prev:hover {
  background: var(--color-yellow);
}

.carousel-btn-next:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.carousel-btn-next:hover svg {
  stroke: var(--color-white);
}

.testimonials-carousel-wrapper {
  overflow: hidden;
  padding: 0 2rem 2rem;
  margin-top: -2rem;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2rem 0;
  cursor: grab;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.testimonial-card {
  background: var(--color-white);
  border: 3px solid var(--color-black);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-md);
  min-width: 400px;
  max-width: 400px;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--color-red);
}

.testimonial-card:nth-child(2)::before {
  background: var(--color-blue);
}

.testimonial-card:nth-child(3)::before {
  background: var(--color-yellow);
}

.testimonial-card:nth-child(4)::before {
  background: var(--color-black);
}

.testimonial-card:nth-child(5)::before {
  background: var(--color-red);
}

.testimonial-content {
  flex: 1;
}

.testimonial-quote {
  color: var(--color-black);
  opacity: 0.15;
  margin-bottom: 1rem;
  width: 48px;
  height: 48px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--color-foreground);
  line-height: 1.8;
  font-style: normal;
}

.testimonial-author {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-black);
}

.testimonial-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-black);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--color-foreground-muted);
  margin-top: 0.25rem;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-description {
  font-size: 1.125rem;
  color: var(--color-foreground-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--color-red);
}

.contact-link svg {
  color: var(--color-red);
}

/* Form */
.contact-form {
  background: var(--color-white);
  border: 3px solid var(--color-black);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-black);
  font-size: 1rem;
  font-family: var(--font-sans);
  background: var(--color-cream);
  color: var(--color-foreground);
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  background: var(--color-white);
  box-shadow: inset 4px 4px 0 var(--color-yellow);
}

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

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--color-red) 0%, var(--color-red) 33%, var(--color-yellow) 33%, var(--color-yellow) 66%, var(--color-blue) 66%, var(--color-blue) 100%);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2.5rem;
}

.footer .logo-text {
  color: var(--color-white);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-white);
  background: transparent;
  border: 2px solid var(--color-white);
  transition: all 0.2s ease;
}

.footer-social:hover {
  background: var(--color-red);
  border-color: var(--color-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.footer-copyright {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .approach-card {
    border-right: 3px solid var(--color-black);
    border-bottom: none;
  }
  
  .approach-card:nth-child(3) {
    border-right: 3px solid var(--color-black);
  }
  
  .approach-card:nth-child(4),
  .approach-card:nth-child(5) {
    border-bottom: 3px solid var(--color-black);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 3px solid var(--color-black);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero {
    padding: 10rem 0 4rem;
  }
  
  .hero::before {
    width: 200px;
    height: 200px;
    right: -80px;
    top: 100px;
  }
  
  .hero::after {
    width: 120px;
    height: 120px;
  }
  
  .hero-logos-grid {
    gap: 1rem;
  }
  
  .logo-item {
    font-size: 0.75rem;
    padding: 0.75rem 1rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .profile-frame::before {
    width: 60px;
    height: 60px;
    top: -12px;
    left: -12px;
  }
  
  .profile-frame::after {
    width: 40px;
    height: 40px;
    bottom: -12px;
    right: -12px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .testimonial-card {
    min-width: 320px;
    max-width: 320px;
  }
  
  .testimonials-carousel-wrapper {
    padding: 0 1.5rem 2rem;
  }
  
  .approach-grid {
    grid-template-columns: 1fr;
  }
  
  .approach-card {
    border: 3px solid var(--color-black);
    border-bottom: none;
  }
  
  .approach-card:last-child {
    border-bottom: 3px solid var(--color-black);
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}
