/* ========================================================
   AMBIENTE DIGITAL PERÚ — master-about-bold-ad.css
   CSS completo: layout correcto + animaciones profesionales
   ======================================================== */

/* ── 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);
  --theme:     #121212;
  --black:     #121212;
  --black-2:   #555555;
  --white:     #FFFFFF;
  --white-2:   #999999;
  --action:    #FFCD4D;
  --green-ad:  #a8d900;   /* verde Ambiente Digital */
  --cyan-ad:   #00c8d7;   /* cyan Ambiente Digital */

  /* fonts */
  --font_teko:    'Teko', sans-serif;
  --font_dm:      'DM Sans', sans-serif;
  --font_orbit:   'Orbitron', sans-serif;

  /* layout */
  --container-max-widths: 1320px;
}
:root .dark {
  --primary:  #ffffff;
  --secondary:#999999;
  --border:   rgba(255,255,255,0.08);
}

/* ── Reset / Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font_dm);
  color: var(--primary);
  background-color: var(--white);
  overflow-x: hidden;
}
.dark body { background-color: #0f0f0f; }

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ── Preloader ──────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.container-preloader {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; position: relative;
}
.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.15);
  border-top-color: var(--green-ad);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.txt-loading { display: flex; gap: 4px; }
.txt-loading .characters {
  font-family: var(--font_orbit);
  font-size: clamp(20px, 3vw, 36px);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.txt-loading .characters::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  color: var(--green-ad);
  opacity: 0;
  animation: char-reveal 2s linear infinite;
}
@keyframes char-reveal {
  0%,100%{ opacity:0; transform:translateY(100%); }
  50%     { opacity:1; transform:translateY(0); }
}
.loader-section {
  position: absolute; top: 0; width: 50%; height: 100%;
  background: var(--black); z-index: 50;
}
.loader-section.section-left  { left: 0; }
.loader-section.section-right { right: 0; }
.container-preloader.loaded .loader-section.section-left  { transform: translateX(-100%); transition: 0.7s 1.4s cubic-bezier(0.645,.045,.355,1); }
.container-preloader.loaded .loader-section.section-right { transform: translateX( 100%); transition: 0.7s 1.4s cubic-bezier(0.645,.045,.355,1); }
.container-preloader.loaded .animation-preloader          { opacity:0;                    transition: 0.4s 0.8s ease; }

/* ── Cursor ─────────────────────────────────────────────── */
.cursor1, .cursor2 {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 99998;
  transition: transform 0.1s;
}
.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%); }

/* ── Progress wrap (scroll to top) ─────────────────────── */
.progress-wrap {
  position: fixed; right: 25px; bottom: 25px;
  width: 44px; height: 44px;
  z-index: 9999; cursor: pointer;
  background: var(--black); border-radius: 50%;
  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 { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.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; transition: right .3s;
}
.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: -5px 0 30px rgba(0,0,0,.15);
  padding: 30px 20px; border-radius: 6px 0 0 6px;
  transition: right .3s ease;
}
.dark .switcher__items { background: #1b1b1b; }
.switcher__item { margin-bottom: 20px; }
.switcher__title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; color: var(--primary); }
.dark .switcher__title { color: var(--white); }
.switcher__btn { display: flex; gap: 8px; }
.switcher__btn.wc-col-2 button {
  flex: 1; padding: 7px; border: 1px solid var(--border); border-radius: 4px;
  background: none; cursor: pointer; font-size: 13px; 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); }
.switcher__btn select { width: 100%; padding: 7px; border: 1px solid var(--border); border-radius: 4px; background: none; font-size: 13px; 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 .4s, visibility .4s;
}
.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;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.645,.045,.355,1);
  overflow-y: auto;
}
.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;
}
.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: 40px; }
.offcanvas-3__meta ul li { margin-bottom: 12px; }
.offcanvas-3__meta ul li a { color: var(--white); font-size: 16px; }
.offcanvas-3__social .title { color: var(--white-2); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.offcanvas-3__social-links { display: flex; gap: 14px; }
.offcanvas-3__social-links a { color: var(--white); font-size: 18px; transition: color .2s; }
.offcanvas-3__social-links a:hover { color: var(--green-ad); }
.offcanvas-3__menu ul li { border-top: 1px solid rgba(255,255,255,.08); }
.offcanvas-3__menu ul li a {
  display: block; padding: 14px 0;
  color: var(--white); font-family: var(--font_teko);
  font-size: 28px; text-transform: uppercase; letter-spacing: 1px;
  transition: color .2s, padding-left .2s;
}
.offcanvas-3__menu ul li a:hover { color: var(--green-ad); padding-left: 10px; }

/* ── Header ──────────────────────────────────────────────── */
.header-area {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 990; padding: 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header-area.sticky {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 0;
}
.dark .header-area.sticky { background: rgba(18,18,18,.97); }

.header-area .container.large { max-width: 1560px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 1199px) { .header-area .container.large { padding: 0 24px; } }

.header-area__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; gap: 20px;
}
@media (max-width: 991px) { .header-area__inner { height: 70px; } }

/* LOGO — tamaño controlado */
.header__logo { flex-shrink: 0; }
.header__logo .show-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
@media (max-width: 991px) { .header__logo .show-logo { height: 40px; } }

/* Nav */
.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; }
@media (max-width: 1399px) { .main-menu ul { gap: 24px; } }

