/* ===== CASCADIA CODE FONTS ===== */

/* Cascadia Code Regular (for body text) */
@font-face {
  font-family: 'Cascadia Code';
  src: url('/CascadiaCode font/CascadiaCode font/CascadiaCode.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cascadia Code';
  src: url('/CascadiaCode font/CascadiaCode font/CascadiaCodeItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Cascadia Code Mono (for code/monospace) */
@font-face {
  font-family: 'Cascadia Code Mono';
  src: url('/CascadiaCode font/CascadiaCode font/CascadiaMono.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cascadia Code Mono';
  src: url('/CascadiaCode font/CascadiaCode font/CascadiaMonoItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ===== BASE & THEME ===== */

:root {
  --primary: #F95C4B;
  --primary-soft: rgba(249, 92, 75, 0.14);

  --bg: #000000;
  --bg-dark: #060606;
  --bg-elevated: #101010;

  --text: #E4DED2;
  --muted: #b0aaa0;

  --border-subtle: rgba(176, 170, 160, 0.26);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.85);
  --shadow-mid: 0 16px 40px rgba(0, 0, 0, 0.7);

  --container-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cascadia Code", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151515 0, #000 55%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Use Cascadia Code Mono for technical elements */
.hero-metrics,
.metric-value,
.hero-pill,
.badge-soft,
.card-tag,
.work-tag,
.page-pill,
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: 'Cascadia Code Mono', 'Cascadia Code', monospace;
  font-feature-settings: "zero";
}

/* subtle texture */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  z-index: -1;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SCROLL PROGRESS ===== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: transparent;
  z-index: 80;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #F95C4B, #E4DED2);
  transform-origin: left;
  transition: width 0.08s linear;
}

/* ===== HEADER / NAV ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.8));
  transition: transform 0.25s ease-out;
}

.brand-logo-img:hover {
  transform: translateY(-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  position: relative;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-bottom: 4px;
  cursor: pointer;
  transition: color 0.2s ease-out;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.25s ease-out;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link--active {
  color: var(--text);
}

.nav-link--active::after {
  width: 100%;
}

.nav-link--cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(24, 24, 24, 0.96);
}

.nav-link--cta::after {
  display: none;
}

/* burger */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(180, 174, 163, 0.6);
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ===== AB STRIP ===== */

.ab-strip {
  padding: 10px 0 4px;
  background: transparent;
}

.ab-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(9, 9, 9, 0.95);
  box-shadow: var(--shadow-mid);
}

.ab-logo {
  height: 22px;
  width: auto;
}

.ab-inner span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ===== SECTIONS ===== */

.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
}

.section-contact {
  background: var(--bg-elevated);
}

.section-home {
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.section-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
}

/* ===== HERO BACKGROUND VIDEO ===== */

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.85);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(249, 92, 75, 0.45), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.9), #000000);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ensure hero content above video */
.section-home .hero-grid {
  position: relative;
  z-index: 1;
}

/* HERO CURSOR GLOW */

.hero-cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(249, 92, 75, 0.22),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.section-home.is-hovered .hero-cursor-glow {
  opacity: 1;
}

