/* ============================================================
   AMBIENTE DIGITAL PERÚ — master-index-ad.css
   Homepage — mismo sistema de diseño que master-about-bold-ad
   Verde #a8d900  ·  Cyan #00c8d7  ·  Negro #121212
   ============================================================ */

/* ── Google Fonts ───────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary:   #121212;
  --secondary: #555555;
  --border:    rgba(18,18,18,0.08);
  --black:     #121212;
  --black-2:   #555555;
  --white:     #FFFFFF;
  --white-2:   #999999;
  --green-ad:  #a8d900;
  --cyan-ad:   #00c8d7;

  --font_teko:  'Teko', sans-serif;
  --font_dm:    'DM Sans', sans-serif;
  --font_orbit: 'Orbitron', sans-serif;

  --container-max: 1320px;
  --radius: 8px;
  --transition: 0.3s ease;
}
:root.dark {
  --primary:   #ffffff;
  --secondary: #999999;
  --border:    rgba(255,255,255,0.08);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font_dm);
  color: var(--primary);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
.dark body { background: #0d0d0d; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; }


/* ── Utilities ─────────────────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}


/* ════════════════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.container-preloader {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.animation-preloader {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; z-index: 100;
}
.spinner {
  width: 60px; height: 60px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: var(--green-ad);
  border-radius: 50%;
  animation: ad-spin 0.85s linear infinite;
  margin: 0 auto 18px;
}
@keyframes ad-spin { to { transform: rotate(360deg); } }

.txt-loading { display: flex; gap: 3px; justify-content: center; }
.txt-loading .characters {
  font-family: var(--font_orbit);
  font-size: clamp(18px, 3vw, 34px);
  color: rgba(255,255,255,0.15);
  position: relative; overflow: hidden;
}
.txt-loading .characters::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--green-ad);
  animation: char-reveal 2.2s ease-in-out infinite;
}
@keyframes char-reveal {
  0%, 100% { opacity: 0; transform: translateY(100%); }
  50%       { opacity: 1; transform: translateY(0); }
}
.loader-section {
  position: absolute; top: 0; width: 51%; height: 100%;
  background: var(--black); z-index: 50;
}
.loader-section.section-left  { left: 0; }
.loader-section.section-right { right: 0; }
.container-preloader.loaded .section-left  { transform: translateX(-100%); transition: 0.7s 1.4s cubic-bezier(.645,.045,.355,1); }
.container-preloader.loaded .section-right { transform: translateX( 100%); transition: 0.7s 1.4s cubic-bezier(.645,.045,.355,1); }
.container-preloader.loaded .animation-preloader { opacity: 0; transition: 0.4s 0.8s; }

/* ════════════════════════════════════════════════════════
   CURSOR
   ════════════════════════════════════════════════════════ */
.cursor1, .cursor2 {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 99998;
}
.cursor1 { width: 10px; height: 10px; background: var(--green-ad); transform: translate(-50%,-50%); }
.cursor2 { width: 30px; height: 30px; border: 2px solid var(--green-ad); opacity: .5; transform: translate(-50%,-50%); }


/* Cursor: desactivar en touch / sin hover */
@media (hover: none), (pointer: coarse) {
  .cursor1, .cursor2 { display: none !important; }
}


/* ════════════════════════════════════════════════════════
   SCROLL TO TOP
   ════════════════════════════════════════════════════════ */
