/* ==========================================================================
   YEM-IT — STUDIO DARK DESIGN SYSTEM
   Premium Digital Art Direction + Technology Studio
   Palette:
     Main Background: #080A08
     Surfaces: #101410 & #171B16
     Electric Green Accent: #A5FF38
     Secondary Green: #92D348
     Text Primary: #F5F7F2
     Text Secondary: #A5ACA2
     Subtle Borders: #293027
   ========================================================================== */

:root {
  --bg-deep: #080A08;
  --bg-surface: #101410;
  --bg-surface-elevated: #171B16;
  --accent-electric: #A5FF38;
  --accent-secondary: #92D348;
  --text-primary: #F5F7F2;
  --text-secondary: #A5ACA2;
  --border-subtle: #293027;
  --border-hover: rgba(165, 255, 56, 0.45);
  --electric-glow: 0 0 25px rgba(165, 255, 56, 0.28);
  --electric-glow-sm: 0 0 12px rgba(165, 255, 56, 0.2);

  --font-family: 'Sansation', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1280px;
  --container-wide: 1400px;
  --header-height: 84px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* Base resets & dark surface defaults */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg-deep) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-family);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

::selection {
  background-color: var(--accent-electric);
  color: var(--bg-deep);
}

/* Typography Editorial Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary) !important;
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

/* Container & Grid utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Badges & Eyebrows */
.badge,
.category-badge,
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: rgba(165, 255, 56, 0.08) !important;
  color: var(--accent-electric) !important;
  border: 1px solid rgba(165, 255, 56, 0.25) !important;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--accent-electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-electric);
}

/* Buttons System */
.btn-electric,
.cta-nav-button-hero,
.btn-primary,
.btn-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: var(--accent-electric) !important;
  color: var(--bg-deep) !important;
  border: 1px solid var(--accent-electric) !important;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.85rem;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 4px 14px rgba(165, 255, 56, 0.2);
}

.btn-electric:hover,
.cta-nav-button-hero:hover,
.btn-primary:hover,
.btn-request:hover {
  background-color: #b8ff5e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(165, 255, 56, 0.38);
}

.btn-ghost,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: transparent !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.85rem;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-ghost:hover,
.btn-secondary:hover {
  border-color: var(--accent-electric) !important;
  color: var(--accent-electric) !important;
  background-color: rgba(165, 255, 56, 0.05) !important;
  transform: translateY(-2px);
}

/* Surface Cards & Glass */
.glass-card,
.studio-card,
.service-card,
.case-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: none !important;
}

.glass-card:hover,
.studio-card:hover,
.service-card:hover,
.case-card:hover {
  border-color: var(--border-hover) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(165, 255, 56, 0.08) !important;
}

/* Fine Dividers */
.studio-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 20%, var(--border-subtle) 80%, transparent 100%);
  border: none;
  margin: 4rem 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 10, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.logo a:hover img {
  opacity: 0.85;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  background: rgba(16, 20, 16, 0.7);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
}

.nav-item,
.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
  text-decoration: none;
}

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

.nav-item.active::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-electric);
  box-shadow: 0 0 8px var(--accent-electric);
}

.solutions-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  min-width: 240px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  z-index: 100;
}

.solutions-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}

.dropdown-item {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
  text-decoration: none;
}

.dropdown-item:hover {
  background: rgba(165, 255, 56, 0.08);
  color: var(--accent-electric);
  transform: translateX(4px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Language selector */
.language-selector {
  position: relative;
}

.language-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.82rem;
  transition: border-color 0.25s ease;
}

.language-toggle:hover {
  border-color: var(--accent-electric);
}

.flag-icon {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}

.language-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  min-width: 140px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  overflow: hidden;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.language-option:hover,
.language-option.active {
  background: rgba(165, 255, 56, 0.08);
  color: var(--accent-electric);
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

#header.menu-open,
#header:has(.mobile-menu.active) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--bg-deep) !important;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--current-header-height, var(--header-height, 60px));
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - var(--current-header-height, var(--header-height, 60px)));
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 1.5rem 3.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
}

