/* =========================================================
   COLDFIN SERVICES — Cold Chain Engineering / Ghana
   Style: industrial-professional, trust-focused
   Colors inspired by ice/precision (cold) + gold (fin)
   ========================================================= */

:root {
  /* Brand — Ice Blue palette */
  --ice-900:  #0A2342;   /* Deep navy — headers, nav */
  --ice-700:  #0D3B66;   /* Medium navy */
  --ice-500:  #1565C0;   /* Primary blue */
  --ice-400:  #1E88E5;   /* Bright blue */
  --ice-200:  #90CAF9;   /* Light blue */
  --ice-100:  #BBDEFB;   /* Pale blue */
  --ice-50:   #E3F2FD;   /* Ice tint */

  /* Accent — Gold */
  --gold-700: #B87A00;
  --gold-600: #D4940A;
  --gold-500: #E8A820;
  --gold-400: #F0BC42;
  --gold-100: #FFF8E1;

  /* Neutral */
  --ink:      #0F1C2E;
  --ink-soft: #2C3E55;
  --gray-800: #37474F;
  --gray-700: #455A64;
  --gray-600: #546E7A;
  --gray-500: #78909C;
  --gray-400: #90A4AE;
  --gray-300: #B0BEC5;
  --gray-200: #CFD8DC;
  --gray-100: #ECEFF1;
  --white:    #FFFFFF;

  /* Semantic */
  --green-600: #2E7D32;
  --red-500:   #C62828;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1280px;
  --radius: 4px;
  --radius-lg: 10px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* Container */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font); color: var(--ink); letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.25; font-weight: 700; }
h4 { font-size: 17px; line-height: 1.3; font-weight: 600; }
p { color: var(--gray-600); line-height: 1.65; }

/* ===== UTILITY BAR ===== */
.utility-bar {
  background: var(--ice-900);
  color: var(--white);
  font-size: 12px;
  padding: 7px 0;
}
.utility-bar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.utility-bar a { opacity: 0.8; transition: opacity .2s; }
.utility-bar a:hover { opacity: 1; }
.util-links { display: flex; gap: 20px; }
.util-locale { display: flex; gap: 10px; align-items: center; opacity: 0.75; }

/* ===== NAV ===== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 12px rgba(10,35,66,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand-name { display: flex; flex-direction: column; }
.brand-name .name { font-size: 18px; font-weight: 800; color: var(--ice-700); letter-spacing: -0.5px; line-height: 1.1; }
.brand-name .tagline { font-size: 10px; font-weight: 500; color: var(--gold-600); letter-spacing: 1px; text-transform: uppercase; }

.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; font-weight: 500;
}
.nav-links a {
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--ice-500); border-bottom-color: var(--ice-200); }
.nav-links a.active { color: var(--ice-500); border-bottom-color: var(--ice-500); }
.nav-cta {
  background: var(--gold-600);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--gold-700); transform: translateY(-1px); }

/* Right-side action container that holds BOTH the Ask AI button and Request a Quote */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Prominent Ask AI button — eye-catching, distinct from the gold CTA */
.nav-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
  color: var(--white);
  padding: 11px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, filter .15s;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.28);
  position: relative;
  white-space: nowrap;
}
.nav-ai-btn svg { flex-shrink: 0; }
.nav-ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(14, 116, 144, 0.38);
  filter: brightness(1.08);
}
.nav-ai-btn:active { transform: translateY(0); }

/* Subtle pulse ring to draw the eye — quietly animated */
.nav-ai-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(14, 116, 144, 0.55);
  animation: nav-ai-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes nav-ai-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(14, 116, 144, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(14, 116, 144, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 116, 144, 0); }
}

/* Active state — used on the Ask AI page itself */
.nav-ai-btn-active {
  background: linear-gradient(135deg, #155e75 0%, #0e7490 100%);
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.btn-gold { background: var(--gold-600); color: var(--white); }
.btn-gold:hover { background: var(--gold-700); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,148,10,0.35); }
.btn-ice { background: var(--ice-500); color: var(--white); }
.btn-ice:hover { background: var(--ice-700); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ice-700); border: 2px solid var(--ice-700); }
.btn-outline:hover { background: var(--ice-700); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--white); color: var(--ice-700); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--ice-900) 0%, var(--ice-700) 50%, #0D4A8A 100%);
  color: var(--white);
  padding: 100px 0 120px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid; grid-template-columns: 0.85fr 1.5fr;
  gap: 64px; align-items: center;
  position: relative;
}
.hero-text { }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold-400);
  margin-bottom: 28px;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero h1 .gold { color: var(--gold-400); }
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-size: 36px; font-weight: 800; color: var(--gold-400);
  letter-spacing: -2px;
}
.hero-stat-label {
  font-size: 12px; color: rgba(255,255,255,0.6);
  margin-top: 4px; font-weight: 500;
}
/* ============================================================
   SERVICES HERO — Video Carousel
   Custom classes used in services.html
   ============================================================ */
.hero-media {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-left: auto;
  position: relative;
  border: 6px solid rgba(255,255,255,0.08);
  transform: scale(1.05);
  transform-origin: center;
}
.hero-media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(10,35,66,0.9));
}
.hero-media-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--white);
}
.hero-media-tag svg { width: 14px; height: 14px; }

/* Hero media meta chips (floating stats on hero video) */
.hero-media-meta {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.hero-media-meta-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--white);
}

.hero-media-meta-chip .chip-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
}

.hero-media-meta-chip .chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.hero-media-meta-chip .chip-icon svg {
  width: 14px;
  height: 14px;
}

