/* ==========================================================================
   DESIGN SYSTEM & CUSTOM STYLING - TOP GALABAU GMBH
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #7DCB3C;            /* Logo Grass Green */
  --primary-hover: #69ae2f;      /* Slightly darker green for hover states */
  --primary-rgb: 125, 203, 60;
  
  /* HSL/Earthy Color Scheme Extensions */
  --primary-deep: #16301A;       /* Deep Forest Green (Dominant for premium feeling) */
  --primary-deep-rgb: 22, 48, 26;
  --accent-gold: #D4AF37;        /* Gold highlight for Meisterbetrieb */
  --accent-gold-hover: #bda22e;
  
  /* Neutrals */
  --neutral-dark: #121613;       /* Rich Charcoal with a hint of dark slate */
  --neutral-dark-rgb: 18, 22, 19;
  --neutral-dark-gray: #1E2420;  /* Secondary dark background */
  --neutral-gray: #5A645D;       /* Subtext and general reading color */
  --neutral-light: #F8F9F7;      /* Warm stone / Off-white page background */
  --neutral-light-gray: #EEF0EC; /* Card borders and subtle divisions */
  --stone-cream: #F1EFEA;        /* Sand / Gravel warm neutral tone */
  --white: #FFFFFF;
  
  /* Typography */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing */
  --section-padding: clamp(80px, 8vw, 120px);
  --container-max: 1240px;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(18, 22, 19, 0.03);
  --shadow-md: 0 10px 30px rgba(18, 22, 19, 0.05);
  --shadow-lg: 0 20px 48px rgba(18, 22, 19, 0.08);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* ~ 17px */
  line-height: 1.6;
  color: var(--neutral-gray);
  background-color: var(--neutral-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--neutral-dark);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

p {
  max-width: 70ch;
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: clamp(1.125rem, 1.3vw, 1.35rem);
  line-height: 1.55;
  color: var(--neutral-gray);
}

.text-gradient {
  background: linear-gradient(135deg, var(--neutral-dark) 30%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background-color: var(--primary);
}

.section-desc {
  font-size: 1.125rem;
  max-width: 620px;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

/* --------------------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

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

@media (max-width: 991px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   5. NAVIGATION / HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 249, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 22, 19, 0.05);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px; /* Uniform height to prevent layout reflow */
}

.logo-wrapper img {
  height: 52px; /* Fixed height to prevent layout thrashing */
  width: auto;
  object-fit: contain;
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.header.scrolled .logo-wrapper img {
  transform: scale(0.85); /* GPU-accelerated scaling, zero reflow cost */
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--neutral-dark);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--neutral-dark);
  transition: var(--transition-fast);
}

.nav-phone svg {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--neutral-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 40px;
    gap: 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.05);
    transform: translateX(100%);
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-actions {
    display: none; /* Relocate call actions into side menu for mobile */
  }
  
  .nav-menu .nav-phone-mobile {
    display: flex;
    margin-top: auto;
    font-size: 1.1rem;
    font-weight: 700;
  }
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 160px;
  padding-bottom: clamp(60px, 8vw, 100px);
  background-color: var(--neutral-light);
  overflow: hidden;
  position: relative;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-deep);
  background-color: var(--primary-tint);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--neutral-gray);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

/* Hero Asymmetrical Images */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-img-main {
  width: 80%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 8px solid var(--neutral-light);
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.hero-badge-trust {
  position: absolute;
  top: 40px;
  right: 10%;
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid var(--primary);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.hero-badge-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}

.hero-badge-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 120px;
  }
  .hero-visual {
    height: 380px;
    margin-top: 40px;
  }
  .hero-img-main {
    width: 85%;
    height: 320px;
  }
  .hero-img-sub {
    width: 48%;
    height: 180px;
  }
}

/* --------------------------------------------------------------------------
   7. TRUST / PARTNER BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  background-color: var(--white);
  padding: 40px 0;
  border-top: 1px solid var(--neutral-light-gray);
  border-bottom: 1px solid var(--neutral-light-gray);
  position: relative;
  z-index: 10;
}

.trust-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-gray);
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-logo-item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--neutral-gray);
  opacity: 0.7;
  filter: grayscale(1);
  transition: var(--transition-fast);
}

.trust-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--neutral-dark);
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--white);
}

/* Interactive Tabs */
.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-light);
  border: 1px solid var(--neutral-light-gray);
  color: var(--neutral-dark);
  transition: var(--transition-fast);
  will-change: transform;
}

.tab-btn.active, .tab-btn:hover {
  background-color: var(--primary-deep);
  color: var(--white);
  border-color: var(--primary-deep);
}

.tab-btn:active {
  transform: scale(0.96); /* Snappy feedback on active press */
}

/* Tab Content */
.services-tab-panel {
  display: none;
}

.services-tab-panel.active {
  display: block;
  animation: premiumEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

@keyframes premiumEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px); /* Jakub's materializing blur entry */
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.services-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.services-img-wrapper {
  position: relative;
}

.services-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.services-img-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(18, 22, 19, 0.85);
  color: var(--white);
  backdrop-filter: blur(4px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.services-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: var(--primary-tint);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item-text p {
  font-size: 0.9rem;
  color: var(--neutral-gray);
  margin-bottom: 0;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-img-wrapper img {
    height: 320px;
  }
  .services-features-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   9. STORY & USP SECTION
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--primary-deep);
  color: var(--white);
  overflow: hidden;
}

.story-section h2, .story-section h3, .story-section .section-desc {
  color: var(--white);
}

.story-desc {
  color: #B4C4B7;
}

.story-visual {
  position: relative;
}

