/* ===== STARSCAPE ===== */
#starscape {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #ffffff;
  background-image:
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(10, 25, 47, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(10, 25, 47, 0.03) 0%, transparent 60%);
  color: #143642;
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body.loading {
  overflow: hidden;
}

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

ul, ol {
  list-style: none;
}

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

/* ===== FONT DEFINITIONS ===== */
/* Display: Bebas Neue (fallback for BN Dime Display) */
/* Sans/UI: Plus Jakarta Sans (fallback for Neue Montreal) */
/* Serif/Body: Source Serif 4 (fallback for Office Times Sharp) */

.font-display {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
}

.font-serif {
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  color: #143642;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
}

.loader-letter {
  display: inline-block;
  opacity: 1;
}

.loader-dot {
  display: inline-block;
  color: #0a192f;
  opacity: 1;
}

@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

@keyframes dotBounce {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ===== BACKGROUND BLOBS ===== */
.blobs-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 202, 210, 0.08) 0%, transparent 70%);
  top: 5%;
  left: 10%;
  animation: floatBlob1 22s ease-in-out infinite alternate;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(120, 202, 210, 0.05) 0%, transparent 70%);
  top: 25%;
  right: 5%;
  animation: floatBlob2 28s ease-in-out infinite alternate;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.06) 0%, transparent 70%);
  bottom: 30%;
  left: 25%;
  animation: floatBlob3 20s ease-in-out infinite alternate;
}

.blob-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(120, 202, 210, 0.05) 0%, transparent 70%);
  top: 55%;
  right: 20%;
  animation: floatBlob4 25s ease-in-out infinite alternate;
}

.blob-5 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.04) 0%, transparent 70%);
  bottom: 10%;
  right: 35%;
  animation: floatBlob5 30s ease-in-out infinite alternate;
}

.blob-6 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(120, 202, 210, 0.04) 0%, transparent 70%);
  top: 75%;
  left: 5%;
  animation: floatBlob6 18s ease-in-out infinite alternate;
}

@keyframes floatBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.04); }
  66% { transform: translate(-20px, 40px) scale(0.96); }
  100% { transform: translate(30px, -15px) scale(1.02); }
}

@keyframes floatBlob2 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 35px) scale(1.06); }
  66% { transform: translate(25px, -20px) scale(0.95); }
  100% { transform: translate(-15px, 25px) scale(1.03); }
}

@keyframes floatBlob3 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(35px, 25px) scale(0.97); }
  66% { transform: translate(-30px, -15px) scale(1.05); }
  100% { transform: translate(20px, 35px) scale(0.98); }
}

@keyframes floatBlob4 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, -35px) scale(1.03); }
  66% { transform: translate(40px, 20px) scale(0.97); }
  100% { transform: translate(-10px, -20px) scale(1.01); }
}

@keyframes floatBlob5 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -40px) scale(1.05); }
  66% { transform: translate(-35px, 15px) scale(0.96); }
  100% { transform: translate(15px, -25px) scale(1.02); }
}

@keyframes floatBlob6 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(0.98); }
  66% { transform: translate(25px, -30px) scale(1.04); }
  100% { transform: translate(-20px, 10px) scale(1); }
}

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed;
  inset: 0;
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ===== LIQUID GLASS ===== */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(20, 54, 66, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(20, 54, 66, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(120, 202, 210, 0.4);
  box-shadow:
    0 16px 48px rgba(20, 54, 66, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 30px rgba(120, 202, 210, 0.06);
  transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 54, 66, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(20, 54, 66, 0.06);
  padding: 0.8rem 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #143642;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 101;
}

.logo-dot {
  color: #78cad2;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a6670;
  position: relative;
  padding-bottom: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #143642;
}

.nav-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  background: #0a192f;
  color: #ffffff;
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 25, 47, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #143642;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1), opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 5rem 2rem 3rem;
  clip-path: circle(0% at calc(100% - 36px) 28px);
  visibility: hidden;
  transition: clip-path 0.5s cubic-bezier(0.77,0.2,0.05,1), visibility 0s 0.5s;
}

.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 36px) 28px);
  visibility: visible;
  transition: clip-path 0.6s cubic-bezier(0.77,0.2,0.05,1), visibility 0s 0s;
}

