/* ═══════════════════════════════════════════════════
   WHALE CASTLE STUDIO - Deep Ocean Observatory Theme
   ═══════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --ocean-deep: #010c18;
  --ocean-mid: #031e34;
  --ocean-surface: #0a4a6e;
  --cyan: #4ac8e8;
  --cyan-dim: #1a7a9a;
  --cyan-glow: rgba(74, 200, 232, 0.15);
  --purple: #5a8abf;
  --purple-glow: rgba(90, 138, 191, 0.12);
  --text-primary: rgba(220, 240, 255, 0.92);
  --text-secondary: rgba(200, 228, 248, 0.7);
  --text-dim: rgba(165, 210, 238, 0.42);
  --glass-bg: rgba(10, 60, 100, 0.15);
  --glass-border: rgba(60, 160, 210, 0.1);
  --glass-bg-hover: rgba(20, 80, 130, 0.2);
  --font-display: 'Raleway', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --glow-sm: 0 0 15px rgba(0, 229, 255, 0.1);
  --glow-md: 0 0 30px rgba(0, 229, 255, 0.12);
  --glow-lg: 0 0 60px rgba(0, 229, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-dim) var(--ocean-deep);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: #031e34; /* mid-ocean fallback while canvas loads */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

::selection {
  background: rgba(0, 229, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ocean-deep); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ─── LAYOUT HELPERS ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ─── 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.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger > *.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 60px);
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px clamp(20px, 4vw, 60px);
}

.site-header .logo {
  width: 60px;
  height: 60px;
  /* Tint to match --cyan (#4ac8e8) */
  filter: brightness(0) invert(1) sepia(0.35) saturate(4) hue-rotate(160deg) brightness(1.05);
  animation: logoFlow 5s ease-in-out infinite;
  transition: filter 0.3s, transform 0.3s;
}

@keyframes logoFlow {
  0%   { filter: brightness(0) invert(1) sepia(0.35) saturate(4) hue-rotate(160deg) brightness(1.05) drop-shadow(0 0 4px rgba(74, 200, 232, 0.2)); }
  33%  { filter: brightness(0) invert(1) sepia(0.3) saturate(3.5) hue-rotate(165deg) brightness(1.15) drop-shadow(0 0 8px rgba(74, 200, 232, 0.35)); }
  66%  { filter: brightness(0) invert(1) sepia(0.4) saturate(4.5) hue-rotate(155deg) brightness(1.0) drop-shadow(0 0 5px rgba(74, 200, 232, 0.25)); }
  100% { filter: brightness(0) invert(1) sepia(0.35) saturate(4) hue-rotate(160deg) brightness(1.05) drop-shadow(0 0 4px rgba(74, 200, 232, 0.2)); }
}

.site-header .logo:hover {
  filter: brightness(0) invert(1) sepia(0.35) saturate(5) hue-rotate(160deg) brightness(1.3) drop-shadow(0 0 12px rgba(74, 200, 232, 0.5));
  transform: scale(1.05);
}

.site-header .divider { display: none; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  position: relative;
}

.site-nav a:hover {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
}

.site-nav a.active {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════
   GLASSMORPHIC CARD
   ═══════════════════════════════ */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(24px, 3vw, 40px);
  transition: all 0.4s ease;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(0, 229, 255, 0.12);
  box-shadow: var(--glow-md);
  transform: translateY(-4px);
}

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan);
  color: var(--ocean-deep);
  border-color: var(--cyan);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

.btn-primary:hover {
  background: #33ebff;
  box-shadow: 0 6px 30px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--cyan);
  transition: opacity 0.2s;
}

.site-footer a:hover { opacity: 0.7; }
.site-footer p { margin: 4px 0; }

/* ═══════════════════════════════
   HOME - HERO
   ═══════════════════════════════ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 40px;
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(0, 229, 255, 0.8) 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero .subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero .subtitle-tagline {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 50px;
}

.hero .hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image {
  display: none; /* Replaced by canvas effects */
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 3s ease infinite;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════
   HOME - INTRO / HELLO
   ═══════════════════════════════ */
.hello-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px clamp(20px, 4vw, 60px);
  align-items: center;
}

.hello-text {
  padding-right: 60px;
}

.hello-text .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hello-text .label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.hello-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 200;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hello-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hello-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hello-visual .globe-ring {
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 50%;
  position: relative;
  animation: spin 30s linear infinite;
}

.hello-visual .globe-ring::before,
.hello-visual .globe-ring::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 50%;
}