.story-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.story-badge-meister {
  position: absolute;
  bottom: -30px;
  left: 40px;
  background: linear-gradient(135deg, #1C241E 0%, #0E120F 100%);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 20px;
}

.meister-icon-container {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.meister-text-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.meister-text-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  font-weight: 700;
}

/* USP Grid in Story */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 50px;
}

.usp-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px;
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.usp-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.usp-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.usp-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.usp-card p {
  font-size: 0.95rem;
  color: #B4C4B7;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .story-visual img {
    height: 380px;
  }
  .story-badge-meister {
    position: static;
    margin-top: 20px;
    width: 100%;
  }
  .usp-grid {
    grid-template-columns: 1fr;
    margin-top: 50px;
    padding-top: 30px;
  }
}

/* --------------------------------------------------------------------------
   10. PROJECT REFERENCES GALLERY
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--neutral-light);
}

.projects-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--neutral-light-gray);
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-nav {
  display: flex;
  gap: 10px;
}

.filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  color: var(--neutral-gray);
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--white);
  color: var(--neutral-dark);
  box-shadow: var(--shadow-sm);
}

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

.project-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-light-gray);
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card:active {
  transform: translateY(-2px) scale(0.99); /* Gentle active scale */
}

.project-img-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.project-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.project-card:hover .project-img-container img {
  transform: scale(1.08);
}

.project-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--white);
  color: var(--neutral-dark);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--neutral-dark);
}

.project-info p {
  font-size: 0.9rem;
  color: var(--neutral-gray);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .projects-filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   11. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--white);
}

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

.faq-item {
  border-bottom: 1px solid var(--neutral-light-gray);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--neutral-dark);
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-deep);
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  will-change: transform;
}

.faq-question.active .faq-toggle-icon {
  background-color: var(--primary-deep);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-question:active {
  transform: scale(0.995); /* Snap down slightly on click */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1); /* Snappier duration per Emil's speed rule */
}

.faq-answer p {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--neutral-gray);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. CONVERSION / CONTACT FORM
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--neutral-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 2rem;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--white);
  border: 1px solid var(--neutral-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.channel-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-gray);
  margin-bottom: 4px;
}

.channel-details p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 0;
}

/* Interactive Project Configurator Form */
.configurator-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-light-gray);
}

.configurator-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
}

.configurator-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--neutral-light-gray);
  z-index: 1;
  transform: translateY(-50%);
}

.step-indicator {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-gray);
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  padding: 0 10px;
  z-index: 2;
  position: relative;
  transition: var(--transition-smooth);
}

.step-indicator:first-child {
  padding-left: 0;
}

.step-indicator:last-child {
  padding-right: 0;
}

.step-indicator.active {
  color: var(--neutral-dark);
}

.step-indicator.active span {
  background-color: var(--primary-tint);
  color: var(--primary-deep);
  border-color: var(--primary);
}

.step-indicator.completed span {
  background-color: var(--primary);
  color: var(--neutral-dark);
  border-color: var(--primary);
}

.step-indicator span {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--neutral-light-gray);
  border: 2px solid var(--neutral-light-gray);
  color: var(--neutral-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-smooth);
}

/* Form inputs */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 8px;
}

.form-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.select-card {
  border: 1px solid var(--neutral-light-gray);
  background-color: var(--neutral-light);
  border-radius: var(--radius-md);
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.select-card:hover {
  border-color: var(--neutral-gray);
  transform: translateY(-3px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
}

.select-card:active {
  transform: translateY(-1px) scale(0.98); /* Snappy tactile click feedback */
}

.select-card input[type="radio"] {
  display: none;
}

.select-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 5px;
}

.select-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-tint);
  box-shadow: 0 0 0 1px var(--primary);
  transform: translateY(-3px);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-light-gray);
  background-color: var(--neutral-light);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-deep);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 48, 26, 0.06);
}

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

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .form-select-grid {
    grid-template-columns: 1fr;
  }
  .configurator-card {
    padding: 25px;
  }
}

/* Form success message */
.form-success-message {
  display: none;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--neutral-dark);
  color: #B4C4B7;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 0.95rem;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   14. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.btn:active {
  transform: translateY(0) scale(0.97) !important; /* Emil press feedback override */
}

.btn-primary {
  background-color: var(--primary);
  color: var(--neutral-dark);
  box-shadow: 0 4px 14px rgba(125, 203, 60, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 203, 60, 0.3);
}

.btn-secondary {
  background-color: var(--primary-deep);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 48, 26, 0.15);
}

.btn-secondary:hover {
  background-color: #214327;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 48, 26, 0.25);
}

.btn-ghost {
  border: 1px solid var(--neutral-light-gray);
  background-color: var(--white);
  color: var(--neutral-dark);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background-color: var(--neutral-light);
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background-color: #1a201c;
  transform: translateY(-2px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--neutral-dark);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.2);
}

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

/* --------------------------------------------------------------------------
   15. ANIMATIONS & REVEALS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(4px); /* Jakub's materializing reveal */
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   17. HORIZONTAL CONTACT CHANNELS GRID
   -------------------------------------------------------------------------- */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  border-top: 1px solid var(--neutral-light-gray);
  padding-top: 50px;
}

.channel-card-new {
  background-color: var(--white);
  border: 1px solid var(--neutral-light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  will-change: transform, box-shadow;
}

.channel-card-new:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.channel-card-new:active {
  transform: translateY(-1px) scale(0.98); /* Tactile press feedback */
}

.channel-icon-new {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background-color: var(--primary-tint);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.channel-icon-new svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
}

.channel-details-new h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-gray);
  margin-bottom: 4px;
}

.channel-details-new p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-dark);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding-top: 30px;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   18. ACCESSIBILITY / REDUCED MOTION (MANDATORY)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  
  .project-card:hover .project-img-container img,
  .project-card:hover,
  .select-card:hover,
  .btn:hover,
  .channel-card-new:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}
