/* === VGP-PRAHA.CZ — Vrtný a geologický průzkum s.r.o. ===
   Modern ECO design — emerald greens, teals, cyans
   Sustainable, geothermal, clean-water focus / cleantech vibe
*/

:root {
  --color-emerald: #10b981;        /* vibrant emerald — primary accent */
  --color-teal: #0d9488;           /* deep teal */
  --color-forest: #064e3b;         /* deep forest — primary dark */
  --color-lime: #84cc16;           /* lime / spring accent */
  --color-cyan: #06b6d4;           /* fresh cyan */
  --color-slate: #0f172a;          /* deep slate — dark contrast */
  --color-deepteal: #042f2e;       /* deep teal — alt dark */
  --color-mint: #ecfdf5;           /* mint background */
  --color-mint-2: #d1fae5;
  --color-offwhite: #f8fafc;
  --color-text: #0f172a;
  --color-muted: #64748b;

  /* Legacy fallbacks (kept so any leftover references still work) */
  --color-primary: var(--color-forest);
  --color-primary-dark: var(--color-deepteal);
  --color-accent: var(--color-emerald);
  --color-accent-light: var(--color-lime);
  --color-accent-dark: var(--color-teal);
  --color-secondary: var(--color-cyan);
  --color-dark: var(--color-slate);
  --color-cream: var(--color-mint);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  background: #ffffff;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* ===== Eco badge — replaces .heritage-badge ===== */
.eco-badge,
.heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 182, 212, 0.18) 100%);
  color: #a7f3d0;
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eco-badge svg,
.heritage-badge svg { color: #34d399; }

/* On light backgrounds */
.eco-badge.light,
.heritage-badge.light {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
  color: var(--color-forest);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ===== Hero — mesh gradient + animated blobs ===== */
.hero-bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(16, 185, 129, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(6, 182, 212, 0.3) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 60% 90%, rgba(132, 204, 22, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #042f2e 0%, #064e3b 40%, #0f172a 100%);
  isolation: isolate;
}

/* Subtle dot grid overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Subtle noise / grain */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.hero-bg > * { position: relative; z-index: 1; }

/* ===== Hero photo (decorative right side) ===== */
.hero-photo {
  position: absolute;
  inset: 0 0 0 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.95) 70%, rgba(0,0,0,1) 100%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,0.95) 70%, rgba(0,0,0,1) 100%);
  mix-blend-mode: luminosity;
}
@media (max-width: 1023px) {
  .hero-photo img {
    width: 100%;
    opacity: 0.28;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 100%);
  }
}

/* ===== Photo cards (service thumbnails, gallery) ===== */
.photo-thumb {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  box-shadow: 0 6px 20px -8px rgba(15, 23, 42, 0.25);
}
.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-thumb:hover img,
.service-card:hover .photo-thumb img,
a:hover .photo-thumb img {
  transform: scale(1.06);
}
.photo-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}
.photo-thumb .photo-caption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* ===== Gallery grid ===== */
.gallery-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 28px -12px rgba(15, 23, 42, 0.35);
  background: #0f172a;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 2;
}
.gallery-item .gallery-label small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

/* ===== Photo mosaic — 2x2 grid with one tall + one wide ===== */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  margin: 0 auto;
}
.mosaic-tile {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 14px 38px -18px rgba(15, 23, 42, 0.45);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.mosaic-tile:hover { transform: translateY(-4px); }
.mosaic-tile:hover img { transform: scale(1.06); }
.mosaic-tile.mosaic-tall {
  grid-row: span 2;
}
.mosaic-tile.mosaic-wide {
  grid-column: span 1;
}
.mosaic-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.5) 100%);
  pointer-events: none;
}
.mosaic-badge {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  color: #fff;
}
.mosaic-badge-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.95);
  margin-bottom: 0.15rem;
}
.mosaic-badge-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
@media (max-width: 480px) {
  .photo-mosaic { gap: 0.5rem; }
  .mosaic-badge-title { font-size: 0.7rem; }
}

