/* index.css - Premium styling system for 90 AI Engineering */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --dark-gray: #121212;
  --white: #f5f3ef;
  --amber: #FFFFFF;
  --amber-glow: rgba(255, 255, 255, 0.06);
  --amber-border: rgba(255, 255, 255, 0.12);
  --gray: #8e8e93;
  --light-gray: #a1a1a6;
  --border: #222222;
  --ff-display: "Bebas Neue", sans-serif;
  --ff-body: "Instrument Sans", sans-serif;
  --transition-speed: 0.3s;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bilingual display configuration */
[data-es], [data-en] {
  display: none !important;
}

body.lang-es [data-es] {
  display: block !important;
}

body.lang-en [data-en] {
  display: block !important;
}

/* Specific inline-span exceptions */
span[data-es], span[data-en], a[data-es], a[data-en], button[data-es], button[data-en] {
  display: none !important;
}

body.lang-es span[data-es], body.lang-es a[data-es], body.lang-es button[data-es] {
  display: inline-block !important;
}

body.lang-en span[data-en], body.lang-en a[data-en], body.lang-en button[data-en] {
  display: inline-block !important;
}

.badge-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Typography styles */
h1, h2, h3, .display-font {
  font-family: var(--ff-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

p {
  color: var(--light-gray);
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition-speed);
  width: 100%;
  padding: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  padding: 18px 40px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Desktop: override mobile inline styles */
@media (min-width: 769px) {
  .nav-container {
    padding: 18px 40px !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
  }

  .logo,
  a.logo,
  #nav-logo {
    max-width: 216px !important;
    width: 216px !important;
    margin: 0 !important;
  }

  .logo-img {
    width: 216px !important;
  }
}

.logo {
  font-family: var(--ff-display);
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.logo svg {
  display: block;
}

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

.logo-img-footer {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 0 0 0;
  padding: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-toggle {
  display: flex;
  background: #141416;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  padding: 2px;
}

.lang-btn {
  padding: 6px 14px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--gray);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-btn.active {
  background: var(--amber);
  color: var(--black);
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.2);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--white);
  color: var(--black);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--amber);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 169, 110, 0.25);
}

/* SHARED SECTION DESIGN */
section {
  padding: 120px 40px;
  position: relative;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--amber);
  margin-top: 4px;
}

h2.display {
  font-family: var(--ff-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: .01em;
  margin-bottom: 36px;
}

h2.display em {
  font-style: normal;
  color: var(--amber);
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* HERO */
#hero {
  padding-top: 180px;
  padding-bottom: 110px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 80% 20%, rgba(200, 169, 110, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 8px 16px;
  border: 1px solid var(--amber-border);
  background: rgba(200, 169, 110, 0.06);
  border-radius: 100px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .3;
    transform: scale(1.2);
  }
}

h1 {
  font-family: var(--ff-display);
  font-size: clamp(56px, 9vw, 110px);
  line-height: .88;
  letter-spacing: .01em;
  color: var(--white);
  margin-bottom: 32px;
}

h1 em {
  font-style: normal;
  color: var(--amber);
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--light-gray);
  max-width: 600px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.hero-urgency {
  font-size: 14px;
  color: var(--amber);
  margin-bottom: 40px;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary {
  padding: 18px 36px;
  background: var(--amber);
  color: var(--black);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #d4b57a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.35);
}

.btn-ghost {
  padding: 18px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--gray);
}

.hero-social strong {
  color: var(--white);
}

.avatars {
  display: flex;
}

.avatars div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-gray);
  border: 2px solid var(--black);
  margin-left: -10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.avatars div:first-child {
  margin-left: 0;
}

/* CRED BAR */
#cred {
  padding: 0;
  border-bottom: 1px solid var(--border);
  background: #0b0b0d;
}

.cred-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--light-gray);
  text-transform: uppercase;
  padding: 22px 32px;
  border-right: 1px solid var(--border);
  flex: 1;
  min-width: 220px;
  justify-content: center;
}

.cred-item:last-child {
  border-right: none;
}

.cred-dot {
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--amber);
}

/* BADGES — premium certification section */
#badges {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

#badges::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
}

#badges::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
}