.hero-media-meta-chip .chip-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .hero-media-meta { top: 12px; right: 12px; }
  .hero-media-meta-chip { padding: 6px 10px; gap: 6px; }
  .hero-media-meta-chip .chip-num { font-size: 13px; }
  .hero-media-meta-chip .chip-lbl { font-size: 9px; letter-spacing: 0; }
  .hero-media-meta-chip .chip-icon svg { width: 12px; height: 12px; }
}

/* ============================================================
   CINEMATIC HERO — Homepage fullscreen immersive hero
   ============================================================ */

.cinematic-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ice-900);
  isolation: isolate;
  padding: 100px 0 0;
}

.cinematic-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cinematic-hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.05);
  animation: cf-hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes cf-hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.12); }
}

.cinematic-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(10, 35, 66, 0.55) 0%, rgba(10, 35, 66, 0.0) 60%),
    radial-gradient(ellipse at bottom right, rgba(13, 45, 85, 0.65) 0%, rgba(8, 28, 56, 0.0) 60%),
    linear-gradient(135deg, rgba(8, 28, 56, 0.78) 0%, rgba(10, 35, 66, 0.65) 50%, rgba(8, 28, 56, 0.85) 100%);
  z-index: 1;
}

/* Animated gradient mesh */
.cinematic-hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 30%, rgba(212, 148, 10, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(21, 101, 192, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(212, 148, 10, 0.08) 0%, transparent 60%);
  mix-blend-mode: screen;
  animation: cf-mesh-pan 18s ease-in-out infinite alternate;
}

@keyframes cf-mesh-pan {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-2%, 1%) rotate(2deg); }
  100% { transform: translate(2%, -1%) rotate(-2deg); }
}

/* Floating orbs */
.cinematic-hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 2;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.cinematic-hero-orb-1 {
  top: 12%;
  left: -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 148, 10, 0.5) 0%, rgba(212, 148, 10, 0) 70%);
  animation: cf-orb-1 14s ease-in-out infinite alternate;
}

.cinematic-hero-orb-2 {
  bottom: 15%;
  right: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.45) 0%, rgba(21, 101, 192, 0) 70%);
  animation: cf-orb-2 18s ease-in-out infinite alternate;
}

.cinematic-hero-orb-3 {
  top: 50%;
  left: 35%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  animation: cf-orb-3 22s ease-in-out infinite alternate;
}

@keyframes cf-orb-1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(60px, 80px); }
}
@keyframes cf-orb-2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-80px, -40px); }
}
@keyframes cf-orb-3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 40px) scale(1.15); }
}

/* Animated diagonal light streak */
.cinematic-hero-streak {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 200%;
  height: 140%;
  background: linear-gradient(115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 49%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 51%,
    transparent 60%,
    transparent 100%);
  z-index: 2;
  animation: cf-streak 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cf-streak {
  0%   { transform: translateX(-60%) rotate(0deg); opacity: 0.6; }
  50%  { opacity: 1; }
  100% { transform: translateX(60%) rotate(0deg); opacity: 0.6; }
}

/* Subtle grid pattern overlay */
.cinematic-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* Top eyebrow row */
.cinematic-hero-top {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  margin-bottom: 60px;
}

.cinematic-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.cinematic-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px rgba(212, 148, 10, 0.7);
  animation: cf-pulse 2s ease-in-out infinite;
}

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

.cinematic-hero-side-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.side-tag-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

/* Main content */
.cinematic-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cinematic-hero-title {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--white);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.cinematic-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: cf-rise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cinematic-line-1 { animation-delay: 0.1s; }
.cinematic-line-2 { animation-delay: 0.3s; }
.cinematic-line-3 { animation-delay: 0.5s; }

.cinematic-line .gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 50%, var(--gold-400) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: cf-shimmer 5s ease-in-out infinite;
  position: relative;
  display: inline-block;
}

.cinematic-line .gold::after {
  content: '';
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(ellipse, rgba(212, 148, 10, 0.25) 0%, transparent 60%);
  z-index: -1;
  filter: blur(20px);
}

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

@keyframes cf-rise {
  to { opacity: 1; transform: translateY(0); }
}

.cinematic-hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: cf-rise 1s 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.cinematic-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: cf-rise 1s 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cinematic-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.cinematic-btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--ice-900);
  box-shadow: 0 12px 30px rgba(212, 148, 10, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cinematic-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.cinematic-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(212, 148, 10, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cinematic-btn-primary:hover::before {
  opacity: 1;
}

.cinematic-btn-primary svg {
  transition: transform 0.35s ease;
}

.cinematic-btn-primary:hover svg {
  transform: translateX(4px);
}

.cinematic-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.cinematic-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.cinematic-btn-secondary svg {
  fill: var(--gold-400);
  color: var(--gold-400);
}

/* Bottom info bar */
.cinematic-hero-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 64px 48px;
  margin-top: 60px;
  gap: 40px;
}

.cinematic-hero-chips {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cinematic-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: cf-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cinematic-chip:nth-child(1) { animation-delay: 1s; }
.cinematic-chip:nth-child(2) { animation-delay: 1.1s; }
.cinematic-chip:nth-child(3) { animation-delay: 1.2s; }

.cinematic-chip:hover {
  background: rgba(212, 148, 10, 0.15);
  border-color: rgba(212, 148, 10, 0.45);
  transform: translateY(-2px);
}

.cinematic-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 148, 10, 0.18);
  color: var(--gold-400);
}

/* Vertical scroll indicator */
.cinematic-hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0;
  animation: cf-rise 0.8s 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.scroll-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--gold-400);
  animation: cf-scroll-down 2s ease-in-out infinite;
}