.mobile-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #143642;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.4s; }

.mobile-link:active {
  color: #78cad2;
}

.mobile-cta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #0a192f;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 6rem 2rem 4rem;
}

.hero-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.badge-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 25, 47, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 25, 47, 0.25);
  border-radius: 100px;
  padding: 0.45rem 1.2rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  color: #4a6670;
  margin-bottom: 2.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0a192f;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #143642;
  margin-bottom: 1.8rem;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line-inner {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #0a192f, #143642);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #4a6670;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.8rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: linear-gradient(135deg, #0e7490 0%, #0a6e7d 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(14, 116, 144, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
}

.cta-button:hover {
  box-shadow: 0 15px 35px -10px rgba(14, 116, 144, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover::after {
  left: 150%;
}

.cta-button:active {
  transform: translateY(0);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(4px);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8ba8b8;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #8ba8b8, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ===== MARQUEE ===== */
.marquee-section {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(20, 54, 66, 0.06);
  padding: 1.2rem 0;
  overflow: hidden;
  background: #ffffff;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

.marquee-content span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: #8ba8b8;
  white-space: nowrap;
}

.marquee-diamond {
  font-size: 0.45rem;
  color: #78cad2;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS (general) ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 7rem 0;
  background: #ffffff;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(120, 202, 210, 0.4), transparent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0e7490;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: rgba(120, 202, 210, 0.4);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  color: #143642;
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

/* ===== SERVICES CARDS (Bento Grid) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.card:first-child {
  grid-row: 1 / 3;
  padding: 3rem;
}

.card:first-child .card-title {
  font-size: 1.5rem;
}

.card:first-child .card-desc {
  font-size: 1rem;
  line-height: 1.8;
}

.card:first-child .card-icon {
  width: 140px;
  height: 140px;
}

.card:first-child .card-icon svg {
  width: 80px;
  height: 80px;
}

.card-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card:hover .card-icon {
  opacity: 0.2;
  transform: scale(1.08);
}

.card-icon svg {
  width: 60px;
  height: 60px;
}

.card-title,
.card-desc,
.card-tags,
.card-more {
  position: relative;
  z-index: 1;
}

.card-icon-blue {
  background: rgba(14, 116, 144, 0.25);
  color: #0e7490;
}

.card-icon-teal {
  background: rgba(120, 202, 210, 0.3);
  color: #0e7490;
}

.card-icon-green {
  background: rgba(120, 202, 210, 0.25);
  color: #0e7490;
}

.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #143642;
}

.card-desc {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #4a6670;
  line-height: 1.7;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  background: rgba(10, 25, 47, 0.06);
  color: #0a192f;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(10, 25, 47, 0.1);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.card:first-child .card-tag {
  background: rgba(14, 116, 144, 0.08);
  border-color: rgba(14, 116, 144, 0.15);
  color: #0e7490;
}

.card:nth-child(2) .card-tag {
  background: rgba(14, 116, 144, 0.08);
  border-color: rgba(14, 116, 144, 0.15);
  color: #0e7490;
}

.card:nth-child(3) .card-tag {
  background: rgba(120, 202, 210, 0.08);
  border-color: rgba(120, 202, 210, 0.15);
  color: #0e7490;
}

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-card {
  padding: 2rem;
  text-align: left;
  position: relative;
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-number {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #78cad2 0%, rgba(120, 202, 210, 0.2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: #143642;
  margin-bottom: 0.6rem;
}

.process-desc {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #4a6670;
  line-height: 1.7;
}

/* Connecting line between process cards */
.process-card::after {
  content: '';
  position: absolute;
  top: 2.8rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(to right, rgba(120, 202, 210, 0.4), rgba(120, 202, 210, 0.1));
}

.process-card:last-child::after {
  display: none;
}

/* ===== STATS ===== */
.stats-section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
  background: #ffffff;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 3rem 2.5rem;
}

.stats-panel:hover {
  transform: none;
}

.stat {
  text-align: center;
  position: relative;
  padding: 1rem 1.5rem;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(120, 202, 210, 0.3), transparent);
}

.stat-number {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0a192f 0%, #1a6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #4a6670;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0 8rem;
  margin-top: 5rem;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.cta-panel {
  padding: 6rem 3rem;
  text-align: center;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 0%, rgba(14, 116, 144, 0.15) 0%, rgba(10, 25, 47, 0.95) 70%), #0a192f;
  border: 1px solid rgba(120, 202, 210, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 25, 47, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.cta-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(120, 202, 210, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.cta-bg-image {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  mix-blend-mode: screen;
}

.cta-floating-orb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: floatOrb 12s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(8deg); }
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(120, 202, 210, 0.1);
  border: 1px solid rgba(120, 202, 210, 0.4);
  border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #78cad2;
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(120, 202, 210, 0.2);
}

.cta-badge::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #78cad2;
  border-radius: 50%;
  box-shadow: 0 0 8px #78cad2;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(120, 202, 210, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(120, 202, 210, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(120, 202, 210, 0); }
}

.cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.cta-title .gradient-text {
  background: linear-gradient(135deg, #78cad2 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: #a0b8c0;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 3rem;
}

.cta-button-glow {
  background: linear-gradient(135deg, #0e7490 0%, #1a6b7a 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(120, 202, 210, 0.5) !important;
  box-shadow: 0 10px 30px rgba(14, 116, 144, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2) !important;
  font-size: 1.1rem !important;
  padding: 1.2rem 2.8rem !important;
  display: inline-flex !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cta-button-glow:hover {
  box-shadow: 0 15px 40px rgba(14, 116, 144, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-4px) !important;
}

/* Tablet / Mobile CTA */
@media (max-width: 900px) {
  .cta-panel {
    padding: 4rem 2rem;
  }
  .cta-bg-image {
    top: -10%;
    right: -20%;
    width: 400px;
    height: 400px;
  }
}

/* ===== CTA GLOW ===== */
.cta-glow {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 8rem;
  z-index: 2;
  background: #ffffff;
}

.cta-glow-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.cta-glow-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #143642;
  line-height: 1.1;
}

.cta-glow-btn {
  border-radius: 14px;
}

.cta-glow-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: translateY(1rem);
  opacity: 0.8;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  pointer-events: none;
}

.cta-glow:hover .cta-glow-bg {
  transform: translateY(-2rem);
  opacity: 1;
}

.cta-glow-orbs {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-glow-orb {
  position: absolute;
  left: 50%;
  border-radius: 50%;
}

.cta-glow-orb-lg {
  bottom: 0;
  height: 256px;
  width: 60%;
  transform: translateX(-50%) scale(2.5);
  background: radial-gradient(ellipse at center, rgba(120, 202, 210, 0.5) 10%, rgba(120, 202, 210, 0) 60%);
}

.cta-glow-orb-sm {
  bottom: 0;
  height: 128px;
  width: 40%;
  transform: translateX(-50%) scale(2);
  background: radial-gradient(ellipse at center, rgba(14, 116, 144, 0.3) 10%, rgba(120, 202, 210, 0) 60%);
}

@media (min-width: 640px) {
  .cta-glow {
    padding: 8rem 0 10rem;
  }
  .cta-glow-orb-lg {
    height: 512px;
  }
  .cta-glow-orb-sm {
    height: 256px;
  }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(20, 54, 66, 0.06);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: #8ba8b8;
  letter-spacing: -0.03em;
}

.footer-dot {
  color: #78cad2;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #8ba8b8;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4a6670;
}

.footer-copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: #8ba8b8;
}

.footer-email {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #8ba8b8;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #4a6670;
}

/* ===== SCROLL HERO (Frame Animation) ===== */
.hero-scroll {
  position: relative;
  height: 200vh;
  z-index: 2;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sticky::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35vh;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
  z-index: 1;
  pointer-events: none;
  opacity: var(--hero-fade, 0);
  transition: opacity 0.1s linear;
}

#frameCanvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  will-change: transform;
}

.hero-scroll .hero-content {
  position: relative;
  z-index: 2;
  margin-top: 65vh;
  text-align: center;
  padding: 0 1.5rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.hero-scroll .hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  white-space: nowrap;
}

/* ===== LOADER PROGRESS BAR ===== */
.loader-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.loader-bar-track {
  width: 160px;
  height: 2px;
  border-radius: 2px;
  background: rgba(20, 54, 66, 0.1);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: #0a192f;
  transition: width 0.3s ease;
}

.loader-percent {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  color: #8ba8b8;
  letter-spacing: 0.1em;
}

/* ===== SCROLL PROGRESS BAR ===== */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #0a192f, #78cad2);
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ===== SUBPAGE HERO ===== */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 2rem 5rem;
  text-align: center;
}

.page-hero .section-label {
  margin-bottom: 1.5rem;
}

.page-hero .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.page-hero-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  color: #4a6670;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SERVICE DETAIL CARDS ===== */
.service-detail {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.service-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(120, 202, 210, 0.4), transparent);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail:nth-child(even) .service-detail-inner {
  direction: rtl;
}

.service-detail:nth-child(even) .service-detail-inner > * {
  direction: ltr;
}

.service-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0e7490;
  letter-spacing: 0.1em;
}

