/* ============================================
   IBCC V2 - Modern Website Styles
   Brand Colors: #007AC2, #005A92
   Font: Canva Sans
   ============================================ */

@font-face {
  font-family: 'Canva Sans';
  src: url('../fonts/CanvaSans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors - Cyberpunk Tech */
  --brand-primary: #007AC2;
  --brand-dark: #005A92;
  --brand-light: #2AA7FF;
  --brand-gradient: linear-gradient(135deg, #007AC2 0%, #005A92 100%);
  
  /* Brand Color Aliases (for chat widget compatibility) */
  --brand-color: var(--brand-primary);
  
  /* Background Colors */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FB;
  --bg-lighter: #FAFBFD;
  --bg-panel: #FFFFFF;
  
  /* Text Colors - More Refined */
  --text-primary: #111111;
  --text-secondary: #5C6670;
  --text-light: #8B96A5;
  
  /* UI Colors */
  --border-color: #e5e5e5;
  --primary-dim: rgba(0, 122, 194, 0.08);
  --grid-color: rgba(0, 122, 194, 0.03);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.10);
  
  /* Typography */
  --font-sans: 'Canva Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Spacing - Increased for Premium Feel */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Section rhythm (reduce excessive whitespace; responsive by default) */
  --section-pad-y: clamp(3.25rem, 4.2vw, 4.75rem);
  --section-pad-y-tight: clamp(2.25rem, 3.2vw, 3.25rem);
  --section-header-gap: clamp(2rem, 3vw, 3rem);
  --grid-gap-lg: clamp(1.25rem, 2.2vw, 2rem);
  --grid-gap-xl: clamp(1.75rem, 3vw, 3rem);
  
  /* Border Radius - Simplified */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* Cyber geometry */
  --corner-lg: 18px;
  --corner-md: 12px;
  --corner-sm: 8px;
  
  /* Transitions - Smooth/modern */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s var(--ease-standard);
  --transition-normal: 0.22s var(--ease-standard);
  --transition-slow: 0.32s var(--ease-smooth);
  --ease-in-out: var(--ease-standard);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-white);
  /* Softer technical grid background (cyberpunk look) */
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
}

/* Top accent bar (disabled for Apple-minimal) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  opacity: 0;
  z-index: 2000;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
/* Improve rendering performance for sections */
section {
  contain: layout style;
}

/* GPU acceleration for interactive elements */
button, 
.btn-hero-primary,
.btn-hero-secondary,
.btn-cta-primary,
.btn-cta-whatsapp,
.btn-whatsapp-header {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Optimize cards for better paint performance */
.industry-card-v2,
.service-card-v2 {
  transform: translateZ(0);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  font-weight: 400;
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand-primary);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
  will-change: auto;
  contain: strict;
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  will-change: auto;
  contain: strict;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.025;
  filter: blur(80px);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--brand-primary);
  top: -200px;
  right: -200px;
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-dark);
  bottom: -150px;
  left: -150px;
  animation: float2 18s ease-in-out infinite;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: var(--brand-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-100px, 100px, 0) rotate(180deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(100px, -100px, 0) rotate(-180deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate3d(-50%, -50%, 0) scale(1); }
  50% { transform: translate3d(calc(-50% + 50px), calc(-50% - 50px), 0) scale(1.2); }
}

/* ============================================
   HEADER
   ============================================ */
.modern-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Apple-minimal: light glass header */
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 122, 194, 0.16);
  padding: 0.875rem 0;
  transition: all var(--transition-normal);
}

.modern-header::after {
  content: '';
  position: absolute;
  inset: 0;
  /* remove the subtle blue grid tint behind the header */
  background-image: none;
  opacity: 0;
  pointer-events: none;
}

.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  padding: 0.75rem 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.8;
}

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