/* ===== HERO ===== */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.96);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.hero-title {
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.accent {
  background: linear-gradient(120deg, #E4DED2, #F95C4B);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, #F95C4B, #e84a2a);
  background-size: 200% 200%;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.9);
  transition:
    background-position 0.35s ease-out,
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
}

.btn-primary--light {
  color: #0b0b0b;
  background: #fdfaf6;
}

.btn-icon {
  font-size: 16px;
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(12, 12, 12, 0.96);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    border-color 0.2s ease-out,
    color 0.2s ease-out,
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}

.btn-ghost:hover {
  border-color: rgba(249, 92, 75, 0.7);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}

.metric-label {
  display: block;
  margin-bottom: 2px;
}

.metric-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* hero visual */

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, #151515, #050505 70%);
  padding: 18px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-logo {
  width: 150px;
  margin-bottom: 12px;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
}

.hero-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.hero-tag--accent {
  border-color: rgba(249, 92, 75, 0.6);
  background: var(--primary-soft);
  color: var(--text);
}

.hero-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.hero-img-tile {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-mid);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.badge-soft {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 24, 24, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* hero background orbs */

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: rgba(249, 92, 75, 0.8);
  top: -40px;
  right: -60px;
}

.orb-2 {
  width: 220px;
  height: 220px;
  background: rgba(200, 80, 65, 0.7);
  bottom: -60px;
  left: -40px;
  animation-delay: 4s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: rgba(160, 60, 50, 0.7);
  bottom: -30px;
  right: 40px;
  animation-delay: 7s;
}

/* ===== ABOUT ===== */

.two-col {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
}

.copy-block .section-title {
  margin-bottom: 8px;
}

.accent-text {
  color: var(--primary);
}

.about-points {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.check {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  line-height: 14px;
  font-size: 11px;
  margin-right: 6px;
}

/* --- THE IMAGE STACK --- */

.image-stack {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 20px;
}

.stack-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.stack-img-main {
  grid-column: 1 / 8;
  grid-row: 1 / 8;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-mid);
}

.stack-img-floating {
  grid-column: 5 / 11;
  grid-row: 4 / 11;
  z-index: 2;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -10px 10px 30px rgba(0,0,0,0.6);
}

.image-stack:hover .stack-img-main {
  transform: translate(-5px, -5px);
}
.image-stack:hover .stack-img-floating {
  transform: translate(5px, 5px);
}

/* --- RESPONSIVE IMAGE STACK --- */

@media (max-width: 960px) {
  .two-col {
    flex-direction: column;
    gap: 30px;
  }
  
  .image-stack {
    max-width: 400px;
    padding: 15px;
  }

  .stack-img-main {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
  }
  .stack-img-floating {
    grid-column: 4 / 11;
    grid-row: 4 / 11;
  }
}

@media (max-width: 720px) {
  .image-stack {
    max-width: 300px;
    padding: 10px;
  }

  .stack-img-main {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
  }
  .stack-img-floating {
    grid-column: 4 / 11;
    grid-row: 4 / 11;
    display: block;
  }
}

/* === MOBILE NAV – animated links === */
@media (max-width: 780px) {
  .nav-links li {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.02s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.11s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.14s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.17s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.20s; }
}


@media (min-width: 961px) {
  .two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

/* ===== SERVICES ===== */

/* generic 3-column grid used elsewhere */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-mid);
  font-size: 13px;
}

.card-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.card-body {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-list {
  list-style: none;
  font-size: 12px;
  color: var(--muted);
}

.card-list li::before {
  content: "•";
  margin-right: 6px;
  color: var(--primary);
}

/* NEW: Stacked, overlapping services layout */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 32px auto 0;
}

.service-card--stacked {
  position: relative;
  min-height: 180px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top, #151515, #050505 70%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out,
    border-color 0.3s ease-out;
}

.service-card--stacked::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid rgba(249, 92, 75, 0.9);
  opacity: 0.9;
  pointer-events: none;
}

@media (min-width: 900px) {
  .services-grid article:nth-child(1) {
    transform: translateY(0);
    z-index: 3;
  }
  .services-grid article:nth-child(2) {
    transform: translateY(30px);
    z-index: 2;
  }
  .services-grid article:nth-child(3) {
    transform: translateY(-20px);
    z-index: 2;
  }
  .services-grid article:nth-child(4) {
    transform: translateY(10px);
    z-index: 1;
  }

  .service-card--stacked:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 1);
    border-color: rgba(249, 92, 75, 0.8);
  }
}

@media (max-width: 899px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }

  .services-grid article:nth-child(n) {
    transform: none;
  }
}

/* ===== OUR WORK ===== */

.work-grid {
  margin-top: 26px;
}

.work-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow-mid);
  display: flex;
  flex-direction: column;
}