.main-menu ul li a {
  font-family: var(--font_teko);
  font-size: 20px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--primary);
  position: relative; padding-bottom: 4px;
  transition: color .25s;
}
.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: var(--green-ad);
  transition: width .3s ease;
}
.main-menu ul li a:hover { color: var(--green-ad); }
.main-menu ul li a:hover::after { width: 100%; }

/* CTA Button */
.header__button .wc-btn-primary {
  display: inline-flex; align-items: center;
  padding: 10px 26px;
  background: var(--black); color: var(--white);
  font-family: var(--font_teko);
  font-size: 18px; text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px; overflow: hidden; position: relative;
  transition: background .3s;
}
.header__button .wc-btn-primary:hover { background: var(--green-ad); color: var(--black); }

.header-search { cursor: pointer; }
.header-search img { width: 22px; }
.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); }

/* smooth wrapper */
#smooth-wrapper { overflow: hidden; }
#smooth-content { will-change: transform; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--container-max-widths);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.container.large { max-width: 1560px; }
@media (max-width: 1399px) { :root { --container-max-widths: 1200px; } }
@media (max-width: 1199px) { :root { --container-max-widths: 960px;  } }
@media (max-width: 991px)  { :root { --container-max-widths: 720px;  } }
@media (max-width: 767px)  { :root { --container-max-widths: 540px;  } }
@media (max-width: 575px)  { :root { --container-max-widths: 100%;   } }

/* ── Section spacing ─────────────────────────────────────── */
.section-spacing     { padding: 130px 0; }
.section-spacing-top { padding-top: 130px; }
@media (max-width: 1199px) { .section-spacing { padding: 100px 0; } .section-spacing-top { padding-top: 100px; } }
@media (max-width: 991px)  { .section-spacing { padding: 80px 0;  } .section-spacing-top { padding-top: 80px; } }
@media (max-width: 767px)  { .section-spacing { padding: 60px 0;  } .section-spacing-top { padding-top: 60px; } }

/* ── Section subtitle / title ───────────────────────────── */
.section-subtitle {
  font-family: var(--font_dm);
  font-size: 14px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--black-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.dark .section-subtitle { color: var(--white-2); }
.subtitle-wrapper { margin-bottom: -32px; }
@media (max-width: 767px) { .subtitle-wrapper { margin-bottom: 16px; } }

.section-title {
  font-family: var(--font_teko);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--primary);
}
.dark .section-title { color: var(--white); }
.section-title span { color: var(--green-ad); }

/* ── Body wrapper ────────────────────────────────────────── */
.body-wrapper { padding-top: 90px; }
@media (max-width: 991px) { .body-wrapper { padding-top: 70px; } }

