/* ============================================================
   COMPAÑÍA NATURAL S.A.S. — Design System
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Chillax Font (CDN Fontshare) ─────────────────────────── */
@import url('https://api.fontshare.com/v2/css?f[]=chillax@300,400,500,600,700&f[]=neue-montreal@300,400,500,700&display=swap');

/* ══════════════════════════════════════════════════════════
   1. CSS VARIABLES — GLOBAL DESIGN TOKENS
══════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --color-accent:       #ed705c;
  --color-accent-dark:  #d45842;
  --color-accent-light: #f5917f;
  --color-secondary:    #7abce5;
  --color-secondary-dark: #5aa3d0;
  --color-bg:           #f7f7f7;
  --color-bg-card:      #ffffff;
  --color-text:         #010000;
  --color-text-muted:   #555454;
  --color-text-light:   #888888;
  --color-border:       rgba(1, 0, 0, 0.08);
  --color-border-strong: rgba(1, 0, 0, 0.15);

  /* Gradients */
  --gradient-hero:      linear-gradient(135deg, #f7f7f7 0%, #eef6fc 60%, #fdf0ed 100%);
  --gradient-accent:    linear-gradient(135deg, #ed705c 0%, #f5917f 100%);
  --gradient-secondary: linear-gradient(135deg, #7abce5 0%, #9ecfed 100%);
  --gradient-dark:      linear-gradient(135deg, #010000 0%, #1a1a1a 100%);

  /* Typography */
  --font-heading: 'Chillax', 'Outfit', sans-serif;
  --font-body:    'Neue Montreal', 'Inter', sans-serif;

  /* Font Sizes — Fluid Scale */
  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */
  --text-6xl:  3.75rem;    /* 60px */
  --text-7xl:  4.5rem;     /* 72px */

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(1,0,0,0.06);
  --shadow-md:   0 8px 24px rgba(1,0,0,0.09);
  --shadow-lg:   0 16px 48px rgba(1,0,0,0.12);
  --shadow-xl:   0 24px 64px rgba(1,0,0,0.16);
  --shadow-accent: 0 8px 32px rgba(237,112,92,0.25);
  --shadow-secondary: 0 8px 32px rgba(122,188,229,0.25);

  /* Transitions */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* Container */
  --container-max: 1280px;
  --container-wide: 1440px;
  --nav-height: 80px;
}

/* ══════════════════════════════════════════════════════════
   2. RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-smooth);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ══════════════════════════════════════════════════════════
   3. TYPOGRAPHY
══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 6vw, var(--text-7xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: clamp(1.25rem, 2vw, var(--text-2xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: 400;
}

.text-accent   { color: var(--color-accent) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-muted    { color: var(--color-text-muted); }
.text-sm       { font-size: var(--text-sm); }
.text-lg       { font-size: var(--text-lg); }
.text-xl       { font-size: var(--text-xl); }
.text-center   { text-align: center; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   4. LAYOUT & CONTAINERS
══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-24) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-lg);
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ══════════════════════════════════════════════════════════
   5. NAVIGATION
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(247, 247, 247, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(247, 247, 247, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-xl);
  color: var(--color-text);
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.nav__logo:hover { opacity: 0.8; }

.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.nav__logo-mark svg { width: 20px; height: 20px; fill: white; }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--duration-normal) var(--ease-smooth);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
  display: block;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Drawer */
.nav__drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform: translateY(-120%);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.nav__drawer.open {
  transform: translateY(0);
  opacity: 1;
}

.nav__drawer .nav__link {
  font-size: var(--text-base);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

/* ══════════════════════════════════════════════════════════
   6. BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-bounce);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.btn:hover::before { opacity: 1; }

.btn--primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
  box-shadow: var(--shadow-secondary);
  transform: translateY(-2px) scale(1.02);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--outline:hover {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
  transform: translateY(-2px) scale(1.02);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.btn--outline-white:hover {
  background: white;
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.02);
}

.btn--secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-secondary);
}

.btn--secondary:hover {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px) scale(1.02);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
}

.btn--ghost:hover {
  background: rgba(237,112,92,0.08);
}

.btn--sm { padding: 0.5rem 1.25rem; font-size: var(--text-xs); }
.btn--lg { padding: 1rem 2.25rem; font-size: var(--text-base); }
.btn--icon { padding: 0.75rem; border-radius: var(--radius-md); }

/* ══════════════════════════════════════════════════════════
   7. CARDS
══════════════════════════════════════════════════════════ */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__body { padding: var(--space-8); }
.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card--feature {
  padding: var(--space-8);
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.card--feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-smooth);
  border-radius: var(--radius-lg);
}

.card--feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.card--feature:hover::before { opacity: 0.04; }

.card--feature .card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(237,112,92,0.12) 0%, rgba(237,112,92,0.06) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.card--feature:hover .card__icon {
  background: var(--gradient-accent);
}

.card--feature:hover .card__icon svg { stroke: white; }

.card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--duration-normal) var(--ease-smooth);
}

.card--feature h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

/* ══════════════════════════════════════════════════════════
   8. TAGS & BADGES
══════════════════════════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag--accent {
  background: rgba(237,112,92,0.1);
  color: var(--color-accent);
}

.tag--secondary {
  background: rgba(122,188,229,0.1);
  color: var(--color-secondary-dark);
}

.tag--neutral {
  background: rgba(1,0,0,0.06);
  color: var(--color-text-muted);
}

/* ══════════════════════════════════════════════════════════
   9. HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 110%;
  opacity: 0.06;
  pointer-events: none;
}

.hero__blob-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237,112,92,0.15) 0%, transparent 70%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  top: -100px;
  right: -100px;
  animation: morphBlob 12s ease-in-out infinite alternate;
}

.hero__blob-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122,188,229,0.12) 0%, transparent 70%);
  border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
  bottom: -80px;
  left: 10%;
  animation: morphBlob2 15s ease-in-out infinite alternate;
}

@keyframes morphBlob {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 30% 70% 70% 30% / 30% 60% 40% 70%; transform: rotate(5deg) scale(1.05); }
  100% { border-radius: 70% 30% 40% 60% / 40% 50% 50% 60%; transform: rotate(-5deg) scale(0.95); }
}

@keyframes morphBlob2 {
  0%   { border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%; transform: rotate(0deg); }
  100% { border-radius: 70% 30% 30% 70% / 70% 40% 60% 30%; transform: rotate(-8deg) scale(1.08); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content { }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(237,112,92,0.1);
  border: 1px solid rgba(237,112,92,0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero__title .line-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: var(--space-10);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Hero Visual — Puzzle Graphic */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__puzzle-wrap {
  position: relative;
  width: 480px;
  height: 480px;
}

.hero__image-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.hero__image-card:nth-child(1) {
  width: 320px; height: 220px;
  top: 0; left: 40px;
  border-radius: 24px 24px 0 24px;
  animation: float1 6s ease-in-out infinite;
}

.hero__image-card:nth-child(2) {
  width: 200px; height: 180px;
  top: 240px; left: 0;
  border-radius: 24px 0 24px 24px;
  animation: float2 8s ease-in-out infinite;
}

.hero__image-card:nth-child(3) {
  width: 160px; height: 160px;
  top: 240px; left: 210px;
  border-radius: 0 24px 24px 24px;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-8px) rotate(-1.5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-15px) rotate(0.5deg); }
}