.header-text-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-text-img {
  height: 65px;
  width: auto;
  max-width: 550px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   UNIFIED BUTTON SYSTEM
   ============================================ */
.btn-hero-primary,
.btn-hero-secondary,
.btn-cta-primary,
.btn-cta-whatsapp,
.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background var(--transition-normal),
    border-color var(--transition-normal),
    color var(--transition-normal),
    filter var(--transition-normal);
  clip-path: polygon(
    var(--corner-md) 0, 100% 0,
    100% calc(100% - var(--corner-md)), calc(100% - var(--corner-md)) 100%,
    0 100%, 0 var(--corner-md)
  );
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover,
.btn-cta-primary:hover,
.btn-cta-whatsapp:hover,
.btn-whatsapp-header:hover {
  /* Apple-minimal motion */
  transform: translate3d(0, -1px, 0) scale(1.005);
  box-shadow: var(--shadow-md);
}

/* Primary (brand blue) */
.btn-hero-primary {
  background: var(--brand-primary);
  color: white;
  border-color: rgba(255, 255, 255, 0.10);
}
.btn-hero-primary:hover {
  background: var(--brand-dark);
  color: white;
}

/* Secondary (white / glass) */
.btn-hero-secondary,
.btn-cta-primary {
  background: rgba(255, 255, 255, 0.92);
  color: #0b0f15;
  /* Always-visible outline on light sections (hero/cta/footer) */
  border-color: rgba(11, 15, 21, 0.14);
}
.btn-hero-secondary:hover,
.btn-cta-primary:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: rgba(0, 122, 194, 0.55);
}

/* WhatsApp stays green (but same geometry/motion) */
.btn-cta-whatsapp,
.btn-whatsapp-header,
.btn-hero-primary.btn-whatsapp-hero {
  background: #25D366;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-cta-whatsapp:hover,
.btn-whatsapp-header:hover,
.btn-hero-primary.btn-whatsapp-hero:hover {
  background: #1fa855;
  color: #fff;
}

/* Header sizing tweak (same system, smaller footprint) */
.modern-header .btn-whatsapp-header {
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  box-shadow: none;
}
.modern-header .btn-whatsapp-header:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.14);
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */
.breadcrumb-nav {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0.875rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--text-light);
  margin-left: 0.25rem;
}

.breadcrumb-list a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.breadcrumb-list [aria-current="page"] {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   HERO SECTION V2
   ============================================ */
.hero-v2 {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* Featured hero: single powerful image + cyber overlay (no slideshow) */
.hero-v2--featured {
  min-height: 84vh;
  background: #000;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.10) contrast(1.08) brightness(1.02);
}

.hero-v2--featured .hero-gradient-overlay {
  z-index: 1;
  background:
    radial-gradient(1100px 600px at 18% 35%, rgba(0, 122, 194, 0.32), transparent 58%),
    radial-gradient(900px 520px at 82% 40%, rgba(0, 0, 0, 0.55), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.62) 100%);
}

/* Add a tiny bit of "premium grain" so the overlay feels intentional */
.hero-v2--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.05), transparent 42%),
    radial-gradient(circle at 80% 30%, rgba(0,122,194,0.10), transparent 48%);
  mix-blend-mode: overlay;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

.hero-v2--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-v2--featured .hero-left {
  max-width: 740px;
  padding: 1.75rem 1.65rem 1.55rem;
  /* Apple-minimal: light glass card over image */
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-xl);
  padding: 1.25rem 1.25rem;
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-panel-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-panel-row:last-child {
  border-bottom: none;
}

.hero-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brand-primary);
  background: var(--primary-dim);
  padding: 0.25rem 0.5rem;
  width: fit-content;
  border-radius: 2px;
}

.hero-value {
  font-size: 1rem;
  font-weight: 800;
  color: #0b0f15;
}

/* Make hero typography Apple-clean inside the light glass card */
.hero-v2--featured .hero-title {
  color: #0b0f15;
  text-shadow: none;
}
.hero-v2--featured .gradient-text {
  color: #0b0f15;
}
.hero-v2--featured .hero-subtitle {
  color: rgba(11, 15, 21, 0.68);
}