.progress-wrap {
  position: fixed; right: 25px; bottom: 25px;
  width: 44px; height: 44px;
  background: var(--black); border-radius: 50%;
  z-index: 9999; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.progress-wrap.active-progress { opacity: 1; visibility: visible; }
.progress-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.progress-wrap svg path {
  stroke: var(--green-ad); stroke-width: 4; fill: none;
  stroke-dasharray: 307.919; stroke-dashoffset: 307.919;
  transition: stroke-dashoffset .3s;
}

/* ════════════════════════════════════════════════════════
   SWITCHER
   ════════════════════════════════════════════════════════ */
.switcher__area { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9990; }
.switcher__icon {
  position: absolute; right: 0; top: 0;
  background: var(--black); padding: 10px 12px;
  border-radius: 6px 0 0 6px; cursor: pointer;
}
.switcher__icon button { background: none; border: none; color: var(--white); font-size: 18px; cursor: pointer; display: flex; }
#switcher_close { display: none; }
.switcher__items {
  position: fixed; right: -280px; top: 50%; transform: translateY(-50%);
  width: 280px; background: var(--white); box-shadow: -4px 0 28px rgba(0,0,0,.14);
  padding: 28px 20px; border-radius: 6px 0 0 6px;
  transition: right .3s ease;
}
.dark .switcher__items { background: #1b1b1b; }
.switcher__item { margin-bottom: 18px; }
.switcher__title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px; color: var(--black-2); }
.dark .switcher__title { color: var(--white-2); }
.switcher__btn { display: flex; gap: 6px; }
.switcher__btn.wc-col-2 button {
  flex: 1; padding: 7px; border: 1px solid var(--border); border-radius: 4px;
  background: none; cursor: pointer; font-size: 12px; color: var(--primary); transition: all .2s;
}
.dark .switcher__btn.wc-col-2 button { color: var(--white); }
.switcher__btn.wc-col-2 button.active,
.switcher__btn.wc-col-2 button:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.switcher__btn select { width: 100%; padding: 7px; border: 1px solid var(--border); border-radius: 4px; background: none; font-size: 12px; color: var(--primary); }
.dark .switcher__btn select { color: var(--white); background: #1b1b1b; }
.overlay-switcher-close { display: none; position: fixed; inset: 0; z-index: 9985; }
.overlay-switcher-close.show-overlay { display: block; }

/* ════════════════════════════════════════════════════════
   OFFCANVAS
   ════════════════════════════════════════════════════════ */
.offcanvas-3__area {
  position: fixed; inset: 0; z-index: 99990;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
  background: rgba(0,0,0,.6);
}
.offcanvas-3__area.show { opacity: 1; visibility: visible; }
.offcanvas-3__inner {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 380px; background: var(--black);
  padding: 50px 40px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.645,.045,.355,1);
}
.offcanvas-3__area.show .offcanvas-3__inner { transform: translateX(0); }
@media (max-width: 479px) { .offcanvas-3__inner { width: 100%; } }

.close-button {
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-bottom: 30px;
}
.close-button span {
  display: block; width: 26px; height: 2px; background: var(--white); position: absolute;
}
.close-button span:first-child { transform: rotate(45deg); }
.close-button span:last-child  { transform: rotate(-45deg); }

.offcanvas-3__meta { margin-bottom: 36px; }
.offcanvas-3__meta-wrapper { display: flex; flex-direction: column; gap: 0; }
.offcanvas-3__meta ul li { margin-bottom: 10px; }
.offcanvas-3__meta ul li a { color: rgba(255,255,255,.7); font-size: 15px; transition: color .2s; }
.offcanvas-3__meta ul li a:hover { color: var(--green-ad); }
.mb-145 { margin-bottom: 36px; }
.offcanvas-3__social .title { color: var(--white-2); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.offcanvas-3__social-links { display: flex; gap: 16px; }
.offcanvas-3__social-links a { color: var(--white); font-size: 18px; transition: color .2s, transform .2s; }
.offcanvas-3__social-links a:hover { color: var(--green-ad); transform: translateY(-3px); }
.offcanvas-3__menu-wrapper { margin-top: 40px; }
.offcanvas-3__menu ul li { border-top: 1px solid rgba(255,255,255,.07); }
.offcanvas-3__menu ul li a {
  display: block; padding: 14px 0;
  font-family: var(--font_teko); font-size: 30px;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--white); transition: color .2s, padding-left .25s;
}
.offcanvas-3__menu ul li a:hover { color: var(--green-ad); padding-left: 12px; }

/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.header-area {
  position: fixed; top: 0; left: 0; right: 0; z-index: 990;
  transition: background .3s, box-shadow .3s;
}
.header-area.sticky {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  backdrop-filter: blur(10px);
}
.dark .header-area.sticky { background: rgba(13,13,13,.97); }

.container.large {
  max-width: 1560px; margin: 0 auto; padding: 0 40px; width: 100%;
}
@media (max-width: 1199px) { .container.large { padding: 0 24px; } }
@media (max-width: 767px)  { .container.large { padding: 0 16px; } }

.header-area__inner {
  height: 88px; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}
@media (max-width: 991px) { .header-area__inner { height: 68px; } }

/* LOGO — controlado, sin overflow */
.header__logo { flex-shrink: 0; }
.header__logo .show-logo {
  height: 52px; width: auto;
  max-width: 200px; object-fit: contain;
  display: block;
}
@media (max-width: 991px) { .header__logo .show-logo { height: 40px; } }

.header__nav.pos-center { flex: 1; display: flex; justify-content: center; }
@media (max-width: 1199px) { .header__nav.pos-center { display: none; } }

.main-menu ul { display: flex; gap: 36px; align-items: center; }
@media (max-width: 1399px) { .main-menu ul { gap: 24px; } }

.main-menu ul li a {
  font-family: var(--font_teko);
  font-size: 19px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--primary); position: relative; padding-bottom: 4px;
  transition: color var(--transition);
}
.dark .main-menu ul li a { color: var(--white); }
.main-menu ul li a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--green-ad), var(--cyan-ad));
  transition: width .3s ease;
}
.main-menu ul li a:hover { color: var(--green-ad); }
.main-menu ul li a:hover::after,
.main-menu ul li a.active::after {
  width: 24px;
}
.main-menu ul li a.active {
  color: var(--primary);
  font-weight: 500;
}
.dark .main-menu ul li a.active { color: var(--white); }

.header-search { cursor: pointer; display: flex; align-items: center; }
.header-search img { width: 22px; }

/* show/hide dark-mode variants */
.show-dark  { display: none; }
.dark .show-dark  { display: block; }
.dark .show-light { display: none; }

.header__navicon button {
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: var(--primary); line-height: 1;
}
.dark .header__navicon button { color: var(--white); }

/* Search modal */
.form-search {
  display: flex; gap: 12px;
  background: var(--white); border-radius: var(--radius); padding: 12px 16px;
}
.form-search input { flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font_dm); }
.form-search button { background: none; border: none; cursor: pointer; font-size: 18px; }

/* ════════════════════════════════════════════════════════
   LAYOUT HELPERS
   ════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container-max); margin: 0 auto; padding: 0 20px; width: 100%;
}
@media (max-width: 1399px) { :root { --container-max: 1200px; } }
@media (max-width: 1199px) { :root { --container-max: 960px;  } }
@media (max-width: 991px)  { :root { --container-max: 720px;  } }
@media (max-width: 767px)  { :root { --container-max: 100%;   } }

.section-spacing     { padding: 120px 0; }
.section-spacing-top { padding-top: 120px; }
@media (max-width: 1199px) { .section-spacing { padding: 90px 0; }  .section-spacing-top { padding-top: 90px;  } }
@media (max-width: 991px)  { .section-spacing { padding: 70px 0; }  .section-spacing-top { padding-top: 70px;  } }
@media (max-width: 767px)  { .section-spacing { padding: 55px 0; }  .section-spacing-top { padding-top: 55px;  } }

.body-wrapper { padding-top: 88px; }
@media (max-width: 991px) { .body-wrapper { padding-top: 68px; } }
.overflow-hidden { overflow: hidden; }
.w-100 { width: 100%; }
.d-xl-none { display: none; }
@media (max-width: 1199px) { .d-xl-none { display: flex !important; } }
.d-none { display: none !important; }
.d-md-block { display: none; }
@media (min-width: 768px) { .d-md-block { display: block; } }

/* Smooth scroll wrappers */
#smooth-wrapper { overflow: hidden; }
#smooth-content  { will-change: transform; }

/* ════════════════════════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════════════════════════ */
.section-title {
  font-family: var(--font_teko);
  font-size: clamp(36px, 4.5vw, 70px);
  font-weight: 600; line-height: 1.06;
  text-transform: uppercase;
  color: var(--primary);
}
.dark .section-title { color: var(--white); }
.section-title span  { color: var(--green-ad); }

.section-subtitle {
  font-family: var(--font_dm); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--black-2); display: inline-flex; align-items: center; gap: 8px;
}
.dark .section-subtitle { color: var(--white-2); }
.subtitle-wrapper { margin-bottom: 8px; }

/* ════════════════════════════════════════════════════════
   BOTONES
   ════════════════════════════════════════════════════════ */
.wc-btn-underline {
  font-family: var(--font_teko); font-size: 22px;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); padding-bottom: 5px;
  border-bottom: 2px solid currentColor;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .25s, border-color .25s;
}
.dark .wc-btn-underline { color: var(--white); }
.wc-btn-underline img { width: 20px; }
.wc-btn-underline:hover { color: var(--green-ad); border-color: var(--green-ad); }