@keyframes cf-scroll-down {
  0%   { top: -12px; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 60px; opacity: 0; }
}

/* Corner brackets */
.cinematic-hero-corner {
  position: absolute;
  z-index: 4;
  color: rgba(212, 148, 10, 0.55);
  pointer-events: none;
}
.cinematic-hero-corner-tl { top: 24px; left: 24px; }
.cinematic-hero-corner-tr { top: 24px; right: 24px; }
.cinematic-hero-corner-bl { bottom: 24px; left: 24px; }
.cinematic-hero-corner-br { bottom: 24px; right: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .cinematic-hero-top,
  .cinematic-hero-bottom {
    padding-left: 24px;
    padding-right: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .cinematic-hero-side-tag { display: none; }
  .cinematic-hero-content { padding: 0 24px; }
  .cinematic-hero-bottom { align-items: center; }
  .cinematic-hero-chips { justify-content: center; }
  .cinematic-hero-scroll { display: none; }
  .cinematic-hero-corner { display: none; }
}

@media (max-width: 600px) {
  .cinematic-hero { min-height: 92vh; }
  .cinematic-hero-title { font-size: clamp(40px, 11vw, 64px); }
  .cinematic-hero-actions { flex-direction: column; align-items: stretch; }
  .cinematic-btn { justify-content: center; }
  .cinematic-hero-bottom { padding-bottom: 32px; }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--ice-50);
  border-bottom: 1px solid var(--ice-100);
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.trust-label {
  font-size: 12px; font-weight: 600; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ice-700);
}
.trust-item svg { color: var(--gold-600); flex-shrink: 0; }

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--gold-600); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; display: inline-block; width: 28px; height: 2px;
  background: var(--gold-600); vertical-align: middle; margin-right: 10px;
}
.section-title { color: var(--ice-900); margin-bottom: 16px; }
.section-sub {
  font-size: 17px; color: var(--gray-600); max-width: 640px;
  margin: 0 auto; line-height: 1.65;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ice-500), var(--gold-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(10,35,66,0.1); border-color: var(--ice-200); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--ice-50);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  transition: background .3s;
}
.service-card:hover .service-icon { background: var(--gold-100); }
.service-card h3 { font-size: 20px; color: var(--ice-900); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }
.service-card ul {
  margin-top: 16px; display: flex; flex-direction: column; gap: 8px;
}
.service-card li {
  font-size: 13px; color: var(--gray-700);
  padding: 0 0 0 20px; position: relative;
}
.service-card li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 2px; background: var(--gold-500);
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--ice-900);
  padding: 70px 0;
  color: var(--white);
}
.why-section .section-eyebrow { color: var(--gold-400); }
.why-section .section-eyebrow::before { background: var(--gold-400); }
.why-section .section-title { color: var(--white); }
.why-section .section-sub { color: rgba(255,255,255,0.7); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 42px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s;
}
.why-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.why-num {
  font-size: 40px; font-weight: 800; color: var(--gold-500);
  letter-spacing: -2px; line-height: 1; margin-bottom: 16px;
  font-family: var(--font);
}
.why-card h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* ===== FEATURED PROJECTS ===== */
.projects-section {
  padding: 70px 0;
  background: var(--gray-100);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-top: 39px;
}
.project-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-200);
  transition: all .3s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(10,35,66,0.12); }
.project-card-media {
  aspect-ratio: 16/9; overflow: hidden; background: var(--gray-200);
  position: relative;
}
.project-card-media img,
.project-card-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.project-card:hover .project-card-media img,
.project-card:hover .project-card-media video { transform: scale(1.05); }
.project-tag {
  position: absolute; top: 11px; left: 11px;
  background: var(--ice-500); color: var(--white);
  padding: 4px 8px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.project-body { padding: 17px; }
.project-body h3 { font-size: 18px; color: var(--ice-900); margin-bottom: 8px; }
.project-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.project-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 11px; border-top: 1px solid var(--gray-200);
}
.project-meta-item { font-size: 12px; color: var(--gray-500); }
.project-meta-item strong { color: var(--ice-700); font-weight: 600; display: block; }

/* ===== PROCESS ===== */
.process-section {
  padding: 100px 0;
  background: var(--white);
}
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--ice-500), var(--gold-500));
  z-index: 0;
}
.process-step {
  text-align: center; padding: 0 16px;
  position: relative; z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  border: 4px solid var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 20px; font-weight: 800; color: var(--white);
  box-shadow: 0 4px 20px rgba(13,59,102,0.2);
}
.process-step h4 { font-size: 15px; color: var(--ice-900); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--ice-700) 0%, var(--ice-900) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,148,10,0.12), transparent 60%);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 40px; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ===== HSE ===== */
.hse-section {
  padding: 56px 0;
  background: var(--ice-50);
  border-top: 1px solid var(--ice-100);
  border-bottom: 1px solid var(--ice-100);
}
.hse-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hse-content h2 { color: var(--ice-900); margin-bottom: 20px; }
.hse-content p { margin-bottom: 28px; }
.hse-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hse-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--gray-700); font-weight: 500;
}
.hse-item svg { color: var(--gold-600); flex-shrink: 0; }
.hse-media {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
}
.hse-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ice-900);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-500); }
.footer h5 {
  font-size: 13px; font-weight: 700; color: var(--white);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer ul li a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom div:last-child { color: rgba(255,255,255,0.4); }

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: white; line-height: 1;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 90; transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ===== PAGE HEADER (sub-pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--ice-900) 0%, var(--ice-700) 100%);
  color: var(--white); padding: 56px 0 42px;
}
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 18px; }
.breadcrumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumbs a { color: rgba(255,255,255,0.6); transition: color .2s; }
.breadcrumbs a:hover { color: var(--gold-400); }

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--ice-700) 0%, var(--ice-900) 100%);
  padding: 72px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; text-align: center;
}
.stat-item {}
.stat-num {
  font-size: 48px; font-weight: 800; color: var(--gold-400);
  letter-spacing: -3px; line-height: 1;
}
.stat-label {
  font-size: 14px; color: rgba(255,255,255,0.7);
  margin-top: 8px; font-weight: 500;
}