/* Minimal hero: no background image, centered selling copy */
.hero-v2--minimal {
  min-height: 72vh;
  /* Pure Apple-clean white (no blue tint behind copy) */
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-v2--minimal::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.hero-v2--minimal .hero-content-v2 {
  text-align: center;
}

.hero-center {
  max-width: 860px;
  margin: 0 auto;
}

.hero-v2--minimal .hero-content-v2::before {
  /* remove behind-text glow */
  background: transparent;
  opacity: 0;
}

.hero-v2--minimal .hero-badge {
  background: rgba(0, 122, 194, 0.08);
  border-color: rgba(0, 122, 194, 0.18);
  color: rgba(11, 15, 21, 0.82);
}

.hero-v2--minimal .hero-badge svg {
  color: var(--brand-primary);
}

.hero-v2--minimal .hero-title {
  color: #0b0f15;
  text-shadow: none;
}

.hero-v2--minimal .gradient-text {
  color: #0b0f15;
}

.hero-v2--minimal .hero-subtitle {
  color: rgba(11, 15, 21, 0.68);
  max-width: 720px;
}

.hero-v2--minimal .hero-cta-group {
  justify-content: center;
}

.hero-slideshow-v2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: auto;
}

.hero-slide-v2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.hero-slide-v2.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0) scale(1.1);
  will-change: transform;
}

/* Prefer a consistent crop window for mixed-aspect hero images */
.hero-slideshow-v2 {
  overflow: hidden;
}

.hero-slide-v2[data-slide="2"] img {
  object-position: center 75%;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.hero-content-v2 {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 0;
}

/* Soft backplate glow so hero content blends into the background */
.hero-content-v2::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate3d(-50%, -50%, 0);
  width: min(920px, 92vw);
  height: min(520px, 60vh);
  background:
    radial-gradient(closest-side, rgba(0, 122, 194, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(0, 0, 0, 0.22), transparent 65%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: ibcc-fade-up-soft 0.75s var(--ease-smooth) 0.02s both;
  clip-path: polygon(
    var(--corner-sm) 0, 100% 0,
    100% calc(100% - var(--corner-sm)), calc(100% - var(--corner-sm)) 100%,
    0 100%, 0 var(--corner-sm)
  );
}

.hero-badge svg {
  color: #25D366;
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  display: inline-block;
  will-change: filter, opacity, transform;
  /* front-to-back reveal (zoom out + deblur) */
  filter: blur(16px);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: ibcc-hero-reveal 1.2s var(--ease-smooth) 0.1s both;
}

@keyframes ibcc-hero-reveal {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: translate3d(0, 0, 0) scale(1.06);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes ibcc-fade-up-soft {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0px);
  }
}

/* (Removed) blinking cursor underscore */

.gradient-text {
  color: white;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
  margin: 0 auto 2rem;
  text-shadow: none;
  animation: ibcc-fade-up-soft 0.75s var(--ease-smooth) 0.22s both;
  font-weight: 400;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: white;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: ibcc-fade-up-soft 0.75s var(--ease-smooth) 0.32s both;
}

/* In clean hero, align content to the left column */
.hero-v2--featured .hero-content-v2 {
  text-align: left;
}

.hero-v2--featured .hero-cta-group {
  justify-content: flex-start;
}

/* Keep the glow behind the left cluster only in clean hero */
.hero-v2--featured .hero-content-v2::before {
  left: 32%;
  top: 56%;
  width: min(760px, 92vw);
}

/* ============================================
   SHOWCASE SECTION (repurposed hero images)
   ============================================ */
.showcase-v2 {
  padding: var(--section-pad-y) 0;
  background: var(--bg-white);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.showcase-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 280px;
  max-width: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.showcase-card:hover {
  transform: translate3d(0, -4px, 0);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
}

.showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.6s var(--ease-smooth);
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.06);
}

.showcase-body {
  padding: 1.25rem 1.25rem 1.35rem;
}

.showcase-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.showcase-body p {
  margin: 0;
  font-size: 1rem;
}

/* ============================================
   EATON PRODUCT GRID (catalog-style)
   ============================================ */
.eaton-product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 1.6vw, 1.25rem);
}

.eaton-product-card {
  flex: 0 1 calc(25% - clamp(0.9rem, 1.6vw, 1.25rem));
  min-width: 200px;
  max-width: 100%;
}

.eaton-product-card {
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem;
}

.eaton-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Keep cards uniform WITHOUT cropping images */
  aspect-ratio: 1 / 1;
  padding: 0.5rem;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}

.eaton-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* slightly smaller inside the frame */
  max-width: 88%;
  max-height: 88%;
  transform: none;
}

.eaton-product-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

/* Stacking styles removed - network cards now display as separate items */