.btn-text-flip { overflow: hidden; }
.btn-text-flip > span { display: block; position: relative; transition: transform .4s cubic-bezier(.77,0,.175,1); }
.btn-text-flip > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn-text-flip:hover > span { transform: translateY(-100%); }

.wc-btn-circle {
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-family: var(--font_teko); font-size: 17px; font-weight: 500;
  text-transform: uppercase; text-align: center; line-height: 1.3;
  border: 2px solid var(--black); display: inline-flex;
  align-items: center; justify-content: center;
  transition: background .3s, color .3s, border-color .3s;
}
.wc-btn-circle:hover { background: var(--green-ad); color: var(--black); border-color: var(--green-ad); }
.dark .wc-btn-circle { background: var(--white); color: var(--black); border-color: var(--white); }
.dark .wc-btn-circle:hover { background: var(--green-ad); border-color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.hero-area {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--white);
}
.dark .hero-area { background: #0d0d0d; }

/* Glows de fondo */
.hero-area::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,217,0,.10) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-area::after {
  content: ''; position: absolute; bottom: -15%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,215,.07) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-area .container.large { position: relative; z-index: 1; }

.hero-area-inner { padding: 40px 0 60px; position: relative; }

.shape-1 {
  display: none !important;
}

/* Texto de fondo gigante */
.info-text {
  position: absolute; top: 15px; left: 0; right: 0;
  font-family: var(--font_orbit); font-size: clamp(10px, 1.4vw, 20px);
  font-weight: 800; letter-spacing: 5px; text-transform: uppercase;
  color: rgba(168,217,0,.06); text-align: center;
  pointer-events: none; white-space: nowrap; overflow: hidden; line-height: 1.4;
}
@media (max-width: 767px) { .info-text { display: none; } }

/* Shape decorativa */
.area-shape-1 { position: absolute; top: 0; right: 0; pointer-events: none; opacity: .45; z-index: 0; }
.area-shape-1 img { max-width: 280px; }
@media (max-width: 991px) { .area-shape-1 { display: none; } }

/* Layout hero */
.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(30px, 4.5vw, 68px);
  padding-top: 80px;
}
@media (max-width: 1199px) { .section-content { gap: 40px; } }
@media (max-width: 991px)  { .section-content { flex-direction: column; gap: 50px; padding-top: 60px; } }
@media (max-width: 767px)  { .section-content { padding-top: 40px; } }

.content-first {
  flex: 1 1 58%;
  min-width: 0;
  max-width: 640px;
}
.content-last {
  flex: 0 1 42%;
  width: min(100%, 560px);
  margin-top: 0;
}
@media (max-width: 991px) {
  .content-first { max-width: 100%; }
  .content-last {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}

/* H1 hero */
.hero-area .section-title {
  font-size: clamp(50px, 6.8vw, 104px);
  line-height: 1.0;
  max-width: 680px;
}
.hero-area .section-title .shape-1 { display: inline-block; vertical-align: middle; margin-left: 12px; }
.hero-area .section-title .shape-1 img { width: 56px; height: auto; display: inline; }

/* Bloque inferior hero */
.content-bottom {
  display: flex; flex-direction: column; gap: 28px;
  margin-top: 34px; max-width: 500px;
}
@media (max-width: 991px) { .content-bottom { max-width: 100%; } }

.content-bottom .text {
  font-size: 16px; line-height: 1.8; color: var(--secondary);
}
.dark .content-bottom .text { color: var(--white-2); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font_dm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta--primary {
  background: linear-gradient(135deg, var(--green-ad), #c7ef33);
  color: #111;
  box-shadow: 0 14px 30px rgba(168,217,0,.22);
}
.hero-cta--primary:hover {
  box-shadow: 0 18px 34px rgba(168,217,0,.28);
}
.hero-cta--secondary {
  background: rgba(255,255,255,.02);
  color: var(--primary);
  border: 1px solid rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dark .hero-cta--secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.12);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}
.hero-trust span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.46);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 12px;
  line-height: 1;
  color: var(--secondary);
}
.hero-trust i {
  font-size: 12px;
  color: var(--green-ad);
}
.dark .hero-trust span {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
}
.hero-trust strong {
  font-family: var(--font_teko);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary);
  line-height: 1;
}
.dark .hero-trust strong { color: var(--white); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  max-width: 560px;
}
.hero-metric {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.04);
  overflow: hidden;
}
.dark .hero-metric {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.09);
}
.hero-metric::before {
  content: '';
  position: absolute;
  inset: auto -20% -65% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,217,0,.18), transparent 68%);
  pointer-events: none;
}
.hero-metric strong {
  position: relative;
  display: block;
  font-family: var(--font_teko);
  font-size: 28px;
  font-weight: 600;
  line-height: .95;
  letter-spacing: .02em;
  color: var(--primary);
}
.dark .hero-metric strong { color: var(--white); }
.hero-metric span {
  position: relative;
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--secondary);
}
.dark .hero-metric span { color: rgba(255,255,255,.68); }