/* ===== CEO MESSAGE ===== */
.ceo-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.ceo-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  margin-top: 42px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(10, 35, 66, 0.12);
  border: 1px solid var(--gray-200);
}
.ceo-photo {
  position: relative;
  min-height: 284px;
  overflow: hidden;
  background: var(--ice-900);
}
.ceo-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}
.ceo-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 35, 66, 0.55) 100%);
  pointer-events: none;
}
.ceo-content {
  padding: 32px 27px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ceo-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 98px;
  line-height: 1;
  color: var(--gold-400);
  position: absolute;
  top: 24px;
  right: 48px;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}
.ceo-lead {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ice-900);
  margin-bottom: 17px;
  letter-spacing: -0.2px;
}
.ceo-content p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 13px;
}
.ceo-highlight {
  margin: 20px 0;
  padding: 17px 20px;
  background: linear-gradient(135deg, var(--ice-900) 0%, var(--ice-700) 100%);
  border-left: 3px solid var(--gold-400);
  border-radius: var(--radius);
}
.ceo-highlight-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-400);
  margin-bottom: 10px;
}
.ceo-highlight p {
  color: var(--white);
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 0;
  font-weight: 400;
}
.ceo-signature {
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--gray-200);
}
.ceo-signed-name {
  font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 25px;
  font-weight: 400;
  color: var(--ice-900);
  line-height: 1;
  margin-bottom: 8px;
}
.ceo-signed-title {
  font-size: 9px;
  color: var(--gray-600);
  font-weight: 500;
  letter-spacing: 0.4px;
}
@media (max-width: 900px) {
  .ceo-card { grid-template-columns: 1fr; }
  .ceo-photo { min-height: 266px; }
  .ceo-content { padding: 28px 20px; }
  .ceo-lead { font-size: 14px; }
  .ceo-quote-mark { font-size: 63px; top: 8px; right: 17px; }
}

/* ===== TEAM SECTION ===== */
.team-section { padding: 70px 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.team-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); transition: all .3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(10,35,66,0.1); }
.team-card-img {
  aspect-ratio: 3/4; overflow: hidden; background: var(--gray-200);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 17px; }
.team-card-body h3 { font-size: 18px; color: var(--ice-900); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gold-600); font-weight: 600; margin-bottom: 10px; }
.team-card-body p { font-size: 13px; }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 39px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 29px; align-items: start;
}
.contact-info-card {
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-info-card h3 { color: var(--ice-900); margin-bottom: 17px; font-size: 22px; }
.contact-item {
  display: flex; gap: 10px; margin-bottom: 12px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 28px; height: 28px;
  background: var(--white); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--ice-500);
  border: 1px solid var(--ice-100);
}
.contact-item h4 { font-size: 13px; color: var(--ice-900); margin-bottom: 3px; }
.contact-item p { font-size: 13px; color: var(--gray-600); line-height: 1.5; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-form h3 { color: var(--ice-900); margin-bottom: 20px; font-size: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 6px 8px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  font-family: var(--font); font-size: 14px;
  transition: border-color .2s;
  background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ice-500);
}
.field textarea { resize: vertical; min-height: 59px; }
.form-submit {
  background: linear-gradient(135deg, var(--ice-500), var(--ice-700));
  color: var(--white); width: 100%;
  padding: 11px; border-radius: var(--radius);
  font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all .2s;
  border: none;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,59,102,0.3);
}

/* ===== CSR SECTION ===== */
.csr-section {
  padding: 100px 0;
  background: var(--gray-100);
}
.csr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.csr-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--gray-200);
  text-align: center; transition: all .3s;
}
.csr-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10,35,66,0.1); }
.csr-icon {
  font-size: 32px; margin-bottom: 16px;
  display: block;
}
.csr-card h4 { font-size: 15px; color: var(--ice-900); margin-bottom: 8px; }
.csr-card p { font-size: 13px; }