.hero__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 10;
  animation: float1 7s ease-in-out infinite reverse;
}

.hero__badge-icon {
  width: 36px; height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════════════════
   10. VALUES SECTION
══════════════════════════════════════════════════════════ */
.values-section {
  background: var(--color-bg-card);
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: var(--gradient-accent);
  opacity: 0.3;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ══════════════════════════════════════════════════════════
   11. SERVICES GRID
══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: var(--space-5);
}

.service-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
  min-height: 320px;
  background: var(--color-secondary, #1a1a2e);
}

.service-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.service-item:nth-child(2) { grid-column: span 5; }
.service-item:nth-child(3) { grid-column: span 5; }
.service-item:nth-child(4) { grid-column: span 6; }
.service-item:nth-child(5) { grid-column: span 6; }

.service-item__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.service-item:hover .service-item__bg {
  transform: scale(1.06);
}

.service-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,0,0,0.75) 0%, rgba(1,0,0,0.1) 60%, transparent 100%);
  transition: background var(--duration-normal) var(--ease-smooth);
}

.service-item:hover .service-item__overlay {
  background: linear-gradient(to top, rgba(237,112,92,0.85) 0%, rgba(237,112,92,0.3) 60%, rgba(237,112,92,0.05) 100%);
}

.service-item__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-8);
  color: white;
}

.service-item__number {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: var(--space-2);
}

.service-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.service-item__desc {
  font-size: var(--text-sm);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
  color: rgba(255,255,255,0.85);
}

