/*
 * Han Creative Studio v1.0
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ========== UTILITIES ========== */

/* Screen reader only - SEO friendly hidden content */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== LENIS SMOOTH SCROLL ========== */

/* Lenis Smooth Scroll */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

:root {
  --black: #0A0A0A;
  --dark: #0F0F0F;
  --dark-2: #161616;
  --dark-3: #1E1E1E;
  --dark-4: #282828;
  --gray: #666666;
  --gray-light: #999999;
  --white: #FFFFFF;
  --terracotta: #B84233;
  --terracotta-light: #D15544;
  --terracotta-dark: #983626;
  --terracotta-glow: rgba(184, 66, 51, 0.5);
  --terracotta-subtle: rgba(184, 66, 51, 0.1);
  --font-display: 'obviously', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body) !important;
  background: var(--black) !important;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--terracotta); color: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }


/* Layout */
.container { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 140px 0; }
@media (max-width: 768px) { .section { padding: 100px 0; } }

/* Typography */
body h1, body h2, body h3, body h4, body h5, body h6, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display) !important;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white) !important;
}

.display-xl { font-size: clamp(48px, 9vw, 120px) !important; font-weight: 700 !important; line-height: 0.95 !important; }
.display-lg { font-size: clamp(36px, 6vw, 72px) !important; font-weight: 600 !important; line-height: 1 !important; }
.display-md { font-size: clamp(28px, 4vw, 48px) !important; font-weight: 600 !important; line-height: 1.1 !important; }
.display-sm { font-size: clamp(22px, 3vw, 32px) !important; font-weight: 500 !important; line-height: 1.2 !important; }

.text-lg { font-size: 18px; line-height: 1.6; }
.text-sm { font-size: 14px; line-height: 1.5; }
.text-xs { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; }

body .text-muted, .text-muted { color: var(--gray) !important; }
body .text-light, .text-light { color: var(--gray-light) !important; }
body .text-terracotta, .text-terracotta { color: var(--terracotta) !important; }

/* ========== LOADER WITH LOGO FILL ========== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader.hidden { opacity: 0; pointer-events: none; }

.loader-logo {
  width: 80px;
  height: auto;
}

@media (max-width: 768px) {
  .loader-logo {
    width: 60px;
  }
}

.loader-logo path {
  fill: #fff;
}

/* Main body - scales from bottom */
.loader-logo .logo-body {
  transform-origin: center bottom;
  animation: popUpVertical 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) 0.05s both,
             breathe 2s ease-in-out 1.1s infinite;
}

/* Top flourish - scales from right, starts smaller */
.loader-logo .logo-top {
  transform-origin: right center;
  animation: popLeftward 0.35s cubic-bezier(0.34, 1.15, 0.64, 1) 0.42s both,
             breathe 2s ease-in-out 1.3s infinite;
}

/* Accent - pop from its own center point */
.loader-logo .logo-accent {
  transform-origin: 320px 1100px;
  animation: popCenter 0.2s cubic-bezier(0.34, 1.15, 0.64, 1) 0.79s both,
             breathe 2s ease-in-out 1.5s infinite;
}

@keyframes popUpVertical {
  0% { transform: scaleY(0); }
  70% { transform: scaleY(1.03); }
  100% { transform: scaleY(1); }
}

@keyframes popLeftward {
  0% { transform: scaleX(0) scaleY(0.6); }
  70% { transform: scaleX(1.02) scaleY(1.02); }
  100% { transform: scaleX(1) scaleY(1); }
}

@keyframes popCenter {
  0% { transform: scale(0); }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 5%;
  transition: all 0.5s var(--ease);
}

.header.scrolled { 
  padding: 12px 5%;
  background: #111111;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Bigger logo */
.logo img {
  height: 80px;
  width: auto;
  transition: all 0.5s var(--ease);
}

.header.scrolled .logo img {
  height: 44px;
}

.logo:hover img {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* Nav - ALL CAPS */
.nav { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.nav-link {
  font-family: var(--font-body) !important;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white) !important;
  padding: 14px 24px;
  border-radius: 100px;
  transition: all 0.5s var(--ease);
  position: relative;
  white-space: nowrap;
}

.header.scrolled .nav-link {
  font-size: 12px;
  padding: 12px 20px;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta-subtle);
  border-radius: 100px;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}

.nav-link:hover { color: var(--white) !important; }
.nav-link:hover::before { transform: scale(1); }
.nav-link span { position: relative; z-index: 1; }

.nav-cta {
  font-family: var(--font-body) !important;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white) !important;
  padding: 16px 32px;
  margin-left: 16px;
  border-radius: 100px;
  background: var(--terracotta) !important;
  transition: all 0.5s var(--ease);
  white-space: nowrap;
}