/* ===== SERVICES INTRO SECTION ===== */
.services-intro-section {
  padding: 100px 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.services-intro-text .section-eyebrow {
  text-align: left;
  display: block;
  margin-bottom: 16px;
}
.services-intro-text .section-eyebrow::before {
  display: none;
}
.services-intro-text h2 {
  text-align: left;
  margin-bottom: 20px;
  color: var(--ice-900);
}
.services-intro-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}
.intro-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.intro-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-600);
  letter-spacing: -1.5px;
  line-height: 1;
}
.intro-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}
.services-intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.intro-feature-card {
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .3s;
}
.intro-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10,35,66,0.08);
  border-color: var(--ice-200);
}
.intro-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--ice-500);
  border: 1px solid var(--ice-100);
}
.intro-feature-card h4 {
  font-size: 15px;
  color: var(--ice-900);
  margin-bottom: 8px;
}
.intro-feature-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
  padding: 100px 0;
  background: var(--gray-100);
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .3s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10,35,66,0.1);
  border-color: var(--ice-200);
}
.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--ice-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ice-500);
  transition: background .3s;
}
.industry-card:hover .industry-icon {
  background: var(--gold-100);
  color: var(--gold-600);
}
.industry-card h4 {
  font-size: 17px;
  color: var(--ice-900);
  margin-bottom: 10px;
}
.industry-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== WHY SERVICES SECTION ===== */
.why-services-section {
  padding: 100px 0;
  background: var(--white);
}
.why-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-services-content .section-eyebrow {
  text-align: left;
  display: block;
  margin-bottom: 16px;
}
.why-services-content .section-eyebrow::before {
  display: none;
}
.why-services-content h2 {
  text-align: left;
  margin-bottom: 16px;
  color: var(--ice-900);
}
.why-services-content > p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 40px;
}
.why-services-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.why-services-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.why-services-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-500);
  letter-spacing: -1px;
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.why-services-text h4 {
  font-size: 16px;
  color: var(--ice-900);
  margin-bottom: 6px;
}
.why-services-text p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}
.why-services-media {
  position: sticky;
  top: 100px;
}
.why-services-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-bottom: 24px;
}
.why-services-image-grid img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.why-services-image-grid img:first-child {
  grid-column: 1 / -1;
  height: 200px;
}
.why-services-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--ice-50);
  border: 1px solid var(--ice-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.why-services-stat {
  text-align: center;
}
.why-services-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-600);
  letter-spacing: -1.5px;
}
.why-services-stat-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ===== CTA SECTION ENHANCEMENTS ===== */
.cta-contact-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.cta-contact-item svg {
  color: var(--gold-400);
  flex-shrink: 0;
}

/* ===== TRUST SECTION — scrolling marquee ===== */
.trust-section {
  background: var(--ice-50);
  padding: 40px 0;
  border-bottom: 1px solid var(--ice-100);
  overflow: hidden;
}
.trust-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.trust-track-wrap {
  position: relative;
  overflow: hidden;
}
.trust-track-wrap::before,
.trust-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
}
.trust-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--ice-50), transparent);
}
.trust-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--ice-50), transparent);
}
.trust-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: trustMarquee 30s linear infinite;
}
.trust-track:hover {
  animation-play-state: paused;
}
@keyframes trustMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-logo-card {
  flex-shrink: 0;
  height: 56px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(10,35,66,0.06);
}
.trust-logo-card:hover {
  border-color: var(--ice-200);
  box-shadow: 0 6px 20px rgba(10,35,66,0.12);
  transform: translateY(-3px);
}
.trust-logo-card img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter .3s;
}
.trust-logo-card:hover img {
  filter: grayscale(0%);
}

/* ===== SERVICE CARDS (image-led) ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10,35,66,0.1);
  border-color: var(--ice-200);
}
.service-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gray-100);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.service-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.service-card:hover .service-card-img img,
.service-card:hover .service-card-img video {
  transform: scale(1.05);
}
.service-card-body {
  padding: 24px;
}
.service-card-body .service-icon {
  margin-bottom: 12px;
}
.service-card-body h3 {
  font-size: 18px;
  color: var(--ice-900);
  margin-bottom: 8px;
}
.service-card-body p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
}
.service-card .service-icon {
  background: none;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  font-size: 22px;
  margin-bottom: 8px;
}
.service-card:hover .service-icon { background: none; }

/* ===== HOW WE DELIVER (human-crafted cards) ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.how-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.how-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice-500), var(--gold-500));
  transform: scaleX(0);
  transition: transform .3s;
}
.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(10,35,66,0.1);
  border-color: var(--ice-200);
}
.how-card:hover::after { transform: scaleX(1); }
.how-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--ice-100);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font);
}
.how-icon {
  width: 56px;
  height: 56px;
  background: var(--ice-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--ice-500);
  transition: all .3s;
  border: 1px solid var(--ice-100);
}
.how-card:hover .how-icon {
  background: var(--gold-100);
  color: var(--gold-600);
  border-color: var(--gold-400);
}
.how-card h4 {
  font-size: 17px;
  color: var(--ice-900);
  margin-bottom: 10px;
}
.how-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===== WHY CHOOSE US — icon boxes ===== */
.why-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(240, 188, 66, 0.15);
  border: 1px solid rgba(240, 188, 66, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-400);
  transition: all .3s;
}
.why-card:hover .why-icon-box {
  background: rgba(240, 188, 66, 0.25);
  transform: scale(1.05);
}

