/* Carousel */
.carousel-section {
  padding: 48px 0;
  position: relative; z-index: 1;
}
.carousel-header {
  text-align: center; margin-bottom: 32px;
}
.carousel-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; background: var(--blue-dim);
  border: 1px solid var(--border-blue); border-radius: 100px;
  font-size: 13px; color: var(--blue-light); font-weight: 500;
}
.carousel-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: carouselScroll 28s linear infinite;
  will-change: transform;
}
@keyframes carouselScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.carousel-item {
  flex-shrink: 0;
  width: 360px; height: 202px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card);
  position: relative;
}
.carousel-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  position: relative; z-index: 1;
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.carousel-item::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  pointer-events: all;
}
.carousel-item__placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--border-blue);
  z-index: 0;
}
.carousel-item img:not([src=""]):not([src*="undefined"]) + .carousel-item__placeholder {
  display: none;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open { border-color: var(--border-blue); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text);
  text-align: left;
}
.faq-q:hover { color: white; }
.faq-icon {
  font-size: 13px; color: var(--blue-light); flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }
.faq-a p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 28px 0;
  position: relative; z-index: 1;
}
.hero__content { max-width: 820px; }
.hero__watermark { height: 187px; width: auto; margin: 0 auto 20px; display: block; }
.hero__badge {
  display: inline-block; padding: 6px 18px;
  background: var(--blue-dim); border: 1px solid var(--border-blue);
  border-radius: 100px; font-size: 13px; color: var(--blue-light);
  font-weight: 500; margin-bottom: 28px; letter-spacing: 0.3px;
}
.hero__heading {
  font-family: 'WeissenhofGrotesk', 'Inter', sans-serif;
  font-size: clamp(34px, 5.5vw, 64px); font-weight: 700;
  line-height: 1.12; color: white; margin-bottom: 22px;
  text-shadow:
    0 0 40px rgba(96,165,250,0.6),
    0 0 80px rgba(96,165,250,0.35),
    0 0 140px rgba(37,99,235,0.25);
}
.hero__sub {
  font-size: 16px; color: var(--text-muted);
  margin-bottom: 40px; letter-spacing: 0.2px;
}
.hero__actions {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  padding-bottom: 60px;
}

/* Animated ocean waves at hero bottom */
.hero-waves {
  position: relative; width: 100%; margin-top: auto;
  z-index: 2; line-height: 0;
}
.hero-waves svg {
  display: block; width: 200%; height: 100px;
}
.hero-wave-1 {
  position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden;
  height: 100px;
}
.hero-wave-1 .wave-svg-1 { animation: waveScroll 6s linear infinite; }
.hero-wave-1 .wave-svg-2 { animation: waveScrollReverse 9s linear infinite; opacity: 0.4; position: absolute; bottom: 0; left: 0; }

/* Section wave dividers */
.wave-sep {
  position: relative; z-index: 1;
  width: 100%; overflow: hidden;
  height: 90px; margin: 0;
}
.wave-sep svg { display: block; width: 200%; height: 90px; }
.wave-sep .ws1 { animation: waveScroll 8s linear infinite; }
.wave-sep .ws2 { animation: waveScrollReverse 11s linear infinite; opacity: 0.45; position: absolute; top: 0; left: 0; }

/* Services grid */
.services__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
.service-card {
  background: var(--card); border: none; border-radius: 0;
  padding: 40px 36px; position: relative; overflow: hidden;
  cursor: default; transition: background var(--t);
  text-decoration: none; display: block; color: inherit;
}
.service-card + .service-card { border-left: 1px solid var(--border); }
.service-card:nth-child(n+3) { border-top: 1px solid var(--border); }
.service-card::after {
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 6px; height: 6px;
  background: rgba(96,165,250,0.4); border-radius: 50%;
}
.service-card:hover { background: rgba(37,99,235,0.06); }
.service-card h3 {
  font-family: 'WeissenhofGrotesk', 'Inter', sans-serif;
  font-size: 20px; font-weight: 600; color: white; margin-bottom: 8px;
}
.service-card p {
  font-size: 11px; font-weight: 600;
  color: var(--blue-light); letter-spacing: 0.8px; text-transform: uppercase;
}

/* CTA */
.cta-card {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(14,165,233,0.08));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-xl); padding: 64px 48px; text-align: center;
}
.cta-card h2 {
  font-family: 'WeissenhofGrotesk', 'Inter', sans-serif;
  font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin-bottom: 12px;
}
.cta-card p { color: var(--text-muted); margin-bottom: 28px; }

/* Hero CTA button enhancements */
.hero__actions .btn {
  padding: 14px 34px;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__actions .btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  animation: heroPulse 2.8s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { box-shadow: var(--glow), 0 0 0 0 rgba(37,99,235,0); }
  50%       { box-shadow: var(--glow), 0 0 0 8px rgba(37,99,235,0); }
}
.hero__actions .btn--primary::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  animation: heroShimmer 3.2s ease-in-out infinite 0.8s;
}
@keyframes heroShimmer {
  0%, 60%, 100% { left: -100%; }
  30%            { left: 150%; }
}
.hero__actions .btn--primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 60px rgba(37,99,235,0.65), 0 12px 32px rgba(0,0,0,0.35) !important;
  animation: none;
}
.hero__actions .btn--ghost {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
}
.hero__actions .btn--ghost::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease;
}
.hero__actions .btn--ghost:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 30px rgba(255,255,255,0.08), 0 12px 28px rgba(0,0,0,0.25);
}
.hero__actions .btn--ghost:hover::before { opacity: 1; }

/* Fish decoration */
.fish-container {
  position: fixed; bottom: 20px; left: 0; right: 0;
  z-index: 0; pointer-events: none; overflow: hidden; height: 60px;
}
.fish {
  position: absolute; bottom: 0; font-size: 22px;
  animation: fishSwim linear infinite;
  opacity: 0.28; color: var(--teal-light);
}
.fish:nth-child(1) { animation-duration: 22s; animation-delay: 0s;    bottom: 10px; }
.fish:nth-child(2) { animation-duration: 30s; animation-delay: -8s;   bottom: 30px; font-size: 16px; }
.fish:nth-child(3) { animation-duration: 18s; animation-delay: -14s;  bottom: 5px;  font-size: 14px; opacity: 0.18; }

@media (max-width: 900px) { }
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: none; border-top: 1px solid var(--border); }
  .cta-card { padding: 40px 24px; }
}