.service-item:hover .service-item__desc {
  opacity: 1;
  max-height: 80px;
  margin-top: var(--space-2);
}

.service-item__arrow {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.service-item:hover .service-item__arrow {
  background: white;
  color: var(--color-accent);
}

/* ══════════════════════════════════════════════════════════
   12. TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testimonials-section {
  background: var(--color-text);
  color: white;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  font-family: var(--font-heading);
  font-size: 300px;
  color: rgba(255,255,255,0.03);
  top: -50px;
  left: 40px;
  line-height: 1;
  pointer-events: none;
}

.testimonials-section .section-label {
  color: var(--color-accent);
}

.testimonials-section .section-title {
  color: white;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: var(--space-6);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-4));
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(237,112,92,0.3);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}

.star {
  width: 16px; height: 16px;
  fill: var(--color-accent);
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: white;
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.carousel-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }

.carousel-dots {
  display: flex;
  gap: var(--space-2);
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.carousel-dot.active {
  width: 28px;
  background: var(--color-accent);
}

/* ══════════════════════════════════════════════════════════
   13. INDUSTRY FILTER SECTION
══════════════════════════════════════════════════════════ */
.industry-section {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.industry-section__title {
  font-size: clamp(1.8rem, 3.5vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}

.industry-section__sub {
  font-size: var(--text-lg);
  max-width: 520px;
  margin: 0 auto var(--space-12);
}

.industry-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-12);
}

.industry-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-8);
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-bounce);
  min-width: 140px;
}

.industry-btn__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(237,112,92,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.industry-btn__icon svg {
  width: 24px; height: 24px;
  stroke: var(--color-accent);
  fill: none; stroke-width: 1.5;
  transition: stroke var(--duration-normal) var(--ease-smooth);
}

.industry-btn:hover,
.industry-btn.active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-btn:hover .industry-btn__icon,
.industry-btn.active .industry-btn__icon {
  background: rgba(237,112,92,0.2);
}

.industry-btn:hover .industry-btn__icon svg,
.industry-btn.active .industry-btn__icon svg {
  stroke: var(--color-accent);
}

.industry-result {
  display: none;
  animation: fadeInUp 0.4s var(--ease-smooth);
}

.industry-result.visible { display: block; }

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

.industry-result__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  max-width: 700px;
  margin: 0 auto;
}

.industry-result__item {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex; align-items: center; gap: var(--space-3);
}

.industry-result__dot {
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   14. PORTFOLIO / MASONRY
══════════════════════════════════════════════════════════ */
.portfolio-filters {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.filter-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1.5px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-text);
  border-color: var(--color-text);
  color: white;
}

.masonry-grid {
  columns: 3;
  column-gap: var(--space-5);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.masonry-item:hover img { transform: scale(1.06); }

.masonry-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(237,112,92,0);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--duration-normal) var(--ease-smooth);
}

.masonry-item:hover .masonry-item__overlay {
  background: rgba(237,112,92,0.85);
}

.masonry-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: white;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.masonry-item__cat {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: var(--space-1);
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-smooth) 50ms;
}