/* ===== COUNTER ANIMATION ===== */
.stat-num {
  transition: color .3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 380px; transform: scale(1); aspect-ratio: 1/1; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .csr-grid { grid-template-columns: 1fr 1fr; }
  .hse-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .why-services-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-services-media { position: static; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 0 80px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero h1 { letter-spacing: -2px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .csr-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .hse-list { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .intro-stats { flex-direction: column; gap: 20px; }
  .services-intro-features { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .cta-contact-row { flex-direction: column; gap: 16px; align-items: center; }
  .how-grid { grid-template-columns: 1fr; }
  .trust-logos { gap: 12px; }
}

/* ============================================================
   ANIMATION ENHANCEMENTS — Smooth Motion Layer
   Preserves all original colors and styles; adds tasteful motion
   ============================================================ */

/* Keyframes */
@keyframes cf-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cf-scale-in {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes cf-slide-right {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cf-slide-left {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes cf-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@keyframes cf-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fade-up scroll reveal */
.cf-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.cf-fade-up.cf-visible {
  opacity: 1;
  transform: translateY(0);
}

.cf-fade-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-fade-in.cf-visible {
  opacity: 1;
}

.cf-slide-right {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-slide-right.cf-visible {
  opacity: 1;
  transform: translateX(0);
}

.cf-slide-left {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-slide-left.cf-visible {
  opacity: 1;
  transform: translateX(0);
}

.cf-scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-scale-in.cf-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.cf-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.cf-stagger.cf-visible > *:nth-child(1) { transition-delay: 0.05s; }
.cf-stagger.cf-visible > *:nth-child(2) { transition-delay: 0.12s; }
.cf-stagger.cf-visible > *:nth-child(3) { transition-delay: 0.2s; }
.cf-stagger.cf-visible > *:nth-child(4) { transition-delay: 0.28s; }
.cf-stagger.cf-visible > *:nth-child(5) { transition-delay: 0.36s; }
.cf-stagger.cf-visible > *:nth-child(6) { transition-delay: 0.44s; }
.cf-stagger.cf-visible > *:nth-child(7) { transition-delay: 0.52s; }
.cf-stagger.cf-visible > *:nth-child(8) { transition-delay: 0.6s; }
.cf-stagger.cf-visible > *:nth-child(9) { transition-delay: 0.68s; }

/* Nav scroll state */
.nav {
  transition: padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
}

.nav.cf-scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(10, 35, 66, 0.08);
}

/* Smooth hover lift on cards (preserves existing styles, adds motion) */
.service-card,
.project-card,
.why-card,
.how-card,
.value-card,
.team-card,
.industry-card,
.product-row,
.csr-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.service-card:hover,
.project-card:hover,
.why-card:hover,
.how-card:hover,
.value-card:hover,
.team-card:hover,
.industry-card:hover {
  transform: translateY(-6px);
}

/* Image zoom inside cards */
.service-card img,
.project-card img,
.project-card-media img,
.service-card-img img,
.csr-card img,
.team-card img,
.industry-card img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover img,
.project-card:hover img,
.project-card:hover .project-card-media img,
.csr-card:hover img,
.team-card:hover img,
.industry-card:hover img {
  transform: scale(1.06);
}

/* Image zoom on video hover */
.project-card-media video,
.service-card-img video {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-media video,
.service-card:hover .service-card-img video {
  transform: scale(1.04);
}

/* Button ripple / lift enhancement */
.btn {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

.btn:active::after {
  width: 240px;
  height: 240px;
  opacity: 1;
  transition: width 0s, height 0s, opacity 0s;
}

/* Arrow slides on hover */
.btn-arrow svg {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-arrow:hover svg {
  transform: translateX(4px);
}

/* Icon hover bounce */
.service-icon,
.why-icon-box,
.how-icon,
.value-icon,
.about-feature-icon,
.about-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-icon,
.why-card:hover .why-icon-box,
.how-card:hover .how-icon {
  transform: scale(1.1) rotate(-3deg);
}

/* Marquee smooth pause-on-hover */
.trust-track,
.hero-trust-logos {
  transition: animation-play-state 0.3s ease;
}

.track-wrap:hover .trust-track,
.trust-track-wrap:hover .trust-track {
  animation-play-state: paused;
}

/* Smooth scroll progress indicator */
.cf-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ice-500), var(--gold-500));
  z-index: 9999;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* Back to top button */
.cf-back-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--ice-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s ease;
  z-index: 99;
  box-shadow: 0 6px 20px rgba(10, 35, 66, 0.2);
}

.cf-back-top.cf-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cf-back-top:hover {
  background: var(--ice-500);
  transform: translateY(-2px);
}

/* Magnetic link effect for nav */
.nav-links a {
  position: relative;
  transition: color 0.2s ease, border-color 0.3s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ice-500);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  width: 70%;
}

/* Hero media subtle float */
.hero-media {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  animation: cf-float 6s ease-in-out infinite;
}

/* Service image reveal */
.service-card-img,
.project-card-media {
  overflow: hidden;
  position: relative;
}

.service-card-img::after,
.project-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 35, 66, 0.5));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Smooth state changes for all interactive elements */
a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .cf-fade-up,
  .cf-fade-in,
  .cf-slide-right,
  .cf-slide-left,
  .cf-scale-in,
  .cf-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Section reveal (parent trigger) */
.cf-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-section.cf-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading bar shimmer for hero */
.hero-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  background-size: 200% 100%;
  animation: cf-shimmer 3s linear infinite;
  z-index: 2;
}

/* Number counter pulse on stat */
.cf-counter-pulse {
  animation: cf-pulse 0.6s ease-out;
}

/* Trust strip gentle sway */
.hero-trust-logos span {
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-trust-logos span:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Form field focus animation */
input,
select,
textarea {
  transition: border-color 0.2s ease, box-shadow 0.3s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  animation: cf-fade-in 0.3s ease;
}

/* Card link subtle hover for project cards */
.project-card h3,
.service-card h3 {
  transition: color 0.25s ease;
}

.project-card:hover h3,
.service-card:hover h3 {
  color: var(--ice-500);
}

/* Section padding smoother */
section {
  transition: background 0.4s ease;
}

/* Tab indicator smooth */
.tabs-indicator,
.tab-active {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   SERVICES HERO — Video Carousel
   Custom classes used in services.html
   ============================================================ */

.svc-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--ice-900);
  color: var(--white);
  overflow: hidden;
}

.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.svc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.svc-hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.svc-hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 35, 66, 0.92) 0%,
    rgba(13, 59, 102, 0.78) 50%,
    rgba(21, 101, 192, 0.65) 100%);
  z-index: 1;
}

.svc-hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 0 40px;
}