.service-detail-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #143642;
}

.service-detail-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: #4a6670;
  line-height: 1.8;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: #143642;
}

.service-feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #0e7490;
}

.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-large {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-large svg {
  width: 80px;
  height: 80px;
  opacity: 0.6;
}


/* ===== TECH GRID ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-item {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.tech-item:hover {
  transform: translateY(-2px);
}

.tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 25, 47, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  color: #0a192f;
}

.tech-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #143642;
}

/* ===== VALUE CARDS ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon-teal {
  background: rgba(120, 202, 210, 0.15);
  color: #0e7490;
}

.value-icon-blue {
  background: rgba(14, 116, 144, 0.1);
  color: #0e7490;
}

.value-icon-green {
  background: rgba(120, 202, 210, 0.12);
  color: #0e7490;
}

.value-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #143642;
  letter-spacing: -0.02em;
}

.value-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  color: #4a6670;
  line-height: 1.7;
}

/* ===== ABOUT INTRO ===== */
.about-intro {
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem;
  color: #4a6670;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* ===== CARD LINK STYLE ===== */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link .card-more {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #0e7490;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  transition: gap 0.3s ease;
}

.card-link:hover .card-more {
  gap: 0.7rem;
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ===== LOAD ANIMATIONS ===== */
.animate-on-load {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-load.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Title line specific: slide up from below with clip */
.animate-on-load.title-line .title-line-inner {
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-load.title-line.visible .title-line-inner {
  transform: translateY(0);
}

.animate-on-load.title-line {
  opacity: 1;
  transform: none;
}

/* ===== SERVICES PREVIEW BENTO ===== */
.services-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 3rem;
}

.services-bento-large {
  grid-row: 1 / 3;
}

.services-bento-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.services-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 202, 210, 0.4);
}

.services-bento-icon {
  color: #0e7490;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.services-bento-card:hover .services-bento-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.services-bento-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: #78cad2;
  letter-spacing: 0.1em;
}

.services-bento-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: #143642;
}