.badges-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.badges-header {
  text-align: center;
  margin-bottom: 60px;
}

.badges-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.badges-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--black);
  letter-spacing: .02em;
  line-height: 1;
}

.badges-sub {
  font-size: 14px;
  color: var(--gray);
  margin-top: 12px;
  letter-spacing: .03em;
}

.badges-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.badge-card {
  flex: 1;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  position: relative;
  border: none;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  cursor: default;
}

.badge-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.16), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.badge-card-top {
  padding: 32px 32px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  height: 220px;
  overflow: hidden;
}

.badge-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

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

.badge-img-svg {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-speed);
}

.badge-card:hover .badge-img-svg {
  transform: scale(1.06);
}

.badge-card-bottom {
  padding: 20px 24px 28px;
  background: #ffffff;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

.badge-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.badge-org {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .04em;
}

.badge-year {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--amber);
  background: rgba(200, 169, 110, 0.08);
  border: 1px solid rgba(200, 169, 110, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.badges-footnote {
  text-align: center;
  margin-top: 36px;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .04em;
}

/* WHAT WE DO */
#intro {
  border-bottom: 1px solid var(--border);
  background: #09090b;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-head {
  font-family: var(--ff-display);
  font-size: clamp(38px, 5vw, 68px);
  line-height: .95;
  margin-bottom: 0;
  color: var(--white);
}

.intro-body {
  font-size: 17px;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.intro-body strong {
  color: var(--white);
}

.stats-row {
  display: flex;
  gap: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.s-stat .s-num {
  font-family: var(--ff-display);
  font-size: 52px;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(200, 169, 110, 0.2);
}

.s-stat .s-lbl {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gray);
  text-transform: uppercase;
}

/* SERVICES */
#services {
  border-bottom: 1px solid var(--border);
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: all 0.3s ease;
  background: #0b0b0d;
  cursor: default;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: #111114;
}

.svc-num {
  font-family: var(--ff-display);
  font-size: 64px;
  color: #1e1e22;
  line-height: 1;
  margin-bottom: 24px;
  transition: color var(--transition-speed);
}

.service-card:hover .svc-num {
  color: var(--amber);
  opacity: 0.15;
}

.svc-icon {
  font-size: 26px;
  margin-bottom: 18px;
  color: var(--amber);
  filter: drop-shadow(0 0 8px rgba(200, 169, 110, 0.4));
}

.svc-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.svc-body {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.svc-tag {
  margin-top: 24px;
  display: inline-block;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--amber);
  border: 1px solid var(--amber-border);
  background: rgba(200, 169, 110, 0.04);
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* TESTIMONIALS */
#testimonials {
  border-bottom: 1px solid var(--border);
  background: #070708;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 56px;
  overflow: hidden;
}

.testi-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  background: #0b0b0d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-card:last-child {
  border-right: none;
}

.stars {
  color: var(--amber);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 24px;
  text-shadow: 0 0 6px rgba(200, 169, 110, 0.4);
}

.testi-quote {
  font-size: 15px;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
}

.testi-quote::before {
  content: '“';
  font-family: var(--ff-display);
  font-size: 64px;
  color: var(--amber);
  position: absolute;
  top: -24px;
  left: -20px;
  opacity: 0.15;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #17171a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--amber);
  flex-shrink: 0;
  border: 1px solid var(--border);
  text-shadow: 0 0 5px rgba(200, 169, 110, 0.3);
}

.testi-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.testi-role {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .04em;
  margin-top: 2px;
}

.testi-result {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(200, 169, 110, 0.05);
  border-left: 2px solid var(--amber);
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: .02em;
  font-weight: 500;
}

/* CASE STUDY */
#case {
  border-bottom: 1px solid var(--border);
  background: var(--black);
}

.case-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.case-inner h2 {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--white);
  line-height: .95;
  margin-bottom: 24px;
}

.case-inner p {
  font-size: 15px;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.case-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.cstat {
  border-left: 2px solid var(--amber);
  padding-left: 20px;
}

.cstat-num {
  font-family: var(--ff-display);
  font-size: 42px;
  color: var(--white);
  line-height: 1;
}

.cstat-lbl {
  font-size: 11px;
  color: var(--gray);
  letter-spacing: .04em;
  margin-top: 4px;
}

.case-visual {
  background: #0d0d0f;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 380px;
}

.chat-header {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #34c759;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  animation: pulse 1.5s infinite;
}

.chat-bubble {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 85%;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-in {
  background: #17171a;
  color: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border);
}

.chat-out {
  background: var(--amber);
  color: var(--black);
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.2);
}