.mobile-menu.active {
  display: flex !important;
  flex-direction: column;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.mobile-nav .nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:active,
.mobile-nav .nav-link.active {
  color: var(--accent-electric);
  padding-left: 0.25rem;
}

.mobile-nav hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0.75rem 0;
}

.mobile-nav .btn-request {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.mobile-lang-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.mobile-lang-btn.active {
  border-color: var(--accent-electric);
  color: var(--accent-electric);
  background: rgba(165, 255, 56, 0.08);
}

@media (max-width: 992px) {
  .nav-center {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-slider {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 1;
  opacity: 0.42;
  filter: contrast(110%) brightness(85%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(8, 10, 8, 0.4) 0%, rgba(8, 10, 8, 0.92) 85%),
              linear-gradient(180deg, rgba(8, 10, 8, 0.3) 0%, var(--bg-deep) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.hero-content {
  max-width: 860px;
}

.hero-main-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary) !important;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary) !important;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.hero-trust-bar::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-electric);
  box-shadow: 0 0 10px var(--accent-electric);
}

.hero-transition-svg {
  display: none !important;
}

/* ==========================================================================
   CLIENT & TRUST STRIP
   ========================================================================== */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 2.5rem 0;
}

.trust-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-strip-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-align: center;
}

.trust-logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.trust-client-item {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease;
}

.trust-client-item:hover {
  color: var(--accent-electric);
}

/* ==========================================================================
   BUSINESS PROBLEMS & SOLUTIONS SECTION
   ========================================================================== */
.problems-section {
  padding: 7rem 0;
  background: var(--bg-deep);
}

.section-head-editorial {
  margin-bottom: 4rem;
}

.section-head-editorial h2 {
  max-width: 800px;
}

.section-head-editorial p {
  max-width: 650px;
  font-size: 1.15rem;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.problem-card:hover::before {
  background: var(--accent-electric);
  box-shadow: 0 0 12px var(--accent-electric);
}

.problem-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-electric);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.problem-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.problem-situation {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.problem-solution {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.92rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.problem-solution span.indicator {
  color: var(--accent-electric);
  font-weight: 700;
}

/* ==========================================================================
   SERVICES PILLARS (5 SERVICES)
   ========================================================================== */
.services-studio-section {
  padding: 7rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-studio-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.service-studio-card:hover {
  border-color: var(--accent-electric);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(165, 255, 56, 0.08);
}

.service-studio-card .service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(165, 255, 56, 0.08);
  border: 1px solid rgba(165, 255, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.service-studio-card .service-icon-box img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(50%) saturate(700%) hue-rotate(35deg) brightness(105%) contrast(105%);
}

.service-studio-card h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.service-studio-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  flex: 1;
  margin-bottom: 2rem;
}

.service-studio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-electric);
  transition: gap 0.25s ease;
}

.service-studio-card:hover .service-studio-link {
  gap: 0.85rem;
}

/* ==========================================================================
   PORTFOLIO & CASE STUDIES SHOWCASE
   ========================================================================== */
.portfolio-showcase-section {
  padding: 8rem 0;
  background: var(--bg-deep);
}

.case-large-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 4rem;
  transition: all 0.35s ease;
}

.case-large-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.case-large-card.reverse {
  grid-template-columns: 1fr 1.25fr;
}

.case-large-card.reverse .case-image-col {
  order: 2;
}

.case-large-card.reverse .case-info-col {
  order: 1;
}

.case-image-col {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--bg-surface-elevated);
}

.case-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-large-card:hover .case-image-col img {
  transform: scale(1.035);
}