.services-bento-large .services-bento-title {
  font-size: 1.8rem;
}

.services-bento-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.7;
  max-width: 45ch;
}

.services-bento-large .services-bento-desc {
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-bento-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: #0e7490;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  transition: gap 0.3s ease;
}

.services-bento-card:hover .services-bento-link {
  gap: 0.7rem;
}

/* ===== PROCESS OVERVIEW ===== */
.process-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process-overview-card {
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-overview-card:hover {
  transform: translateY(-4px);
}

.process-overview-card::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(to right, rgba(120, 202, 210, 0.4), rgba(120, 202, 210, 0.1));
}

.process-overview-card:last-child::after {
  display: none;
}

.process-overview-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0e7490 0%, #78cad2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.75rem;
}

.process-overview-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #143642;
  margin-bottom: 0.5rem;
}

.process-overview-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  color: #4a6670;
  line-height: 1.7;
}

.process-overview-cta {
  text-align: center;
  margin-top: 3rem;
}

.section-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0e7490;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.section-link:hover {
  gap: 0.8rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-featured {
  padding: 3rem;
}

.testimonial-quote-icon {
  color: #78cad2;
}

.testimonial-text {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 1rem;
  color: #143642;
  line-height: 1.8;
  max-width: 55ch;
}

.testimonial-featured .testimonial-text {
  font-size: 1.15rem;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #143642;
}

.testimonial-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: #8ba8b8;
}