.hello-visual .globe-ring::before {
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  animation: spin 25s linear reverse infinite;
}

.hello-visual .globe-ring::after {
  top: 50px; left: 50px; right: 50px; bottom: 50px;
  animation: spin 20s linear infinite;
}

.hello-visual .globe-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Location dots on the globe */
.hello-visual .globe-dot:nth-child(2) { top: 30%; left: 20%; }
.hello-visual .globe-dot:nth-child(3) { top: 45%; right: 15%; }
.hello-visual .globe-dot:nth-child(4) { bottom: 25%; left: 40%; }

.hello-image { display: none; }

/* ═══════════════════════════════
   HOME - CLIENT TRUST
   ═══════════════════════════════ */
.client-trust {
  position: relative;
  z-index: 2;
  padding: 100px clamp(20px, 4vw, 60px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.client-trust .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.client-trust .section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 200;
  margin-bottom: 20px;
}

.client-trust .section-header p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Flip card container */
.client-logos .logo-cell {
  perspective: 600px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.client-logos .logo-cell .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.client-logos .logo-cell:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Shared face styles */
.client-logos .flip-front,
.client-logos .flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front: company name in shimmer gradient text */
.client-logos .flip-front {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: 0.05em;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(135deg, #fff 0%, rgba(0, 229, 255, 0.8) 50%, #fff 100%);
  background-size: 200% auto;
  animation: shimmer 6s ease infinite;
  /* Need a visible border since background-clip:text hides bg */
  box-shadow: inset 0 0 0 1px var(--glass-border);
}

/* Restore visible background behind the text */
.client-logos .flip-front::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  z-index: -1;
}

/* Back: white box with original color logo */
.client-logos .flip-back {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotateY(180deg);
  padding: 20px;
}

.client-logos .flip-back img {
  max-height: 75%;
  max-width: 75%;
  width: auto;
  object-fit: contain;
}

.client-logos .flip-back img.logo-xs {
  transform: scale(0.9);
}

.client-logos .flip-back img.logo-sm {
  transform: scale(1.2);
}

.client-logos .flip-back img.logo-md {
  transform: scale(1.1);
}

.client-logos .flip-back img.logo-lg {
  max-height: 97%;
  max-width: 97%;
  transform: scale(1.3);
}

/* ═══════════════════════════════
   HOME - SUBSCRIBE
   ═══════════════════════════════ */
.subscribe-section {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.subscribe-section h5 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 200;
  margin-bottom: 12px;
}

.subscribe-section .sub-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.subscribe-form:focus-within {
  border-color: rgba(0, 229, 255, 0.25);
  box-shadow: var(--glow-sm);
}

.subscribe-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  background: transparent;
  color: var(--text-primary);
}

.subscribe-form input::placeholder {
  color: var(--text-dim);
}

.subscribe-form button {
  background: var(--cyan);
  color: var(--ocean-deep);
  border: none;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0 100px 100px 0;
}

.subscribe-form button:hover {
  background: #33ebff;
}

/* ═══════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════ */
.about-hero {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px clamp(20px, 4vw, 60px) 80px;
  gap: 60px;
}

.about-hero-text {
  flex: 1;
  background: transparent;
  padding: 0;
  margin-right: 0;
}

.about-hero-text .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-hero-text .label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.about-hero-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  margin-bottom: 30px;
  line-height: 1.1;
}

.about-hero-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-hero-text .btn {
  margin-top: 24px;
}

.about-hero-image {
  flex: 0 0 40%;
  position: relative;
}

.about-hero-image img {
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  opacity: 0.7;
}

.about-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), transparent);
  pointer-events: none;
}

/* Partners */
.partners-section {
  position: relative;
  z-index: 2;
  padding: 60px clamp(20px, 4vw, 60px) 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.partners-section > h4 {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 200;
  margin-bottom: 60px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 24px;
  padding: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.partner-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(0, 229, 255, 0.1);
  box-shadow: var(--glow-sm);
}

.partner-card .partner-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1) opacity(0.6);
  transition: filter 0.4s;
}

.partner-card:hover .partner-logo {
  filter: brightness(0) invert(1) opacity(0.9);
}

.partner-info {
  flex: 1;
  text-align: left;
}

.partner-info h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.partner-info .partner-service {
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.partner-info p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ═══════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════ */
.services-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 160px 20px 80px;
}

.services-hero .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.services-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 200;
  margin-bottom: 16px;
}