/* ===== Animated blobs / orbs ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.blob-emerald { background: radial-gradient(circle, #10b981 0%, transparent 70%); }
.blob-cyan    { background: radial-gradient(circle, #06b6d4 0%, transparent 70%); }
.blob-lime    { background: radial-gradient(circle, #84cc16 0%, transparent 70%); }
.blob-teal    { background: radial-gradient(circle, #0d9488 0%, transparent 70%); }

@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}
@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-50px, 40px) scale(1.15); }
}
@keyframes blob-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, 30px) scale(0.9); }
  75%      { transform: translate(-20px, -40px) scale(1.05); }
}

.blob-1 { animation: blob-float-1 18s ease-in-out infinite; }
.blob-2 { animation: blob-float-2 22s ease-in-out infinite; }
.blob-3 { animation: blob-float-3 26s ease-in-out infinite; }

/* ===== CTA section background ===== */
.cta-bg {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(132, 204, 22, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 55%),
    linear-gradient(135deg, #064e3b 0%, #0d9488 50%, #06b6d4 100%);
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-bg > * { position: relative; z-index: 1; }

/* ===== CTA photo backdrop ===== */
.cta-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
  filter: contrast(1.05);
}
.cta-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(4, 47, 46, 0.45) 80%);
}

/* ===== Light eco background — replaces .heritage-bg ===== */
.heritage-bg,
.eco-bg-light {
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 50%, #f8fafc 100%);
  position: relative;
}
.heritage-bg::before,
.eco-bg-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.07) 0%, transparent 40%);
  pointer-events: none;
}

/* ===== Stat numbers ===== */
.stat-number {
  background: linear-gradient(135deg, #34d399 0%, #06b6d4 50%, #84cc16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* ===== Gradient text utility ===== */
.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 60%, #84cc16 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-light {
  background: linear-gradient(135deg, #6ee7b7 0%, #67e8f9 50%, #bef264 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Service cards — modern, glow on hover ===== */
.service-card {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -16px rgba(13, 148, 136, 0.35);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card .service-icon {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* ===== Buttons ===== */
.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              background 0.4s ease;
  box-shadow: 0 8px 24px -8px rgba(16, 185, 129, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #84cc16 0%, #10b981 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(16, 185, 129, 0.65);
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: white;
  color: var(--color-forest);
  transform: translateY(-2px);
  border-color: white;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-emerald);
  color: var(--color-forest);
  font-weight: 600;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.5);
}
.btn-outline svg { transition: transform 0.3s ease; }
.btn-outline:hover svg { transform: translateX(4px); }

/* ===== Step number — gradient circles ===== */
.step-number {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.5);
}
.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px dashed rgba(16, 185, 129, 0.4);
  border-radius: 9999px;
  animation: spin-slow 28s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ===== Mobile menu ===== */
.mobile-menu.active { transform: translateX(0); }

/* ===== Section divider — wavy/organic gradient bar ===== */
.section-divider {
  width: 96px;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
  border-radius: 9999px;
  margin: 0 auto 2rem;
  box-shadow: 0 4px 12px -4px rgba(16, 185, 129, 0.5);
}

/* ===== Wavy SVG section dividers (between sections) ===== */
.wave-divider {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; height: 100%; }

/* ===== Eyebrow ===== */
.eyebrow {
  color: var(--color-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  display: inline-block;
}
.eyebrow.on-dark { color: #6ee7b7; }

/* ===== Service detail content ===== */
.content-prose h3 {
  color: var(--color-forest);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.content-prose ul {
  list-style: none;
  padding: 0;
}
.content-prose li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.content-prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  border-radius: 50%;
  box-shadow: 0 2px 6px -1px rgba(16, 185, 129, 0.5);
}

/* ===== Spec table ===== */
.spec-table tr {
  border-bottom: 1px solid #e2e8f0;
}
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.85rem 0; }
.spec-table td:first-child {
  color: var(--color-muted);
  font-weight: 500;
}
.spec-table td:last-child {
  font-weight: 600;
  text-align: right;
  color: var(--color-forest);
}

/* ===== Timeline — modern gradient line ===== */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.85rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5),
              0 4px 12px -2px rgba(16, 185, 129, 0.5);
}
.timeline-year {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

/* ===== Logo — modern minimal mark ===== */
.logo-monogram {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 60%, #84cc16 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  color: white;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px -6px rgba(16, 185, 129, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
}

/* ===== Glassmorphism card ===== */
.glass-card,
.heritage-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 1.25rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px -12px rgba(13, 148, 136, 0.18);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}
.glass-card:hover,
.heritage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(13, 148, 136, 0.28);
}
/* Glass on dark backgrounds */
.glass-card.on-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
}