.svc-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  padding: 7px 14px;
  border: 1px solid rgba(240, 188, 66, 0.4);
  border-radius: 100px;
  background: rgba(240, 188, 66, 0.1);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.svc-hero-content h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
}

.svc-hero-accent {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.svc-hero-content > p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.svc-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.svc-hero-slides-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.svc-hero-dot {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.svc-hero-dot.active {
  background: var(--gold-500);
  width: 56px;
}

.svc-hero-stats {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.svc-stat {
  padding: 22px 32px;
  background: rgba(13, 59, 102, 0.6);
  text-align: center;
}

.svc-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.svc-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .svc-hero-stats {
    position: static;
    width: 100%;
    justify-content: stretch;
  }
  .svc-stat {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .svc-hero { padding: 120px 0 80px; min-height: auto; }
  .svc-hero-content { padding: 0 24px; }
  .svc-hero-stats { flex-direction: row; }
  .svc-stat { padding: 16px 14px; }
  .svc-stat-num { font-size: 24px; }
  .svc-hero-slides-dots { bottom: 100px; }
}

/* ============================================================
   PROJECTS — Signature Hero (Full Background Image)
   Used at the top of projects.html
   ============================================================ */

.signature-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 100px;
  margin-top: 0;
}

.signature-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.signature-hero:hover .signature-hero-bg {
  transform: scale(1.05);
}

.signature-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(8, 28, 56, 0.92) 0%,
      rgba(10, 35, 66, 0.85) 50%,
      rgba(13, 45, 85, 0.85) 100%);
  z-index: 1;
}

.signature-hero-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-600));
  z-index: 2;
}

.signature-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.signature-hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.signature-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--ice-900);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(212, 148, 10, 0.4);
}

.signature-hero-title {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.signature-hero-highlight {
  color: var(--gold-400);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.signature-hero-subtitle {
  font-size: 12px;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.signature-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.signature-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.signature-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}

.signature-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 148, 10, 0.18);
  border: 1px solid rgba(212, 148, 10, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.signature-feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.signature-feature-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.signature-hero-cta {
  padding: 13px 28px;
  font-size: 14px;
  display: inline-flex;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .signature-hero { min-height: auto; padding: 120px 0 80px; }
  .signature-hero-features { grid-template-columns: 1fr; gap: 10px; }
  .signature-hero-desc { font-size: 14px; }
}

/* ===== COLDFIN CHATBOT ===== */
:root {
  --cf-chat-primary: #0e7490;
  --cf-chat-primary-dark: #155e75;
  --cf-chat-bg: #ffffff;
  --cf-chat-bot-bubble: #f1f5f9;
  --cf-chat-text: #0f172a;
  --cf-chat-muted: #64748b;
}

.cf-chat-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, var(--cf-chat-primary), var(--cf-chat-primary-dark));
  color: white;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
  z-index: 100;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.cf-chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.55);
}
.cf-chat-toggle:active {
  transform: translateY(0);
}
.cf-chat-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}
.cf-chat-toggle-label {
  display: inline-block;
  line-height: 1;
}
.cf-chat-pulse {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid white;
  animation: cf-chat-status-dot-pulse 2s infinite;
}
@keyframes cf-chat-status-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.cf-chat-window {
  position: fixed;
  bottom: 96px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 130px);
  background: var(--cf-chat-bg);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 96;
  font-family: inherit;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cf-chat-window.cf-chat-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cf-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--cf-chat-primary), var(--cf-chat-primary-dark));
  color: white;
  flex-shrink: 0;
}
.cf-chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.cf-chat-header-text { flex: 1; min-width: 0; }
.cf-chat-header-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.cf-chat-header-status {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cf-chat-status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
  animation: cf-chat-pulse-dot 1.8s infinite;
}
@keyframes cf-chat-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.cf-chat-minimize {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.15s, background 0.15s;
}
.cf-chat-minimize:hover { opacity: 1; background: rgba(255, 255, 255, 0.15); }

/* Expand / open-full-page button (icon-only, sits next to minimize) */
.cf-chat-expand {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  cursor: pointer;
  padding: 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s, background 0.15s, transform 0.15s;
  margin-right: 4px;
}
.cf-chat-expand:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.cf-chat-expand:active { transform: scale(0.94); }

.cf-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fafbfc;
  scrollbar-width: thin;
}
.cf-chat-messages::-webkit-scrollbar { width: 6px; }
.cf-chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cf-chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 100%;
  animation: cf-chat-fade-in 0.25s ease;
  width: 100%;
}
@keyframes cf-chat-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Bot messages sit on the LEFT (standard ChatGPT layout) */
.cf-chat-msg-bot { align-self: flex-start; flex-direction: row; }
/* User messages sit on the RIGHT */
.cf-chat-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.cf-chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cf-chat-primary), var(--cf-chat-primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.cf-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  max-width: 78%;
  min-width: 40px;
  width: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  hyphens: auto;
}
.cf-chat-msg-bot .cf-chat-bubble {
  background: linear-gradient(135deg, var(--cf-chat-primary), var(--cf-chat-primary-dark));
  color: white;
  border-bottom-left-radius: 4px;
}
.cf-chat-msg-user .cf-chat-bubble {
  background: var(--cf-chat-bot-bubble);
  color: var(--cf-chat-text);
  border-bottom-right-radius: 4px;
}
.cf-chat-bubble strong { font-weight: 700; }