/* ── overflow helper ─────────────────────────────────────── */
.overflow-hidden { overflow: hidden; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT AREA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-area { padding-top: 60px; }

.about-area .image-wrapper { border-radius: 0; }
.about-area .image-wrapper img {
  width: 100%; height: 500px;
  object-fit: cover;
}
@media (max-width: 991px) { .about-area .image-wrapper img { height: 320px; } }
@media (max-width: 575px) { .about-area .image-wrapper img { height: 220px; } }

.about-area-inner { position: relative; }
.about-area-inner .shape-1 {
  position: absolute; top: 254px; right: 0; z-index: 0;
  pointer-events: none;
}
@media (max-width: 991px) { .about-area-inner .shape-1 { display: none; } }

/* About content */
.about-area .section-content { padding-top: 60px; }
.about-area .section-title { max-width: 800px; }

.about-area .section-content .content-bottom {
  display: flex; gap: 80px;
  margin-top: 60px; align-items: flex-start;
}
@media (max-width: 991px) { .about-area .section-content .content-bottom { gap: 40px; margin-top: 40px; } }
@media (max-width: 767px) { .about-area .section-content .content-bottom { flex-direction: column; gap: 30px; } }

.about-area .clients-wrapper { flex-shrink: 0; }
.about-area .clients-wrapper .thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.about-area .clients-wrapper .info {
  display: flex; gap: 10px;
  margin-top: 14px; align-items: flex-start;
}
.about-area .clients-wrapper .number {
  font-family: var(--font_teko);
  font-size: 20px; font-weight: 600;
  writing-mode: vertical-lr; transform: rotate(180deg);
  letter-spacing: .12em; text-transform: uppercase;
}
.about-area .clients-wrapper .text {
  font-size: 15px; line-height: 1.4; max-width: 110px;
}

.about-area .info-wrapper {
  flex: 1;
  padding-left: 60px;
  border-left: 1px solid var(--border);
}
@media (max-width: 767px) { .about-area .info-wrapper { padding-left: 0; border-left: none; } }
.dark .about-area .info-wrapper { border-color: #252525; }
.about-area .info-wrapper .text { max-width: 480px; line-height: 1.7; font-size: 16px; }
.about-area .info-wrapper .btn-wrapper { margin-top: 40px; }

/* Gallery grid */
.about-gallery-wrapper {
  display: grid; gap: 20px;
  margin-top: 40px;
}
.about-gallery-wrapper .row-first {
  display: grid; justify-content: flex-end;
  grid-template-columns: 380px;
}
@media (max-width: 1199px) { .about-gallery-wrapper .row-first { grid-template-columns: 280px; } }
@media (max-width: 767px)  { .about-gallery-wrapper .row-first { grid-template-columns: 1fr; } }

.about-gallery-wrapper .row-second {
  display: grid; gap: 20px;
  grid-template-columns: 1fr 380px;
}
@media (max-width: 1199px) { .about-gallery-wrapper .row-second { grid-template-columns: 1fr 280px; } }
@media (max-width: 767px)  { .about-gallery-wrapper .row-second { grid-template-columns: 1fr; } }

.about-gallery-wrapper .thumb { border-radius: 6px; overflow: hidden; height: 280px; }
.about-gallery-wrapper .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.about-gallery-wrapper .thumb:hover img { transform: scale(1.04); }
@media (max-width: 767px) { .about-gallery-wrapper .thumb { height: 200px; } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROCESS (MISIÓN / VISIÓN / VALORES)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.process-area { background: #f9f9f9; }
.dark .process-area { background: #111; }

.process-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 60px;
}
@media (max-width: 1199px) { .process-wrapper { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 991px)  { .process-wrapper { grid-template-columns: repeat(2,1fr); gap: 40px 30px; } }
@media (max-width: 575px)  { .process-wrapper { grid-template-columns: 1fr; } }

.process-box {
  padding: 32px 24px 32px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.process-box::before {
  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;
}
.process-box:hover { box-shadow: 0 12px 40px rgba(0,0,0,.10); transform: translateY(-4px); }
.process-box:hover::before { width: 100%; }
.dark .process-box { background: #1a1a1a; border-color: #2a2a2a; }

.process-box .thumb { margin-bottom: 24px; }
.process-box .thumb img { height: 64px; width: auto; }

.process-box .title {
  font-family: var(--font_teko);
  font-size: 26px; font-weight: 600;
  text-transform: uppercase; line-height: 1.2;
  color: var(--primary);
}
.dark .process-box .title { color: var(--white); }
.process-box .text { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--secondary); }
.dark .process-box .text { color: var(--white-2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CLIENTS (BRAND SLIDER)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.clients-area { background: var(--black); }
.dark .clients-area { background: #1b1b1b; }

.clients-area-inner {
  padding: 50px 0;
  position: relative; overflow: hidden;
}
.clients-area-inner .shape-1 { display: none; }

.client-slider-active .swiper-slide { width: auto; }
.client-slider .swiper-wrapper { transition-timing-function: linear !important; }

.client-box img { opacity: .45; filter: brightness(10); transition: opacity .3s; }
.client-box img:hover { opacity: .8; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COUNTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.counter-area { padding: 80px 0; }

.counter-items {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; align-items: center;
}
@media (max-width: 991px) { .counter-items { grid-template-columns: repeat(2,1fr); gap: 30px; } }
@media (max-width: 575px) { .counter-items { grid-template-columns: 1fr 1fr; gap: 20px; } }

.counter-item { text-align: center; }
.counter-item-content { display: inline-block; }

.counter-item .title {
  font-family: var(--font_teko);
  font-size: clamp(48px, 6vw, 90px);
  font-weight: 700; line-height: 1;
  color: var(--primary);
  background: linear-gradient(135deg, var(--green-ad), var(--cyan-ad));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-item .text {
  font-size: 15px; line-height: 1.5;
  color: var(--secondary); margin-top: 8px;
}
.counter-item .text span {
  font-family: var(--font_teko);
  font-size: 24px; font-weight: 600;
  color: var(--green-ad); vertical-align: middle;
  -webkit-text-fill-color: initial;
}
.dark .counter-item .text { color: var(--white-2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AWARDS (VALORES DETALLE)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.awards-area {
  background: var(--black);
  position: relative; overflow: hidden;
}
.awards-area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 100px 40px;
}
@media (max-width: 991px) {
  .awards-area-inner { grid-template-columns: 1fr; padding: 80px 20px; }
}
@media (max-width: 767px) { .awards-area-inner { padding: 60px 0; } }

.awards-area .area-bg {
  position: absolute; inset: 0; z-index: 0;
}
.awards-area .area-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .08;
}
.awards-area .section-header,
.awards-area .section-content { position: relative; z-index: 1; }

.awards-area .section-subtitle { color: var(--green-ad); }
.awards-area .section-title { color: var(--white); }
.awards-area .section-title span { color: var(--green-ad); }

.awards-area .section-content .text {
  color: rgba(255,255,255,.75); font-size: 16px;
  line-height: 1.8; max-width: 480px;
  margin-bottom: 40px;
}

.awards-list ul { display: flex; flex-wrap: wrap; gap: 16px; }
.awards-list ul li { width: 100px; }
.awards-list ul li img { width: 100%; object-fit: contain; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testimonial-area { padding: 100px 0; }
@media (max-width: 767px) { .testimonial-area { padding: 60px 0; } }

.testimonial-wrapper-box { max-width: 900px; margin: 0 auto; }

.testimonial-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s;
}
.testimonial-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green-ad), var(--cyan-ad));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.testimonial-item:hover::after { transform: scaleX(1); }
.dark .testimonial-item { background: #1a1a1a; border-color: #2a2a2a; }
@media (max-width: 767px) { .testimonial-item { padding: 30px 24px; } }

.testimonial-item .quote-icon { width: 40px; margin-bottom: 22px; opacity: .6; }

.testimonial-item .text {
  font-size: 17px; line-height: 1.75;
  color: var(--secondary); margin-bottom: 32px;
  font-style: italic;
}
.dark .testimonial-item .text { color: var(--white-2); }

.testimonial-item .author {
  display: flex; align-items: center; gap: 16px;
}
.testimonial-item .author .avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.testimonial-item .author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-item .author .name {
  font-family: var(--font_teko); font-size: 22px;
  font-weight: 600; text-transform: uppercase; line-height: 1.1;
}
.dark .testimonial-item .author .name { color: var(--white); }
.testimonial-item .author .post { font-size: 14px; color: var(--secondary); }
.dark .testimonial-item .author .post { color: var(--white-2); }

.testimonial-pagination { margin-top: 30px; text-align: center; }
.testimonial-pagination .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: var(--border); opacity: 1;
  transition: background .2s, transform .2s;
}
.testimonial-pagination .swiper-pagination-bullet-active {
  background: var(--green-ad); transform: scale(1.3);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTA AREA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.cta-area {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a2a0a 100%);
  position: relative; overflow: hidden;
}
.cta-area::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,217,0,.15) 0%, transparent 70%);
  pointer-events: none;
}

.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); }
.cta-area .section-title { color: var(--white); }

.cta-area .btn-wrapper .wc-btn-underline {
  font-family: var(--font_teko);
  font-size: clamp(22px, 2vw, 34px);
  color: var(--white); letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 6px;
  position: relative; display: inline-block;
}
.cta-area .btn-wrapper .wc-btn-underline::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--green-ad);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s ease;
}
.cta-area .btn-wrapper .wc-btn-underline:hover { color: var(--green-ad); }
.cta-area .btn-wrapper .wc-btn-underline:hover::before { transform: scaleX(1); transform-origin: left; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer-area { background: var(--black); }
.dark .footer-area { background: #0d0d0d; }

.footer-area .copyright-area-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px 40px; padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
@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); }
.footer-area .copyright-text .text a:hover { color: var(--green-ad); }

.footer-area .footer-nav-list { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.footer-area .footer-nav-list li a {
  font-family: var(--font_teko); font-size: 18px;
  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: 16px; }
.footer-area .social-links li a { font-size: 16px; color: var(--white); transition: color .2s; }
.footer-area .social-links li a:hover { color: var(--green-ad); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.wc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative; overflow: hidden;
  transition: color .3s, background .3s;
}

/* Circle button */
.wc-btn-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--black); color: var(--white);
  font-family: var(--font_teko); font-size: 18px;
  font-weight: 500; text-transform: uppercase;
  text-align: center; line-height: 1.3;
  border: 2px solid var(--black);
}
.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); }