/* Dark button only on home page before scroll */
.home .nav-cta,
.page-template-page-hcs-home .nav-cta,
body.home .nav-cta {
  background: #111111 !important;
}

.header.scrolled .nav-cta {
  font-size: 12px;
  padding: 14px 28px;
  background: var(--terracotta) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px var(--terracotta-glow);
}

.header.scrolled .nav-cta:hover {
  box-shadow: 0 20px 40px var(--terracotta-glow);
}

.nav-cta span { position: relative; z-index: 1; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--dark-4);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.3s var(--ease);
}

.menu-toggle:hover { background: var(--dark-3); border-color: var(--dark-3); }
.menu-toggle.active { background: transparent; border-color: var(--white); }
.menu-toggle-inner { width: 18px; height: 12px; position: relative; }

.menu-toggle span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}

.menu-toggle span:nth-child(1) { top: 0; width: 100%; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.menu-toggle span:nth-child(3) { bottom: 0; width: 100%; }

.menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ========== ENHANCED MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.active {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.mobile-menu.active .mobile-menu-bg {
  opacity: 1;
}

.mobile-menu-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Mobile Nav Links */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-3);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s var(--ease);
}

.mobile-menu.active .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation */
.mobile-menu.active .mobile-nav-link[data-index="1"] { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link[data-index="2"] { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-link[data-index="3"] { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link[data-index="4"] { transition-delay: 0.25s; }

.mobile-nav-link:first-child {
  border-top: 1px solid var(--dark-3);
}

.mobile-nav-number {
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  min-width: 24px;
  font-variant-numeric: tabular-nums;
}

.mobile-nav-text {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  color: var(--white);
  flex: 1;
  transition: color 0.3s ease;
}

.mobile-nav-arrow {
  font-size: 24px;
  color: var(--gray);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease);
}

.mobile-nav-link:hover .mobile-nav-text,
.mobile-nav-link:active .mobile-nav-text {
  color: var(--terracotta);
}

.mobile-nav-link:hover .mobile-nav-arrow,
.mobile-nav-link:active .mobile-nav-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--terracotta);
}

/* Mobile Menu CTA */
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 18px 32px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  transition-delay: 0s;
}

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

.mobile-menu-cta:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px var(--terracotta-glow);
}

.mobile-menu-cta svg {
  transition: transform 0.3s var(--ease);
}

.mobile-menu-cta:hover svg {
  transform: translateX(4px);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
  margin-top: auto;
  padding-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  transition-delay: 0s;
}

.mobile-menu.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.mobile-menu-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.mobile-menu-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.mobile-menu-value {
  font-size: 13px;
  color: var(--white);
  font-weight: 500;
}

.mobile-menu-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-social {
  display: flex;
  gap: 12px;
}

.mobile-menu-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-3);
  border-radius: 50%;
  color: var(--gray-light);
  transition: all 0.3s var(--ease);
}

.mobile-menu-social a:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.mobile-menu-email a {
  font-size: 12px;
  color: var(--gray-light);
  transition: color 0.3s ease;
}