/* ============================================
   EATON PAGE SPECIFIC STYLES
   ============================================ */

/* Section layouts for editorial content */
.eaton-section {
  padding: var(--section-pad-y) 0;
}

.eaton-section--white {
  background: white;
}

.eaton-section--light {
  background: var(--bg-light);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.eaton-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.eaton-section-badge {
  display: inline-block;
  background: white;
  color: var(--brand-primary);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.eaton-section--white .eaton-section-badge {
  background: #E8F4FB;
}

.eaton-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.eaton-section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Eaton industry cards */
.eaton-industry-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.eaton-industry-card {
  flex: 0 1 calc(50% - 1rem);
  min-width: 300px;
  max-width: 100%;
}

.eaton-industry-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.eaton-industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.eaton-industry-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.eaton-industry-card-body {
  padding: 1.5rem;
}

.eaton-industry-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.eaton-industry-card p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Eaton service cards */
.eaton-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.eaton-service-card {
  flex: 0 1 calc(50% - 1rem);
  min-width: 300px;
  max-width: 100%;
}

.eaton-service-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.eaton-service-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.eaton-service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.eaton-service-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.eaton-service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.eaton-service-card p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.eaton-service-link {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease;
}

.eaton-service-link:hover {
  gap: 0.75rem;
}

/* Eaton FAQ accordion */
.eaton-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.eaton-faq-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.eaton-faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.eaton-faq-item summary {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
}

.eaton-faq-item summary::-webkit-details-marker {
  display: none;
}

.eaton-faq-item summary svg {
  flex-shrink: 0;
  color: var(--brand-primary);
}

.eaton-faq-item p {
  margin-top: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 2rem;
}

/* Eaton disclaimer */
.eaton-disclaimer {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
}

.eaton-disclaimer p {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.eaton-disclaimer a {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Responsive adjustments for Eaton page */
@media (max-width: 768px) {
  .eaton-industry-grid,
  .eaton-services-grid {
    grid-template-columns: 1fr;
  }
  
  .eaton-section-title {
    font-size: 1.875rem;
  }
}

/* Eaton page theme alignment: convert remaining rounded cards into cyber panels */
.page-eaton {
  /* Tighter rhythm on the Eaton page (reduce whitespace) */
  --section-pad-y: clamp(2.25rem, 3.2vw, 3.25rem);
  --section-pad-y-tight: clamp(1.75rem, 2.6vw, 2.25rem);
  --section-header-gap: clamp(1.5rem, 2.5vw, 2rem);
}

.page-eaton section[style*="padding: 4rem 0"] {
  padding: var(--section-pad-y) 0 !important;
}

.page-eaton section[style*="padding: 5rem 0"] {
  padding: var(--section-pad-y) 0 !important;
}

.page-eaton .cta-section-v2 {
  /* Bottom CTA was feeling like an empty block — make it tighter */
  padding: clamp(1.75rem, 2.6vw, 2.5rem) 0;
}

.page-eaton .cta-content-v2 {
  max-width: 820px;
}

.page-eaton .cta-text h2 {
  margin-bottom: 0.75rem;
}

.page-eaton .cta-text p {
  margin-bottom: 1.15rem;
}

.page-eaton .cta-actions-v2 {
  margin-bottom: 0.9rem;
}

.page-eaton .cta-contact-info {
  padding-top: 0.9rem;
}

.page-eaton .cta-section-v2 .hero-cta-group {
  margin-bottom: 0;
}

.page-eaton section[style*="background: #F8F9FB"] {
  background: var(--bg-light) !important;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-eaton :is(div, details)[style*="border-radius: 12px"] {
  border-radius: 0 !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: var(--shadow-sm) !important;
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.page-eaton :is(a)[style*="display: inline-flex"][style*="background: var(--brand-primary)"] {
  /* make inline CTA buttons match unified system */
  border-radius: 0 !important;
  clip-path: polygon(
    var(--corner-md) 0, 100% 0,
    100% calc(100% - var(--corner-md)), calc(100% - var(--corner-md)) 100%,
    0 100%, 0 var(--corner-md)
  );
}

@media (max-width: 1024px) {
  .eaton-product-card {
    flex: 0 1 calc(33.333% - clamp(0.9rem, 1.6vw, 1.25rem));
  }
}

@media (max-width: 480px) {
  .eaton-product-card {
    flex: 0 1 calc(50% - clamp(0.9rem, 1.6vw, 1.25rem));
  }
  .eaton-product-media {
    height: 190px;
  }
}

/* Hero button hover is handled by unified button system above */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header-v2 {
  text-align: center;
  max-width: 750px;
  margin: 0 auto var(--section-header-gap);
}

/* Scroll unblur reveal for section titles (Apple-clean) */
[data-title-reveal] {
  opacity: 0.01;
  transform: translate3d(0, 10px, 0) scale(0.985);
  filter: blur(12px);
  will-change: opacity, transform, filter;
  transition:
    opacity 0.7s var(--ease-smooth),
    transform 0.9s var(--ease-smooth),
    filter 1.05s var(--ease-smooth);
}

[data-title-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--primary-dim);
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-header-v2 h2 {
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.section-header-v2 p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================
   PARTNERS SECTION V2
   ============================================ */
.partners-v2 {
  padding: var(--section-pad-y) 0;
  background: var(--bg-light);
  /* keep cyber grid visible even on light sections */
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
}

.partners-showcase {
  margin-top: 2.5rem;
}

.partners-marquee {
  display: flex;
  gap: 2rem;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  min-width: 200px;
  padding: 0 1.5rem;
  transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  filter: grayscale(0);
  opacity: 0.85;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translate3d(0, -2px, 0);
}

.partner-logo-tall {
  height: 120px;
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(calc(-100% - 2rem), 0, 0); }
}

/* ============================================
   INDUSTRIES SECTION V2
   ============================================ */
.industries-v2 {
  padding: var(--section-pad-y) 0;
  background: var(--bg-white);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.industries-grid-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.industry-card-v2 {
  flex: 0 1 calc(25% - 2px);
  min-width: 250px;
  max-width: 100%;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 450px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  cursor: pointer;
  box-shadow: none;
  contain: layout style paint;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* angled corners */
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.industry-card-v2:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.industry-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card-v2:hover .industry-image img {
  transform: scale(1.03);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 100%
  );
  transition: background 0.3s ease;
}

.industry-card-v2:hover .industry-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 70%,
    transparent 100%
  );
}

.industry-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.industry-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  color: white;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.industry-card-v2:hover .industry-icon {
  background: transparent;
  border-color: transparent;
  transform: none;
}

.industry-content h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.industry-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================
   SERVICES SECTION V2
   ============================================ */
.services-v2 {
  padding: var(--section-pad-y) 0;
  background: var(--bg-light);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.services-grid-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--grid-gap-xl);
}

.service-card-v2 {
  flex: 0 1 calc(33.333% - var(--grid-gap-xl));
  min-width: 320px;
  max-width: 100%;
}

.service-card-v2 {
  background: white;
  border-radius: 0;
  padding: 3rem 2rem;
  transition: all 0.25s ease;
  border: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  position: relative;
  contain: layout style paint;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* angled corners */
  clip-path: polygon(
    var(--corner-lg) 0, 100% 0,
    100% calc(100% - var(--corner-lg)), calc(100% - var(--corner-lg)) 100%,
    0 100%, 0 var(--corner-lg)
  );
}

.service-card-v2::before {
  display: none;
}

.service-card-v2:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
  transform: translate3d(0, -4px, 0);
}

.service-card-v2.featured {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  color: white;
  border-color: transparent;
  transform: none;
}

/* Focus ring (cyber but accessible) */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 122, 194, 0.35);
  outline-offset: 2px;
}

.service-card-v2.featured h3,
.service-card-v2.featured p,
.service-card-v2.featured li {
  color: white;
}

.service-card-v2.featured .service-icon-v2 {
  background: transparent;
  color: white;
  border: none;
}

.service-card-v2.featured:hover .service-icon-v2 {
  background: transparent;
  border: none;
}

.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.25rem 0.625rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-icon-v2 {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  color: var(--brand-primary);
  margin-bottom: 2rem;
  transition: all 0.25s ease;
  border: none;
}

.service-card-v2 h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card-v2 > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

.service-card-v2.featured .service-features li::before {
  color: white;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.15s ease;
}

.service-card-v2.featured .service-link {
  color: white;
}

.service-link:hover {
  gap: 0.625rem;
}

.service-card-v2.featured .service-link:hover {
  color: white;
}

/* Services Breakdown Section */
.services-breakdown {
  margin-top: var(--section-pad-y-tight);
  padding-top: var(--section-pad-y-tight);
  border-top: 1px solid var(--border-color);
}

.breakdown-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--section-header-gap);
}