.work-image-wrap {
  position: relative;
  overflow: hidden;
}

.work-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: grayscale(0.4);
  transform: scale(1.02);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.work-card:hover .work-image {
  filter: grayscale(0);
  transform: scale(1.07);
}

.work-meta {
  padding: 14px 14px 12px;
  font-size: 13px;
}

.work-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.work-title {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0;
}

.work-body {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.work-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: var(--text);
}

/* ===== PAGES ===== */

.page-card {
  position: relative;
}

.page-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--muted);
}

/* ===== TEAM / DIRECT CONTACTS ===== */

.team-grid {
  margin-top: 26px;
}

.team-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 18px 16px 16px;
  box-shadow: var(--shadow-mid);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  padding: 2px;
  background: radial-gradient(circle at 30% 0%, #ff9b7d, #F95C4B 55%, #2b140c 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,0.85);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
}

.team-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.team-bio {
  font-size: 13px;
  color: var(--muted);
}

.team-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.team-chip {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 20, 20, 0.96);
  color: var(--muted);
}

.team-whatsapp {
  margin-top: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  border: none;
  background: #25d366;
  color: #041307;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,0,0,0.9);
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.team-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0,0,0,1);
}

/* NEW: Premium Bitmoji 3D team card */

.team-card-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 840px;
  margin: 40px auto 0;
}

/* LEFT SIDE — Bitmoji with 3D effect */

.team-bitmoji-side {
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
}

.bitmoji-wrap {
  width: 100%;
  height: 100%;
  perspective: 1200px;
  position: relative;
}

.bitmoji-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotateY(-10deg) translateZ(45px);
  filter: drop-shadow(0 28px 55px rgba(0,0,0,0.75));
  transition: transform .45s ease, filter .32s ease;
}

.team-card-large:hover .bitmoji-img {
  transform: rotateY(-3deg) translateZ(65px) scale(1.03);
  filter: drop-shadow(0 35px 70px rgba(0,0,0,0.9));
}

/* Glow behind Bitmoji */
.bitmoji-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 40% 45%, rgba(249,92,75,0.26), transparent 70%);
  filter: blur(55px);
  z-index: -1;
}

/* RIGHT SIDE — Info */

.team-info-side {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-info-side .team-name {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--text);
}

.team-info-side .team-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.team-info-side .team-bio {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}


/* TEAM – WhatsApp button & socials refinement */

.team-info-side {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-whatsapp-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #041307;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.team-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 1);
}

.team-whatsapp-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* small, clean social icons under the button */
.team-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.team-social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

.team-social-icon:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Shared social icon styling (used in team & footer) */
.team-socials,
.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
  transition: transform .2s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.06);
}

/* ===== CONTACT ===== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-details {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.contact-details a {
  font-weight: 500;
  color: var(--text);
}

.contact-whatsapp-link {
  font-size: 13px;
  color: #25d366;
}

.contact-whatsapp-link:hover {
  text-decoration: underline;
}

/* Premium contact form card */

.contact-form {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #151515, #050505 70%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-soft);
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid rgba(249, 92, 75, 0.85);
  pointer-events: none;
}

.field-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.field label {
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 11px;
  background: #050505;
  color: var(--text);
  font-family: inherit;
  font-size: 12px;
  outline: none;
}

.field textarea {
  border-radius: 14px;
  min-height: 80px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66625a;
}

/* Checkbox pill group for services */

.field-checkbox-group {
  margin-bottom: 12px;
}

.field-checkbox-group .field-label {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 6px;
  display: inline-block;
}

.checkbox-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.checkbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 12, 12, 0.96);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out,
    transform 0.18s ease-out;
}

.checkbox-pill input {
  display: none;
}

.checkbox-pill span {
  pointer-events: none;
}

.checkbox-pill input:checked ~ span,
.checkbox-pill:hover {
  background: var(--primary-soft);
  border-color: rgba(249, 92, 75, 0.8);
  transform: translateY(-1px);
}