/* Hero asset architecture */
.hero.hero-asset {
  position: relative;
}
.hero.hero-asset .hero-area-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
}
.hero.hero-asset .hero-left,
.hero.hero-asset .hero-right {
  min-width: 0;
}
.hero.hero-asset .hero-left {
  max-width: 640px;
}
.hero.hero-asset .hero-left .section-title {
  max-width: 10.8ch;
}
.hero.hero-asset .hero-left .text {
  max-width: 620px;
}
.hero.hero-asset .hero-right {
  display: flex;
  justify-content: flex-end;
}
.hero-illustration {
  --hero-core-size: clamp(320px, 62vw, 560px);
  --hero-node-size: clamp(130px, 20vw, 180px);
  --hero-icon-size: 64px;
  width: min(100%, 900px);
  aspect-ratio: 1 / 1;
  position: relative;
}
.hero-illustration__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(17,17,17,.16);
  background: linear-gradient(180deg, #f7f7f7 0%, #f1f1f1 100%);
  border-radius: 34px;
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.7);
}
.hero-illustration__header {
  position: absolute;
  inset: 20px 20px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero-illustration__eyebrow,
.hero-illustration__directory {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.12);
  background: rgba(255,255,255,.72);
  font-family: var(--font_dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,17,17,.72);
}
.hero-illustration__main {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.82), rgba(255,255,255,.36) 44%, rgba(248,248,248,.12) 70%, rgba(240,240,240,.03) 100%);
}
.hero-illustration__main::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px dashed rgba(17,17,17,.12);
}
.hero-illustration__label,
.hero-illustration__size,
.hero-illustration__asset,
.hero-illustration__slot-name,
.hero-illustration__icon,
.hero-illustration__slot em {
  display: block;
  text-align: center;
}
.hero-illustration__label {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,17,17,.10);
  font-family: var(--font_dm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(17,17,17,.72);
}
.hero-illustration__size {
  position: absolute;
  top: 114px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font_teko);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .02em;
  color: rgba(17,17,17,.72);
}
.hero-illustration__asset {
  position: absolute;
  top: 156px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font_dm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,17,17,.54);
}
.hero-illustration__slot {
  position: absolute;
  width: var(--hero-node-size);
  height: var(--hero-node-size);
  padding: 18px 16px 14px;
  border: 1px dashed rgba(17,17,17,.20);
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  box-shadow:
    0 10px 24px rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-illustration__slot::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(17,17,17,.08);
}
.hero-illustration__slot-name,
.hero-illustration__icon,
.hero-illustration__slot strong,
.hero-illustration__slot em {
  position: relative;
  z-index: 1;
}
.hero-illustration__slot-name {
  font-family: var(--font_dm);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,17,17,.80);
}
.hero-illustration__slot strong {
  margin-top: 8px;
  font-family: var(--font_teko);
  font-size: 30px;
  font-weight: 500;
  color: var(--black);
}
.hero-illustration__icon {
  margin-top: 10px;
  font-family: var(--font_dm);
  font-size: 12px;
  font-weight: 700;
  color: rgba(17,17,17,.58);
}
.hero-illustration__slot em {
  margin-top: 8px;
  font-style: normal;
  font-family: var(--font_dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,17,17,.46);
}
.hero-illustration__slot--core {
  width: var(--hero-core-size);
  height: var(--hero-core-size);
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
}
.hero-illustration__slot--api { left: 8%; top: 18%; }
.hero-illustration__slot--cloud { right: 8%; top: 14%; }
.hero-illustration__slot--erp { right: 4%; top: 44%; }
.hero-illustration__slot--crm { right: 10%; bottom: 12%; }
.hero-illustration__slot--analytics { left: 50%; bottom: 4%; transform: translateX(-50%); }
.hero-illustration__slot--automation { left: 8%; bottom: 12%; }
.hero-illustration__slot--ml { left: 4%; top: 44%; }
@media (max-width: 1199px) {
  .hero.hero-asset .hero-area-inner {
    gap: clamp(24px, 3vw, 40px);
  }
  .hero-illustration {
    --hero-core-size: clamp(260px, 56vw, 460px);
    --hero-node-size: clamp(120px, 18vw, 160px);
    width: 100%;
  }
}
@media (max-width: 991px) {
  .hero.hero-asset .hero-area-inner {
    grid-template-columns: 1fr;
  }
  .hero.hero-asset .hero-right {
    justify-content: flex-start;
    order: -1;
  }
  .hero.hero-asset .hero-left {
    order: 2;
    max-width: 100%;
  }
  .hero-illustration {
    --hero-core-size: clamp(240px, 54vw, 420px);
    --hero-node-size: clamp(116px, 18vw, 150px);
    max-width: 900px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .hero-illustration {
    --hero-core-size: clamp(210px, 70vw, 320px);
    --hero-node-size: clamp(104px, 28vw, 132px);
  }
  .hero-illustration__header {
    inset: 16px 16px auto;
    flex-wrap: wrap;
  }
  .hero-illustration__label {
    top: 64px;
  }
  .hero-illustration__size {
    top: 104px;
  }
  .hero-illustration__asset {
    top: 142px;
  }
  .hero-illustration__slot {
    border-radius: 20px;
    padding: 14px 12px 12px;
  }
  .hero-illustration__slot strong {
    font-size: 24px;
  }
  .hero-illustration__slot-name {
    font-size: 12px;
  }
  .hero-illustration__icon,
  .hero-illustration__slot em {
    font-size: 10px;
  }
}
@media (max-width: 575px) {
  .hero-illustration {
    --hero-core-size: clamp(180px, 66vw, 260px);
    --hero-node-size: clamp(96px, 26vw, 118px);
  }
  .hero.hero-asset .hero-left .section-title {
    max-width: 100%;
  }
  .hero.hero-asset .hero-left .text {
    max-width: 100%;
  }
  .hero-trust {
    gap: 8px;
  }
  .hero-trust span {
    width: 100%;
    justify-content: center;
  }
  .hero-illustration__slot--api { left: 2%; top: 16%; }
  .hero-illustration__slot--cloud { right: 2%; top: 12%; }
  .hero-illustration__slot--erp { right: 0; top: 40%; }
  .hero-illustration__slot--crm { right: 2%; bottom: 10%; }
  .hero-illustration__slot--analytics { bottom: 2%; }
  .hero-illustration__slot--automation { left: 2%; bottom: 10%; }
  .hero-illustration__slot--ml { left: 0; top: 40%; }
}

/* ════════════════════════════════════════════════════════
   BENEFITS BAR
   ════════════════════════════════════════════════════════ */
.benefits-bar {
  position: relative;
  padding: 32px 0 18px;
}
.benefits-bar__inner {
  border-top: 1px solid rgba(17,17,17,.08);
  border-bottom: 1px solid rgba(17,17,17,.08);
  padding: 28px 0;
}
.dark .benefits-bar__inner {
  border-color: rgba(255,255,255,.08);
}
.benefits-bar__eyebrow {
  margin-bottom: 18px;
  font-family: var(--font_dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(17,17,17,.58);
}
.dark .benefits-bar__eyebrow {
  color: rgba(255,255,255,.58);
}
.benefits-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,17,17,.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.04);
}
.dark .benefit-item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.06);
}
.benefit-item i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,217,0,.10);
  color: var(--green-ad);
  font-size: 18px;
}
.dark .benefit-item i {
  background: rgba(168,217,0,.14);
}
.benefit-item strong {
  display: block;
  font-family: var(--font_dm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
.dark .benefit-item strong {
  color: var(--white);
}
.benefit-item span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--secondary);
}
.dark .benefit-item span {
  color: rgba(255,255,255,.72);
}
@media (max-width: 991px) {
  .benefits-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .benefits-bar {
    padding: 24px 0 10px;
  }
  .benefits-bar__inner {
    padding: 22px 0;
  }
  .benefits-bar__grid {
    grid-template-columns: 1fr;
  }
  .benefit-item {
    padding: 16px 16px;
  }
}

