/* ==========================================================================
   HEAD BRAND PARTNER - DIGITAL AGENCY DESIGN SYSTEM
   Inspiration: Modern High-Converting Dark Theme & Indigo Marketing Aesthetics
   ========================================================================== */

:root {
  /* Color Palette - Head Brand Partner Identity */
  --bg-dark: #07090e;
  --bg-dark-secondary: #0c0f17;
  --bg-card: rgba(16, 20, 31, 0.75);
  --bg-card-hover: rgba(24, 30, 48, 0.85);
  --bg-glass-nav: rgba(9, 12, 20, 0.85);
  
  /* Head Signature Yellow / Gold */
  --brand-yellow: #F5BD02;
  --brand-yellow-light: #FFD027;
  --brand-yellow-dark: #D9A400;
  --brand-yellow-glow: rgba(245, 189, 2, 0.32);

  --primary: #F5BD02;
  --primary-light: #FFD027;
  --primary-glow: rgba(245, 189, 2, 0.3);
  
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.2);

  --accent-gradient: linear-gradient(135deg, #F5BD02 0%, #FFA800 100%);
  --accent-gradient-text: linear-gradient(135deg, #ffffff 30%, #FFD027 70%, #FFA800 100%);
  --accent-gradient-glow: linear-gradient(135deg, rgba(245, 189, 2, 0.4) 0%, rgba(255, 168, 0, 0.25) 100%);
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(245, 189, 2, 0.5);
  
  --success: #10b981;
  --warning: #F5BD02;
  
  /* Typography */
  --font-heading: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Base Reset & Document Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* Background Atmosphere Gradients */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.05) 45%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: 0;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, rgba(99, 102, 241, 0.03) 50%, transparent 70%);
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
}

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  font-weight: 400;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.text-cyan {
  color: var(--cyan);
}

.text-primary {
  color: var(--primary-light);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 18px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #07090e;
  font-weight: 700;
  box-shadow: 0 8px 24px var(--brand-yellow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245, 189, 2, 0.55);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.top-bar {
  background: rgba(12, 15, 23, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  padding: 7px 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.top-info-item svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-light);
}

.top-badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-glass-nav);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--border-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.logo-image-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  box-shadow: 0 4px 18px var(--brand-yellow-glow);
  border: 2px solid rgba(245, 189, 2, 0.45);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .logo-image-box {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 6px 24px rgba(245, 189, 2, 0.65);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-yellow);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-yellow-light);
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle.active .icon-hamburger {
  display: none;
}

.mobile-toggle.active .icon-close {
  display: block;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.1rem, 2.8vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  color: #ffffff;
  letter-spacing: -0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1.1;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ==========================================================================
   HERO SECTORS GRAPHIC (¿Para quiénes trabajamos?)
   ========================================================================== */
.hero-media-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-sectors-board {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: linear-gradient(145deg, rgba(16, 20, 31, 0.95) 0%, rgba(10, 13, 22, 0.98) 100%);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 189, 2, 0.12);
  padding: 24px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.hero-sectors-board::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 189, 2, 0.16) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.sectors-board-header {
  margin-bottom: 16px;
}

.sectors-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 189, 2, 0.1);
  border: 1px solid rgba(245, 189, 2, 0.25);
  color: var(--brand-yellow-light);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.sectors-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-yellow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-yellow);
  animation: pulseGreen 2s infinite;
}

.sectors-board-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.sectors-board-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.sector-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-width: 0;
  transition: all var(--transition-fast);
}

.sector-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 189, 2, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.sector-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(245, 189, 2, 0.12);
  border: 1px solid rgba(245, 189, 2, 0.25);
  color: var(--brand-yellow-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  margin-top: 1px;
}

.sector-card:hover .sector-icon-wrap {
  background: var(--accent-gradient);
  color: #07090e;
  box-shadow: 0 4px 12px var(--brand-yellow-glow);
}

.sector-icon-wrap svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.sector-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sector-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
  flex-wrap: nowrap;
}

.sector-name {
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sector-tag-pill {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.sector-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.34;
  margin: 0;
}

.sectors-board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.sectors-footer-metric {
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-highlight {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--brand-yellow-light);
  line-height: 1;
}

.metric-caption {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.25;
  max-width: 170px;
}

.sectors-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.sectors-footer-btn:hover {
  background: var(--accent-gradient);
  color: #07090e;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--brand-yellow-glow);
}

.sectors-footer-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   PARTNER MARQUEE / TICKER STRIP
   ========================================================================== */
.marquee-section {
  padding: 30px 0;
  background: var(--bg-dark-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark-secondary), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark-secondary), transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 50px;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-light);
}