.masonry-item:hover .masonry-item__title,
.masonry-item:hover .masonry-item__cat {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   15. CONTACT PAGE
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info { }

.contact-info__title {
  font-size: clamp(2rem, 3.5vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}

.contact-info__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.contact-detail:hover {
  border-color: rgba(237,112,92,0.3);
  transform: translateX(4px);
}

.contact-detail__icon {
  width: 44px; height: 44px;
  background: rgba(237,112,92,0.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 22px; height: 22px;
  stroke: var(--color-accent);
  fill: none; stroke-width: 1.5;
}

.contact-detail__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.contact-detail__value {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-6);
  transition: all var(--duration-normal) var(--ease-bounce);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
}

.whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

/* ── Form ─────────────────────────────────────────────── */
.form-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-label span {
  color: var(--color-accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: all var(--duration-normal) var(--ease-smooth);
  appearance: none;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(237,112,92,0.08);
}

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

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

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.form-notice {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  flex: 1;
}

.dynamic-fields {
  display: none;
  animation: fadeInUp 0.3s var(--ease-smooth);
}

.dynamic-fields.visible { display: block; }

/* ══════════════════════════════════════════════════════════
   16. ABOUT / TIMELINE
══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary), transparent);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: calc(-3rem - 5px);
  top: 4px;
  width: 12px; height: 12px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  border: 2px solid white;
  box-shadow: 0 0 0 4px rgba(237,112,92,0.15);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.timeline__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.timeline__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
}

/* ── Golden Circle ───────────────────────────────────── */
.golden-circle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.golden-item {
  text-align: center;
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.golden-item:nth-child(1) {
  background: rgba(237,112,92,0.04);
  border-color: rgba(237,112,92,0.15);
}

.golden-item:nth-child(2) {
  background: rgba(122,188,229,0.04);
  border-color: rgba(122,188,229,0.15);
}

.golden-item:nth-child(3) {
  background: rgba(1,0,0,0.03);
}

.golden-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.golden-item__num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.06;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  line-height: 1;
}

.golden-item__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.golden-item h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

/* ══════════════════════════════════════════════════════════
   17. FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-text);
  color: white;
  padding: var(--space-20) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-8);
}

.footer__brand p {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  margin-top: var(--space-5);
  max-width: 280px;
  line-height: 1.7;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
  transition: color var(--duration-normal) var(--ease-smooth);
}

.footer__link:hover { color: var(--color-accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.footer__social-link:hover {
  background: var(--color-accent);
}

.footer__social-link svg {
  width: 16px; height: 16px;
  fill: rgba(255,255,255,0.7);
  transition: fill var(--duration-normal) var(--ease-smooth);
}

.footer__social-link:hover svg { fill: white; }

/* ══════════════════════════════════════════════════════════
   18. SCROLL REVEAL BASE STATES
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-smooth),
              transform var(--duration-slow) var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ══════════════════════════════════════════════════════════
   19. PAGE TRANSITION
══════════════════════════════════════════════════════════ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-smooth);
}

.page-transition.entering { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   20. UTILITY CLASSES
══════════════════════════════════════════════════════════ */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mt-8  { margin-top: var(--space-8); }
.mt-4  { margin-top: var(--space-4); }

.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-12) 0;
}

/* ── Gradient Text ───────────────────────────────────── */
.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   21. RESPONSIVE — TABLET
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__visual { display: none; }
  .hero { min-height: auto; padding: calc(var(--nav-height) + 4rem) 0 var(--space-20); }
  .hero__desc { max-width: 100%; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-item:nth-child(1),
  .service-item:nth-child(2),
  .service-item:nth-child(3),
  .service-item:nth-child(4),
  .service-item:nth-child(5) {
    grid-column: span 1;
  }
  .golden-circle { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 calc(50% - var(--space-3)); }
  .masonry-grid { columns: 2; }
}

/* ══════════════════════════════════════════════════════════
   22. RESPONSIVE — MOBILE
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-height: 64px; }

  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-16) 0; }

  .hero { padding: calc(var(--nav-height) + 2rem) 0 var(--space-16); }
  .hero__stats { flex-direction: column; gap: var(--space-6); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 90%; }
  .masonry-grid { columns: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .industry-btn { min-width: 120px; padding: var(--space-4) var(--space-5); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form-card { padding: var(--space-6); }
  .timeline { padding-left: var(--space-8); }
  .timeline__dot { left: calc(-2rem - 5px); }
}

/* ══════════════════════════════════════════════════════════
   CLIENTES — Marcas que confían en nosotros
══════════════════════════════════════════════════════════ */
.clients { overflow: hidden; }
.clients__header { text-align: center; max-width: 640px; margin: 0 auto var(--space-10, 2.5rem); }
.clients__header .section-label { justify-content: center; }
.clients__intro { color: var(--color-text-muted, #6b6b6b); margin-top: var(--space-3, .75rem); }
.clients__marquee {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients__track {
  display: flex;
  gap: var(--space-6, 1.5rem);
  width: max-content;
  list-style: none;
  margin: 0;
  padding: var(--space-2, .5rem) 0;
  animation: clients-scroll 40s linear infinite;
}
.clients__marquee:hover .clients__track { animation-play-state: paused; }
.client-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
  transition: transform .3s ease, box-shadow .3s ease;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.client-logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .3s ease, opacity .3s ease;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo__name {
  display: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base, 1rem);
  color: var(--color-secondary, #1a1a2e);
  text-align: center;
  line-height: 1.2;
}
.client-logo.is-fallback img { display: none; }
.client-logo.is-fallback .client-logo__name { display: block; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--space-3, .75rem))); }
}
@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .clients__track [aria-hidden="true"] { display: none; }
}
@media (max-width: 640px) {
  .client-logo { width: 150px; height: 80px; }
  .service-item { min-height: 260px; }
}