.cf-chat-typing .cf-chat-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}
.cf-chat-bubble-thinking {
  background: var(--cf-chat-bot-bubble) !important;
  color: var(--cf-chat-muted) !important;
  border-bottom-left-radius: 4px;
}
.cf-chat-thinking-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-chat-primary);
  letter-spacing: 0.2px;
}
.cf-chat-thinking-dots {
  display: inline-flex;
  gap: 4px;
}
.cf-chat-dot {
  width: 7px;
  height: 7px;
  background: var(--cf-chat-primary);
  border-radius: 50%;
  animation: cf-chat-bounce 1.2s infinite;
  opacity: 0.7;
}
.cf-chat-dot:nth-child(2) { animation-delay: 0.15s; }
.cf-chat-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes cf-chat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Streaming caret — the blinking line at the end of an in-progress reply */
.cf-chat-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: currentColor;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cf-chat-caret-blink 1s steps(2, start) infinite;
  border-radius: 1px;
}
@keyframes cf-chat-caret-blink {
  to { visibility: hidden; }
}

/* During streaming, give the bubble a subtle shimmer */
.cf-chat-streaming .cf-chat-bubble {
  position: relative;
}

.cf-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 10px;
  background: #fafbfc;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.cf-chat-suggestion {
  background: white;
  border: 1px solid #cbd5e1;
  color: var(--cf-chat-primary);
  padding: 7px 12px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  font-family: inherit;
}
.cf-chat-suggestion:hover {
  background: var(--cf-chat-primary);
  border-color: var(--cf-chat-primary);
  color: white;
}
.cf-chat-suggestion:active { transform: scale(0.96); }

.cf-chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  background: white;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.cf-chat-input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 22px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #f8fafc;
}
.cf-chat-input:focus {
  border-color: var(--cf-chat-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}
.cf-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--cf-chat-primary), var(--cf-chat-primary-dark));
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.1s, opacity 0.15s;
}
.cf-chat-send:hover { transform: scale(1.05); }
.cf-chat-send:active { transform: scale(0.94); }

@media (max-width: 480px) {
  .cf-chat-window {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100vh - 72px);
    max-height: 100vh;
    border-radius: 16px 16px 0 0;
  }
  .cf-chat-toggle {
    bottom: 16px;
    left: 16px;
    padding: 9px 14px 9px 12px;
    font-size: 12px;
  }
  .cf-chat-toggle-icon {
    width: 22px;
    height: 22px;
  }
}

/* Push WhatsApp button up when chat is open on mobile */
@media (max-width: 480px) {
  .cf-chat-open ~ .wa-float,
  .wa-float { transition: bottom 0.25s; }
}

/* ============================================================
   ASK AI PAGE
   ============================================================ */
.page-hero {
  padding: 100px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}
.page-hero .section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(14, 116, 144, 0.08);
  color: var(--ice-500, #0e7490);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--navy-900, #0f172a);
  margin: 0 0 18px;
  letter-spacing: -1px;
}
.page-hero-sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-600, #475569);
}
.page-hero-sub strong {
  color: var(--ice-500, #0e7490);
  font-weight: 700;
}

.ask-ai-section {
  padding: 30px 0 30px;
  background: #ffffff;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}
.ask-ai-section .container {
  display: flex;
  width: 100%;
}
.ask-ai-chat-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Full-page chat panel — BIG window, fills most of the viewport */
.cf-chat-page {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(15, 23, 42, 0.10);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 130px);
  min-height: 640px;
  max-height: 900px;
}
.cf-chat-page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--cf-chat-primary, #0e7490), var(--cf-chat-primary-dark, #155e75));
  color: white;
  flex-shrink: 0;
}
.cf-chat-avatar-lg {
  width: 44px;
  height: 44px;
  font-size: 15px !important;
}
.cf-chat-page-header-text {
  flex: 1;
  min-width: 0;
}
.cf-chat-page-header .cf-chat-header-status {
  color: rgba(255, 255, 255, 0.85) !important;
}
.cf-chat-page-header .cf-chat-status-dot {
  background: #4ade80 !important;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}
.cf-chat-page-clear {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.cf-chat-page-clear:hover {
  background: rgba(255, 255, 255, 0.25);
}
.cf-chat-messages-page {
  flex: 1;
  padding: 24px 22px;
  min-height: 0;
}
.cf-chat-suggestions-page {
  padding: 0 22px 12px;
  background: white;
}
.cf-chat-input-row-page {
  padding: 14px 18px 18px;
  background: white;
  border-top: 1px solid #e2e8f0;
}
.cf-chat-input-row-page .cf-chat-input {
  font-size: 15px;
  padding: 14px 18px;
}

@media (max-width: 960px) {
  .cf-chat-page {
    height: calc(100vh - 110px);
    min-height: 540px;
  }
}
@media (max-width: 640px) {
  .cf-chat-page {
    height: calc(100vh - 100px);
    min-height: 480px;
    border-radius: 14px;
  }
  .ask-ai-chat-wrapper { padding: 0 4px; }
}

/* ============================================================
   NAV: Ask AI button — responsive tweaks
   ============================================================ */
@media (max-width: 900px) {
  .nav-ai-btn {
    padding: 9px 14px;
    font-size: 13px;
  }
  .nav-cta {
    padding: 9px 16px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .nav-actions {
    gap: 6px;
  }
  .nav-ai-btn span,
  .nav-cta {
    /* On very small screens, hide the labels and show icons only */
    font-size: 0;
  }
  .nav-ai-btn span { display: none; }
  .nav-ai-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-ai-btn svg { margin: 0; }
  .nav-cta {
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    position: relative;
  }
  .nav-cta::before {
    content: '✉';
    font-size: 16px;
    color: white;
  }
}