.breakdown-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.breakdown-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.breakdown-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--grid-gap-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.breakdown-column {
  flex: 0 1 calc(50% - var(--grid-gap-xl));
  min-width: 300px;
  max-width: 100%;
}

/* Tablet layout: reduce harsh 4-col density + keep cards readable */
@media (max-width: 1024px) {
  .industries-grid-v2 .industry-card-v2 {
    flex: 0 1 calc(50% - 2px);
  }

  .showcase-card {
    flex: 0 1 calc(50% - 0.75rem);
  }
  
  .eaton-product-card {
    flex: 0 1 calc(33.333% - clamp(0.9rem, 1.6vw, 1.25rem));
  }
  
  .service-card-v2 {
    flex: 0 1 calc(50% - var(--grid-gap-xl));
  }
}

.breakdown-column h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breakdown-list li {
  padding: 1rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.breakdown-list li:last-child {
  border-bottom: none;
}

.breakdown-list li:hover {
  color: var(--brand-primary);
  padding-left: 0.5rem;
}

/* ============================================
   CTA SECTION V2
   ============================================ */
.cta-section-v2 {
  position: relative;
  padding: var(--section-pad-y) 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Pure Apple-clean white (no blue tint) */
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  z-index: 0;
}

.cta-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* remove center tint behind text */
  background: transparent;
  opacity: 0;
}