.mobile-menu-email a:hover {
  color: var(--terracotta);
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  
  /* Hide default nav on mobile */
  .nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .mobile-menu-content {
    padding: 90px 20px 24px;
  }
  
  .mobile-nav-link {
    padding: 14px 0;
  }
  
  .mobile-nav-text {
    font-size: 28px;
  }
  
  .mobile-menu-cta {
    padding: 14px 24px;
    font-size: 12px;
  }
  
  .mobile-menu-info {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .mobile-menu-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .mobile-menu-social a {
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-social svg {
    width: 16px;
    height: 16px;
  }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
}

.btn-primary { background: var(--terracotta) !important; color: var(--white) !important; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px var(--terracotta-glow); }

.btn-outline { background: transparent !important; color: var(--white) !important; border: 1px solid var(--dark-4); }
.btn-outline:hover { background: var(--white) !important; border-color: var(--white); color: var(--black) !important; }

.btn-white { background: var(--white) !important; color: var(--terracotta) !important; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(255,255,255,0.2); }

.btn-dark { background: var(--dark-3) !important; color: var(--white) !important; border: 1px solid var(--dark-4); }
.btn-dark:hover { background: var(--dark-4) !important; border-color: var(--terracotta); }

.btn-arrow::after { content: '→'; font-size: 16px; transition: transform 0.4s var(--ease); }
.btn-arrow:hover::after { transform: translateX(5px); }

.btn-lg { font-size: 14px; padding: 20px 40px; }

/* ========== SERVICES HERO - INLINE LAYOUT ========== */
.services-hero {
  background: var(--terracotta) !important;
  position: relative;
}

/* Intro section */
.services-hero-intro {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  gap: 16px;
}

.services-hero-intro h2 {
  font-size: clamp(32px, 5vw, 64px) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  letter-spacing: -0.02em !important;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

.studio-animate {
  font-weight: 300 !important;
  color: var(--white) !important;
}

/* Footer tagline */
.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-location {
  font-style: normal;
  color: var(--white);
  font-size: 14px;
  margin-top: 8px;
}

/* We do section */
.services-wedo-section {
  position: relative;
  min-height: 100vh;
}

.services-wedo-inner {
  display: flex;
  padding: 0 48px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  gap: 60px;
}

.services-wedo-sticky {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
  height: fit-content;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: flex-start;
  transition: opacity 0.4s ease;
  z-index: 10;
  width: 35%;
  justify-content: flex-end;
}

.services-wedo-sticky h2 {
  font-size: clamp(48px, 8vw, 120px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--white) !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap;
}

.services-wedo-scroll {
  padding-top: 50vh;
  padding-bottom: 50vh;
  display: flex;
  flex-direction: column;
  width: 65%;
}

.service-scroll-item {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.service-scroll-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.service-scroll-item.active,
.service-scroll-item:hover {
  opacity: 1;
}

.service-scroll-item h3 {
  font-size: clamp(48px, 8vw, 120px) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin-bottom: 12px;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
}

.service-scroll-item p {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,0.6) !important;
  line-height: 1.4;
  white-space: nowrap;
}

/* Client logos scroller */
.services-clients {
  padding: 20vh 48px 15vh !important;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.services-clients-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5) !important;
  text-align: center;
  margin-bottom: 15vh !important;
}

.clients-scroller {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 100px;
  animation: scrollClients 90s linear infinite;
  width: max-content;
}

.client-logo {
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.client-logo:hover {
  opacity: 1;
}

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

@media (max-width: 900px) {
  .services-hero-intro {
    padding: 0 24px;
  }
  .services-hero-intro h2 {
    font-size: clamp(24px, 8vw, 48px) !important;
  }
  .services-wedo-inner {
    padding: 0 24px;
    gap: 24px;
  }
  .services-wedo-sticky {
    width: auto;
    min-width: unset;
    justify-content: flex-start;
  }
  .services-wedo-sticky h2 {
    font-size: clamp(32px, 8vw, 56px) !important;
  }
  .services-wedo-scroll {
    width: auto;
    flex: 1;
  }
  .service-scroll-item {
    padding: 32px 0;
  }
  .service-scroll-item p { white-space: normal; }
  .service-scroll-item h3 {
    font-size: clamp(32px, 8vw, 56px) !important;
  }
  .services-clients {
    padding: 60px 24px;
  }
  .clients-track {
    gap: 48px;
    animation-duration: 40s;
  }
  .client-logo {
    height: 28px;
    max-width: 100px;
  }
}

/* ========== MISSION STATEMENT ========== */
.mission-statement {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-statement p {
  font-family: var(--font-display) !important;
  font-size: clamp(24px, 3.5vw, 40px) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--white) !important;
  letter-spacing: -0.01em;
}

/* ========== WORK SECTION ========== */
.section-header { margin-bottom: 48px; }
.section-header-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--terracotta); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 768px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark-2);
  aspect-ratio: 16/11;
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}