.chat-tag {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  align-self: flex-end;
  margin-top: -8px;
  margin-right: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chat-tag.visible {
  opacity: 1;
}

/* HOW IT WORKS */
#how {
  border-bottom: 1px solid var(--border);
  background: #09090a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  border-radius: 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.step {
  padding: 56px 40px;
  border-right: 1px solid var(--border);
  background: #0b0b0d;
  transition: background var(--transition-speed);
}

.step:last-child {
  border-right: none;
}

.step:hover {
  background: #111114;
}

.step-n {
  font-family: var(--ff-display);
  font-size: 80px;
  line-height: 1;
  color: #1a1a1d;
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

.step:hover .step-n {
  color: var(--amber);
  opacity: 0.12;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.step-body {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

/* TRUST SIGNALS */
#trust {
  border-bottom: 1px solid var(--border);
  background: #070708;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 48px;
  overflow: hidden;
}

.trust-item {
  padding: 44px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
  background: #0b0b0d;
  transition: background var(--transition-speed);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item:hover {
  background: #111114;
}

.trust-icon {
  font-size: 32px;
  color: var(--amber);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 6px rgba(200, 169, 110, 0.3));
}

.trust-num {
  font-family: var(--ff-display);
  font-size: 40px;
  color: var(--white);
  margin-bottom: 8px;
}

.trust-lbl {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: .04em;
  line-height: 1.6;
}

/* ─── PLUG & PLAY AI DEPARTMENT ─── */
#plug-play {
  padding: 120px 24px;
  background: #070709;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle ambient glow behind the section */
#plug-play::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.pp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Left column ── */
.pp-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pp-title {
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 16px 0 28px;
}

.pp-title em {
  font-style: normal;
  color: var(--amber);
}

.pp-subtitle {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 420px;
  margin: 0 0 40px;
}

.pp-cta {
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 32px;
}

/* ── Right column: benefits ── */
.pp-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.pp-benefit {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: #0b0b0d;
  transition: background var(--transition-speed);
}

.pp-benefit:last-child {
  border-bottom: none;
}

.pp-benefit:hover {
  background: #111116;
}

.pp-sign {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  padding-top: 2px;
}

.pp-benefit--plus .pp-sign {
  color: var(--amber);
}

.pp-benefit--minus .pp-sign {
  color: #8ab4f8; /* cool blue accent for the cost-reduction benefit */
}

.pp-benefit-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-benefit-title {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  letter-spacing: .01em;
}

.pp-benefit-desc {
  font-size: 13px;
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .pp-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pp-subtitle {
    max-width: 100%;
  }

  .pp-cta {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #plug-play {
    padding: 80px 16px;
  }

  .pp-benefit {
    padding: 22px 20px;
    gap: 16px;
  }

  .pp-sign {
    font-size: 22px;
    width: 24px;
  }
}

/* WHY */
#why {
  border-bottom: 1px solid var(--border);
  background: var(--black);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#why h2 {
  font-family: var(--ff-display);
  font-size: clamp(38px, 5vw, 68px);
  color: var(--white);
  line-height: .95;
}

.why-body {
  font-size: 17px;
  color: var(--light-gray);
  line-height: 1.8;
}

.why-body strong {
  color: var(--white);
}

.why-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--light-gray);
}

.why-list li::before {
  content: "→";
  color: var(--amber);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* URGENCY BAND */
#urgency {
  padding: 44px 40px;
  background: var(--amber);
  border-top: none;
  box-shadow: 0 10px 30px rgba(200, 169, 110, 0.2);
}

.urgency-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.urgency-text h3 {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--black);
  line-height: 1;
}

.urgency-text p {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.75);
  margin-top: 6px;
  font-weight: 500;
}