.case-info-col {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-meta-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.case-client-tag {
  color: var(--accent-electric);
  font-weight: 700;
}

.case-info-col h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.case-info-col .case-excerpt {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.case-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.case-tech-pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

/* ==========================================================================
   WHY YEM-IT (4 PILLARS) & PROCESS (5 STEPS)
   ========================================================================== */
.why-section {
  padding: 7rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.why-card {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: all 0.25s ease;
}

.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.why-card .why-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-electric);
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Process Section */
.process-section {
  padding: 7rem 0;
  background: var(--bg-deep);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-step-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.25s ease;
}

.process-step-item:hover {
  border-color: var(--accent-electric);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(165, 255, 56, 0.1);
  color: var(--accent-electric);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(165, 255, 56, 0.3);
}

.process-step-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-step-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   TECH STACK EVIDENCE SECTION
   ========================================================================== */
.tech-evidence-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.tech-item-box {
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
}

.tech-item-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.tech-item-box img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.75);
  transition: filter 0.25s ease;
}

.tech-item-box:hover img {
  filter: grayscale(0%) opacity(1);
}

.tech-item-box span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SOCIAL IMPACT SECTION
   ========================================================================== */
.social-impact-section {
  padding: 7rem 0;
  background: var(--bg-deep);
}

.social-impact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.social-impact-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.social-impact-text p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.social-impact-card-side {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
}

.social-impact-quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.social-impact-author {
  font-size: 0.88rem;
  color: var(--accent-electric);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   FINAL CTA & CONTACT FORM
   ========================================================================== */
.final-cta-section {
  padding: 8rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(165, 255, 56, 0.04) 0%, transparent 70%), var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
}

.final-cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cta-editorial-side h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.5rem;
}

.cta-editorial-side p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.direct-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-pill-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.contact-pill-item:hover {
  border-color: var(--accent-electric);
  color: var(--accent-electric);
}

/* Contact Form Styling */
.studio-form-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
}

.studio-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.studio-form-wrapper p.form-sub {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg-deep) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-xs) !important;
  padding: 0.85rem 1rem !important;
  color: var(--text-primary) !important;
  font-family: var(--font-family) !important;
  font-size: 1rem !important;
  outline: none !important;
  min-height: 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-electric) !important;
  box-shadow: 0 0 12px rgba(165, 255, 56, 0.2) !important;
}

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

/* Honeypot hidden field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-xs);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.success {
  background: rgba(165, 255, 56, 0.1);
  border: 1px solid var(--accent-electric);
  color: var(--accent-electric);
  display: block;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-surface) !important;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  color: var(--text-secondary);
}

.footer-container {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
}

.footer-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-tagline {
  color: var(--accent-electric);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-address:hover {
  color: var(--accent-electric);
}

.footer-address svg {
  width: 16px;
  height: 16px;
  color: var(--accent-electric);
  flex-shrink: 0;
}

.footer-company-ids {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-id-badge {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

.footer-column-title {
  color: var(--text-primary) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-column-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-column-list a:hover {
  color: var(--accent-electric);
  transform: translateX(4px);
}

.footer-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-linkedin-btn:hover {
  border-color: var(--accent-electric);
  color: var(--accent-electric);
}

.footer-linkedin-btn svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-electric);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (STUDIO EDITION)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-float .Btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.55rem 1.15rem 0.55rem 0.65rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover .Btn {
  border-color: var(--accent-electric);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(165, 255, 56, 0.2);
}

.whatsapp-float .sign {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-float .whatsappSvg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.whatsapp-float .text {
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   MOTION & REVEAL SYSTEM
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-video-bg {
    display: none !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINT SYSTEM
   Breakpoints: 1200px, 1024px, 768px, 640px, 480px, 374px
   ========================================================================== */