.work-card:hover { transform: scale(1.02); }

.work-card-media { position: absolute; inset: 0; }
.work-card-media > div, .work-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.work-card:hover .work-card-media > div,
.work-card:hover .work-card-media img { transform: scale(1.08); }

.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.work-card:hover .work-card-overlay { opacity: 1; }

.work-card-cat {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta) !important;
  margin-bottom: 6px;
  transform: translateY(16px);
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-card-cat { transform: translateY(0); }

.work-card-title {
  font-family: var(--font-display) !important;
  font-size: clamp(20px, 2.5vw, 28px) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  transform: translateY(16px);
  transition: transform 0.5s var(--ease) 0.05s;
}

.work-card:hover .work-card-title { transform: translateY(0); }

.work-card-desc {
  font-size: 14px;
  color: var(--gray-light) !important;
  margin-top: 4px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease) 0.1s, opacity 0.5s var(--ease) 0.1s;
}

.work-card:hover .work-card-desc { transform: translateY(0); opacity: 1; }

/* Work Card Brand Colors on Hover */
.work-card .work-card-bg {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s var(--ease);
}

.work-card .work-card-bg-default { opacity: 1; }
.work-card .work-card-bg-hover { opacity: 0; }
.work-card:hover .work-card-bg-default { opacity: 0; }
.work-card:hover .work-card-bg-hover { opacity: 1; }

.work-card .work-card-logo {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}

.work-card .work-card-logo-default {
  filter: brightness(0) invert(1);
  opacity: 0.15;
}

.work-card:hover .work-card-logo-default {
  filter: none;
  opacity: 0.9;
}

/* ========== FAQ ========== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--dark-3); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 500;
  color: var(--white) !important;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--terracotta) !important; }

.faq-icon {
  width: 28px; height: 28px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--dark-3);
  transition: background 0.3s ease;
}

.faq-item.active .faq-icon { background: var(--terracotta); }

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  transition: transform 0.4s var(--ease);
}

.faq-icon::before { width: 12px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.active .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 0 20px; color: var(--gray) !important; font-size: 16px; line-height: 1.6; }

/* ========== CTA ========== */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--terracotta-glow) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }
.cta-title { margin-bottom: 32px; }

.cta-link { position: relative; display: inline-block; color: var(--terracotta) !important; }

/* ========== 404 PAGE ========== */
.error-404 {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  padding: 180px 48px 100px;
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-title {
  font-family: var(--font-display) !important;
  font-size: clamp(100px, 15vw, 180px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: var(--terracotta) !important;
  margin-bottom: 16px;
}

.error-404-subtitle {
  font-family: var(--font-display) !important;
  font-size: clamp(24px, 4vw, 40px) !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  margin-bottom: 16px;
}

.error-404-text {
  font-size: 18px;
  color: var(--gray) !important;
  margin-bottom: 40px;
  line-height: 1.6;
}

.error-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--terracotta) !important;
  padding: 80px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.footer-top-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.6;
  max-width: 280px;
}

.footer-top-right img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) { 
  .footer-grid { grid-template-columns: 1fr; gap: 32px; } 
  .footer-top { flex-direction: column-reverse; gap: 40px; }
  .footer-top-right img { height: 60px; }
}

.footer-col h4 {
  font-family: var(--font-body) !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white) !important;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 15px;
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,0.8) !important;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--white) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy { 
  font-family: var(--font-body) !important;
  font-size: 14px; 
  font-weight: 400;
  color: rgba(255,255,255,0.5) !important; 
}

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white) !important;
  transition: all 0.3s ease;
}
.footer-socials a:hover { background: var(--white); color: var(--terracotta) !important; }

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 180px 0 60px;
  background: linear-gradient(to bottom, var(--dark), var(--black)) !important;
}

.page-header-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: end;
}

@media (max-width: 900px) { .page-header-split { grid-template-columns: 1fr; gap: 20px; } }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-info-item { margin-bottom: 32px; }
.contact-info-item .text-xs { color: var(--terracotta) !important; margin-bottom: 6px; }
.contact-info-item a, .contact-info-item p {
  font-family: var(--font-display) !important;
  font-size: 22px !important;
  font-weight: 500;
  color: var(--white) !important;
}
.contact-info-item a:hover { color: var(--terracotta) !important; }