/* ════════════════════════════════════════════════════════
   ABOUT REVAMP
   ════════════════════════════════════════════════════════ */
.about-area { position: relative; }
.about-area .about-area-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  overflow: hidden;
}
.about-area .section-content { display: block; padding-top: 0; }
.about-area .section-title-wrapper { max-width: 760px; }
.about-area .title-wrapper h2 { max-width: 10ch; }
.about-revamp__content {
  max-width: 640px;
}
.about-revamp__text {
  max-width: 620px;
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--secondary);
}
.dark .about-revamp__text { color: var(--white-2); }
.about-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
}
.about-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(17,17,17,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.04);
}
.dark .about-benefits li {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.06);
}
.about-benefits i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(168,217,0,.10);
  color: var(--green-ad);
  font-size: 18px;
}
.dark .about-benefits i {
  background: rgba(168,217,0,.14);
}
.about-benefits span {
  font-family: var(--font_dm);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary);
}
.dark .about-benefits span { color: var(--white); }
.about-revamp .btn-wrapper {
  margin-top: 30px;
}
.about-revamp__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 18px;
  align-items: stretch;
}
.about-revamp__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efefef;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.about-revamp__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-revamp__image--primary {
  min-height: 540px;
}
.about-revamp__image--secondary {
  min-height: 540px;
  display: flex;
  align-items: flex-end;
}
.about-revamp__image--secondary img {
  min-height: 100%;
}
.about-revamp__tag {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17,17,17,.78);
  color: var(--white);
  font-family: var(--font_dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-revamp__card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
.dark .about-revamp__card {
  background: rgba(19,19,19,.92);
  border-color: rgba(255,255,255,.08);
}
.about-revamp__card strong {
  display: block;
  font-family: var(--font_dm);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.dark .about-revamp__card strong { color: var(--white); }
.about-revamp__card span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--secondary);
}
.dark .about-revamp__card span { color: var(--white-2); }
.about-revamp__visual .about-revamp__image--secondary {
  min-height: 540px;
}
.about-revamp__visual .about-revamp__image--secondary img {
  height: 100%;
}
@media (max-width: 1199px) {
  .about-area .about-area-inner {
    gap: 32px;
  }
  .about-revamp__image--primary,
  .about-revamp__image--secondary,
  .about-revamp__visual .about-revamp__image--secondary {
    min-height: 460px;
  }
}
@media (max-width: 991px) {
  .about-area .about-area-inner {
    grid-template-columns: 1fr;
  }
  .about-revamp__content {
    max-width: 100%;
  }
  .about-revamp__visual {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .about-area .about-area-inner {
    gap: 24px;
  }
  .about-revamp__text {
    margin-top: 20px;
    font-size: 16px;
  }
  .about-benefits {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
  .about-revamp__visual {
    grid-template-columns: 1fr;
  }
  .about-revamp__image--primary,
  .about-revamp__image--secondary,
  .about-revamp__visual .about-revamp__image--secondary {
    min-height: 320px;
  }
  .about-revamp__tag {
    left: 14px;
    top: 14px;
  }
  .about-revamp__card {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

/* ════════════════════════════════════════════════════════
   FEATURE / VALORES
   ════════════════════════════════════════════════════════ */
.feature-area { background: #f5f5f5; padding: 80px 0 100px; }
.dark .feature-area { background: #111; }

.feature-area-inner .section-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 40px;
  margin-bottom: 56px;
}
.feature-area-inner .features-wrapper-box {
  padding-bottom: 0;
}
@media (max-width: 767px) { .feature-area-inner .section-header { flex-direction: column; gap: 16px; margin-bottom: 36px; } }
.feature-area-inner .section-header .shape-1 img { width: 48px; opacity: .55; }
.feature-area-inner .text-wrapper .text { font-size: 16px; line-height: 1.75; max-width: 360px; color: var(--secondary); }
.dark .feature-area-inner .text-wrapper .text { color: var(--white-2); }

.features-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) { .features-wrapper { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .features-wrapper { grid-template-columns: 1fr; } }

.feature-box {
  padding: 44px 36px 40px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  border-bottom: 3px solid var(--green-ad);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.dark .feature-box {
  background: #1c1c1c;
  border-color: rgba(255,255,255,.08);
  border-bottom-color: var(--green-ad);
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.10);
  border-bottom-color: var(--cyan-ad);
}
.feature-box::before,
.feature-box::after { display: none; }

.feature-box .thumb { margin-bottom: 28px; }
.feature-box .thumb img { width: 52px; opacity: .8; }
.feature-box .content .title {
  font-family: var(--font_teko);
  font-size: 26px; font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 14px;
}
.dark .feature-box .content .title { color: var(--white); }
.feature-box:hover .content .title { color: var(--green-ad); }
.feature-box .content .text {
  font-size: 15px; line-height: 1.75;
  color: var(--secondary);
}
.dark .feature-box .content .text { color: var(--white-2); }

/* ════════════════════════════════════════════════════════
   SKILL / BENEFITS TABS
   ════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════
   AD VALORES — sección propia, sin conflictos con template
   ════════════════════════════════════════════════════════ */
.ad-valores-section {
  background: #f4f4f4;
  padding: 90px 0 100px;
}
.dark .ad-valores-section { background: #0f0f0f; }

.ad-valores-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
}
.ad-valores-tag {
  display: inline-block;
  font-family: var(--font_orbit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-ad);
  border: 1px solid rgba(168,217,0,.4);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.ad-valores-title {
  font-family: var(--font_teko);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--primary);
  margin: 0;
}
.dark .ad-valores-title { color: var(--white); }
.ad-valores-title span { color: var(--green-ad); }

/* Grid — 4 columnas iguales, independiente del template */
.ad-valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) { .ad-valores-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .ad-valores-grid { grid-template-columns: 1fr; } }

.ad-valor-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 30px 32px;
  border: 1px solid #e8e8e8;
  border-top: 3px solid var(--green-ad);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-top-color .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.dark .ad-valor-card {
  background: #1c1c1c;
  border-color: rgba(255,255,255,.07);
  border-top-color: var(--green-ad);
}
.ad-valor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 48px rgba(0,0,0,.10);
  border-top-color: var(--cyan-ad);
}

.ad-valor-num {
  font-family: var(--font_orbit);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-ad);
  margin-bottom: 20px;
}
.ad-valor-icon {
  width: 52px; height: 52px;
  background: rgba(168,217,0,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .3s;
}
.ad-valor-card:hover .ad-valor-icon { background: rgba(168,217,0,.16); }
.ad-valor-icon img { width: 28px; opacity: .7; transition: opacity .3s; }
.ad-valor-card:hover .ad-valor-icon img { opacity: 1; }

.ad-valor-name {
  font-family: var(--font_teko);
  font-size: 22px; font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 12px;
  transition: color .25s;
}
.dark .ad-valor-name { color: var(--white); }
.ad-valor-card:hover .ad-valor-name { color: var(--green-ad); }

.ad-valor-text {
  font-size: 14px; line-height: 1.72;
  color: var(--secondary); margin: 0;
}
.dark .ad-valor-text { color: var(--white-2); }

.skill-area { background: var(--white); }
.dark .skill-area { background: #0d0d0d; }

.skill-area-inner .section-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 40px; margin-bottom: 60px;
}
@media (max-width: 767px) { .skill-area-inner .section-header { flex-direction: column; gap: 16px; margin-bottom: 36px; } }
.skill-area-inner .text-wrapper .text { font-size: 16px; line-height: 1.75; max-width: 360px; color: var(--secondary); }
.dark .skill-area-inner .text-wrapper .text { color: var(--white-2); }

.skills-wrapper {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px; align-items: start;
}
@media (max-width: 1199px) { .skills-wrapper { grid-template-columns: 360px 1fr; gap: 40px; } }
@media (max-width: 991px)  { .skills-wrapper { grid-template-columns: 1fr; } }

.skills-wrapper .nav.nav-pills { flex-direction: column; gap: 6px; }

/* ── Matar completamente el azul Bootstrap en pills ── */
.nav-pills .nav-link,
.nav-pills .nav-link:hover,
.nav-pills .nav-link:focus,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: transparent !important;
  color: inherit !important;
  border-radius: var(--radius) !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.nav-link { cursor: pointer; padding: 0 !important; background: none !important; border: none; text-align: left; width: 100%; }

.skill-nav {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .25s, border-color .25s;
  width: 100%;
}
.skill-nav:hover { background: rgba(168,217,0,.06); border-color: rgba(168,217,0,.15); }

/* Active state — verde AD, NO azul Bootstrap */
.nav-pills .nav-link.active .skill-nav,
.nav-pills .show > .nav-link .skill-nav {
  background: rgba(168,217,0,.12) !important;
  border-color: rgba(168,217,0,.4) !important;
}
.skill-nav .icon { flex-shrink: 0; }
.skill-nav .icon img { width: 42px; }
.skill-nav .content .title {
  font-family: var(--font_teko); font-size: 24px; font-weight: 600;
  text-transform: uppercase; color: var(--primary); line-height: 1.1;
}
.dark .skill-nav .content .title { color: var(--white); }
.nav-pills .nav-link.active .skill-nav .content .title { color: var(--green-ad) !important; }
.skill-nav .content .text { font-size: 14px; line-height: 1.6; color: var(--secondary); margin-top: 5px; }
.dark .skill-nav .content .text { color: var(--white-2); }

.tab-content { width: 100%; }
.tab-pane { display: none; }
.tab-pane.show.active { display: block; }

.skill-thumb { position: relative; }
.skill-thumb .main-image {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius);
}
.skill-thumb .small-image {
  position: absolute; bottom: -24px; right: -20px;
  width: 160px; height: 160px; object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid var(--white);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.dark .skill-thumb .small-image { border-color: #1a1a1a; }
@media (max-width: 575px) {
  .skill-thumb .small-image { width: 100px; height: 100px; right: -8px; bottom: -8px; }
  .skill-thumb .main-image  { height: 280px; }
}

/* ════════════════════════════════════════════════════════
   ENTERPRISE / TECH STACK
   ════════════════════════════════════════════════════════ */
.enterprise-area {
  background: linear-gradient(135deg, #0a0a0a 0%, #182408 100%);
}
.enterprise-area .section-header { text-align: center; margin-bottom: 48px; }
.enterprise-area .section-header .text {
  font-family: var(--font_teko); font-size: clamp(22px, 3vw, 38px);
  text-transform: uppercase; letter-spacing: 3px;
  color: rgba(255,255,255,.5); font-weight: 400;
}

.expertise-wrapper {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.expertise-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 28px; min-width: 130px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  transition: background .25s, border-color .25s, transform .25s;
}
.expertise-box:hover {
  background: rgba(168,217,0,.1);
  border-color: rgba(168,217,0,.35);
  transform: translateY(-5px);
}
.expertise-box .icon img { width: 58px; filter: brightness(10) saturate(0); opacity: .7; transition: opacity .3s, filter .3s; }
.expertise-box:hover .icon img { opacity: 1; filter: brightness(1) saturate(1) drop-shadow(0 0 8px rgba(168,217,0,.6)); }

/* SVG icons inline (tech stack) */
.expertise-box .tech-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
}
.expertise-box .tech-icon i {
  font-size: 26px;
  color: rgba(255,255,255,.7);
  transition: color .3s, filter .3s, transform .3s;
}
.expertise-box:hover .tech-icon i {
  color: var(--green-ad);
  filter: drop-shadow(0 0 8px rgba(168,217,0,.5));
  transform: translateY(-2px);
}
.expertise-box .name {
  font-family: var(--font_teko); font-size: 18px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,.8);
  transition: color .25s;
}
.expertise-box:hover .name { color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   WORK / PROJECTS SLIDER
   ════════════════════════════════════════════════════════ */
.work-area { padding: 80px 0; overflow: hidden; }
.works-wrapper { display: flex; flex-direction: column; gap: 14px; }
.work-slider-active .swiper-slide { width: auto; }
.work-slider-active .swiper-wrapper { transition-timing-function: linear !important; }

.work-box { width: 340px; position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
@media (max-width: 767px) { .work-box { width: 260px; } }

.work-box .thumb { overflow: hidden; height: 240px; }
.work-box .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-box:hover .thumb img { transform: scale(1.08); }

.work-box .content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, transparent 100%);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.work-box .content .icon img { width: 26px; opacity: .8; flex-shrink: 0; }
.work-box .title {
  font-family: var(--font_teko); font-size: 22px; font-weight: 600;
  text-transform: uppercase; color: var(--white); line-height: 1.1;
}
.work-box .meta { font-size: 13px; color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   SERVICE AREA
   ════════════════════════════════════════════════════════ */
.service-area { background: #f7f7f7; }
.dark .service-area { background: #111; }

.service-area-inner .section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; margin-bottom: 60px;
}
@media (max-width: 767px) {
  .service-area-inner .section-header { flex-direction: column; gap: 16px; margin-bottom: 36px; align-items: flex-start; }
}
.service-area-inner .section-header .shape-1 img { width: 46px; opacity: .55; }
.service-area-inner .text-wrapper .text { font-size: 16px; line-height: 1.75; max-width: 340px; color: var(--secondary); }
.dark .service-area-inner .text-wrapper .text { color: var(--white-2); }

.services-wrapper {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
@media (max-width: 767px) { .services-wrapper { grid-template-columns: 1fr; } }

.service-box {
  padding: 42px 38px; background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 22px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.dark .service-box { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
.service-box::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-ad), var(--cyan-ad));
  transition: width .4s ease;
}
.service-box:hover { background: rgba(168,217,0,.04); }
.dark .service-box:hover { background: rgba(168,217,0,.05); }
.service-box:hover::after { width: 100%; }

.service-box .number {
  font-family: var(--font_orbit); font-size: 12px; font-weight: 700;
  color: var(--green-ad); flex-shrink: 0; margin-top: 6px; letter-spacing: 1px;
}
.service-box .content { flex: 1; min-width: 0; }
.service-box .title {
  font-family: var(--font_teko); font-size: 30px; font-weight: 600;
  text-transform: uppercase; line-height: 1.1; color: var(--primary);
}
.dark .service-box .title { color: var(--white); }
.service-box .content-last { margin-top: 16px; }
.service-box .content-last .text { font-size: 15px; line-height: 1.72; color: var(--secondary); }
.dark .service-box .content-last .text { color: var(--white-2); }
.service-box .feature-list { margin-top: 18px; }
.service-box .feature-list li {
  font-size: 14px; color: var(--black-2);
  padding: 5px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.dark .service-box .feature-list li { color: var(--white-2); border-color: rgba(255,255,255,.06); }
.service-box:hover .feature-list li { color: var(--primary); }
.dark .service-box:hover .feature-list li { color: var(--white); }
.service-box .icon { flex-shrink: 0; }
.service-box .icon img { width: 46px; opacity: .65; transition: opacity .25s; }
.service-box:hover .icon img { opacity: 1; }

/* ── Full-width gallery ─────────────────────────────────── */
.image-wrapper { overflow: hidden; }
.image-wrapper img { width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 767px) { .image-wrapper img { height: 240px; } }

/* ════════════════════════════════════════════════════════
   TESTIMONIAL — layout original: header arriba + slider abajo
   ════════════════════════════════════════════════════════ */
.testimonial-area { background: var(--white); }
.dark .testimonial-area { background: #0d0d0d; }

.testimonial-area-inner { display: block; }

/* Header: dos columnas lado a lado */
.testimonial-area .section-content {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  margin-bottom: 56px; flex-wrap: wrap;
}
@media (max-width: 767px) {
  .testimonial-area .section-content { flex-direction: column; gap: 20px; margin-bottom: 36px; }
}
.testimonial-area .section-content .section-title { font-size: clamp(28px, 3.5vw, 52px); flex: 1; }
.testimonial-area .text-wrapper { flex: 0 0 auto; max-width: 280px; }
.testimonial-area .text-wrapper .text { font-size: 15px; line-height: 1.75; color: var(--secondary); }
.dark .testimonial-area .text-wrapper .text { color: var(--white-2); }
.testimonial-area .section-content .btn-wrapper { flex: 0 0 auto; }

/* Swiper wrapper — ancho completo */
.testimonial-wrapper-box { width: 100%; }
.testimonial-wrapper { position: relative; }

/* Cards Swiper */
.testimonial-slider-active {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
@media (max-width: 767px) { .testimonial-slider-active { max-width: 100%; } }

.testimonial-box {
  padding: 36px 32px; background: #f7f7f7;
  border-radius: 16px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: box-shadow .3s;
}
.dark .testimonial-box { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
.testimonial-box::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--green-ad), var(--cyan-ad));
  transition: height .4s ease;
}
.testimonial-box:hover::before { height: 100%; }
.testimonial-box:hover { box-shadow: 0 14px 44px rgba(0,0,0,.12); }

.testimonial-box .rating {
  font-family: var(--font_teko); font-size: 32px; font-weight: 700;
  color: var(--green-ad); display: flex; align-items: center; gap: 8px;
}
.testimonial-box .rating img { width: 90px; }
.testimonial-box .rating-label { font-size: 12px; color: var(--white-2); margin: 4px 0 18px; }
.testimonial-box .text {
  font-size: 16px; line-height: 1.78; color: var(--secondary);
  font-style: italic; margin-bottom: 20px;
}
.dark .testimonial-box .text { color: var(--white-2); }
.testimonial-box .icon img { width: 32px; opacity: .3; }
.testimonial-box .author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dark .testimonial-box .author { border-top-color: rgba(255,255,255,.06); }
.testimonial-box .avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-box .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-box .name {
  font-family: var(--font_teko); font-size: 22px; font-weight: 600;
  text-transform: uppercase; line-height: 1; color: var(--primary);
}
.dark .testimonial-box .name { color: var(--white); }
.testimonial-box .meta-title { font-size: 13px; color: var(--white-2); margin-top: 3px; }

.slider-nav { display: flex; gap: 10px; margin-top: 28px; justify-content: center; }
.nav-icon {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--primary);
  transition: background .25s, color .25s, border-color .25s;
}
.dark .nav-icon { border-color: rgba(255,255,255,.12); color: var(--white); }
.nav-icon:hover { background: var(--green-ad); color: var(--black); border-color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════ */
.faq-area { background: #f7f7f7; }
.dark .faq-area { background: #111; }

.faq-area-inner {
  display: grid; grid-template-columns: 300px 1fr;
  gap: 80px; align-items: start;
}
@media (max-width: 991px) { .faq-area-inner { grid-template-columns: 1fr; gap: 40px; } }

.faq-area .section-content .section-title { font-size: clamp(28px, 3.5vw, 52px); }
.faq-area .text-wrapper { margin-top: 16px; }
.faq-area .text-wrapper .text { font-size: 15px; line-height: 1.75; color: var(--secondary); max-width: 260px; }
.dark .faq-area .text-wrapper .text { color: var(--white-2); }

.accordion { width: 100%; }
.accordion-item { border: none; border-bottom: 1px solid var(--border); background: none; }
.dark .accordion-item { border-color: rgba(255,255,255,.06); }

.accordion-button {
  background: none !important; box-shadow: none !important;
  font-family: var(--font_teko); font-size: 22px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--primary) !important;
  padding: 22px 0; width: 100%; text-align: left;
  border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
}
.dark .accordion-button { color: var(--white) !important; }
.accordion-button:hover,
.accordion-button:not(.collapsed) { color: var(--green-ad) !important; }
.accordion-button::after {
  content: '+'; flex-shrink: 0;
  font-size: 28px; font-weight: 300; line-height: 1;
  color: var(--green-ad);
  background-image: none !important;
  width: auto; height: auto; transform: none !important;
}
.accordion-button:not(.collapsed)::after { content: '−'; }
.accordion-body { padding: 0 0 24px; font-size: 15px; line-height: 1.78; color: var(--secondary); }
.dark .accordion-body { color: var(--white-2); }

/* ════════════════════════════════════════════════════════
   CONTACT STRIP
   ════════════════════════════════════════════════════════ */
.contact-area {
  background: linear-gradient(135deg, #0a0a0a 0%, #182408 100%);
  position: relative; overflow: hidden;
}
.contact-area::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,217,0,.12) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.contact-area .contact-area-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
@media (max-width: 767px) { .contact-area .contact-area-inner { flex-direction: column; gap: 28px; } }
.contact-area .shape-1 { display: none; }
.contact-area .section-title { color: var(--white); max-width: 600px; }
.contact-area .section-title span { color: var(--green-ad); }
.contact-area .btn-wrapper .wc-btn-underline {
  color: var(--white); font-size: clamp(20px, 2.5vw, 32px);
}
.contact-area .btn-wrapper .wc-btn-underline:hover { color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════════════════ */
.blog-area { background: var(--white); }
.dark .blog-area { background: #0d0d0d; }

.blog-area-inner .section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px; margin-bottom: 56px;
}
@media (max-width: 767px) {
  .blog-area-inner .section-header { flex-direction: column; gap: 16px; margin-bottom: 36px; align-items: flex-start; }
}
.blog-area-inner .content-last { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
@media (max-width: 767px) { .blog-area-inner .content-last { text-align: left; align-items: flex-start; } }
.blog-area-inner .content-last .text { font-size: 15px; color: var(--secondary); }
.dark .blog-area-inner .content-last .text { color: var(--white-2); }

.blogs-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .blogs-wrapper { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .blogs-wrapper { grid-template-columns: 1fr; } }

.blog {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.dark .blog { background: #1a1a1a; border-color: rgba(255,255,255,.06); }
.blog:hover { box-shadow: 0 14px 44px rgba(0,0,0,.1); transform: translateY(-5px); }

.blog .title {
  font-family: var(--font_teko); font-size: 22px; font-weight: 600;
  text-transform: uppercase; line-height: 1.2;
  padding: 22px 22px 0; color: var(--primary); transition: color .2s;
}
.dark .blog .title { color: var(--white); }
.blog:hover .title { color: var(--green-ad); }
.blog .thumb { margin-top: 14px; overflow: hidden; height: 200px; }
.blog .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog:hover .thumb img { transform: scale(1.06); }
.blog .text { padding: 14px 22px 0; font-size: 14px; line-height: 1.68; color: var(--secondary); }
.dark .blog .text { color: var(--white-2); }
.blog .meta-list {
  padding: 14px 22px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.blog .meta-list .name {
  font-family: var(--font_teko); font-size: 16px; font-weight: 600;
  text-transform: uppercase; color: var(--primary);
}
.dark .blog .meta-list .name { color: var(--white); }
.blog .meta-list .meta { font-size: 12px; color: var(--white-2); }
.text-underline { border-bottom: 1px solid currentColor; }

/* ════════════════════════════════════════════════════════
   CTA FINAL
   ════════════════════════════════════════════════════════ */
.cta-area {
  background: linear-gradient(135deg, #0a0a0a 0%, #182408 100%);
  position: relative; overflow: hidden;
}
.cta-area::before {
  content: ''; position: absolute; top: -50%; right: -8%;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,217,0,.14) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.cta-area::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,215,.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.cta-area .cta-area-inner { position: relative; z-index: 1; }
.cta-area .section-header {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 30px;
}
.cta-area .section-subtitle { color: var(--green-ad); font-size: 14px; }
.cta-area .section-title { color: var(--white); font-size: clamp(34px, 5vw, 72px); }
.cta-area .btn-wrapper .wc-btn-underline {
  font-size: clamp(20px, 2vw, 34px); color: var(--white);
}
.cta-area .btn-wrapper .wc-btn-underline:hover { color: var(--green-ad); }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer-area { background: var(--black); }
.dark .footer-area { background: #080808; }

.footer-area .copyright-area-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 14px 36px; padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 767px) {
  .footer-area .copyright-area-inner { flex-direction: column; align-items: center; text-align: center; }
}
.footer-area .copyright-text .text {
  font-family: var(--font_teko); font-size: 18px;
  color: var(--white); text-transform: uppercase; line-height: 1;
}
.footer-area .copyright-text .text a { color: var(--white); transition: color .2s; }
.footer-area .copyright-text .text a:hover { color: var(--green-ad); }
.footer-area .footer-nav-list { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-area .footer-nav-list li a {
  font-family: var(--font_teko); font-size: 17px;
  color: var(--white); text-transform: uppercase; line-height: 1;
  transition: color .2s;
}
.footer-area .footer-nav-list li a:hover { color: var(--green-ad); }
.footer-area .social-links { display: flex; gap: 14px; }
.footer-area .social-links li a {
  font-size: 16px; color: var(--white);
  transition: color .2s, transform .2s; display: flex;
}
.footer-area .social-links li a:hover { color: var(--green-ad); transform: translateY(-3px); }

/* ════════════════════════════════════════════════════════
   ANIMACIONES CSS (fallback cuando GSAP no disponible)
   ════════════════════════════════════════════════════════ */
.has_fade_anim  { will-change: opacity, transform; }
.has_word_anim  { will-change: opacity, transform; }
.has_text_move_anim { overflow: hidden; }
[data-speed]    { will-change: transform; }

@keyframes fadeUp   { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }
@keyframes fadeLeft { from { opacity:0; transform:translateX(30px);  } to { opacity:1; transform:none; } }
@keyframes fadeRight{ from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:none; } }


/* ── Reduced motion ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
