@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

:root {
  --color-midnight: #0a1628;
  --color-deep: #111d33;
  --color-teal: #0d9488;
  --color-teal-light: #2dd4bf;
  --color-amber: #f59e0b;
  --color-amber-soft: #fbbf24;
  --color-frost: rgba(255, 255, 255, 0.06);
  --color-glass: rgba(255, 255, 255, 0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

* { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-midnight);
  color: #e2e8f0;
  overflow-x: hidden;
}

.font-display { font-family: var(--font-display); }

/* Animated mesh background */
.mesh-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(13, 148, 136, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
    var(--color-midnight);
  animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { background-position: 0% 0%, 100% 100%, 50% 50%; }
  100% { background-position: 30% 20%, 70% 60%, 60% 40%; }
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-teal { background: rgba(13, 148, 136, 0.35); }
.orb-amber { background: rgba(245, 158, 11, 0.25); animation-delay: -4s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Glass card */
.glass {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
  background: rgba(17, 29, 51, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Diagonal clip sections */
.clip-diagonal-top {
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}
.clip-diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Hero text shimmer */
.text-shimmer {
  background: linear-gradient(120deg, #fff 30%, var(--color-teal-light) 50%, var(--color-amber-soft) 70%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Marquee */
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card hover lift */
.card-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(13, 148, 136, 0.2);
  border-color: rgba(45, 212, 191, 0.4);
}

/* Image reveal overlay */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.img-reveal:hover::after { opacity: 1; }
.img-reveal img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal:hover img { transform: scale(1.08); }

/* Animated underline nav */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-teal-light), var(--color-amber));
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Button glow */
.btn-glow {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-teal), var(--color-amber));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.35);
}
.btn-glow:hover::before { opacity: 1; }

/* Counter pulse ring */
.pulse-ring {
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

/* Bento grid accent */
.bento-accent {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.15), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Progress bar animation */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
  border-radius: 999px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.progress-bar-fill.animate { width: var(--progress, 80%); }

/* Cookie banner */
#cookie-banner {
  transform: translateY(120%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
#cookie-banner.show { transform: translateY(0); }

/* Mobile menu */
#mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-menu.open { transform: translateX(0); }

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

/* Page hero parallax */
.page-hero-bg {
  transform: scale(1.1);
  transition: transform 0.1s linear;
}

/* Scroll indicator */
.scroll-indicator {
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* Timeline */
.timeline-line::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-teal), var(--color-amber));
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-teal), var(--color-amber));
  border-radius: 4px;
}

/* Form inputs */
.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-teal-light);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

/* Stat number */
.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Gallery masonry hover */
.gallery-item {
  break-inside: avoid;
  transition: transform 0.4s ease;
}
.gallery-item:hover { transform: scale(1.03); z-index: 10; }

/* Legal pages prose */
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-teal-light);
}
.legal-prose p, .legal-prose li {
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legal-prose ul { list-style: disc; padding-left: 1.5rem; }

/* ─── Professional layout ─── */
.section-pro { padding-top: 6rem; padding-bottom: 6rem; }
.section-pro-sm { padding-top: 4rem; padding-bottom: 6rem; }
@media (min-width: 1024px) {
  .section-pro { padding-top: 7rem; padding-bottom: 7rem; }
}

.has-top-bar #site-header { transition: top 0.3s ease; }
@media (min-width: 1024px) {
  .has-top-bar #site-header { top: 2.25rem; }
  #top-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 55; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: #94a3b8; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--color-teal-light); }
.breadcrumb-sep { color: #334155; }

/* Hero inner pages */
.page-hero-inner { min-height: 70vh; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-meta-item { display: flex; align-items: center; gap: 0.625rem; }
.hero-meta-item svg { color: var(--color-teal-light); flex-shrink: 0; }

/* Region tags */
.region-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #cbd5e1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.2s, background 0.2s;
}
.region-tag:hover {
  border-color: rgba(45,212,191,0.35);
  background: rgba(13,148,136,0.1);
}

/* Step numbers */
.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.3), rgba(245,158,11,0.15));
  border: 1px solid rgba(45,212,191,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-teal-light);
  flex-shrink: 0;
}

/* Mega CTA */
.mega-cta {
  background: linear-gradient(135deg, rgba(17,29,51,0.95) 0%, rgba(10,22,40,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 64px rgba(0,0,0,0.35);
}

/* Testimonial */
.testimonial-card { transition: transform 0.35s ease, border-color 0.35s ease; }
.testimonial-card:hover { transform: translateY(-4px); }

/* Trust bar animation */
.trust-item { transition: opacity 0.3s; }
.trust-bar:hover .trust-item { opacity: 0.65; }
.trust-bar .trust-item:hover { opacity: 1; }

/* Content prose for business pages */
.prose-business p {
  color: #94a3b8;
  line-height: 1.85;
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
}
.prose-business h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Feature row */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.feature-row.reverse .feature-row-media { order: 2; }
.feature-row.reverse .feature-row-text { order: 1; }
@media (min-width: 1024px) {
  .feature-row.reverse .feature-row-media { order: 2; }
  .feature-row.reverse .feature-row-text { order: 1; }
}

/* Spec table pro */
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.spec-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}
.spec-table tbody td {
  padding: 1.125rem 1.25rem;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9375rem;
}
.spec-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* Split content section */
.content-split { display: grid; gap: 4rem; }
@media (min-width: 1024px) {
  .content-split { grid-template-columns: 280px 1fr; gap: 5rem; }
}
.content-sidebar { position: sticky; top: 7rem; align-self: start; }

/* Floating contact desktop too on xl hide cookie overlap */
#floating-contact {
  box-shadow: 0 8px 32px rgba(13,148,136,0.45);
}
@media (min-width: 1024px) {
  #floating-contact { bottom: 2rem; }
}

/* Showroom card */
.showroom-card {
  background: linear-gradient(160deg, rgba(13,148,136,0.12) 0%, rgba(17,29,51,0.8) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Cert badge grid */
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  min-height: 120px;
  transition: border-color 0.3s, background 0.3s;
}
.cert-badge:hover {
  border-color: rgba(45,212,191,0.3);
  background: rgba(13,148,136,0.08);
}
.cert-badge strong {
  display: block;
  color: #fff;
  font-size: 0.9375rem;
  margin-top: 0.75rem;
}
.cert-badge span { color: #64748b; font-size: 0.75rem; margin-top: 0.25rem; }

/* FAQ longer answers */
.faq-answer { max-height: 0; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer p { font-size: 0.9375rem; line-height: 1.75; }

/* Footer newsletter */
.footer-newsletter input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  width: 100%;
}
.footer-newsletter input:focus {
  outline: none;
  border-color: var(--color-teal-light);
}