/* Form */
.form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray) !important;
  margin-bottom: 10px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body) !important;
  font-size: 17px;
  color: var(--white) !important;
  background: transparent !important;
  border: none;
  border-bottom: 2px solid var(--dark-4);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--terracotta); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray) !important; }
.form-textarea { min-height: 120px; resize: vertical; }

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B84233' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
}

/* ========== VALUES ========== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--dark-3);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--dark) !important;
  padding: 36px 20px;
  text-align: center;
  transition: all 0.5s var(--ease);
}

.value-card:hover { background: var(--terracotta) !important; }

.value-num {
  font-family: var(--font-display) !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
  line-height: 1;
  margin-bottom: 12px;
}

.value-card:hover .value-num { color: var(--white) !important; }
.value-card p { font-size: 13px; color: var(--gray) !important; }
.value-card:hover p { color: rgba(255,255,255,0.8) !important; }

/* ========== CLIENTS ========== */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

.client-card {
  background: var(--dark-2) !important;
  border: 1px solid var(--dark-3);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.client-card:hover { border-color: var(--terracotta); transform: translateY(-6px); }
.client-icon { font-size: 36px; color: var(--terracotta) !important; margin-bottom: 12px; }

/* ========== SERVICES PAGE ========== */
.service-section { padding: 48px 0; border-bottom: 1px solid var(--dark-3); }
.service-section:last-of-type { border-bottom: none; }

.service-header { display: grid; grid-template-columns: 120px 1fr; gap: 48px; align-items: start; }
@media (max-width: 768px) { .service-header { grid-template-columns: 1fr; gap: 20px; } }

.service-num {
  font-family: var(--font-display) !important;
  font-size: 64px !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
  line-height: 1;
  opacity: 0.5;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.service-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--terracotta-subtle) !important;
  border: 1px solid rgba(184, 66, 51, 0.2);
  border-radius: 100px;
  color: var(--terracotta) !important;
  transition: all 0.3s ease;
}

.service-tag:hover { background: var(--terracotta) !important; color: var(--white) !important; }

/* ========== FILTERS ========== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

.filter-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--dark-4);
  border-radius: 100px;
  color: var(--gray) !important;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover { border-color: var(--gray); color: var(--white) !important; }
.filter-btn.active { background: var(--terracotta) !important; border-color: var(--terracotta); color: var(--white) !important; }

/* ========== ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.stagger > * { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-out); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ========== UTILITIES ========== */
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

@media (max-width: 768px) { .hide-mobile { display: none !important; } }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--terracotta-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }

/* ========== MARIANA TEK PAGE ========== */

/* Hero */
.mtek-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
}

.mtek-hero-content {
  max-width: 900px;
}

.mtek-badge {
  display: inline-block;
  margin-bottom: 32px;
}

.mtek-badge-img {
  height: auto;
  width: 280px;
  max-width: 100%;
}

.mtek-hero-sub {
  color: var(--gray-light);
  margin: 24px 0;
  max-width: 700px;
}

.mtek-hero-copy {
  margin-bottom: 32px;
  max-width: 650px;
}

.mtek-trust-signals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 13px;
  color: var(--gray);
}

.mtek-trust-divider {
  color: var(--dark-3);
}

.mtek-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Client Logos */
.mtek-logos {
  padding: 60px 0;
  border-top: 1px solid var(--dark-2);
  border-bottom: 1px solid var(--dark-2);
}

.mtek-logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.mtek-logo-item img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mtek-logo-item img.logo-f45 {
  height: 50px;
}

.mtek-logo-item img.logo-rep {
  height: 55px;
  filter: brightness(0) invert(1);
}

.mtek-logo-item img.logo-gagc {
  height: 65px;
}

.mtek-logo-item:hover img {
  opacity: 1;
}

/* Who This Is For */
.mtek-who {
  background: var(--dark);
}

.mtek-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
  align-items: center;
}

.mtek-check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.mtek-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: var(--gray-light);
}

.mtek-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}

.mtek-who-highlight {
  background: var(--dark-2);
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--terracotta);
}

.mtek-who-highlight .display-sm {
  color: var(--white);
  margin: 0;
}

/* Capabilities */
.mtek-capabilities {
  background: var(--black);
}

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