.btn-dark {
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .04em;
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-dark:hover {
  background: #1c1c1f;
  transform: translateY(-1px);
}

/* FINAL CTA */
#final-cta {
  text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(circle at 50% 100%, rgba(200, 169, 110, 0.08) 0%, transparent 60%);
  padding: 120px 40px;
}

#final-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 8vw, 104px);
  line-height: .88;
  color: var(--white);
  margin-bottom: 24px;
}

#final-cta h2 em {
  font-style: normal;
  color: var(--amber);
  background: linear-gradient(135deg, #fff 20%, var(--amber) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#final-cta .sub {
  font-size: 18px;
  color: var(--light-gray);
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.final-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--gray);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.01);
}

.guarantee span {
  color: var(--amber);
}

/* FOOTER */
/* MODERN FOOTER DESIGN */
footer {
  background: #0a0a0d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--light-gray);
  position: relative;
  z-index: 10;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  background: rgba(200, 169, 110, 0.1);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-3px);
}

.footer-section-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

.footer-section-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section-links li {
  margin: 0;
}

.footer-section-links a {
  font-size: 14px;
  color: #999;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.footer-section-links a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.footer-legal-disclaimer {
  margin-top: 12px !important;
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.4) !important;
  line-height: 1.5 !important;
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.footer-bottom-links a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.footer-bottom-links a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.footer-bottom-links span {
  color: #444;
}

/* Brand Section */
/* Old footer classes removed — using new responsive design */

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  background: rgba(200, 169, 110, 0.1);
  border-color: var(--amber);
  color: var(--amber);
  transform: translateY(-3px);
}

/* Footer Bottom */
/* Old footer-bottom classes removed — using new responsive design
   See #footer-bottom-section and .footer-copyright-col in new footer */