.checkbox-pill input:checked ~ span {
  color: var(--text);
}

.form-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

.form-status {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.form-status.visible {
  opacity: 1;
}

.form-status.error {
  color: #f97373;
}

/* === CONTACT – focus state & glow === */

.contact-form {
  backdrop-filter: blur(10px);
}

.field input,
.field textarea,
.field select {
  transition:
    border-color 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background-color 0.2s ease-out;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(249,92,75,0.8);
  background-color: #070707;
  box-shadow:
    0 0 0 1px rgba(249,92,75,0.45),
    0 20px 50px rgba(0,0,0,0.95);
}


/* ===== FOOTER ===== */

.site-footer {
  border-top: 1px solid rgba(16, 245, 12, 0.08);
  padding: 16px 0 24px;
  background: #020202;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(52, 228, 13, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition:
    background 0.2s ease-out,
    color 0.2s ease-out,
    border-color 0.2s ease-out,
    transform 0.2s ease-out;
}

.social-circle:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #111;
  transform: translateY(-2px);
}

/* ===== FLOATING WHATSAPP BUTTON ===== */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.9);
  z-index: 200;
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    background 0.2s ease-out;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 50px rgba(0,0,0,1);
  background: #1ebe5d;
}

.whatsapp-float-icon {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

/* ===== SCROLL-TO-TOP BUBBLE ===== */

.scroll-top-bubble {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: radial-gradient(circle at 30% 0%, #ff9b7d, #F95C4B 55%, #2b140c 100%);
  color: #0a0503;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  z-index: 190;
  opacity: 0;
  transform: translateY(12px) scale(0.8);
  pointer-events: none;
  transition:
    opacity 0.22s ease-out,
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out;
}

.scroll-top-bubble svg {
  transform: translateY(-1px);
}

.scroll-top-bubble.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-bubble:hover {
  box-shadow: 0 22px 50px rgba(0,0,0,1);
  transform: translateY(-2px) scale(1.02);
}

/* ===== ANIMATIONS & EFFECTS ===== */

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-14px, 20px, 0);
  }
}

/* scroll reveal base state */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}
.delay-2 {
  transition-delay: 0.14s;
}
.delay-3 {
  transition-delay: 0.2s;
}
.delay-4 {
  transition-delay: 0.28s;
}
.delay-5 {
  transition-delay: 0.36s;
}
.delay-6 {
  transition-delay: 0.42s;
}

/* subtle 3D tilt on hover */
.tilt-on-hover {
  transform-origin: center center;
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out,
    translate 0.3s ease-out;
}