/* 1. Compact Desktop / Tablet Landscape (<= 1200px) */
@media (max-width: 1200px) {
  .services-studio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Tablet Standard (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }
  .case-large-card,
  .case-large-card.reverse {
    grid-template-columns: 1fr;
  }
  .case-large-card.reverse .case-image-col {
    order: 1;
  }
  .case-large-card.reverse .case-info-col {
    order: 2;
  }
  .case-info-col {
    padding: 2.5rem 2rem;
  }
  .case-image-col {
    min-height: 320px;
  }
  .social-impact-box {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    gap: 2rem;
  }
  .final-cta-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* 3. Tablet Portrait & Mobile Large (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .container,
  .container-wide {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hero-slider {
    min-height: auto;
    padding-top: var(--header-height);
  }
  .hero-container {
    padding: 3.5rem 1.25rem 3rem;
  }
  .hero-trust-bar {
    font-size: 0.82rem;
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .services-studio-section,
  .portfolio-showcase-section,
  .why-section,
  .process-section,
  .tech-evidence-section,
  .social-impact-section,
  .final-cta-section {
    padding: 4.5rem 0;
  }
  .studio-form-wrapper {
    padding: 2rem 1.5rem;
  }
}

/* 4. Mobile Standard (<= 640px) */
@media (max-width: 640px) {
  h1 {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    line-height: 1.15;
  }
  h2 {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    line-height: 1.2;
  }
  .hero-main-title {
    font-size: clamp(2.1rem, 7.5vw, 2.85rem);
    margin-bottom: 1.15rem;
  }
  .hero-title {
    font-size: 1.02rem;
    margin-bottom: 1.75rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .btn-electric,
  .btn-ghost,
  .cta-nav-button-hero,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }
  .services-studio-grid {
    grid-template-columns: 1fr;
  }
  .service-studio-card {
    padding: 2rem 1.5rem;
  }
  .case-image-col {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }
  .case-info-col {
    padding: 2rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  /* Floating WhatsApp Button - Ergonomic 48px Touch Circle on Mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 18px;
  }
  .whatsapp-float .Btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .whatsapp-float .sign {
    width: 36px;
    height: 36px;
  }
  .whatsapp-float .text {
    display: none;
  }
}

/* 5. Mobile iPhone / Compact (<= 480px) */
@media (max-width: 480px) {
  .hero-container {
    padding: 2.75rem 1rem 2.25rem;
  }
  .social-impact-box {
    padding: 2rem 1.25rem;
  }
  .social-impact-card-side {
    padding: 1.75rem 1.25rem;
  }
  .studio-form-wrapper {
    padding: 1.75rem 1.25rem;
  }
  .trust-logos-row {
    gap: 1.75rem 2rem;
  }
  .mobile-menu {
    padding: 1.5rem 1rem;
  }
}

/* 6. Mobile Mini (320px - 374px) */
@media (max-width: 374px) {
  .container,
  .container-wide {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .hero-main-title {
    font-size: 1.95rem;
    word-break: break-word;
  }
  .badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }
  .problem-card {
    padding: 1.75rem 1.25rem;
  }
  .service-studio-card {
    padding: 1.75rem 1.25rem;
  }
  .case-info-col {
    padding: 1.5rem 1rem;
  }
  .social-impact-box {
    padding: 1.5rem 1rem;
  }
  .social-impact-card-side {
    padding: 1.25rem 1rem;
  }
  .social-impact-quote {
    font-size: 1.05rem;
  }
  .studio-form-wrapper {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   Custom Neon Green Studio Cursor (Borde verde eléctrico, NO blanco)
   ========================================================================== */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #A5FF38;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate3d(-100px, -100px, 0);
  margin-top: -3px;
  margin-left: -3px;
  transition: opacity 0.2s ease;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 2px solid #A5FF38; /* Borde verde eléctrico, NO blanco */
  background: rgba(165, 255, 56, 0.04);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999998;
  transform: translate3d(-100px, -100px, 0);
  margin-top: -17px;
  margin-left: -17px;
  box-shadow: 0 0 12px rgba(165, 255, 56, 0.35);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              opacity 0.2s ease;
  will-change: transform;
}

.cursor-ring.is-hovering {
  width: 54px;
  height: 54px;
  margin-top: -27px;
  margin-left: -27px;
  border-color: #A5FF38;
  background: rgba(165, 255, 56, 0.12);
  box-shadow: 0 0 24px rgba(165, 255, 56, 0.55);
}

@media (hover: none) and (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}