.cta-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    /* neutral grid (avoid brand-blue tint behind text) */
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 1;
  pointer-events: none;
}

.cta-content-v2 {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-text h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.cta-actions-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-cta-primary {
  /* styles handled by unified button system */
}

.btn-cta-primary:hover {
  /* styles handled by unified button system */
}

.btn-cta-whatsapp {
  /* styles handled by unified button system */
}

.btn-cta-whatsapp:hover {
  /* styles handled by unified button system */
}

.cta-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.contact-item {
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.9375rem;
  font-weight: 400;
}

.contact-item strong {
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--text-primary);
}

/* ============================================
   FOOTER V2
   ============================================ */
.footer-v2 {
  background: #ffffff;
  color: var(--text-secondary);
  padding: var(--section-pad-y) 0 2rem;
  border-top: 1px solid var(--border-color);
  /* keep minimal cyber grid, very subtle */
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--grid-gap-xl);
  margin-bottom: var(--section-header-gap);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 65px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: none;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-dim);
  border-radius: 2px;
  color: var(--brand-primary);
  transition: all 0.2s ease;
  clip-path: polygon(
    var(--corner-sm) 0, 100% 0,
    100% calc(100% - var(--corner-sm)), calc(100% - var(--corner-sm)) 100%,
    0 100%, 0 var(--corner-sm)
  );
  border: 1px solid rgba(0, 122, 194, 0.18);
}

.footer-social a:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translate3d(0, -2px, 0);
}

.footer-links-group h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 0.65rem;
}