.testimonial-metric {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(120, 202, 210, 0.2);
}

.testimonial-metric-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0e7490 0%, #78cad2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonial-metric-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #4a6670;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(20, 54, 66, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(20, 54, 66, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-trigger:hover .faq-question {
  color: #0e7490;
}

.faq-question {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #143642;
  transition: color 0.3s ease;
}

.faq-icon {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: #8ba8b8;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #0e7490;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  opacity: 1;
}

.faq-answer p {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.8;
  padding-bottom: 1.5rem;
  max-width: 60ch;
}

.faq-link {
  color: #0e7490;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-link:hover {
  color: #78cad2;
}

/* ===== WORD SCROLL ===== */
.word-scroll {
  width: 100%;
  position: relative;
  z-index: 1;
  background: #ffffff;
  font-size: clamp(2.5rem, 6vw, 5rem);
  scrollbar-width: none;
}

.word-scroll::-webkit-scrollbar {
  display: none;
}

.word-scroll .scroll-spacer {
  height: 10vh;
}

.word-scroll-inner {
  display: flex;
  justify-content: center;
  line-height: 1.25;
}

.word-scroll-inner h2 {
  position: sticky;
  top: calc(50vh - 0.5lh);
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: inherit;
  font-weight: 400;
  height: fit-content;
  letter-spacing: -0.02em;
}

.word-scroll-inner ul {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  list-style: none;
  margin: 0;
  padding-block: calc(50vh - 0.5lh);
  padding-left: 0;
  --step: calc((var(--end) - var(--start)) / (var(--count) - 1));
}

.word-scroll[data-snap="true"] {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y proximity;
}

.word-scroll[data-snap="true"] li {
  scroll-snap-align: center;
}

.word-scroll li:not(:last-of-type) {
  color: oklch(45% 0.12 calc(var(--start) + (var(--step) * var(--i))));
}