/* ===== Process connector ===== */
.process-grid { position: relative; }
@media (min-width: 1024px) {
  .process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-image: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
    opacity: 0.35;
    z-index: 0;
  }
}
.process-step { position: relative; z-index: 1; }

/* ===== Nav active link ===== */
.nav-link {
  position: relative;
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--color-teal); }
.nav-link.active { color: var(--color-teal); font-weight: 600; }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, #10b981 0%, #06b6d4 100%);
  border-radius: 2px;
}

/* ===== Fade transitions ===== */
[data-animate] { opacity: 0; }
[data-animate].animate-fade-in { opacity: 1; }

/* ===== Form styles ===== */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
  color: var(--color-text);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}
.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* ===== Decorative ornament — kept as no-op for backwards compat ===== */
.ornament { display: none; }

/* ===== Footer ===== */
footer a { transition: color 0.2s; }
footer a:hover { color: #6ee7b7 !important; }

/* ===== Image — eco green tint instead of sepia ===== */
.photo-toned {
  filter: saturate(1.05) contrast(1.02);
  transition: filter 0.4s ease, transform 0.4s ease;
  border-radius: 1rem;
}
.photo-toned:hover {
  filter: saturate(1.15) contrast(1.05);
  transform: scale(1.03);
}

/* ===== Misc utilities ===== */
.shadow-glow {
  box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.45);
}
.divider-fade {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

/* ===== Google Maps container ===== */
.map-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  box-shadow:
    0 30px 60px -20px rgba(13, 148, 136, 0.35),
    0 0 0 1px rgba(16, 185, 129, 0.18);
  isolation: isolate;
}
.map-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
  z-index: -1;
  opacity: 0.6;
  filter: blur(12px);
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}
.map-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  max-width: 320px;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 1rem;
  box-shadow: 0 12px 28px -10px rgba(13, 148, 136, 0.3);
  z-index: 2;
}
.map-overlay h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}
.map-overlay p {
  font-size: 0.85rem;
  color: var(--color-text);
  line-height: 1.5;
}
.map-overlay .hours {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.78rem;
  color: var(--color-muted);
}
@media (max-width: 640px) {
  .map-overlay {
    position: static;
    max-width: none;
    margin: 1rem;
  }
}

/* ===== SVG infographic card ===== */
.infographic-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 20px 50px -20px rgba(13, 148, 136, 0.25);
  overflow: hidden;
}
.infographic-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.infographic-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-forest);
  font-family: 'Space Grotesk', sans-serif;
}
.infographic-card .infographic-subtitle {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}
.infographic-card svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}
.infographic-card .label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  fill: #064e3b;
}
.infographic-card .label-muted {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  fill: #475569;
}
.infographic-card .label-spec {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: #0d9488;
  letter-spacing: 0.02em;
}
.infographic-card .leader-line {
  stroke: #94a3b8;
  stroke-width: 1;
  stroke-dasharray: 3 2;
  fill: none;
}

/* ===== Partner sites cross-link section ===== */
.partner-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
  position: relative;
  overflow: hidden;
}
.partner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
  pointer-events: none;
}
.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 1.25rem;
  padding: 1.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #84cc16 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -16px rgba(13, 148, 136, 0.35);
  border-color: transparent;
}
.partner-card:hover::before { opacity: 1; }
.partner-card .partner-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  box-shadow: 0 8px 18px -8px rgba(13, 148, 136, 0.55);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.partner-card:hover .partner-icon {
  transform: scale(1.08) rotate(-4deg);
}
.partner-card .partner-icon svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
}
.partner-card .partner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.5rem 0 0.6rem 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.partner-card .partner-domain {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.partner-card .partner-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.partner-card .partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.partner-card .partner-link svg {
  color: #0d9488;
  -webkit-text-fill-color: currentColor;
  transition: transform 0.3s ease;
}
.partner-card:hover .partner-link svg {
  transform: translate(3px, -3px);
}