/* RESPONSIVE LAYOUTS */
@media(max-width:900px){
  nav {
    padding: 14px 24px;
  }
  section {
    padding: 80px 24px;
  }
  #hero {
    padding-top: 130px;
    padding-bottom: 80px;
  }
  #cred, #badges, #urgency {
    padding-left: 24px;
    padding-right: 24px;
  }
  .intro-grid, .case-inner, .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-grid, .steps, .testi-grid, .trust-grid {
    grid-template-columns: 1fr;
  }
  .service-card, .step, .testi-card, .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
  }
  .service-card:last-child, .step:last-child, .testi-card:last-child, .trust-item:last-child {
    border-bottom: none;
  }
  .case-visual {
    padding: 24px;
    min-height: auto;
  }
  .badges-row {
    gap: 20px;
  }
  footer {
    padding-bottom: 24px;
  }
  .cred-inner {
    flex-direction: column;
  }
  .cred-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
  }
  .cred-item:last-child {
    border-bottom: none;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
h1 {
  animation: fadeUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-sub {
  animation: fadeUp 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-urgency {
  animation: fadeUp 0.6s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cta-group {
  animation: fadeUp 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-social {
  animation: fadeUp 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 24px 40px;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--light-gray);
}

.cookie-banner-text a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  transition: all 0.2s ease;
}

.cookie-banner-text a:hover {
  color: #fff;
  border-color: #fff;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.cookie-accept {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}

.cookie-accept:hover {
  background: #dab76f;
  border-color: #dab76f;
}

@media (max-width: 768px) {
  /* ─── ROOT CONTAINERS ─── */
  html {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* ─── LANGUAGE DUPLICATION FIX: HIDE DUPLICATE CONTENT ─── */
  /* Hide English when Spanish is active (body.lang-es is set) */
  body.lang-es [data-en],
  body.lang-es .en-text,
  body.lang-es [data-lang="en"] {
    display: none !important;
  }

  /* Hide Spanish when English is active */
  body.lang-en [data-es],
  body.lang-en .es-text,
  body.lang-en [data-lang="es"] {
    display: none !important;
  }

  /* ─── NAVBAR ─── */
  /* Mobile navbar with strict bottom separation */
  #navbar,
  nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    width: 100% !important;
    padding: 15px 0 18px 0 !important;
    margin: 0 !important;
  }

  .nav-container {
    padding-bottom: 18px !important;
    margin-bottom: 24px !important;
  }

  /* Force hero section below fixed navbar */
  .hero-section,
  main,
  #hero {
    margin-top: 100px !important;
    padding-top: 0 !important;
  }

  /* Logo: enlarged 40% total and pushed 50px left */
  #navbar .logo,
  .logo-container img,
  nav .brand img {
    margin-left: -50px !important;
    max-width: 202px !important;
    width: 202px !important;
    height: auto !important;
  }

  .logo-img {
    width: 202px !important;
    height: auto !important;
  }

  /* Supporting button/icon styles */
  .nav-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  /* Language selector: premium oval pill styling */
  .lang-selector,
  .language-toggle,
  #navbar .language-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    gap: 6px !important;
  }

  /* Language buttons: base styling (inactive/dimmed) */
  .lang-selector a,
  .language-toggle button,
  .lang-toggle button,
  #lang-toggle-group button,
  .lang-btn {
    font-size: 12px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 4px 8px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.4) !important;
  }

  /* Active language button: perfect amber circle */
  .lang-btn.active,
  #btn-es.active,
  #btn-en.active {
    background: var(--amber) !important;
    color: var(--black) !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  /* Inactive language button: visibly dimmed */
  .lang-btn:not(.active),
  #btn-es:not(.active),
  #btn-en:not(.active) {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.35) !important;
    font-weight: 500 !important;
  }

  .lang-btn:hover {
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .nav-cta {
    padding: 8px 14px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    min-height: 32px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* ─── GLOBAL SECTIONS ─── */
  section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 60px 24px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* ─── HERO SECTION: PROFESSIONAL & POLISHED ─── */
  #hero {
    padding-top: 16px !important;
    padding-bottom: 48px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 32px !important;
    margin-top: 16px !important;
    letter-spacing: -1px !important;
    font-weight: 700 !important;
  }

  .hero-tag {
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 6px 11px !important;
    margin-bottom: 16px !important;
    gap: 8px !important;
    margin-top: 20px !important;
  }

  .hero-tag .dot {
    width: 5px !important;
    height: 5px !important;
  }

  .hero-sub {
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin-bottom: 24px !important;
    color: rgba(255, 255, 255, 0.75) !important;
    letter-spacing: 0.2px !important;
  }

  .hero-urgency {
    font-size: 12px !important;
    margin-bottom: 32px !important;
    color: rgba(255, 255, 255, 0.65) !important;
    letter-spacing: 0.3px !important;
    line-height: 1.6 !important;
  }

  /* ─── CTA BUTTONS: PROFESSIONAL SPACING ─── */
  .cta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
  }

  .btn-primary,
  .btn-ghost {
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    box-sizing: border-box !important;
    padding: 16px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 50px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
  }

  button,
  a[class*="btn"] {
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    box-sizing: border-box !important;
  }

  .hero-social {
    font-size: 12px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-top: 24px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    letter-spacing: 0.2px !important;
  }

  .avatars {
    display: flex !important;
  }

  .avatars div {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
  }

  /* ─── OTHER SECTIONS ─── */
  #cred {
    padding: 0 !important;
    width: 100% !important;
  }

  .cred-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 119px !important;
    box-sizing: border-box !important;
  }

  .cred-item {
    padding: 16px 24px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    width: 240px !important;
    flex: none !important;
    justify-content: flex-start !important;
  }

  .cred-item:last-child {
    border-bottom: none !important;
  }

  #badges {
    padding: 60px 24px !important;
  }

  #tagline-section {
    padding: 48px 24px !important;
    text-align: center !important;
  }

  #tagline-section h2 {
    font-size: clamp(24px, 6vw, 36px) !important;
  }

  #plug-play {
    padding: 60px 24px !important;
  }

  .pp-inner {
    grid-template-columns: 1fr !important;
  }

  .pp-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
  }

  .pp-cta {
    width: calc(100% - 48px) !important;
    margin-left: 24px !important;
    margin-right: 24px !important;
    box-sizing: border-box !important;
  }

  /* Benefit items: vertically stacked, left-aligned */
  .pp-benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    border: none !important;
    padding: 0 24px !important;
    margin: 0 !important;
    width: 100% !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
  }

  .pp-benefit {
    display: grid !important;
    grid-template-columns: 20px 1fr !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
  }

  .pp-benefit:last-child {
    border-bottom: none !important;
  }

  /* Sign: grid column 1 (20px fixed width) - perfectly vertically aligned */
  .pp-sign,
  .kpi-symbol {
    font-size: 18px !important;
    width: 20px !important;
    height: 20px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: inherit !important;
    vertical-align: middle !important;
    font-weight: 600 !important;
  }

  /* Benefit body: grid column 2 (text area) */
  .pp-benefit-body,
  .kpi-text {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .pp-benefit-title,
  .kpi-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }

  .pp-benefit-desc {
    display: none !important;
  }

  /* ─── KPI LIST ALIGNMENT (LEFT-ALIGNED, RAGGED RIGHT) ─── */
  .kpi-list-container,
  .kpis-section ul,
  .pp-benefits {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 24px !important;
    margin: 32px 0 !important;
    box-sizing: border-box !important;
    gap: 14px !important;
    text-align: left !important;
  }

  .kpi-item,
  .kpis-section li,
  .pp-benefit {
    display: grid !important;
    grid-template-columns: 20px 1fr !important;
    align-items: center !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 10px !important;
    justify-content: start !important;
  }

  .kpi-item,
  .kpis-section li {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.2px !important;
  }

  /* ─── TRUST GRID ─── */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .trust-item {
    padding: 24px 16px !important;
  }

  /* ─── FOOTER: MOBILE REDESIGN ─── */
  footer {
    width: 100% !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Master wrapper: flex column, strip desktop 40px padding */
  #footer-master {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  /* ROW 1 (desktop outer grid → flex column on mobile) */
  #footer-master > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 40px 24px 32px !important;
    gap: 28px !important;
    box-sizing: border-box !important;
  }

  /* Brand block */
  #footer-master > div:first-child > div:nth-child(1) {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }
  #footer-master > div:first-child > div:nth-child(1) p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    margin: 0 !important;
  }
  #footer-master > div:first-child > div:nth-child(1) strong {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 600 !important;
  }

  /* Inner nav grid → asymmetrical 2-column: SERVICIOS left, EMPRESA+LEGAL right */
  #footer-master > div:first-child > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: start !important;
    box-sizing: border-box !important;
  }

  /* SERVICIOS: left column, spans both rows */
  #footer-master > div:first-child > div:nth-child(2) > div:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  /* EMPRESA: right column, spans full height */
  #footer-master > div:first-child > div:nth-child(2) > div:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  /* LEGAL: hide on mobile */
  #footer-master > div:first-child > div:nth-child(2) > div:nth-child(3) {
    display: none !important;
  }

  /* Section titles */
  .footer-section-title {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-transform: uppercase !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  /* Footer link lists */
  footer ul,
  .footer-section-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    align-items: flex-start !important;
    width: 100% !important;
  }
  footer ul li,
  .footer-section-links li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  footer ul li a,
  .footer-section-links a {
    display: inline !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    text-decoration: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
  footer ul li a:hover,
  .footer-section-links a:hover {
    color: var(--amber) !important;
  }

  /* Social column: horizontal row of icons */
  #footer-master > div:first-child > div:nth-child(3) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    padding: 28px 0 0 0 !important;
    width: 100% !important;
    margin: 16px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  #footer-master > div:first-child > div:nth-child(3) .footer-section-title {
    display: none !important;
  }
  #footer-social-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .social-link {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
  }
  .social-link:hover {
    color: var(--amber) !important;
  }
  .social-link svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* ROW 2: copyright + legal links section */
  #footer-master > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 32px 24px !important;
    gap: 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    align-items: flex-start !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  #footer-legal-disclaimer {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  #footer-legal-disclaimer p {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }
  .footer-legal-disclaimer {
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.3) !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: block !important;
  }
  .footer-bottom-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px 12px !important;
    width: 100% !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    border-top: none !important;
    box-sizing: border-box !important;
  }
  .footer-bottom-links a {
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease !important;
  }
  .footer-bottom-links a:hover {
    color: var(--amber) !important;
  }
  .footer-bottom-links span {
    color: rgba(255, 255, 255, 0.15) !important;
    font-size: 8px !important;
    flex-shrink: 0 !important;
  }

  /* ─── COOKIE BANNER ─── */
  .cookie-banner-content {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .cookie-banner-actions {
    width: 100% !important;
  }

  .cookie-btn {
    flex: 1 !important;
    min-width: 100px !important;
  }
}