.word-scroll h2,
.word-scroll li:last-of-type {
  background: linear-gradient(#143642 50%, rgba(20, 54, 66, 0.3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports (animation-timeline: scroll()) and (animation-range: 0% 100%) {
  .word-scroll[data-animate="true"] li {
    opacity: 0.15;
    animation-name: wordBrighten;
    animation-fill-mode: both;
    animation-timing-function: linear;
    animation-range: cover calc(50% - 1lh) calc(50% + 1lh);
    animation-timeline: view();
  }

  .word-scroll[data-animate="true"] li:first-of-type {
    --ws-start-opacity: 1;
  }

  .word-scroll[data-animate="true"] li:last-of-type {
    --ws-end-opacity: 1;
  }

  @keyframes wordBrighten {
    0% { opacity: var(--ws-start-opacity, 0.15); }
    50% { opacity: 1; }
    100% { opacity: var(--ws-end-opacity, 0.15); }
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Word scroll mobile */
@media (max-width: 600px) {
  .word-scroll {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem;
}

.legal-updated {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: #8ba8b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #143642;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.legal-content li {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.8;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #78cad2;
}

.legal-content a {
  color: #0e7490;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: #78cad2;
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.error-code {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 15vw, 12rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #0e7490 0%, #78cad2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 1rem;
}

.error-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #143642;
  margin-bottom: 1rem;
}

.error-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: #4a6670;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Bento grid: stack on tablet */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .card:first-child {
    grid-row: auto;
    padding: 2.5rem;
  }

  .card:first-child .card-title {
    font-size: 1.3rem;
  }

  .card:first-child .card-desc {
    font-size: 0.95rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .process-card::after {
    display: none;
  }

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 2rem;
  }

  .stat:nth-child(2)::after {
    display: none;
  }

  .stat:nth-child(4)::after {
    display: none;
  }

  .section {
    padding: 5rem 0;
  }

  .cta-panel {
    padding: 3.5rem 2rem;
  }

  /* Subpage responsive */
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) .service-detail-inner {
    direction: ltr;
  }

  .service-visual {
    order: -1;
  }



  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero-scroll {
    height: 180vh;
  }

  .hero-sticky {
    background: #d5e8ed;
  }

  .hero-sticky::after {
    background: linear-gradient(to bottom, transparent 0%, #d5e8ed 40%, #ffffff 100%);
  }

  /* New sections tablet */
  .services-bento {
    grid-template-columns: 1fr;
  }

  .services-bento-large {
    grid-row: auto;
  }

  .process-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-overview-card::after {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .navbar {
    padding: 1rem 1.2rem;
  }

  .navbar.scrolled {
    padding: 0.7rem 1.2rem;
  }

  .hero {
    padding: 5rem 1.2rem 3rem;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .badge-glass {
    font-size: 0.7rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.85rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card::after {
    display: none;
  }

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 2rem 1.5rem;
  }

  .stat:not(:last-child)::after {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    margin-bottom: 2.5rem;
  }

  .container {
    padding: 0 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .cta-panel {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .cta-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .scroll-cue {
    bottom: 1.5rem;
  }

  .hero-scroll {
    height: 180vh;
  }

  .hero-sticky {
    background: #d5e8ed;
  }

  .hero-sticky::after {
    background: linear-gradient(to bottom, transparent 0%, #d5e8ed 40%, #ffffff 100%);
  }

  .hero-scroll .hero-content {
    margin-top: 50vh;
  }

  .hero-scroll .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    white-space: normal;
    line-height: 1.15;
    color: #143642;
    text-shadow: 0 1px 8px rgba(213, 232, 237, 0.6);
  }

  .hero-scroll .cta-button {
    background: rgba(255, 255, 255, 0.9);
    color: #143642;
    border: 1px solid rgba(20, 54, 66, 0.15);
    backdrop-filter: blur(8px);
  }

  .page-hero {
    padding: 8rem 1.2rem 3rem;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }



  /* Smaller blobs on mobile */
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { width: 280px; height: 280px; }
  .blob-3 { width: 250px; height: 250px; }
  .blob-4 { width: 220px; height: 220px; }
  .blob-5 { width: 200px; height: 200px; }
  .blob-6 { width: 180px; height: 180px; }

  /* New sections mobile */
  .services-bento {
    grid-template-columns: 1fr;
  }

  .services-bento-large {
    grid-row: auto;
  }

  .services-bento-card {
    padding: 2rem;
  }

  .services-bento-large .services-bento-title {
    font-size: 1.4rem;
  }

  .process-overview-grid {
    grid-template-columns: 1fr;
  }

  .process-overview-card::after {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    padding: 2rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }
}

/* ===== REFERENCIÁK GRID ===== */
.referenciak-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.ref-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(10, 25, 47, 0.08);
}

.ref-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2eef1 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #78cad2;
}

.ref-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ref-card:hover .ref-image img {
  transform: scale(1.03);
}

.ref-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ref-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #143642;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.ref-desc {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.ref-results {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e7490;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(20, 54, 66, 0.08);
}

/* ===== FROST CARDS ===== */
.frost-card-wrap {
  position: relative;
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.frost-card-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10, 25, 47, 0.15);
}

.frost-card {
  display: grid;
  align-content: end;
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 1.5rem;
  background: #1a2a35;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}

.frost-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 35%,
    rgba(20, 30, 40, 0.15) 45%,
    rgba(20, 30, 40, 0.45) 60%,
    rgba(20, 30, 40, 0.7) 75%,
    rgba(20, 30, 40, 0.85) 100%
  );
}

.frost-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  transition: transform 0.5s ease-in-out;
}

.frost-card-wrap:hover .frost-backdrop {
  transform: scale(1.1);
}

.frost-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.4rem;
}

.frost-category {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.frost-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}

.frost-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

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

/* ===== GLOWING CARD EFFECT ===== */
[data-glow] {
  overflow: visible;
  position: relative;
}

.glow-effect {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
}