/* Underline button */
.wc-btn-underline {
  font-family: var(--font_teko); font-size: 20px;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--primary); padding-bottom: 4px;
  border-bottom: 2px solid currentColor;
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .25s;
}
.dark .wc-btn-underline { color: var(--white); }
.wc-btn-underline:hover { color: var(--green-ad); }
.wc-btn-underline img { width: 18px; }

/* btn-text-flip */
.btn-text-flip { overflow: hidden; }
.btn-text-flip span {
  display: block; position: relative;
  transition: transform .4s cubic-bezier(0.77,0,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%); }

/* btn-hover-bgchange */
.btn-hover-bgchange { position: relative; overflow: hidden; }
.btn-hover-bgchange span {
  position: absolute; display: block;
  width: 0; height: 0; border-radius: 50%;
  background: var(--green-ad);
  transform: translate(-50%,-50%);
  transition: width .6s ease, height .6s ease;
  z-index: 0;
}
.btn-hover-bgchange:hover span { width: 300px; height: 300px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ANIMACIONES CSS (respaldo cuando GSAP no carga)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Fade up */
[data-anim="fade-up"] {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-anim="fade-up"].in-view {
  opacity: 1; transform: translateY(0);
}

/* Fade from left */
[data-anim="fade-left"] {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-anim="fade-left"].in-view { opacity: 1; transform: translateX(0); }

/* Fade from right */
[data-anim="fade-right"] {
  opacity: 0; transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-anim="fade-right"].in-view { opacity: 1; transform: translateX(0); }

/* Scale in */
[data-anim="scale-in"] {
  opacity: 0; transform: scale(.92);
  transition: opacity .6s ease, transform .6s ease;
}
[data-anim="scale-in"].in-view { opacity: 1; transform: scale(1); }

/* Stagger delays */
[data-delay="1"] { transition-delay: .1s !important; }
[data-delay="2"] { transition-delay: .2s !important; }
[data-delay="3"] { transition-delay: .3s !important; }
[data-delay="4"] { transition-delay: .4s !important; }
[data-delay="5"] { transition-delay: .5s !important; }
[data-delay="6"] { transition-delay: .6s !important; }

/* GSAP compatible: has_fade_anim starts visible after GSAP sets it */
.has_fade_anim { will-change: transform, opacity; }

/* ── Text reveal line ────────────────────────────────────── */
.has_text_move_anim {
  overflow: hidden;
}

/* ── Image parallax placeholder ─────────────────────────── */
[data-speed] { will-change: transform; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NEON GLOW UTILITIES (brand touch)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.glow-green {
  text-shadow: 0 0 20px rgba(168,217,0,.5), 0 0 40px rgba(168,217,0,.25);
}
.border-glow {
  box-shadow: 0 0 0 1px rgba(168,217,0,.3), 0 8px 32px rgba(168,217,0,.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RTL SUPPORT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.dir-rtl .about-area .info-wrapper { padding-left: 0; border-left: none; padding-right: 60px; border-right: 1px solid var(--border); }
.dir-rtl .main-menu ul { flex-direction: row-reverse; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE TWEAKS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 575px) {
  .awards-area-inner { padding: 50px 0; }
  .awards-list ul { justify-content: center; }
  .footer-area .copyright-area-inner { gap: 12px; }
  .cta-area .section-header { flex-direction: column; }
  .wc-btn-circle { width: 100px; height: 100px; font-size: 15px; }
}

/* ── Dark mode global tweaks ─────────────────────────────── */
.dark .process-area { background: #111; }
.dark .testimonial-area { background: #0f0f0f; }
.dark .counter-area { background: #0f0f0f; }
.dark .about-area { background: #0f0f0f; }