/* ====================================================================
   PREMIUM DESIGN — AbogalexGT
   ==================================================================== */

:root {
  --gold-light: #D5AA6D;
  --gold-dark:  #9e7247;
  --dark-bg:    #111111;
  --dark-card:  #1a1a1a;
  --cream:      #FAFAF8;
}

/* ────────── SCROLL TO TOP ────────── */

.scroll-to-top {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)) !important;
  border-radius: 3px !important;
  width: 46px !important;
  height: 46px !important;
  line-height: 46px !important;
  font-size: 17px !important;
  box-shadow: 0 4px 15px rgba(213,170,109,0.45) !important;
  transition: all 0.3s ease !important;
}

.scroll-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 22px rgba(213,170,109,0.55) !important;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light)) !important;
}

/* ────────── NAV TOGGLER SIDEBAR BUTTON ────────── */

.main-header .header-upper .outer-box .nav-toggler {
  width: 52px !important;
  height: 52px !important;
  line-height: 52px !important;
  margin-left: 12px !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 1.5px solid rgba(213,170,109,0.55) !important;
  border-radius: 2px !important;
  font-size: 18px !important;
  color: var(--gold-light) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.main-header .header-upper .outer-box .nav-toggler:hover {
  background-image: none !important;
  background-color: rgba(213,170,109,0.15) !important;
  border-color: var(--gold-light) !important;
}

/* ────────── HEADER CTA ────────── */

.header-cta-btn {
  display: inline-block;
  padding: 9px 22px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--gold-light);
  border-radius: 2px;
  margin-left: 28px;
  line-height: 26px;
  vertical-align: middle;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.header-cta-btn:hover,
.header-cta-btn:focus {
  background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
  border-color: var(--gold-light);
  color: #ffffff !important;
  text-decoration: none;
}

/* ────────── BANNER / HERO ────────── */

.banner-overlay {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 100%);
  z-index: 0;
  pointer-events: none;
}

.banner-section .slide {
  position: relative;
  background-position: center center;
}

.banner-section .slide .container {
  position: relative;
  z-index: 1;
}

.banner-premium-content {
  padding-top: 20px;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  border-left: 3px solid var(--gold-light);
  padding-left: 12px;
}

.banner-section .content h1 {
  font-size: 54px !important;
  font-weight: 700 !important;
  line-height: 1.15em !important;
  margin-bottom: 18px !important;
  margin-top: 0 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.banner-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75em;
  margin-bottom: 38px;
  max-width: 500px;
  font-family: 'Muli', sans-serif;
}

.banner-cta {
  padding: 16px 42px !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  border-radius: 2px !important;
  box-shadow: 0 6px 20px rgba(213,170,109,0.35) !important;
}

.banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(213,170,109,0.50) !important;
}

/* Dots navigation */

.banner-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.30);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
  outline: none;
}

.banner-dot.active {
  background: var(--gold-light);
  width: 26px;
  border-radius: 5px;
}

.banner-dot:hover:not(.active) {
  background: rgba(255,255,255,0.60);
}

/* Slim arrows — hide original owl circles */
.banner-section .owl-prev,
.banner-section .owl-next {
  display: none !important;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
  font-size: 15px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border-radius: 2px;
  outline: none;
}

.banner-arrow:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.banner-arrow-prev { left: 22px; }
.banner-arrow-next { right: 22px; }

/* ────────── QUIÉNES SOMOS — PILARES ────────── */

.counter-section {
  background: var(--cream) !important;
}

.quienes-valores {
  display: flex;
  margin-top: 55px;
  border-top: 1px solid #ede9e3;
  padding-top: 52px;
  gap: 0;
}

.valor-item {
  flex: 1;
  text-align: center;
  padding: 0 28px;
  border-right: 1px solid #ede9e3;
}

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

.valor-icon {
  font-size: 38px;
  display: block;
  margin-bottom: 16px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.valor-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #191514;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.valor-desc {
  font-size: 14px;
  color: #888888;
  line-height: 1.75em;
  font-family: 'Muli', sans-serif;
}

/* ────────── MISIÓN / VISIÓN ────────── */

.mision-vision-section {
  position: relative;
  padding: 0 0 90px;
  background: var(--cream);
}

.mv-card {
  position: relative;
  background: var(--dark-bg);
  padding: 44px 42px;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold-light);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mv-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(to left, var(--gold-light), var(--gold-dark));
  transition: width 0.5s ease;
}

.mv-card:hover::after {
  width: 100%;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.30);
}

.mv-icon {
  font-size: 46px;
  display: block;
  margin-bottom: 22px;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.mv-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
}

.mv-text {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  line-height: 1.85em;
  font-family: 'Muli', sans-serif;
  margin: 0;
}

/* ────────── STATS STRIP ────────── */

.stats-strip {
  position: relative;
  background: var(--dark-bg);
  padding: 62px 0;
  border-top: 3px solid var(--gold-light);
  border-bottom: 1px solid rgba(213,170,109,0.18);
}

.stats-item {
  text-align: center;
  padding: 20px 15px;
  position: relative;
}

.stats-item + .stats-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: rgba(213,170,109,0.22);
}

.stats-number {
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stats-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  font-family: 'Poppins', sans-serif;
  display: block;
}

/* ────────── SERVICIOS — REFINAMIENTO ────────── */

.services-block-two .inner-box {
  border: 1px solid rgba(213,170,109,0.18) !important;
  transition: all 0.35s ease !important;
}

.services-block-two .inner-box:hover {
  border-color: rgba(213,170,109,0.50) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.45) !important;
}

/* Overlay: cambiar verde por dorado oscuro */
.services-block-two .inner-box .overlay-box {
  background-image: none !important;
  background: linear-gradient(to bottom, #1c1100, #0d0d0d) !important;
  border: 1px solid rgba(213,170,109,0.40) !important;
}

/* ────────── SECCIÓN TITLE — REFINAMIENTO ────────── */

.section-title .title {
  color: var(--gold-light);
  letter-spacing: 4px;
}

.section-title h3:after {
  background: linear-gradient(to right, var(--gold-light), var(--gold-dark));
  width: 50px;
  height: 2px;
}

/* ────────── FOOTER ────────── */

.main-footer {
  background-color: #0f0f0f !important;
}

.main-footer .footer-bottom {
  background-color: #090909 !important;
  border-top: 1px solid rgba(213,170,109,0.18) !important;
}

/* ────────── RESPONSIVE ────────── */

@media (max-width: 768px) {
  .banner-section .content h1 {
    font-size: 36px !important;
  }
  .banner-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .banner-cta {
    padding: 13px 28px !important;
  }
  .quienes-valores {
    flex-direction: column;
    gap: 32px;
  }
  .valor-item {
    border-right: none;
    border-bottom: 1px solid #ede9e3;
    padding-bottom: 32px;
  }
  .valor-item:last-child {
    border-bottom: none;
  }
  .stats-number {
    font-size: 38px;
  }
  .header-cta-btn {
    display: none;
  }
  .mv-card {
    padding: 32px 28px;
  }
}

@media (max-width: 480px) {
  .banner-section .content h1 {
    font-size: 28px !important;
  }
  .stats-item + .stats-item::before {
    display: none;
  }
}