/* LEGAL SECTIONS */
.legal-section {
  display: none;
  padding: 60px 40px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.legal-section:target,
.legal-section.visible {
  display: block;
}

.legal-section h1 {
  font-family: var(--ff-display);
  font-size: 48px;
  margin-bottom: 40px;
  color: var(--white);
}

.legal-section h2 {
  font-size: 24px;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--amber);
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.legal-section h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  margin-bottom: 16px;
  color: var(--light-gray);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
}

.legal-content a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  transition: all 0.2s ease;
}

.legal-content a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* FOOTER LEGAL LINKS */
.footer-legal-links {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.footer-legal-links a {
  color: var(--amber);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.footer-legal-links span {
  color: var(--border);
}

/* ============================================================
   🟢 DARK TEAL PALETTE — Base #0D1117 · Accent #00D28C
   Global accent override. Remove this block to revert.
   ============================================================ */

/* 1. PRIMARY ACTIONS */
.btn-primary {
  background: #00D28C !important;
  color: #0D1117 !important;
  box-shadow: 0 4px 20px rgba(0, 210, 140, 0.25) !important;
}
.nav-cta {
  background: #00D28C !important;
  border: 1px solid #00D28C !important;
  color: #0D1117 !important;
  box-shadow: none !important;
}
.btn-primary:hover { background: #00B87A !important; color: #0D1117 !important; }
.nav-cta:hover { background: #00B87A !important; border-color: #00B87A !important; }

/* 2. ACTIVE STATES & MICRO-ACCENTS */
.lang-btn.active, #btn-es.active, #btn-en.active {
  background: #00D28C !important; color: #0D1117 !important;
}
#lang-toggle-group, .lang-toggle {
  border: 1px solid rgba(0, 210, 140, 0.40) !important;
}
.cred-item { color: #00D28C !important; }
.cred-dot { background: #00D28C !important; box-shadow: 0 0 8px rgba(0,210,140,0.55) !important; }
.hero-tag { color: #00D28C !important; border-color: rgba(0,210,140,0.35) !important; background: rgba(0,210,140,0.06) !important; }
.hero-tag .dot { background: #00D28C !important; box-shadow: 0 0 8px rgba(0,210,140,0.65) !important; }
.section-label { color: #00D28C !important; }
.section-label::after { background: #00D28C !important; }

/* 3. HIGHLIGHTED HEADING WORD */
h2.display em, h3 em, .pp-title em {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #00D28C !important;
  color: #00D28C !important;
}

/* 4. CARD & CONTAINER BORDERS */
.service-card, .testi-card, .step, .trust-item {
  border-color: rgba(0, 210, 140, 0.12) !important;
  background: rgba(0, 210, 140, 0.02) !important;
}
.service-card:hover, .testi-card:hover, .step:hover, .trust-item:hover {
  border-color: rgba(0, 210, 140, 0.40) !important;
}
.pp-benefit { background: rgba(0,210,140,0.07) !important; border-color: rgba(0,210,140,0.22) !important; }
.pp-sign { color: #00D28C !important; }

/* 5. TESTIMONIAL METRIC TAGS */
.testi-result {
  background: #0D1117 !important;
  border-left: none !important;
  border: 1px solid rgba(0, 210, 140, 0.30) !important;
  border-radius: 6px !important;
  color: #00D28C !important;
  font-weight: 600 !important;
  letter-spacing: .04em !important;
}

/* 6. TEXT OPACITY VARIATIONS */
.badge-org { color: #666666 !important; }
.badge-name { color: #000000 !important; }
.step-body, .trust-desc, .svc-tag { color: rgba(255,255,255,0.55) !important; }
.testi-name, .step-title, .trust-name { color: rgba(255,255,255,0.90) !important; }

/* 7. TRUST / STATS SECTION ICONS */
.trust-icon {
  color: #00D28C !important;
  filter: drop-shadow(0 0 8px rgba(0, 210, 140, 0.40)) !important;
}

/* ============================================================
   END DARK TEAL PALETTE
   ============================================================ */