.glow-effect .glow {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  position: relative;
}

.glow-effect .glow::after {
  content: "";
  border-radius: inherit;
  position: absolute;
  inset: calc(-1 * var(--glow-border-width, 3px));
  border: var(--glow-border-width, 3px) solid transparent;
  background:
    radial-gradient(circle, #78cad2 10%, #78cad200 20%),
    radial-gradient(circle at 40% 40%, #a5cc6b 5%, #a5cc6b00 15%),
    radial-gradient(circle at 60% 60%, #0e7490 10%, #0e749000 20%),
    radial-gradient(circle at 40% 60%, #5ba4b5 10%, #5ba4b500 20%),
    repeating-conic-gradient(
      from 236.84deg at 50% 50%,
      #78cad2 0%,
      #0e7490 5%,
      #a5cc6b 10%,
      #5ba4b5 15%,
      #78cad2 20%
    );
  background-attachment: fixed;
  opacity: var(--glow-active, 0);
  transition: opacity 0.3s;
  -webkit-mask-clip: padding-box, border-box;
  mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--glow-start, 0) - var(--glow-spread, 40)) * 1deg),
      #00000000 0deg,
      #fff,
      #00000000 calc(var(--glow-spread, 40) * 2deg)
    );
  mask-image:
    linear-gradient(#0000, #0000),
    conic-gradient(
      from calc((var(--glow-start, 0) - var(--glow-spread, 40)) * 1deg),
      #00000000 0deg,
      #fff,
      #00000000 calc(var(--glow-spread, 40) * 2deg)
    );
}

@media (max-width: 768px) {
  .referenciak-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== QUOTE PAGE ===== */
.quote-page {
  background: #f5f7fa;
}

/* Quote Header */
.quote-header {
  position: relative;
  z-index: 1;
  padding: 10rem 2rem 2rem;
  text-align: center;
}

.quote-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: #143642;
  display: none;
}

.quote-logo-dot {
  color: #a5cc6b;
}

.quote-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #143642;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.quote-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: #4a6670;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}


/* Form Card */
.form-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow:
    0 8px 40px rgba(20, 54, 66, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(20, 54, 66, 0.03);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  pointer-events: none;
  border-radius: 24px 24px 0 0;
}

/* Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #143642;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.step-subtitle {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #4a6670;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Form Groups */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: #4a6670;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.req {
  color: #a5cc6b;
}

.form-hint {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  color: #8ba8b8;
  margin-top: 2px;
}

/* Inputs */
.form-input {
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: #143642;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(20, 54, 66, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.form-input::placeholder {
  color: #8ba8b8;
}

.form-input:focus {
  border-color: rgba(46, 94, 170, 0.3);
  box-shadow: 0 0 0 3px rgba(46, 94, 170, 0.08), 0 4px 12px rgba(20, 54, 66, 0.04);
  background: rgba(255, 255, 255, 0.8);
}

.form-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(220, 80, 80, 0.4);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238ba8b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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




/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(20, 54, 66, 0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #143642;
  background: #a5cc6b;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(165, 204, 107, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #4a6670;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px solid rgba(20, 54, 66, 0.1);
  border-radius: 100px;
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(20, 54, 66, 0.2);
}

.btn-secondary.hidden {
  visibility: hidden;
}

/* Form Error */
.form-error {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: #dc5050;
  margin-top: 1rem;
  text-align: center;
}

/* Success Screen */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.visible {
  display: block;
  animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(165, 204, 107, 0.15);
  color: #a5cc6b;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: successBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successBounce {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #143642;
  margin-bottom: 0.75rem;
}

.success-text {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: #4a6670;
  line-height: 1.7;
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* Quote Page Responsive */
@media (max-width: 768px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 32px 24px;
    border-radius: 20px;
  }



  .quote-header {
    padding: 9rem 1.5rem 1.5rem;
  }
}

@media (max-width: 500px) {
  .form-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .form-nav .btn-primary,
  .form-nav .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary.hidden {
    display: none;
  }

  .form-card {
    padding: 24px 18px;
    border-radius: 16px;
  }



  .quote-title {
    font-size: 1.8rem;
  }
}