.tilt-on-hover:hover {
  transform: translateY(-4px) rotate3d(1, -1, 0, 6deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

/* floating hero card */
.hero-floating {
  animation: float 18s ease-in-out infinite alternate;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .header-inner {
    padding-inline: 16px;
  }

  .nav-links {
    position: fixed;
    inset: 58px 14px auto 14px;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px 12px;
    border-radius: 18px;
    background: rgba(6, 6, 6, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease-out,
      transform 0.18s ease-out;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-link,
  .nav-link--cta {
    padding: 8px 8px;
    width: 100%;
  }

  .nav-link--cta {
    margin-top: 4px;
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero-grid {
    gap: 30px;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .stack-img-floating {
    display: none;
  }

  .field-row {
    flex-direction: column;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

  .scroll-top-bubble {
    right: 14px;
    bottom: 78px;
  }

  .team-card-large {
    grid-template-columns: 1fr;
  }

  .team-bitmoji-side {
    height: 260px;
  }

  .contact-form {
    max-width: 100%;
    margin-left: 0;
  }
}

/* ===== INTRO X ANIMATION (Netflix style) ===== */

body.intro-lock {
  overflow: hidden;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.4s ease-out;
}

.intro-overlay--hide {
  opacity: 0;
  pointer-events: none;
}

.intro-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--text);
  opacity: 0;
  animation: introText 0.9s ease-out 0.3s forwards;
}

.intro-route {
  font-size: 0.9rem;
}

.intro-tagline {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.28em;
}

/* SVG intro X */
.intro-x {
  margin-top: 4px;
  position: relative;
  transform-origin: center;
  animation: introXBlast 1.7s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  overflow: visible;
  width: 3.6rem;
  height: 3.6rem;
}

@keyframes introText {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* X grows to fill the screen (Netflix style) */
@keyframes introXBlast {
  0%   { transform: scale(0); opacity: 0; filter: blur(14px); }
  35%  { transform: scale(1.1); opacity: 1; filter: blur(0); }
  55%  { transform: scale(0.95); }
  100% { transform: scale(20); opacity: 1; }
}

/* X stroke animation */
.intro-x path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-x-track {
  opacity: 0.2;
}

.intro-x-comet {
  opacity: 1;
  stroke-dasharray: 40 186;
  animation: spinX 1.5s linear infinite;
}

@keyframes spinX {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -226;
  }
}

/* =======================================================
   FORCE MOBILE FIX (for hero & nav)
   ======================================================= */

@media screen and (max-width: 991px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    padding-top: 20px !important;
  }

  .hero-copy {
    order: 1 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .hero-visual {
    order: 2 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 350px !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 40px !important;
  }

  .hero-card {
    width: 100% !important;
    max-width: 360px !important;
    transform: none !important;
    animation: none !important;
    margin: 0 auto !important;
  }

  .hero-title {
    font-size: 36px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
  }

  .hero-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 auto 30px !important;
    max-width: 100% !important;
  }

  .hero-pill {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-actions {
    justify-content: center !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 30px !important;
  }

  .btn-primary, .btn-ghost {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-metrics {
    justify-content: center !important;
    gap: 20px !important;
  }
  
  .hero-metrics div {
    text-align: center !important;
  }

  .nav-links {
    position: fixed !important;
    top: 70px !important;
    left: 5% !important;
    width: 90% !important;
    background: #0a0a0a !important;
    border: 1px solid #333 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    flex-direction: column !important;
    align-items: center !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease !important;
  }

  .nav-links.open {
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateY(0) !important;
  }
}


/* === FOOTER SOCIAL VISIBILITY FIX === */

/* Make the circles transparent by default */
.social-circle {
  background: transparent !important;
  border-color: rgba(4, 255, 21, 0.25) !important;
}

/* Turn dark icons into light ones in the footer */
.footer-social .social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* makes black icons appear white */
}

/* On hover: keep them visible and just use the primary background */
.footer-social .social-circle:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
}

.footer-social .social-circle:hover .social-icon {
  filter: none; /* use original color on the orange background */
}


/* === GLOBAL FADE-IN === */
body {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

body.is-loaded {
  opacity: 1;
}

/* === TEAM – Bitmoji polish === */

.team-bitmoji-side {
  position: relative;
  background: radial-gradient(circle at top, #131313, #050505 70%);
  overflow: hidden;
  isolation: isolate;
}

/* Light + color glow behind the Bitmoji */
.team-bitmoji-side::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.16), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(249,92,75,0.32), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.85;
  pointer-events: none;
}

/* Soft vignette at the bottom for depth */
.team-bitmoji-side::after {
  content: "";
  position: absolute;
  inset: auto 0 -15%;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9));
  pointer-events: none;
}

/* Make the Bitmoji sit cleanly and centered */
.bitmoji-img {
  border-radius: 0;
  object-position: center;
}


/* === FOOTER – refined look & social visibility === */

.site-footer {
  background: radial-gradient(circle at top, #111 0, #020202 55%, #000 100%);
}

.footer-inner {
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 12px;
}

/* Circles stay subtle, not heavy */
.social-circle {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
}

/* Make dark icons appear light on dark background */
.footer-social .social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.footer-social .social-circle:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.footer-social .social-circle:hover .social-icon {
  filter: none;   /* original dark icon on orange bg */
  opacity: 1;
}