.footer-links-group a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links-group a:hover {
  color: var(--brand-primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: rgba(0, 0, 0, 0.55);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-credit a {
  color: var(--brand-primary);
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--brand-dark);
}

/* ============================================
   AOS ANIMATIONS
   ============================================ */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
  opacity: 1;
}
[data-aos="fade-up"] {
  transform: translateY(20px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .industries-grid-v2 {
    gap: 1.25rem;
  }
  
  .industry-card-v2 {
    height: 350px;
  }
}

@media (max-width: 1024px) {
  .header-text-wrap {
    display: none;
  }
  
  .industries-grid-v2 {
    gap: 1.5rem;
  }
  
  .industries-grid-v2 .industry-card-v2 {
    flex: 0 1 calc(50% - 0.75rem);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-left {
    text-align: center;
  }

  .hero-right {
    justify-content: center;
  }

  .hero-v2--featured .hero-content-v2 {
    text-align: center;
  }

  .hero-v2--featured .hero-cta-group {
    justify-content: center;
  }

  .hero-v2--featured .hero-content-v2::before {
    left: 50%;
  }
  
  .industry-card-v2 {
    height: 320px;
  }
  
  .footer-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    /* tighter rhythm on phones/tablets */
    --section-pad-y: 3.25rem;
    --section-pad-y-tight: 2.25rem;
    --section-header-gap: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  /* Header: keep it clean + no overflow on tablets/phones */
  .main-nav {
    gap: 1rem;
  }

  .logo-img {
    height: 52px;
  }
  
  .hero-v2 {
    min-height: 70vh;
    padding: 4rem 0;
  }

  /* Mobile/Tablet: hero should be the only thing visible on first screen */
  .hero-v2--minimal {
    min-height: calc(100svh - var(--header-h, 76px));
    padding: 0;
  }

  .hero-v2--minimal .hero-content-v2 {
    padding: 0;
  }

  .hero-v2--featured {
    min-height: 76vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-hero-tertiary {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-trust-indicators {
    gap: 1.5rem;
  }
  
  .trust-number {
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .industries-grid-v2 .industry-card-v2 {
    flex: 0 1 100%;
  }
  
  .services-grid-v2 .service-card-v2 {
    flex: 0 1 100%;
  }

  .showcase-card {
    flex: 0 1 100%;
  }
  
  .breakdown-grid {
    gap: 2rem;
  }
  
  .breakdown-column {
    flex: 0 1 100%;
  }
  
  .eaton-industry-grid .eaton-industry-card,
  .eaton-services-grid .eaton-service-card {
    flex: 0 1 100%;
  }
  
  .breakdown-header h2 {
    font-size: 1.75rem;
  }
  
  .breakdown-column h3 {
    font-size: 1.25rem;
  }
  
  .service-card-v2.featured {
    transform: scale(1);
  }
  
  .cta-actions-v2 {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta-primary,
  .btn-cta-whatsapp {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    justify-content: center;
  }
  
  .footer-grid-v2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .header-actions {
    gap: 0.5rem;
  }
  
  .btn-contact-header,
  .btn-whatsapp-header {
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-v2 {
    padding: 3rem 0;
  }

  .hero-v2--minimal {
    min-height: calc(100svh - var(--header-h, 72px));
    padding: 0;
  }

  .hero-v2--minimal .hero-content-v2 {
    padding: 0;
  }
  
  .logo-img {
    height: 45px;
  }

  /* Make hero CTAs reliably fit narrow screens */
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 320px;
  }
  
  .btn-whatsapp-header span {
    display: none;
  }
  
  .btn-whatsapp-header svg {
    margin: 0;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Reduce “floaty” spacing on small phones */
  .hero-cta-group {
    margin-bottom: 1.75rem;
  }

  .service-card-v2 {
    padding: 2.25rem 1.5rem;
  }

  .industry-content {
    padding: 1.5rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    min-width: 160px;
    max-width: 240px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .section-header-v2 h2 {
    font-size: 1.75rem;
  }
  
  .section-header-v2 p {
    font-size: 0.95rem;
  }
  
  .partner-logo {
    min-width: 90px;
    max-width: 120px;
  }
  
  .industry-card-v2 {
    height: 280px;
  }
  
  .btn-cta-primary,
  .btn-cta-whatsapp {
    min-width: 160px;
    max-width: 240px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* ============================================
   PERFORMANCE: REDUCE MOTION & MOBILE OPTIMIZATION
   ============================================ */
@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;
  }

  /* Disable hero reveal + ensure text is readable immediately */
  .hero-title .gradient-text {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-badge,
  .hero-subtitle,
  .hero-cta-group {
    animation: none !important;
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Disable scroll unblur titles */
  [data-title-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Disable expensive animations on mobile for better performance */
@media (max-width: 768px) {
  .particles-bg {
    display: none;
  }
  
  .floating-shapes .shape {
    animation: none;
  }
  
  .hero-slide-v2 img {
    transform: scale(1.05) !important;
  }
}

/* Optimize for touch devices */
@media (hover: none) and (pointer: coarse) {
  .service-card-v2:hover,
  .industry-card-v2:hover,
  .partner-logo:hover {
    transform: none;
  }
}