.services-hero .subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-secondary);
  font-style: normal;
}

/* Bento Service Cards */
.service-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto 80px;
  padding: 0 clamp(20px, 4vw, 60px);
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(0, 229, 255, 0.15);
  box-shadow: var(--glow-md);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-icon {
  padding: 30px 24px 0;
  font-size: 36px;
  line-height: 1;
}

.service-card h2 {
  font-size: 18px;
  font-weight: 400;
  padding: 20px 24px 0;
  color: var(--text-primary);
  text-transform: none;
  min-height: auto;
  display: block;
  letter-spacing: -0.01em;
  text-align: left;
}

.service-card .card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 10px 24px 24px;
  line-height: 1.6;
  text-align: left;
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.4s;
  border-radius: 0 0 20px 20px;
  margin-top: auto;
  padding: 10px;
}

.service-card:hover img {
  opacity: 1;
}

.service-card--featured {
  border-color: rgba(74, 200, 232, 0.25);
  background: rgba(74, 200, 232, 0.06);
}

.service-card--featured:hover {
  border-color: rgba(74, 200, 232, 0.4);
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
  transition: opacity 0.2s;
}

.card-link:hover {
  opacity: 0.75;
}

/* Service Details - Bento Grid */
.service-details {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.service-detail {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  transition: all 0.4s ease;
}

.service-detail:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(0, 229, 255, 0.08);
}

.service-detail h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-detail p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 20px;
  margin-top: 80px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(124, 77, 255, 0.04));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-banner p {
  font-size: 16px;
  margin-bottom: 28px;
  color: var(--text-secondary);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: var(--glow-sm);
}

/* ═══════════════════════════════
   FRACTIONAL CTO PAGE
   ═══════════════════════════════ */
.fcto-intro,
.fcto-audience,
.fcto-expertise,
.fcto-process {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px) 80px;
}

.fcto-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.fcto-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.fcto-audience .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.fcto-audience .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.fcto-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fcto-card {
  padding: 32px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: background 0.3s, border-color 0.3s;
}

.fcto-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(74, 200, 232, 0.18);
}

.fcto-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.fcto-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.expertise-item {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.expertise-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--cyan);
}

.expertise-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.fcto-process .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.fcto-process .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.fcto-process .section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ─── ENGAGEMENT MODELS ─── */
.fcto-engage {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px) 80px;
}

.fcto-engage .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.fcto-engage .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.fcto-engage .section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.engage-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.engage-card {
  padding: 36px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: background 0.3s, border-color 0.3s;
}

.engage-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(74, 200, 232, 0.18);
}

.engage-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(74, 200, 232, 0.08);
  border: 1px solid rgba(74, 200, 232, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.engage-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.engage-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.engage-list {
  list-style: none;
  padding: 0;
}

.engage-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.engage-list li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--cyan);
  font-weight: 700;
}

/* ═══════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════ */
.contact-section {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 160px clamp(20px, 4vw, 60px) 80px;
  align-items: start;
}

.contact-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 200;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact-intro .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-intro .label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.contact-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details .detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-details .detail-item .icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.12);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
}

#success-msg {
  color: var(--cyan) !important;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

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

.btn-submit {
  display: block;
  width: 100%;
  background: var(--cyan);
  color: var(--ocean-deep);
  border: none;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  border-radius: 12px;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: #33ebff;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

/* ═══════════════════════════════
   STAT COUNTERS
   ═══════════════════════════════ */
/* ─── HOW WE WORK ─── */
.how-we-work {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px) 80px;
}

.how-we-work .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.how-we-work .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.how-we-work .section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  padding: 36px 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: background 0.3s, border-color 0.3s;
}

.process-step:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(74, 200, 232, 0.18);
}

.step-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 200;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.6;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    padding: 100px 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .site-nav.open { right: 0; }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .hero h1 { font-size: clamp(36px, 10vw, 56px); }

  .hello-section {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hello-text { padding-right: 0; margin-bottom: 40px; }
  .hello-visual { height: 250px; }
  .hello-visual .globe-ring { width: 200px; height: 200px; }

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

  .about-hero {
    flex-direction: column;
    padding-top: 120px;
    gap: 40px;
  }

  .about-hero-image { flex: auto; }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 120px;
  }

  .partner-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .partner-info { text-align: center; }

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

  .fcto-cards {
    grid-template-columns: 1fr;
  }

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

  .engage-models {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .client-logos {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }
}
