/* Ultra-modern premium design — original work */
:root {
  --bg: #0a0c0f;
  --bg-soft: #0f1318;
  --card: #151921;
  --card-hover: #1a2029;
  --text: #f0f4f8;
  --muted: #a8b5c7;
  --brand: #17b26a;
  --brand-2: #13a15f;
  --brand-glow: rgba(23, 178, 106, 0.3);
  --accent: #3b82f6;
  --maxw: 1280px;
  --radius: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px var(--brand-glow);
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(ellipse at 20% 10%, rgba(23, 178, 106, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a0c0f 0%, #0d1015 50%, #0a0e13 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { 
  max-width: 100%; 
  display: block; 
  height: auto;
  contain: layout style;
}

.container { 
  width: min(100% - 3rem, var(--maxw)); 
  margin-inline: auto; 
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, minmax(180px, 1fr));
  gap: 0;
  height: calc(100vh - 80px);
  min-height: 70vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #05070b;
}

.intro-grid__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  animation: slideInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.intro-grid__item:nth-child(1) { animation-delay: 0.1s; }
.intro-grid__item:nth-child(2) { animation-delay: 0.2s; }
.intro-grid__item:nth-child(3) { animation-delay: 0.3s; }
.intro-grid__item:nth-child(4) { animation-delay: 0.4s; }
.intro-grid__item:nth-child(5) { animation-delay: 0.5s; }

.intro-grid__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.intro-grid__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.intro-grid__item:hover .intro-grid__bg {
  transform: translateX(-100%);
}

.intro-grid__item.auto-active .intro-grid__bg {
  transform: translateX(-100%);
}

.intro-grid__content {
  position: relative;
  max-width: 320px;
  display: grid;
  gap: 0.35rem;
  padding: 2rem;
  z-index: 2;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-grid__item:hover .intro-grid__content {
  opacity: 0;
  transform: translateX(-20px);
}

.intro-grid__item.auto-active .intro-grid__content {
  opacity: 0;
  transform: translateX(-20px);
}

.intro-grid__info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.95) 0%, rgba(19, 161, 95, 0.97) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
  z-index: 1;
  pointer-events: none;
}

.intro-grid__item:hover .intro-grid__info {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.intro-grid__item.auto-active .intro-grid__info {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.intro-grid__info h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.intro-grid__info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.intro-grid__contact {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  gap: 0.4rem;
}

.intro-grid__contact p {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.intro-grid__eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.intro-grid h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw + 0.4rem, 2.2rem);
  letter-spacing: -0.01em;
}

.intro-grid__cta {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e6fff3;
}

.intro-grid__item:nth-child(1) .intro-grid__bg { background-image: url('./assets/recyklaty.jpg'); }
.intro-grid__item:nth-child(2) .intro-grid__bg { background-image: url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?q=80&w=1600&auto=format&fit=crop'); }
.intro-grid__item:nth-child(3) .intro-grid__bg { background-image: url('./assets/nakladni-doprava.jpg'); }
.intro-grid__item:nth-child(4) .intro-grid__bg { background-image: url('./assets/mobilni-drceni.jpg'); }
.intro-grid__item:nth-child(5) .intro-grid__bg { background-image: url('./assets/demolice.jpg'); }

.intro-grid__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
.intro-grid__item:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.intro-grid__item:nth-child(3) { grid-column: 5 / 7; grid-row: 1 / 2; }
.intro-grid__item:nth-child(4) { grid-column: 1 / 4; grid-row: 2 / 3; }
.intro-grid__item:nth-child(5) { grid-column: 4 / 7; grid-row: 2 / 3; }

@media (max-width: 1100px) {
  .intro-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(180px, 1fr));
    min-height: 80vh;
  }
  .intro-grid__item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 2; }
  .intro-grid__item:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
  .intro-grid__item:nth-child(3) { grid-column: 1 / 3; grid-row: 2 / 3; }
  .intro-grid__item:nth-child(4) { grid-column: 3 / 5; grid-row: 2 / 3; }
  .intro-grid__item:nth-child(5) { grid-column: 1 / 5; grid-row: 3 / 4; }
  .intro-grid__info { padding: 2rem; }
  .intro-grid__info h3 { font-size: 1.3rem; }
}