.mtek-capability-card {
  background: var(--dark);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--dark-2);
  transition: border-color 0.3s ease;
}

.mtek-capability-card:hover {
  border-color: var(--terracotta);
}

.mtek-capability-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.mtek-capability-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mtek-capability-card li {
  padding: 8px 0;
  color: var(--gray-light);
  border-bottom: 1px solid var(--dark-2);
  font-size: 14px;
}

.mtek-capability-card li:last-child {
  border-bottom: none;
}

/* Why Different */
.mtek-why {
  background: var(--dark);
}

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

.mtek-why-card {
  background: var(--dark-2);
  padding: 32px;
  border-radius: 12px;
}

.mtek-why-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.mtek-why-card p {
  color: var(--gray-light);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Experience */
.mtek-experience {
  background: var(--black);
}

.mtek-experience-content {
  max-width: 700px;
}

.mtek-experience-text {
  margin-top: 32px;
}

.mtek-experience-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mtek-experience-list li {
  color: var(--white);
  font-weight: 500;
  padding-left: 20px;
  position: relative;
}

.mtek-experience-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--terracotta);
}

/* Common Projects */
.mtek-projects {
  background: var(--dark);
}

.mtek-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.mtek-project-item {
  background: var(--dark-2);
  padding: 20px 24px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-light);
  border: 1px solid var(--dark-3);
  transition: all 0.3s ease;
}

.mtek-project-item:hover {
  border-color: var(--terracotta);
  color: var(--white);
}

/* Process */
.mtek-process {
  background: var(--black);
}

.mtek-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.mtek-process-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--dark);
  border-radius: 12px;
  border: 1px solid var(--dark-2);
}

.mtek-step-num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.mtek-process-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.mtek-process-step p {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
}

.mtek-process-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray);
  font-size: 14px;
}

/* Testimonials */
.mtek-testimonials {
  background: var(--dark);
}

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

.mtek-testimonial {
  background: var(--dark-2);
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--terracotta);
}

.mtek-testimonial-quote {
  font-size: 20px;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
}

.mtek-testimonial-author {
  font-size: 14px;
  color: var(--gray);
}

/* FAQ */
.mtek-faq {
  background: var(--black);
}

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

.mtek-faq-item {
  padding: 32px;
  background: var(--dark);
  border-radius: 12px;
}

.mtek-faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.mtek-faq-item p {
  font-size: 14px;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.6;
}

/* CTA */
.mtek-cta {
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
  text-align: center;
}

.mtek-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.mtek-cta-badge {
  margin-bottom: 32px;
  text-align: center;
}

.mtek-cta-logo {
  height: 40px;
  width: auto;
  display: inline-block;
}

.mtek-cta .display-md {
  margin-bottom: 20px;
}

.mtek-cta .text-lg {
  margin-bottom: 40px;
}

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

/* Footer Trust */
.mtek-footer-trust {
  padding: 40px 0;
  border-top: 1px solid var(--dark-2);
  background: var(--black);
}

.mtek-footer-trust-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
  .mtek-capabilities-grid,
  .mtek-why-grid,
  .mtek-testimonials-grid,
  .mtek-faq-grid {
    grid-template-columns: 1fr;
  }
  
  .mtek-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mtek-process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .mtek-who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mtek-experience-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mtek-hero {
    padding: 140px 0 60px;
  }
  
  .mtek-logos-grid {
    gap: 40px;
  }
  
  .mtek-logo-item img {
    height: 40px;
  }
  
  .mtek-logo-item img.logo-f45 {
    height: 40px;
  }
  
  .mtek-logo-item img.logo-rep {
    height: 44px;
  }
  
  .mtek-logo-item img.logo-gagc {
    height: 52px;
  }
  
  .mtek-projects-grid {
    grid-template-columns: 1fr;
  }
  
  .mtek-process-steps {
    grid-template-columns: 1fr;
  }
  
  .mtek-trust-signals {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .mtek-trust-divider {
    display: none;
  }
}

/* ========== MARIANA TEK CONTACT LINK ========== */
.contact-mtek-cta {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-2);
}

.mtek-inquiry-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mtek-inquiry-link:hover {
  border-color: var(--terracotta);
  background: var(--dark);
}