/* ==========================================================================
   SECTION 1: SERVICIOS
   ========================================================================== */
.services-section {
  padding: 120px 0;
  position: relative;
}

/* Filter Tabs */
.services-tabs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.service-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-light);
}

.service-tab-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(99, 102, 241, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--accent-gradient);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.service-card-title {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.service-features-list {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  fill: var(--cyan);
  flex-shrink: 0;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  cursor: pointer;
  transition: gap var(--transition-fast);
}

.service-link-cta:hover {
  color: var(--cyan);
  gap: 10px;
}

.service-link-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   SECTION 2: METODOLOGÍA PROPIA
   ========================================================================== */
.methodology-section {
  padding: 120px 0;
  background: var(--bg-dark-secondary);
  position: relative;
  overflow: hidden;
}

.methodology-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  margin-top: 20px;
}

.methodology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 30px;
  position: relative;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.methodology-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.step-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.step-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-deliverable {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(6, 182, 212, 0.18);
}

.step-deliverable svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   SECTION 3: EMPRESAS QUE CONFIARON EN HEAD BRAND PARTNER
   ========================================================================== */
.clients-section {
  padding: 120px 0;
  position: relative;
}

/* Clients Ticker Ribbon */
.clients-ticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
  margin-bottom: 45px;
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.clients-ticker-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: tickerLoop 42s linear infinite;
  align-items: center;
}

.clients-ticker-wrap:hover .clients-ticker-track {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  min-width: 130px;
  padding: 8px 18px;
  background: var(--client-bg, #ffffff);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ticker-item:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.ticker-item img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* Clients Filter Navigation Tabs */
.clients-filter-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.client-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.client-filter-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-light);
  color: #fff;
  transform: translateY(-1px);
}

.client-filter-btn.active {
  background: rgba(245, 189, 2, 0.12);
  border-color: var(--brand-yellow);
  color: #fff;
  box-shadow: 0 0 16px rgba(245, 189, 2, 0.2);
}

.client-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  line-height: 1;
}

.client-filter-btn.active .filter-count {
  background: var(--brand-yellow);
  color: #000;
}

/* Clients Logo Grid / Showcase */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 60px;
}