@media (max-width: 720px) {
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, minmax(220px, 1fr));
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .intro-grid__content { 
    padding: 1rem; 
    gap: 0.25rem;
  }
  .intro-grid__content h2 {
    font-size: 1.1rem;
  }
  .intro-grid__eyebrow {
    font-size: 0.75rem;
  }
  .intro-grid__cta {
    font-size: 0.8rem;
  }
  .intro-grid__info { 
    padding: 0.8rem;
    gap: 0.4rem;
  }
  .intro-grid__info h3 { 
    font-size: 0.9rem;
    line-height: 1.2;
  }
  .intro-grid__info p { 
    font-size: 0.7rem;
    line-height: 1.3;
  }
  .intro-grid__contact {
    margin-top: 0.3rem;
    padding-top: 0.4rem;
    gap: 0.2rem;
  }
  .intro-grid__contact p {
    font-size: 0.68rem;
    line-height: 1.2;
  }
  .intro-grid__item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
  .intro-grid__item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .intro-grid__item:nth-child(3) { grid-column: 1 / 3; grid-row: 2 / 3; }
  .intro-grid__item:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .intro-grid__item:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
}

/* Header with glassmorphism effect */
.site-header {
  position: sticky; 
  top: 0; 
  z-index: 50;
  background: rgba(10, 12, 15, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(10, 12, 15, 0.9);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 2rem; 
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.brand { 
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text); 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(23, 178, 106, 0.4));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brand:hover img {
  filter: drop-shadow(0 4px 16px rgba(23, 178, 106, 0.6));
  transform: scale(1.05);
}

/* Mobile nav toggle with animation */
.nav-toggle { 
  display: none; 
  background: none; 
  border: 0; 
  padding: 0.5rem; 
  cursor: pointer;
  z-index: 60;
  transition: transform 0.3s ease;
}

.nav-toggle:hover {
  transform: scale(1.05);
}

.nav-toggle span { 
  display: block; 
  width: 28px; 
  height: 3px; 
  background: var(--text); 
  margin: 5px 0; 
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation with modern styling */
.nav ul { 
  display: flex; 
  list-style: none; 
  gap: 0.5rem; 
  margin: 0; 
  padding: 0; 
}

.nav a { 
  position: relative;
  color: var(--muted); 
  text-decoration: none; 
  padding: 0.625rem 1rem; 
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.1), rgba(23, 178, 106, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.nav a:hover, .nav a:focus { 
  color: var(--text); 
  background: rgba(23, 178, 106, 0.08);
  transform: translateY(-1px);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a.active {
  color: var(--brand);
  background: rgba(23, 178, 106, 0.12);
  font-weight: 600;
}

/* Hero with premium gradient overlay and animations */
.hero { 
  position: relative; 
  min-height: 75vh; 
  display: grid; 
  place-items: center;
  overflow: hidden;
}

.hero-media { 
  position: absolute; 
  inset: 0; 
  background: url('https://images.unsplash.com/photo-1535551951406-a19828b0a76b?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat; 
  filter: brightness(0.4);
  animation: kenburns 20s ease-in-out infinite alternate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.15) 0%, rgba(10, 12, 15, 0.8) 100%);
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-content { 
  position: relative; 
  text-align: center; 
  padding: 6rem 1.5rem;
  animation: fadeInUp 0.8s ease-out;
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInScale {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero h1 { 
  font-size: clamp(2.25rem, 5vw + 1rem, 3.75rem); 
  margin: 0 0 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Compact page headers */
.page-hero-compact {
  background: linear-gradient(120deg, rgba(46, 204, 113, 0.12) 0%, rgba(21, 25, 33, 0.95) 65%);
  border-bottom: 1px solid rgba(46, 204, 113, 0.25);
  padding: 12px 0;
}

.page-hero-compact .compact-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.compact-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.12);
  color: var(--brand);
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.compact-title h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  letter-spacing: -0.01em;
}

.hero p { 
  color: rgba(255, 255, 255, 0.85); 
  max-width: 65ch; 
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
}

.actions { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  flex-wrap: wrap; 
}

/* Premium buttons with hover effects */
.btn { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem; 
  border-radius: 12px; 
  background: rgba(26, 32, 41, 0.6); 
  color: var(--text); 
  text-decoration: none; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn.primary { 
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); 
  border: 1px solid rgba(255,255,255,0.2); 
  box-shadow: 0 8px 32px rgba(23,178,106,0.35), var(--shadow-sm);
  color: #fff;
}

.btn.primary:hover {
  box-shadow: 0 12px 40px rgba(23,178,106,0.45), var(--shadow-md);
  transform: translateY(-2px);
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:active {
  transform: translateY(0);
}

/* Sections with modern spacing */
.section { 
  padding: 5rem 0;
  position: relative;
  will-change: transform;
}

.section h2 { 
  font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); 
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text) 0%, rgba(255,255,255,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cols-2 { 
  display: grid; 
  grid-template-columns: 1.1fr 0.9fr; 
  gap: 3rem; 
  align-items: start; 
}

.grid { 
  display: grid; 
  gap: 1.5rem; 
}

.grid.cards { 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
}

.grid.two { 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}

/* Premium card design with glassmorphism */
.card { 
  background: linear-gradient(135deg, rgba(21, 25, 33, 0.8), rgba(15, 19, 24, 0.6)); 
  border: 1px solid rgba(255, 255, 255, 0.08); 
  border-radius: var(--radius); 
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 178, 106, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(23, 178, 106, 0.1);
  border-color: rgba(23, 178, 106, 0.2);
  will-change: transform, box-shadow;
}

.card:hover::before {
  opacity: 1;
}

.link { 
  color: var(--brand); 
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.link:hover { 
  color: #1fcf7d;
  transform: translateX(2px);
}

.link:hover::after {
  transform: translateX(4px);
}

/* About section with premium stats */
.about .stats { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: grid; 
  gap: 0.75rem; 
}

.about .stats li { 
  background: linear-gradient(135deg, rgba(17, 22, 28, 0.8), rgba(11, 16, 21, 0.6)); 
  border: 1px solid rgba(23, 178, 106, 0.15); 
  padding: 1rem 1.25rem; 
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about .stats li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about .stats li:hover {
  transform: translateX(4px);
  border-color: rgba(23, 178, 106, 0.3);
  box-shadow: -4px 0 0 rgba(23, 178, 106, 0.5);
}

.about .stats li:hover::before {
  opacity: 1;
}

.about .stats strong { 
  color: var(--brand);
  font-size: 1.05rem;
}

.about .copy p { 
  color: var(--muted);
  margin: .5rem 0; 
}

.feature .feature-icon {
  width: 44px; height: 44px; 
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(23,178,106,.12);
  border: 1px solid rgba(23,178,106,.25);
  color: var(--brand);
  margin-bottom: .75rem;
}

/* Services cards with image effects */
.services .card { 
  display: grid; 
  gap: 1rem; 
}

.services .card img { 
  border-radius: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  aspect-ratio: 16/10;
  object-fit: cover;
}

.services .card:hover img {
  transform: scale(1.02);
  border-color: rgba(23, 178, 106, 0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.services .card h3 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.services .card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Locations cards */
.locations .card h3 { 
  margin-top: 0.25rem;
  color: var(--brand);
  font-size: 1.3rem;
}

.locations .card p {
  color: var(--muted);
  margin: 0.75rem 0;
}

/* Gallery with masonry and hover effects */
.gallery .masonry { 
  columns: 4 250px; 
  column-gap: 1.25rem; 
}

.gallery img { 
  width: 100%; 
  border-radius: 12px; 
  margin: 0 0 1.25rem; 
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(23, 178, 106, 0.3);
  border-color: rgba(23, 178, 106, 0.3);
}

/* CTA section with premium gradient */
.cta .cta-inner { 
  display: grid; 
  gap: 1.25rem; 
  text-align: center; 
  background: linear-gradient(135deg, rgba(18, 36, 51, 0.9), rgba(15, 32, 43, 0.8)); 
  border: 1px solid rgba(23, 178, 106, 0.2); 
  border-radius: 20px; 
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
}

.cta .cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(23, 178, 106, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta .cta-inner h2,
.cta .cta-inner p,
.cta .cta-inner .btn {
  position: relative;
  z-index: 1;
}

.cta .cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Contact section */
.contact-list { 
  list-style: none; 
  padding: 0; 
  margin: 0 0 1.5rem; 
  display: grid; 
  gap: 0.75rem; 
  color: var(--muted); 
}

.contact-list li {
  padding: 0.75rem 1rem;
  background: rgba(21, 25, 33, 0.4);
  border-left: 3px solid rgba(23, 178, 106, 0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-list li:hover {
  background: rgba(21, 25, 33, 0.6);
  border-left-color: var(--brand);
  transform: translateX(4px);
}

.contact-list strong {
  color: var(--text);
}

.contact-form .row { 
  margin-bottom: 1rem; 
}

/* Simple icon list used on About page */
.contact-card h3 {
  font-size: 1.1rem;
  letter-spacing: .02em;
  text-transform: none;
}

.contact-card a { color: var(--text); text-decoration: none; }
.contact-card a:hover { color: var(--brand); }

/* Map styles */
.map .map-switch { 
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; 
  background: rgba(21,25,33,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  padding: .4rem;
  border-radius: 12px;
}
.btn.sm { padding: .45rem .7rem; font-size: .85rem; border-radius: 10px; }
.btn.sm.active { 
  background: rgba(23,178,106,.18);
  border-color: rgba(23,178,106,.35);
  box-shadow: 0 8px 20px rgba(23,178,106,.18);
}
.map-frame { position: relative; overflow: hidden; border-radius: 12px; }
.map-frame iframe { width: 100%; height: 460px; border: 0; display: block; }
.map-note { display: block; margin-top: .5rem; color: var(--muted); }
.map-actions { margin-top: .6rem; }

@media (min-width: 960px) {
  .map-frame iframe { height: 520px; }
}
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.25rem 0.5rem;
  background: rgba(21, 25, 33, 0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-list li::before {
  content: '📄';
  line-height: 1;
  color: var(--brand);
  filter: drop-shadow(0 0 6px var(--brand-glow));
}

.icon-list li:hover {
  transform: translateX(4px);
  border-color: rgba(23, 178, 106, 0.35);
  background: rgba(21, 25, 33, 0.55);
}

.contact-form input, 
.contact-form textarea { 
  width: 100%; 
  padding: 0.875rem 1.125rem; 
  border-radius: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  background: rgba(17, 22, 28, 0.6); 
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-form input:focus, 
.contact-form textarea:focus { 
  outline: none;
  border-color: var(--brand);
  background: rgba(17, 22, 28, 0.8);
  box-shadow: 0 0 0 3px rgba(23, 178, 106, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.contact .map {
  padding: 0;
  overflow: hidden;
}

.contact .map img {
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.contact .map:hover img {
  transform: scale(1.02);
}

/* Premium footer */
.site-footer { 
  border-top: 1px solid rgba(255, 255, 255, 0.08); 
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.8), rgba(10, 12, 15, 0.95));
  backdrop-filter: blur(10px);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23, 178, 106, 0.3), transparent);
}

.footer-inner { 
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem; 
  padding: 3rem 0 2rem; 
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 1rem;
}

.footer-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: var(--brand);
}

.footer-list a:hover {
  color: var(--brand);
  transform: translateX(5px);
}

.footer-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-address p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-address strong {
  color: var(--text);
  font-weight: 600;
}

.footer-contact p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-contact .contact-item span {
  font-size: 1.1rem;
  color: var(--brand);
}

.footer-contact a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--brand);
}

.footer-contact .social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-contact .social a { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 44px; 
  height: 44px; 
  border-radius: 12px; 
  background: rgba(26, 32, 41, 0.6); 
  color: var(--text); 
  text-decoration: none; 
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.footer-contact .social a:hover {
  background: rgba(23, 178, 106, 0.15);
  border-color: rgba(23, 178, 106, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(23, 178, 106, 0.2);
}

.footer-projects {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-projects .footer-heading {
  margin-bottom: 1rem;
}

.projects-text {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* Careers page helpers */
.job-list {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: grid;
  gap: .5rem;
  color: var(--muted);
}

.job-list li {
  background: rgba(21,25,33,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(23,178,106,.5);
  padding: .6rem .9rem;
  border-radius: 10px;
}

.job-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(23,178,106,.12);
  border: 1px solid rgba(23,178,106,.25);
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
}

.job-cta { display:flex; justify-content:flex-start; }

.legal { 
  padding: 1rem 0 2.5rem; 
  color: var(--muted);
  text-align: center;
  font-size: 0.875rem;
}

/* Projects link in footer */
.projects-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(23, 178, 106, 0.2);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.projects-link:hover {
  border-color: rgba(23, 178, 106, 0.5);
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  box-shadow: 0 12px 32px rgba(23, 178, 106, 0.2);
  transform: translateY(-2px);
}

.projects-link h3,
.projects-link p {
  margin: 0;
}

.projects-link h3 {
  margin-bottom: 0.5rem;
}


/* Responsive design */
@media (max-width: 960px) {
  .cols-2 { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .gallery .masonry { columns: 2 200px; }
  
  .nav-toggle { display: block; }
  .nav { 
    position: absolute; 
    inset: 100% 0 auto 0; 
    background: rgba(10, 12, 15, 0.98); 
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav.open { 
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav ul { 
    flex-direction: column; 
    padding: 1rem 0;
  }
  .nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { 
    display: block; 
    padding: 1rem 1.5rem;
    border-radius: 0;
  }
}

/* Pricing table */
.table-wrap { overflow: auto; border-radius: 16px; }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.pricing-table th, .pricing-table td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pricing-table thead th { background: rgba(21,25,33,0.6); text-align: left; font-weight: 700; }
.pricing-table td.center, .pricing-table th.center { text-align: center; }
.pricing-table tbody tr:hover { background: rgba(21,25,33,0.4); }
.pricing-table .group td { background: rgba(23,178,106,0.08); border-bottom-color: rgba(23,178,106,0.25); font-weight: 700; color: var(--text); }

@media (max-width: 680px) {
  .nav-toggle { display: block; }
  .nav { 
    position: absolute; 
    inset: 100% 0 auto 0; 
    background: rgba(10, 12, 15, 0.98); 
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  }
  .nav.open { 
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav ul { 
    flex-direction: column; 
    padding: 1rem; 
  }
  
  .nav a {
    padding: 0.875rem 1rem;
  }
  
  .grid.cards { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero-content { padding: 4rem 1rem; }
  .section { padding: 3rem 0; }
  .cta .cta-inner { padding: 2rem 1.5rem; }
  .gallery .masonry { columns: 1; }
}

/* Utility animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 6px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1fcf7d, var(--brand));
}

/* Selection color */
::selection {
  background: rgba(23, 178, 106, 0.3);
  color: var(--text);
}

::-moz-selection {
  background: rgba(23, 178, 106, 0.3);
  color: var(--text);
}

/* Projects page */
.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-header h3 {
  flex: 1;
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.3;
}

.project-badge {
  display: inline-block;
  background: rgba(23, 178, 106, 0.12);
  border: 1px solid rgba(23, 178, 106, 0.3);
  color: rgba(23, 178, 106, 0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.project-meta {
  background: rgba(21, 25, 33, 0.5);
  border-left: 3px solid rgba(23, 178, 106, 0.4);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-meta p {
  margin: 0.5rem 0;
}

.project-meta strong {
  color: var(--text);
}

.project-meta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  background: rgba(21, 25, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  display: block;
  color: var(--brand);
  font-weight: 700;
  font-size: 1.1rem;
}

.project-content {
  flex: 1;
}

.project-content p {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.project-content p:last-child {
  margin-bottom: 0;
}

.project-content strong {
  color: var(--text);
}

.eu-notice {
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.08) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(23, 178, 106, 0.2);
}

.eu-notice h3 {
  color: var(--text);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-header {
    flex-direction: column;
  }

  .project-badge {
    align-self: flex-start;
  }

  .project-meta-stats {
    grid-template-columns: 1fr;
  }
}

/* Document cards */
.documents-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.documents-grid {
  display: grid;
  gap: 1rem;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(21, 25, 33, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.doc-card:hover {
  background: rgba(21, 25, 33, 0.7);
  border-color: rgba(23, 178, 106, 0.3);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.doc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 178, 106, 0.12);
  border: 1px solid rgba(23, 178, 106, 0.25);
  border-radius: 10px;
  color: var(--brand);
}

.doc-icon svg {
  width: 20px;
  height: 20px;
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.doc-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Chat Widget */
.chat-widget {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 1000;
  font-family: inherit;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #1ea56e 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(23, 178, 106, 0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(23, 178, 106, 0.5);
}

.chat-toggle svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #ef4444;
  border: 2px solid var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  max-width: calc(100vw - 3rem);
  height: 500px;
  max-height: calc(100vh - 140px);
  background: rgba(15, 18, 24, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: chatSlideUp 0.3s ease-out;
}

.chat-window.open {
  display: flex;
}

@keyframes chatSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.chat-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.05);
}

.chat-close svg {
  width: 18px;
  height: 18px;
  fill: var(--text);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #1ea56e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.chat-header-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.chat-header-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #1ea56e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-message.user .chat-message-avatar {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.chat-message-avatar svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.chat-message-content {
  max-width: 75%;
}

.chat-message-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(23, 178, 106, 0.12);
  border: 1px solid rgba(23, 178, 106, 0.2);
  color: var(--text);
  line-height: 1.5;
  font-size: 0.9rem;
}

.chat-message.user .chat-message-bubble {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.chat-message-time {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
  padding: 0 0.5rem;
}

.chat-input-wrap {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 15, 0.6);
}

.chat-input-form {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.chat-input::placeholder {
  color: var(--muted);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.chat-send:hover {
  background: #1ea56e;
  transform: scale(1.05);
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-send svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.chat-typing {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
}

.chat-typing-dots {
  display: flex;
  gap: 0.25rem;
}

.chat-typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: typingDot 1.4s infinite;
}

.chat-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== PRICING TABLE STYLES (for all service pages) ===== */
.section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  border-radius: 3px;
}

.location-switcher {
  margin: 2rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
  margin-top: 1rem;
}

.location-btn {
  padding: 1.5rem !important;
  font-size: 0.95rem !important;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.5;
}

.location-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(23, 178, 106, 0.1), transparent);
  transition: left 0.6s ease;
}

.location-btn:hover::before {
  left: 100%;
}

.location-btn:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(23, 178, 106, 0.5) !important;
  box-shadow: 0 12px 32px rgba(23, 178, 106, 0.2) !important;
  background: rgba(23, 178, 106, 0.05) !important;
}

.location-icon {
  font-size: 2rem;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.location-info {
  flex: 1;
}

.location-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-checkmark {
  font-size: 1.5rem;
  color: var(--brand);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.location-btn.active {
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.15), rgba(20, 168, 94, 0.1)) !important;
  border-color: var(--brand) !important;
  box-shadow: 0 8px 32px rgba(23, 178, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.location-btn.active .location-icon {
  filter: none;
  transform: scale(1.1);
}

.location-btn.active .location-checkmark {
  opacity: 1;
  transform: scale(1);
}

.materials-table {
  margin-top: 3rem;
  overflow-x: auto;
  position: relative;
}

.materials-table::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(23, 178, 106, 0.01));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.price-table thead {
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.25), rgba(20, 168, 94, 0.2));
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.price-table th {
  padding: 0.9rem 0.9rem;
  text-align: left;
  font-weight: 700;
  color: var(--brand);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--brand);
  position: relative;
}

.price-table th:nth-child(1) { width: 40%; }
.price-table th:nth-child(2),
.price-table th:nth-child(3),
.price-table th:nth-child(4) {
  text-align: center;
  width: 20%;
}

.price-table td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  position: relative;
}

.price-table td:nth-child(1) { width: 40%; }
.price-table td:nth-child(2),
.price-table td:nth-child(3),
.price-table td:nth-child(4) {
  text-align: center;
  width: 20%;
}

.price-table tbody tr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.price-table tbody tr:hover {
  background: rgba(23, 178, 106, 0.05);
  box-shadow: inset 0 0 0 1px rgba(23, 178, 106, 0.2);
}

.fine-print {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.1), rgba(20, 168, 94, 0.05));
  border: 1px solid rgba(23, 178, 106, 0.35);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}

.fine-print::before {
  content: "ℹ";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(23, 178, 106, 0.18);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(23, 178, 106, 0.35);
}

/* Expandable fine-print */
.fine-print-expandable {
  padding: 0;
  overflow: visible;
}

.fine-print-expandable::before {
  display: none;
}

.fine-print-toggle {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text);
  text-align: left;
}

.fine-print-toggle:hover {
  background: rgba(23, 178, 106, 0.08);
}

.fine-print-toggle:focus {
  outline: none;
  box-shadow: none;
}

.fine-print-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.fine-print-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.25), rgba(23, 178, 106, 0.15));
  color: var(--brand);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(23, 178, 106, 0.4), 0 4px 12px rgba(23, 178, 106, 0.2);
  transition: all 0.3s ease;
}

.fine-print-toggle:hover .fine-print-badge {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px rgba(23, 178, 106, 0.5), 0 6px 20px rgba(23, 178, 106, 0.35);
}

.fine-print-title h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.fine-print-title p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.fine-print-arrow {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(23, 178, 106, 0.4));
}

.fine-print-toggle[aria-expanded="true"] .fine-print-arrow {
  transform: rotate(180deg);
}

.fine-print-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
  padding: 0 1.5rem;
}

.fine-print-toggle[aria-expanded="true"] ~ .fine-print-content {
  max-height: 2000px;
  opacity: 1;
  padding: 0 1.5rem 1.5rem;
}

.fine-print ol {
  padding-left: 1.4rem;
  counter-reset: fine;
  display: grid;
  gap: 0.55rem;
}

.fine-print ol > li {
  position: relative;
  padding-left: 0.35rem;
  color: rgba(240, 244, 248, 0.92);
}

.fine-print ul {
  margin-top: 0.35rem;
  padding-left: 1.25rem;
  list-style: disc;
  color: rgba(240, 244, 248, 0.82);
}

.material-group td {
  padding: 0.7rem 0.9rem;
  background: linear-gradient(90deg, rgba(23, 178, 106, 0.2), rgba(10, 12, 15, 0.6));
  color: #e6fff3;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-bez { 
  font-weight: 700;
  color: var(--brand);
  font-size: 1.1rem;
  text-shadow: 0 0 16px rgba(23, 178, 106, 0.3);
}

.price-s {
  font-weight: 700;
  color: #f4d35e;
  font-size: 1.1rem;
  text-shadow: 0 0 16px rgba(244, 211, 94, 0.2);
}

.material-name-cell h4 {
  margin: 0;
  font-size: 1.05rem;
  cursor: pointer;
  color: var(--text);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.material-name-cell h4::before {
  display: none;
}

.material-name-cell h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 1px;
}

.material-name-cell h4:hover {
  color: var(--brand);
  background: rgba(23, 178, 106, 0.12);
  box-shadow: 0 0 20px rgba(23, 178, 106, 0.4), inset 0 0 16px rgba(23, 178, 106, 0.08);
  transform: translateX(8px);
}

.material-name-cell h4:hover::before {
  display: none;
}

.material-name-cell h4:hover::after {
  opacity: 1;
  transform: scaleX(1);
  box-shadow: 0 0 8px rgba(23, 178, 106, 0.6);
}


.price-cell {
  transition: all 0.3s ease;
  position: relative;
}

.avail {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(23, 178, 106, 0.2), rgba(20, 168, 94, 0.15));
  border: 1px solid rgba(23, 178, 106, 0.4);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(23, 178, 106, 0.2);
  transition: all 0.3s ease;
}

.avail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(23, 178, 106, 0.3);
}

/* Pricing table tooltip styles — modern creative design */
.material-hover-tooltip {
  position: fixed;
  background: linear-gradient(135deg, rgba(21, 25, 33, 0.95), rgba(15, 19, 24, 0.95));
  border: 1.5px solid rgba(23, 178, 106, 0.6);
  border-radius: 16px;
  padding: 1.25rem;
  width: 340px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(23, 178, 106, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.material-hover-tooltip.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.material-hover-tooltip img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #1a2029, #151921);
  border: 1px solid rgba(23, 178, 106, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.material-hover-tooltip:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(23, 178, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.material-hover-tooltip h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--brand), rgba(23, 178, 106, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.material-hover-tooltip p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(240, 244, 248, 0.9);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .price-table {
    font-size: 0.9rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.5rem;
  }

  .material-name-cell h4 {
    font-size: 0.95rem;
  }

  .price-table td:nth-child(2),
  .price-table td:nth-child(3) {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }
  
  .chat-toggle {
    width: 56px;
    height: 56px;
  }
  
  .chat-window {
    width: calc(100vw - 2rem);
    height: calc(100vh - 140px);
  }
}