.mtek-inquiry-icon {
  flex-shrink: 0;
}

.mtek-inquiry-icon img {
  height: 24px;
  width: auto;
}

.mtek-inquiry-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mtek-inquiry-label {
  font-size: 13px;
  color: var(--gray);
}

.mtek-inquiry-action {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* ========== MARIANA TEK MODAL ========== */
html.modal-open,
html.modal-open body {
  overflow: hidden;
  height: 100%;
}

.mtek-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mtek-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.mtek-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.mtek-modal-container {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 40px 20px;
}

.mtek-modal-content {
  position: relative;
  background: var(--dark);
  border: 1px solid var(--dark-2);
  border-radius: 16px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.mtek-modal.is-open .mtek-modal-content {
  transform: translateY(0);
}

.mtek-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
  border: 1px solid var(--dark-3);
  border-radius: 50%;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.mtek-modal-close:hover {
  background: var(--dark-3);
  color: var(--white);
}

.mtek-modal-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--dark-2);
}

.mtek-modal-logo {
  height: 32px;
  width: auto;
  margin-bottom: 20px;
  display: inline-block;
}

.mtek-modal-header .display-sm {
  margin-bottom: 8px;
}

.mtek-modal-header .text-light {
  margin: 0;
  font-size: 14px;
}

.mtek-modal-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mtek-form-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mtek-form-section-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.mtek-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mtek-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--gray-light);
  transition: color 0.2s ease;
}

.mtek-checkbox:hover {
  color: var(--white);
}

.mtek-checkbox input {
  display: none;
}

.mtek-checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--dark-3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mtek-checkbox-box::after {
  content: '✓';
  font-size: 12px;
  color: var(--black);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}

.mtek-checkbox input:checked + .mtek-checkbox-box {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.mtek-checkbox input:checked + .mtek-checkbox-box::after {
  opacity: 1;
  transform: scale(1);
}

.mtek-checkbox input:checked ~ span:last-child {
  color: var(--white);
}

.mtek-form-submit {
  padding-top: 16px;
  border-top: 1px solid var(--dark-2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.mtek-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .mtek-modal {
    padding: 20px 16px;
  }
  
  .mtek-modal-content {
    padding: 24px;
  }
  
  .mtek-checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .mtek-modal-close {
    top: 12px;
    right: 12px;
  }
}

/* ========== PROJECT CASE STUDY MODALS ========== */
html.project-modal-open,
html.project-modal-open body {
  overflow: hidden;
  height: 100%;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.project-modal-container {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 40px 20px;
}

.project-modal-content {
  position: relative;
  background: var(--dark);
  border: 1px solid var(--dark-2);
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.project-modal.is-open .project-modal-content {
  transform: translateY(0);
}

.project-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--dark-3);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.project-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.project-modal-header {
  padding: 60px 40px 40px;
  text-align: center;
  border-bottom: 1px solid var(--dark-2);
}

.project-modal-logo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.project-modal-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-modal-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.project-modal-header .display-sm {
  margin: 0;
  color: var(--white);
}

.project-modal-body {
  padding: 40px;
}

.project-modal-intro {
  font-size: 18px;
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 32px;
}

.project-modal-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.project-modal-text:last-of-type {
  margin-bottom: 32px;
}

.project-modal-nda {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  padding-top: 24px;
  border-top: 1px solid var(--dark-2);
  margin: 0;
}

.project-modal-footer {
  padding: 24px 40px 40px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .project-modal-container {
    padding: 20px 16px;
  }
  
  .project-modal-header {
    padding: 50px 24px 32px;
  }
  
  .project-modal-logo-wrap {
    width: 100px;
    height: 100px;
  }
  
  .project-modal-body {
    padding: 24px;
  }
  
  .project-modal-intro {
    font-size: 16px;
  }
  
  .project-modal-footer {
    padding: 16px 24px 32px;
  }
}

/* ========== RECAPTCHA ========== */
/* Badge hidden per Google's allowed alternative (text attribution on form) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice { font-size: 11px; color: var(--gray) !important; line-height: 1.5; margin-top: 16px; }
.recaptcha-notice a { color: var(--gray-light) !important; text-decoration: underline; }
.recaptcha-notice a:hover { color: var(--terracotta) !important; }