.client-logo-card {
  background: rgba(16, 20, 31, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.client-logo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.client-logo-card:hover {
  background: rgba(24, 30, 48, 0.75);
  border-color: rgba(245, 189, 2, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(245, 189, 2, 0.1);
}

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

.client-logo-box {
  width: 100%;
  height: 104px;
  border-radius: var(--radius-md);
  background-color: var(--client-bg, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.client-logo-card:hover .client-logo-box {
  transform: scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 0, 0, 0.35);
}

.client-logo-img {
  max-width: 90%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.client-logo-card:hover .client-logo-img {
  transform: scale(1.06);
}

.client-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.client-industry-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-yellow);
  background: rgba(245, 189, 2, 0.09);
  border: 1px solid rgba(245, 189, 2, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.client-name {
  font-weight: 700;
  font-size: 1.08rem;
  color: #fff;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 2px 0 0;
}

.client-industry {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.client-result {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.18);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

/* Success Stories / Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.stars-rating svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 4: CONTACTO
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: var(--bg-dark-secondary);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
}

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-highlight-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
}

.contact-highlight-card h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}

.contact-highlight-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-detail-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
}

.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.detail-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.detail-val {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(9, 12, 20, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  background: rgba(14, 18, 30, 0.9);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

select.form-control option {
  background: #0f1322;
  color: #fff;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.form-status {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 16px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040508;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-logo {
  margin-bottom: 8px;
}

.footer-logo-box {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-yellow);
  box-shadow: 0 6px 24px var(--brand-yellow-glow);
  border: 2.5px solid rgba(245, 189, 2, 0.5);
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-brand-logo:hover .footer-logo-box {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 8px 30px rgba(245, 189, 2, 0.75);
}

.footer-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 20px 0;
  max-width: 320px;
}

.footer-contact-direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-direct-link:hover {
  color: var(--brand-yellow-light);
}

.footer-direct-link svg {
  width: 17px;
  height: 17px;
  fill: var(--brand-yellow);
  flex-shrink: 0;
}

.footer-hours-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-hours-tag svg {
  width: 15px;
  height: 15px;
  fill: var(--text-dim);
  flex-shrink: 0;
}

.footer-col-title {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-top: 14px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.floating-tooltip {
  position: absolute;
  right: 72px;
  background: #0f1322;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.floating-whatsapp-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-media-wrapper {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .methodology-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Tablets & Below */
@media (max-width: 992px) {
  .services-section,
  .methodology-section,
  .clients-section,
  .contact-section {
    padding: 80px 0;
  }

  .hero-section {
    padding: 60px 0 80px 0;
  }
}

/* Tablets (Portrait) & Mobile Devices */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 68px;
  }

  .top-bar {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  /* Header & Mobile Navigation */
  .site-header {
    background: rgba(7, 9, 14, 0.88);
  }

  .navbar {
    height: 68px;
  }

  .logo-image-box {
    width: 50px;
    height: 50px;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px 20px 40px;
    border-bottom: 1px solid var(--border-light);
    gap: 8px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    font-size: 1.12rem;
    font-weight: 600;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(245, 189, 2, 0.08);
    color: var(--brand-yellow-light);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  /* Hero Section */
  .hero-section {
    padding: 44px 0 56px 0;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-pill-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.2vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-cta-group {
    margin-bottom: 32px;
    gap: 12px;
  }

  .hero-sectors-board {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .sectors-board-title {
    font-size: 1.25rem;
  }

  .sectors-board-subtitle {
    font-size: 0.8rem;
    margin-bottom: 12px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-bottom: 16px;
  }

  .sector-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .sector-name {
    font-size: 0.83rem;
    white-space: normal;
  }

  .sector-desc {
    font-size: 0.74rem;
  }

  .sectors-board-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
    padding-top: 14px;
  }

  .sectors-footer-metric {
    justify-content: center;
  }

  .sectors-footer-btn {
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
  }

  /* Section Header */
  .section-header {
    margin-bottom: 34px;
  }

  .section-tag {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .section-title {
    font-size: clamp(1.65rem, 5.5vw, 2.15rem);
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Services Section */
  .services-section {
    padding: 60px 0 70px 0;
  }

  .services-tabs-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 20px 14px 20px;
    margin: 0 -20px 30px -20px;
    scrollbar-width: none;
  }

  .services-tabs-container::-webkit-scrollbar {
    display: none;
  }

  .service-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 0.84rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  .service-card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .service-card-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .service-features-list {
    gap: 10px;
    margin-bottom: 22px;
  }

  .service-feature-item {
    font-size: 0.88rem;
    padding: 5px 0;
  }

  .service-card-footer {
    padding-top: 16px;
  }

  .service-link-cta {
    font-size: 0.88rem;
    padding: 6px 0;
  }

  /* Methodology Section */
  .methodology-section {
    padding: 60px 0 70px 0;
  }

  .methodology-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 10px;
  }

  .methodology-card {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .step-num {
    font-size: 2.2rem;
  }

  .step-icon {
    width: 38px;
    height: 38px;
  }

  .step-icon svg {
    width: 19px;
    height: 19px;
  }

  .step-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .step-deliverable {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  /* Clients Section */
  .clients-section {
    padding: 60px 0 70px 0;
  }

  .clients-logo-grid {
    gap: 16px;
    margin-bottom: 40px;
  }

  /* Contact Section */
  .contact-section {
    padding: 60px 0 70px 0;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-highlight-card {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .contact-highlight-card h3 {
    font-size: 1.35rem;
  }

  .contact-highlight-card p {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .contact-highlight-card .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .contact-details-list {
    gap: 12px;
  }

  .contact-detail-item {
    padding: 12px 14px;
    gap: 12px;
  }

  .detail-val {
    word-break: break-all;
    font-size: 0.9rem;
  }

  .contact-form-card {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
  }

  .form-header {
    margin-bottom: 20px;
  }

  .form-header h3 {
    font-size: 1.45rem;
    margin-bottom: 6px;
  }

  .form-header p {
    font-size: 0.88rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }

  .form-group {
    margin-bottom: 14px;
    gap: 6px;
  }

  .form-label {
    font-size: 0.82rem;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    padding: 12px 14px;
  }

  textarea.form-control {
    min-height: 100px;
  }

  .form-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 14px;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Footer */
  .site-footer {
    padding: 50px 0 24px 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 34px;
  }

  .footer-logo-box {
    width: 62px;
    height: 62px;
  }

  .footer-bio {
    max-width: 100%;
    font-size: 0.88rem;
    margin: 12px 0 16px 0;
  }

  .footer-direct-link {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .footer-col-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-links-list {
    gap: 10px;
  }

  .footer-link {
    font-size: 0.88rem;
    padding: 3px 0;
    display: inline-block;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.82rem;
  }

  /* Floating WhatsApp */
  .floating-whatsapp-btn {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  }

  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .floating-tooltip {
    display: none !important;
  }
}

/* Mobile Standard (Phones <= 540px) */
@media (max-width: 540px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .clients-logo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .client-logo-card {
    padding: 18px 14px 16px;
    gap: 14px;
    border-radius: var(--radius-md);
  }

  .client-logo-box {
    height: 94px;
    padding: 8px 14px;
  }

  .client-name {
    font-size: 1.05rem;
  }

  .client-industry {
    font-size: 0.8rem;
  }

  .client-result {
    font-size: 0.78rem;
    padding: 4px 12px;
  }
}

/* Small Mobile (Phones <= 480px, e.g. iPhone 13 mini, SE, Galaxy) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .navbar {
    height: 64px;
  }

  .logo-image-box {
    width: 46px;
    height: 46px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-sm {
    padding: 7px 12px;
    font-size: 0.78rem;
    gap: 5px;
  }

  .nav-actions .btn-sm svg {
    width: 14px;
    height: 14px;
  }

  .nav-links {
    top: 64px;
    height: calc(100dvh - 64px);
    max-height: calc(100dvh - 64px);
    padding: 20px 16px 36px;
  }

  .hero-section {
    padding: 34px 0 46px 0;
  }

  .hero-pill-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    gap: 7px;
    max-width: 100%;
    line-height: 1.3;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(1.62rem, 6.6vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    margin-bottom: 26px;
  }

  .hero-sectors-board {
    padding: 16px 14px;
    border-radius: var(--radius-lg);
  }

  .sectors-board-title {
    font-size: 1.18rem;
  }

  .sectors-board-subtitle {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .sector-card {
    padding: 9px 10px;
    gap: 8px;
  }

  .sector-icon-wrap {
    width: 28px;
    height: 28px;
  }

  .sector-icon-wrap svg {
    width: 15px;
    height: 15px;
  }

  .sector-name {
    font-size: 0.8rem;
    white-space: normal;
  }

  .sector-tag-pill {
    font-size: 0.58rem;
    padding: 2px 5px;
  }

  .sector-desc {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .sectors-board-footer {
    padding-top: 12px;
    gap: 10px;
  }

  .metric-highlight {
    font-size: 1.28rem;
  }

  .metric-caption {
    font-size: 0.72rem;
  }

  .sectors-footer-btn {
    font-size: 0.8rem;
    padding: 9px 14px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 4px 11px;
    margin-bottom: 12px;
  }

  .section-title {
    font-size: clamp(1.52rem, 5.8vw, 1.95rem);
    margin-bottom: 12px;
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .services-section,
  .methodology-section,
  .clients-section,
  .contact-section {
    padding: 48px 0 58px 0;
  }

  .services-tabs-container {
    padding: 4px 16px 12px 16px;
    margin: 0 -16px 24px -16px;
  }

  .service-tab-btn {
    font-size: 0.8rem;
    padding: 7px 14px;
  }

  .service-card {
    padding: 22px 16px;
  }

  .service-icon-box {
    width: 48px;
    height: 48px;
  }

  .service-icon-box svg {
    width: 24px;
    height: 24px;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  .service-card-desc {
    font-size: 0.88rem;
  }

  .service-feature-item {
    font-size: 0.85rem;
  }

  .methodology-card {
    padding: 22px 16px;
  }

  .step-num {
    font-size: 2rem;
  }

  .step-title {
    font-size: 1.15rem;
  }

  .step-desc {
    font-size: 0.86rem;
  }

  .clients-logo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .client-logo-card {
    padding: 16px 12px 14px;
  }

  .client-logo-box {
    height: 88px;
  }

  .contact-highlight-card {
    padding: 20px 14px;
  }

  .contact-highlight-card h3 {
    font-size: 1.28rem;
  }

  .contact-highlight-card p {
    font-size: 0.88rem;
  }

  .contact-detail-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .detail-icon {
    width: 34px;
    height: 34px;
  }

  .detail-val {
    font-size: 0.86rem;
  }

  .contact-form-card {
    padding: 20px 14px;
  }

  .form-header h3 {
    font-size: 1.35rem;
  }

  .floating-whatsapp-btn {
    bottom: 14px;
    right: 14px;
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* Extra Small Mobile (<= 360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .navbar {
    height: 60px;
  }

  .logo-image-box {
    width: 40px;
    height: 40px;
  }

  .nav-actions .btn-sm {
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .hero-title {
    font-size: 1.48rem;
  }

  .hero-pill-badge {
    font-size: 0.68rem;
    padding: 4px 9px;
  }
}

