/*----------------------------------------*/
/* USB Solutions - Design tokens
/*----------------------------------------*/
:root {
  --usb-primary: #174674;
  --usb-secondary: #05679c;
  --usb-white: #ffffff;
  --usb-text-dark: #0d2137;
  --usb-text-muted: #5a6b7c;
  --usb-bg-light: #f0f4f8;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(23, 70, 116, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 70, 116, 0.12);
  --shadow-lg: 0 16px 48px rgba(23, 70, 116, 0.16);
  --shadow-glow: 0 0 40px rgba(5, 103, 156, 0.2);
  --blur-glass: blur(12px);
  --transition: 0.25s ease;
  --animate-duration: 1.2s;
  --animate-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*----------------------------------------*/
/* Animaciones
/*----------------------------------------*/
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUpShort {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulseSoft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.02); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Elementos que se animan al entrar en viewport */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 1.2s var(--animate-ease), transform 1.2s var(--animate-ease);
}
.animate-on-scroll.animated {
  opacity: 1;
}
.animate-on-scroll.animate-fade-in.animated {
  animation: fadeIn var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-fade-up {
  transform: translateY(28px);
}
.animate-on-scroll.animate-fade-up.animated {
  animation: fadeInUp var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-fade-down {
  transform: translateY(-20px);
}
.animate-on-scroll.animate-fade-down.animated {
  animation: fadeInDown var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-fade-left {
  transform: translateX(-24px);
}
.animate-on-scroll.animate-fade-left.animated {
  animation: fadeInLeft var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-fade-right {
  transform: translateX(24px);
}
.animate-on-scroll.animate-fade-right.animated {
  animation: fadeInRight var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-scale-in {
  transform: scale(0.92);
}
.animate-on-scroll.animate-scale-in.animated {
  animation: scaleIn var(--animate-duration) var(--animate-ease) forwards;
}
.animate-on-scroll.animate-slide-up {
  transform: translateY(16px);
}
.animate-on-scroll.animate-slide-up.animated {
  animation: slideUpShort var(--animate-duration) var(--animate-ease) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-on-scroll.animated,
  .animate-on-load {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Delays para efecto escalonado */
.animate-delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; transition-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; transition-delay: 0.6s; }

/* Animaciones al cargar (sin scroll) - para hero y primer bloque */
.animate-on-load {
  animation-duration: var(--animate-duration);
  animation-timing-function: var(--animate-ease);
  animation-fill-mode: both;
}
.animate-on-load.hero-title {
  animation: fadeInUp 0.8s var(--animate-ease) forwards;
}
.animate-on-load.hero-sub {
  animation: fadeInUp 0.8s var(--animate-ease) 0.2s forwards;
  opacity: 0;
}

/* Hover suave en cards y botones (reforzado) */
.usb-card:hover,
.feature-box:hover,
.contact-info-box:hover {
  transition: transform 0.3s var(--animate-ease), box-shadow 0.3s var(--animate-ease);
}

/*----------------------------------------*/
/* Default CSS
/*----------------------------------------*/

html,
body {
  height: 100%;
  font-family: "Sarabun", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--usb-primary);
  font-weight: 600;
}

h1 {
  font-size: clamp(1.75rem, 5vw + 1rem, 60px);
}

h2 {
  font-size: clamp(1.35rem, 3vw + 0.5rem, 36px);
}

h3 {
  font-size: clamp(1.1rem, 2vw + 0.5rem, 24px);
}

h4 {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 22px);
}

h5 {
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 18px);
}

h6 {
  font-size: 16px;
}

p {
  font-size: 18px;
  color: var(--usb-text-muted);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
  outline: none;
}

a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
}

/*--------------------
Customs
---------------------*/

.navbar-light .navbar-nav .nav-link {
  color: var(--usb-primary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 8px 14px !important;
  transition: background var(--transition), color var(--transition);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--usb-white) !important;
  background: var(--usb-secondary);
}
.navbar-usb {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-sm);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.display-5 {
  font-size: clamp(1.25rem, 3.5vw + 0.5rem, 2.5rem);
  font-weight: 300;
  padding-top: 3vh;
  padding-bottom: 3vh;
}

.display-6 {
  font-size: clamp(0.95rem, 2vw + 0.5rem, 1.8rem);
  font-weight: 400;
  padding-top: 1vh;
  padding-bottom: 1vh;
  color: rgba(255, 255, 255, 0.95);
}


/*---------------------
Helper CSS
 -----------------------*/

.section-title h2 {
  font-size: clamp(1.35rem, 3vw + 0.5rem, 36px);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 80px;
  padding-left: 25px;
}

.section-title h2:before {
  position: absolute;
  content: "";
  width: 7px;
  height: 25px;
  left: 0;
  top: 11px;
  background: var(--usb-secondary);
  border-radius: var(--radius-full);
  line-height: 1;
}

.section-title.st-light h2 {
  color: #fff;
}

.section-title.st-light h2:before {
  background: var(--usb-primary);
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  
}

.spad {
  padding-top: 70px;
  padding-bottom: 70px;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
  color: #fff;
}

/*---------------------
Commom elements
 -----------------------*/

/* buttons */

.site-btn {
  display: inline-block;
  border: 2px solid var(--usb-secondary);
  font-size: 14px;
  font-weight: 600;
  min-width: 131px;
  padding: 14px 25px;
  text-transform: uppercase;
  background: transparent;
  color: var(--usb-secondary);
  line-height: normal;
  cursor: pointer;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.site-btn:hover {
  color: var(--usb-white);
  background: var(--usb-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.site-btn.sb-big {
  font-size: 18px;
  padding: 19px 35px;
}

.site-btn.sb-light {
  border: 2px solid var(--usb-white);
  color: var(--usb-white);
}

.site-btn.sb-light:hover {
  color: var(--usb-primary);
  background: var(--usb-white);
}

.site-btn.sb-solid {
  background: var(--usb-secondary);
  color: var(--usb-white);
  border-color: var(--usb-secondary);
}

.site-btn.sb-solid:hover {
  background: var(--usb-primary);
  border-color: var(--usb-primary);
  color: var(--usb-white);
}

.site-btn.sb-fade {
  background: var(--usb-bg-light);
  color: var(--usb-primary);
  border: 2px solid transparent;
}

.site-btn.sb-fade:hover {
  background: var(--usb-secondary);
  color: var(--usb-white);
}

/* Preloder */

#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #000;
}

.loader {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -13px;
  margin-left: -13px;
  border-radius: 60px;
  animation: loader 0.8s linear infinite;
  -webkit-animation: loader 0.8s linear infinite;
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
  50% {
    -webkit-transform: rotate(180deg);
    border: 4px solid #673ab7;
    border-left-color: transparent;
  }
  100% {
    -webkit-transform: rotate(360deg);
    border: 4px solid #f44336;
    border-left-color: transparent;
  }
}

/* overlay at start */

.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* content animate it */

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

/*------------------
Slogan & Jumbotron
 ---------------------*/
/* Slogan / Propuesta de valor - reestructurado */
.slogan-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, rgba(23,70,116,0.04) 0%, transparent 50%);
}
.slogan-section .slogan-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.slogan-section .slogan-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--usb-primary);
  font-weight: 700;
  line-height: 1.35;
}
.slogan-section .slogan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}
.slogan-section .slogan-card {
  background: var(--usb-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(23,70,116,0.06);
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}
.slogan-section .slogan-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.slogan-section .slogan-card .slogan-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--usb-primary), var(--usb-secondary));
  color: var(--usb-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.slogan-section .slogan-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.slogan-section .slogan-card p {
  font-size: 0.9rem;
  color: var(--usb-text-muted);
  margin: 0;
  line-height: 1.5;
}
.slogan-section .slogan-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.slogan-section .slogan-cta .site-btn {
  border-radius: var(--radius-md);
  padding: 0.85rem 2rem;
}

/*------------------
Cards utilitarias (usb-card)
 ---------------------*/
.usb-card {
  background: var(--usb-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: all var(--transition);
  border: 1px solid rgba(23, 70, 116, 0.06);
}
.usb-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.usb-card-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.5);
}

/*------------------
Partners section
 ---------------------*/
/* Partners / Proveedor oficial - cards reestructuradas */
.partners-section {
  padding: 4rem 1.5rem;
  background: var(--usb-bg-light);
}
.partners-section .partners-inner {
  max-width: 960px;
  margin: 0 auto;
}
.partners-section .section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.partners-section .section-head h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  color: var(--usb-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.partners-section .section-head p {
  font-size: 1rem;
  color: var(--usb-text-muted);
  margin: 0;
}
.partners-section .partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  padding: 0 0.5rem;
}
@media (max-width: 767px) {
  .partners-section .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0;
  }
}
.partners-section .partner-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  background: var(--usb-white);
  border: 1px solid rgba(23,70,116,0.08);
}
.partners-section .partner-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.partners-section .partner-card.partner-card-accent {
  background: linear-gradient(135deg, var(--usb-primary) 0%, var(--usb-secondary) 100%);
  border: none;
}
.partners-section .partner-card.partner-card-accent .partner-body h3,
.partners-section .partner-card.partner-card-accent .partner-body p {
  color: var(--usb-white);
}
.partners-section .partner-card.partner-card-accent .partner-body p {
  opacity: 0.92;
}
.partners-section .partner-card .partner-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  display: block;
}
.partners-section .partner-card .partner-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
}
.partners-section .partner-card .partner-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.partners-section .partner-card .partner-body p {
  font-size: 0.95rem;
  color: var(--usb-text-muted);
  margin: 0;
  line-height: 1.55;
}
.partners-section .partner-card .partner-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--usb-secondary);
  margin-bottom: 0.5rem;
}
.partners-section .partner-card-accent .partner-badge {
  color: rgba(255,255,255,0.9);
}

/*------------------
Milestone section
 ---------------------*/
.milestone-section {
  background: var(--usb-bg-light);
  padding: 4rem 1.5rem;
  border-radius: var(--radius-xl);
  margin: 2rem 0;
}
.milestone-section .milestone-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.milestone-section .milestone-warp .milestone {
  padding: 1.5rem 1rem;
  background: var(--usb-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: all var(--transition);
}
.milestone-section .milestone-warp .milestone:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.milestone-section .milestone-warp .milestone h2 {
  font-size: 3.5rem;
  color: var(--usb-secondary);
  font-weight: 300;
  margin-bottom: 10px;
  min-height: 1.2em;
}
.milestone-section .milestone-warp .milestone h4 {
  font-size: 1rem;
  font-weight: 700;
}

 



/*------------------
Header section
 ---------------------*/

.header-section {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  padding: 25px 35px 0;
  z-index: 99;
}

.site-logo {
  float: left;
  margin-right: 50px;
}

.main-menu {
  list-style: none;
}

.main-menu li {
  display: inline-block;
}

.main-menu li a {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-right: 15px;
  padding: 5px 5px;
}

.main-menu li::last-child a {
  margin-right: 0;
}

.nav-switch {
  display: none;
}

/* ----------------
Hero section
 ---------------------*/

.hero-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 84px 1.5rem 0; /* offset fixed navbar (70px) + breathing */
}

.hero-section .hero-slider {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--usb-text-dark);
}

.hero-social-warp {
  position: absolute;
  height: 100%;
  right: 60px;
  top: 0;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hero-social a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-full);
  margin-bottom: 15px;
  color: var(--usb-white);
  font-size: 22px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.hero-social a:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--usb-white);
  transform: scale(1.05);
}

.hs-item {
  height: clamp(520px, 68vh, 640px);
  min-height: 520px;
  padding: 2.5rem 0 4.5rem; /* bottom padding reserves space for docked nav */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Photographic filter: navy wash + vignette for legibility, no flat solid behind text */
.hs-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(102deg, rgba(13,33,55,0.78) 0%, rgba(13,33,55,0.62) 38%, rgba(13,33,55,0.22) 74%, rgba(13,33,55,0.04) 100%),
    radial-gradient(120% 90% at 72% 42%, transparent 42%, rgba(13,33,55,0.28) 100%);
  pointer-events: none;
}

/* Signature: thin architectural inset frame — the one risk/detail that makes it non-template */
.hs-item::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: calc(var(--radius-xl) - 10px);
  z-index: 1;
  pointer-events: none;
}

.hs-item .container {
  position: relative;
  z-index: 2;
}

.hs-item h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--usb-white);
  top: 50px;
  opacity: 0;
  position: relative;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--usb-secondary);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(13,33,55,0.45);
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
}

.hs-item .display-5 {
  font-weight: 700;
}

.hs-item .display-6 {
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(13,33,55,0.38);
  padding-left: 1.1rem;
}

.hero-slider .owl-item.active .hs-item h2 {
  top: 0;
  opacity: 1;
  -webkit-transition: all 0.5s ease 0.2s;
  transition: all 0.5s ease 0.2s;
}

.hero-slider .owl-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  z-index: 7;
  text-align: right;
}

.hero-slider .owl-nav button.owl-next,
.hero-slider .owl-nav button.owl-prev {
  width: 84px;
  height: 84px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--usb-primary);
  color: var(--usb-white);
  font-size: 40px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.hero-slider .owl-nav button.owl-prev { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.hero-slider .owl-nav button.owl-next { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.hero-slider .owl-nav button.owl-next {
  background: var(--usb-white);
  color: var(--usb-primary);
}
.hero-slider .owl-nav button.owl-next:hover,
.hero-slider .owl-nav button.owl-prev:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.hero-nav-slider-warp {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 960px;
  z-index: 3;
}

.hero-nav-slider {
  background: var(--usb-white);
  border: 1px solid rgba(23,70,116,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-nav-slider .hns-item {
  padding: 18px 20px 18px 22px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  border-right: 1px solid rgba(23,70,116,0.07);
}

.hero-nav-slider .owl-item:last-child .hns-item {
  border-right: none;
}

.hero-nav-slider .hns-item h5 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--usb-primary);
}

.hero-nav-slider .hns-item p {
  color: var(--usb-text-muted);
  margin-bottom: 0;
  padding: 4px 0 0;
  font-size: 0.875rem;
  line-height: 1.35;
}

.hero-nav-slider .hns-item span {
  font-size: 24px;
  font-weight: 600;
  color: var(--usb-primary);
}

.hero-nav-slider .current .hns-item {
  background: linear-gradient(180deg, var(--usb-primary) 0%, #1a4f83 100%);
  border-left: none;
  border-right-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.hero-nav-slider .current .hns-item h5,
.hero-nav-slider .current .hns-item span {
  color: var(--usb-white);
}

.hero-nav-slider .current .hns-item p {
  color: rgba(255,255,255,0.82);
}

.features-icons-section {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.features-icon-item {
  display: block;
  text-align: center;
  padding-top: 30px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 11.1111111%;
  flex: 0 0 11.1111111%;
  max-width: 11.1111111%;
  margin-bottom: 20px;
}

.features-icon-item i {
  height: 60px;
  display: block;
  font-size: 49px;
  line-height: 49px;
  color: #c8d1da;
}

.features-icon-item p {
  color: #83869b;
}

.intro-section {
  padding-top: 30px;
}

.intro-img-box {
  position: relative;
  margin-bottom: 70px;
}

.intro-img-box h4 {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  padding: 22px 42px;
  font-weight: 700;
  background: var(--usb-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-md);
}

.intro-text-box {
  padding-right: 10px;
  margin-bottom: 70px;
}

.intro-text-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* ----------------
Design section
 ---------------------*/

.design-section {
  background: var(--usb-secondary);
  padding-top: 70px;
  padding-bottom: 60px;
  border-radius: var(--radius-xl);
}

.design-slider a,
.property-features-slider a {
  display: block;
  position: relative;
}

.design-slider a i,
.property-features-slider a i {
  position: absolute;
  left: calc(50% - 41px);
  top: calc(50% - 43px);
  color: #fff;
  font-size: 82px;
  line-height: 82px;
  height: 86px;
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.design-slider a::before,
.property-features-slider a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--usb-primary);
  opacity: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.design-slider a:hover i,
.property-features-slider a:hover i {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.design-slider a:hover::before,
.property-features-slider a:hover::before {
  opacity: 0.5;
}

.design-slider .owl-nav button.owl-next,
.design-slider .owl-nav button.owl-prev,
.property-features-slider .owl-nav button.owl-next,
.property-features-slider .owl-nav button.owl-prev {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -42px;
  width: 84px;
  height: 84px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--usb-white);
  color: var(--usb-primary);
  font-size: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.design-slider .owl-nav button.owl-next:hover,
.design-slider .owl-nav button.owl-prev:hover,
.property-features-slider .owl-nav button.owl-next:hover,
.property-features-slider .owl-nav button.owl-prev:hover {
  background: var(--usb-primary);
  color: var(--usb-white);
}

.design-slider .owl-nav button.owl-next,
.property-features-slider .owl-nav button.owl-next {
  left: auto;
  right: 0;
}

.design-text {
  padding-top: 65px;
}

.design-text h4 {
  text-transform: uppercase;
  margin-bottom: 25px;
}

.design-text p {
  font-size: 16px;
  font-weight: 300;
}

/* ----------------
Location section
 ---------------------*/

.location-tab .tab-pane {
  position: relative;
}

.location-tab .tab-pane::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: var(--usb-primary);
  opacity: 0.44;
}

.location-tab .play-btn {
  position: absolute;
  width: 104px;
  height: 104px;
  left: calc(50% - 52px);
  top: calc(50% - 52px);
  display: block;
  text-align: center;
  padding-top: 33px;
  border-radius: var(--radius-full);
  background: var(--usb-secondary);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.location-tab-nav {
  border-bottom: none;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  padding: 70px 50px 0;
}

.location-tab-nav .nav-item {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0;
}

.location-tab-nav .nav-item .nav-link {
  border: none;
  padding: 0 16px;
}

.location-tab-nav .nav-item .nav-link img {
  margin-bottom: 20px;
}

.location-tab-nav .nav-item .nav-link h5 {
  font-weight: 400;
}

/* ----------------
Features section
 ---------------------*/

.features-section {
  padding-top: 65px;
  padding-bottom: 70px;
  background: var(--usb-bg-light);
}

.features-slider .owl-nav {
  text-align: center;
}

.features-slider .owl-nav button.owl-next,
.features-slider .owl-nav button.owl-prev {
  width: 50px;
  height: 50px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--usb-secondary);
  color: var(--usb-white);
  font-size: 20px;
  margin: 50px 5px 0;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.features-slider .owl-nav button.owl-next:hover,
.features-slider .owl-nav button.owl-prev:hover {
  background: var(--usb-primary);
  transform: scale(1.05);
}

.feature-box {
  text-align: center;
  padding: 50px 15px 40px;
  background: var(--usb-white);
  min-height: 373px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-box::after,
.feature-box::before {
  position: absolute;
  content: "";
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  z-index: 0;
}

.feature-box::after {
  width: 0%;
  height: 100%;
  left: 50%;
  top: 0;
  border-bottom: 2px solid var(--usb-secondary);
  border-top: 2px solid var(--usb-secondary);
}

.feature-box::before {
  width: 100%;
  height: 0%;
  top: 50%;
  left: 0;
  border-left: 2px solid var(--usb-secondary);
  border-right: 2px solid var(--usb-secondary);
}

.feature-box:hover::after {
  left: 0;
  width: 100%;
}

.feature-box:hover::before {
  top: 0;
  height: 100%;
}

.feature-box:hover i {
  color: var(--usb-secondary);
}

.feature-box i {
  font-size: 48px;
  color: #c8d1da;
  position: relative;
  z-index: 4;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.feature-box h5 {
  font-weight: 700;
  padding: 15px 0px 25px;
  position: relative;
  z-index: 4;
}

.feature-box p {
  font-size: 16px;
  position: relative;
  z-index: 4;
}

/* -----------------------
Call to action section
 -------------------------*/

.call-to-action-section {
  padding: 60px 0;
}

.call-to-action-section h2 {
  font-weight: 300;
  margin-bottom: 36px;
  color: var(--usb-primary);
}

/* Utilidades de color para texto */
.text-primary { color: var(--usb-primary) !important; }
.text-secondary { color: var(--usb-secondary) !important; }
.bg-usb-primary { background-color: var(--usb-primary) !important; }
.bg-usb-secondary { background-color: var(--usb-secondary) !important; }

/* ----------------
Footer section
 ---------------------*/

.footer-section {
  padding: 65px 0;
  background: var(--usb-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget h5 {
  font-weight: 700;
  color: var(--usb-white);
  margin-bottom: 35px;
  padding-top: 15px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li a {
  display: block;
  color: #acaebc;
  padding: 2px 0;
  margin-bottom: 8px;
}

.footer-social a {
  display: inline-table;
  width: 25px;
  height: 25px;
  border: 1px solid #7e7f8f;
  border-radius: 50%;
  color: #7e7f8f;
  font-size: 12px;
  text-align: center;
  margin-right: 6px;
  margin-bottom: 5px;
}

.footer-social a i {
  vertical-align: middle;
  display: table-cell;
}

.copyright {
  padding-top: 10px;
  font-size: 16px;
  color: #83869b;
}

.copyright a {
  color: #83869b;
  text-decoration: underline;
}

/*===============
  ----------------
Other Pages
 -----------------
 =================*/

.page-top-section {
  height: 619px;
  position: relative;
}

.page-top-text {
  padding-top: 250px;
}

.page-top-text h2 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-top-text p {
  font-weight: 300;
  font-size: 24px;
}

/* ----------------
About page
 ---------------------*/

.about-text {
  max-width: 550px;
  margin: 0 auto;
  padding: 120px 0 50px;
}

.about-text h4 {
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.5;
}

.about-slider .owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 7;
  text-align: right;
}

.about-slider .owl-nav button.owl-next,
.about-slider .owl-nav button.owl-prev {
  width: 84px;
  height: 84px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--usb-secondary);
  color: var(--usb-white);
  font-size: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.about-slider .owl-nav button.owl-next {
  background: var(--usb-white);
  color: var(--usb-primary);
}

.milestone-warp {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-top: 60px;
  gap: 1.5rem;
  justify-content: center;
}

.milestone-warp .milestone {
  -ms-flex: 1 1 0;
  -webkit-box-flex: 1;
  flex: 1 1 0;
  min-width: 160px;
  max-width: none;
  text-align: center;
  padding-bottom: 60px;
  box-sizing: border-box;
}

.milestone-section .milestone-warp .milestone h2 {
  font-size: 3.5rem;
}
.milestone-warp .milestone h2 {
  color: var(--usb-secondary);
  font-weight: 300;
  margin-bottom: 10px;
}

.milestone-warp .milestone h4 {
  font-weight: 700;
}

@media (max-width: 992px) {
  .milestone-warp .milestone {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

@media (max-width: 576px) {
  .milestone-warp .milestone {
    flex: 0 0 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}

.team-section {
  padding-top: 70px;
  padding-bottom: 40px;
  background: var(--usb-bg-light);
}

.team-member {
  background: var(--usb-white);
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.team-member:hover {
  box-shadow: var(--shadow-lg);
}

.team-member .member-pic {
  max-width: 264px;
  float: left;
  margin-right: 28px;
  position: relative;
}

.team-member .member-link {
  position: absolute;
  width: 62px;
  height: 61px;
  right: 0;
  bottom: 0;
  font-size: 26px;
  line-height: 26px;
  color: var(--usb-white);
  font-weight: 700;
  text-align: center;
  padding-top: 15px;
  background: var(--usb-secondary);
  border-radius: var(--radius-md) 0 0 0;
}

.team-member .member-info {
  padding-right: 20px;
  padding-bottom: 30px;
  overflow: hidden;
}

.team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 55px;
}

.team-member .member-info h5 {
  font-weight: 300;
  color: var(--usb-text-muted);
  margin-bottom: 20px;
}

.team-member .member-info p {
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
}

/* Team card (Nosotros) */
.team-card {
  background: var(--usb-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Layout horizontal: imagen chica a un costado, datos al lado */
.team-card-horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.team-card-horizontal .team-card-img-wrap {
  flex-shrink: 0;
  width: 200px;
  min-width: 180px;
  aspect-ratio: 1;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.team-card-horizontal .team-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-horizontal .team-card-body {
  flex: 1;
  padding: 1.75rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card-body {
  padding: 1.5rem 1.75rem;
  text-align: center;
}

.team-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin-bottom: 0.35rem;
}

.team-card-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--usb-secondary);
  margin-bottom: 0.75rem;
}

.team-card-bio {
  font-size: 0.95rem;
  color: var(--usb-text-muted);
  line-height: 1.6;
  margin: 0;
}

.team-card-lead .team-card-img-wrap {
  aspect-ratio: 1;
}

@media (max-width: 767px) {
  .team-card-horizontal {
    flex-direction: column;
  }
  .team-card-horizontal .team-card-img-wrap {
    width: 140px;
    min-width: 140px;
    height: 140px;
    aspect-ratio: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin: 1.25rem auto 0;
  }
  .team-card-horizontal .team-card-body {
    text-align: center;
    padding: 1.25rem 1rem;
  }
}

body.dark-mode .team-card {
  background: #1a2d42;
}

body.dark-mode .team-section {
  background: #0f1f30;
}

body.dark-mode .team-card-body h3 {
  color: var(--usb-white);
}

body.dark-mode .team-card-role {
  color: #7eb8e0;
}

body.dark-mode .team-card-bio {
  color: rgba(255,255,255,0.75);
}

@media (max-width: 767px) {
  .team-card-body {
    padding: 1.25rem 1rem;
  }
}

.about-text-box-warp {
  padding-top: 5px;
  padding-bottom: 45px;
}

/* ----------------
  Property page
 --------------------*/

.property-details h2 {
  font-weight: 700;
  margin-bottom: 30px;
}

.property-info {
  display: inline-block;
  margin-right: 50px;
  margin-bottom: 30px;
}

.property-info:last-child {
  margin-right: 0;
}

.property-info h6 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #8f8fa8;
}

.property-info .pi-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.property-info .pi-icon i {
  float: left;
  font-size: 34px;
  color: #8f8fa8;
  margin-right: 15px;
}

.property-info .pi-icon span {
  overflow: hidden;
  display: block;
  color: #30304e;
  font-size: 20px;
  font-weight: 500;
}

.property-price h2 {
  font-weight: 700;
  margin-bottom: 10px;
}

.property-price p {
  font-weight: 30;
}

.property-overview-text h4 {
  font-weight: 700;
  margin-bottom: 25px;
}

.property-overview-text ul {
  list-style: none;
}

.property-overview-text ul li {
  font-size: 18px;
  color: var(--usb-text-muted);
  margin-bottom: 20px;
  padding-left: 50px;
  background-image: url("../img/check.png");
  background-repeat: no-repeat;
  background-position: left top 6px;
}

.property-text-warp {
  max-width: 430px;
}

/* ------------------
Developments page
 ---------------------*/

.developments-section {
  background: var(--usb-bg-light);
}

.development-box {
  background: var(--usb-white);
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition);
}
.development-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.development-box img {
  min-width: 100%;
}

.development-box .dev-text {
  padding: 25px;
  overflow: hidden;
}

.development-box .dev-text h4 {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.development-box .dev-text h5 {
  font-weight: 400;
  color: #73778e;
  margin-bottom: 20px;
}

.development-box .dev-text p {
  font-size: 14px;
  margin-bottom: 30px;
}

.development-box .dev-price {
  float: left;
}

.development-box .dev-price span {
  font-size: 18px;
  color: #73778e;
  font-style: italic;
}

.development-box .dev-price h4 {
  font-weight: 700;
}

.development-box .site-btn {
  float: right;
  margin-top: 15px;
}

.subscribe-text {
  max-width: 765px;
  margin: 0 auto;
}

.subscribe-text h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

.subscribe-text p {
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 18px;
}

.subscribe-form {
  text-align: center;
}

.subscribe-form input {
  font-size: 14px;
  color: var(--usb-text-muted);
  font-weight: 300;
  padding: 10px 20px;
  max-width: 382px;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(23, 70, 116, 0.15);
  border-radius: var(--radius-md);
}

.subscribe-form .site-btn {
  margin-left: 20px;
}

/* ----------------
Blog page
 ---------------------*/

.blog-section {
  background: var(--usb-bg-light);
}

.blog-categorise a {
  font-size: 18px;
  color: #081624;
  display: inline-block;
  padding: 9px 0;
  margin-right: 55px;
}

.blog-categorise a:last-child {
  margin-right: 0;
}

.blog-categorise a:hover {
  color: var(--usb-secondary);
}

.blog-search {
  position: relative;
  margin-bottom: 54px;
}

.blog-search input {
  font-size: 14px;
  color: #73778e;
  font-weight: 300;
  padding: 10px 54px 10px 20px;
  width: 100%;
  height: 44px;
  border: none;
}

.blog-search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: transparent;
  border: none;
  padding-right: 20px;
}

.blog-item {
  background: var(--usb-white);
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-item:hover {
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 100%;
  position: relative;
}

.blog-thumb .play-btn {
  position: absolute;
  width: 78px;
  height: 78px;
  left: calc(50% - 39px);
  top: calc(50% - 39px);
  display: block;
  text-align: center;
  padding-top: 25px;
  border-radius: var(--radius-full);
  background: var(--usb-secondary);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.blog-thumb .play-btn img {
  width: 26px;
}

.blog-content {
  padding: 26px 15px 23px 0;
}

.blog-content .blog-date,
.blog-content .blog-note {
  display: inline-block;
  font-size: 14px;
  font-weight: 300;
  color: var(--usb-primary);
  background: var(--usb-bg-light);
  padding: 1px 8px;
  margin-right: 5px;
  border-radius: var(--radius-sm);
}

.blog-content .blog-note {
  color: var(--usb-white);
  background: var(--usb-secondary);
  border-radius: var(--radius-sm);
}

.blog-content h2 {
  font-size: 18px;
  text-transform: uppercase;
  padding: 26px 0 15px;
}

.blog-content p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 25px;
}

/* ----------------
Contact page
 ---------------------*/

.contact-section {
  position: relative;
  padding-bottom: 290px;
}

.contact-section-index {
  padding: 4rem 1.5rem 4rem;
  background: var(--usb-bg-light);
  border-radius: var(--radius-xl);
  margin: 2rem 0;
}

.contact-section-index .container {
  max-width: 900px;
}

.contact-index-info {
  background: var(--usb-white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-index-info .contact-title {
  margin-bottom: 1.25rem;
}

.contact-index-info .ci-item {
  margin-bottom: 1rem;
}

body.dark-mode .contact-section-index {
  background: #0f1f30;
}

body.dark-mode .contact-index-info {
  background: #1a2d42;
}

.contact-section .container {
  position: relative;
  z-index: 4;
}

.contact-info-box {
  background: var(--usb-white);
  padding: 50px 62px 83px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(23, 70, 116, 0.08);
}

.contact-title {
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 38px;
}

.contact-info .ci-item {
  display: inline-block;
  max-width: 240px;
  width: 100%;
  margin-right: 30px;
  margin-bottom: 40px;
}

.contact-info .ci-item:last-child {
  margin-right: 0;
}

.contact-info .ci-item .ci-icon {
  float: left;
  margin-right: 16px;
  width: 20px;
  text-align: center;
  font-size: 18px;
  color: var(--usb-secondary);
}

.contact-info .ci-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--usb-primary);
}

.contact-form .form-field {
  position: relative;
}

.contact-form .form-field img,
.contact-form .form-field .form-icon {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 16px;
  color: rgba(23, 70, 116, 0.5);
  width: 24px;
  text-align: center;
  transition: color var(--transition);
}
.contact-form .form-field:focus-within .form-icon {
  color: var(--usb-secondary);
}

.contact-form .form-field input,
.contact-form .form-field textarea {
  font-size: 14px;
  color: var(--usb-text-muted);
  font-weight: 300;
  padding: 0 20px 10px 40px;
  max-width: 100%;
  width: 100%;
  height: 44px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid rgba(23, 70, 116, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus {
  border-bottom-color: var(--usb-secondary);
}

.contact-form .form-field textarea {
  height: 60px;
}

.contact-form .site-btn {
  min-width: 88px;
}

.map {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: #ddd;
}

.map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

/* ----------------
Responsive
 ---------------------*/

@media (min-width: 1200px) {
  .container {
    max-width: 1176px;
  }
}

/* Medium screen : 992px. */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .main-menu li a {
    margin-right: 10px;
  }
  .hero-nav-slider .hns-item {
    padding: 26px 10px 26px 15px;
  }
  .hero-nav-slider .hns-item h5 {
    font-size: 14px;
  }
  .features-icon-item i {
    font-size: 40px;
  }
  .features-icon-item p {
    font-size: 16px;
  }
  .property-text-warp {
    padding-left: 15px;
  }
}

/* Tablet :768px. */

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero-nav-slider .hns-item {
    padding: 26px 10px 26px 15px;
  }
  .hero-social-warp {
    height: 60px;
    right: 0;
    top: 140px;
    width: 100%;
  }
  .hero-social a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0 3px;
  }
  .hs-item {
    text-align: center;
  }
  .features-icon-item p {
    font-size: 12px;
    font-weight: 700;
  }
  .features-icon-item i {
    height: 44px;
    font-size: 30px;
    line-height: 33px;
  }
  .main-menu li a {
    font-size: 15px;
    margin-right: 5px;
  }
  .design-slider a img {
    height: 300px;
    width: auto !important;
  }
  .design-slider a i {
    font-size: 50px;
    left: calc(50% - 25px);
  }
  .location-tab-nav {
    padding: 70px 0 0;
  }
  .design-slider .owl-nav button.owl-next,
  .design-slider .owl-nav button.owl-prev,
  .property-features-slider .owl-nav button.owl-next,
  .property-features-slider .owl-nav button.owl-prev {
    margin-top: -23px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .page-top-text {
    text-align: center;
  }
  .milestone-warp .milestone h2 {
    font-size: 60px;
  }
  .milestone-warp .milestone h4 {
    font-size: 16px;
  }
  .property-text-warp {
    padding-top: 50px;
    padding-left: 15px;
    padding-top: 15px;
  }
  .property-overview-text {
    margin-bottom: 40px;
  }
  .contact-section {
    padding-bottom: 70px;
    padding-top: 70px;
    background: var(--usb-bg-light);
  }
  .map {
    margin-top: 70px;
    position: inherit;
    width: 100%;
    height: 400px;
    background: #ddd;
  }
}

/* Large Mobile :480px. */

@media only screen and (max-width: 767px) {
  .nav-switch {
    right: 30px;
    display: block;
    float: right;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    margin-right: 40px;
    line-height: 32px;
  }
  .main-menu {
    float: none;
    padding-top: 0;
    background: #fff;
    position: absolute;
    right: 0;
    width: 100%;
    top: 118%;
    display: none;
  }
  .main-menu li {
    display: block;
    border-top: 1px solid #efefef;
  }
  .main-menu li a {
    display: block;
    color: #111;
    margin-left: 0;
    padding: 5px 35px;
  }
  .hero-nav-slider .hns-item {
    padding: 26px 10px 26px 15px;
  }
  .hero-social-warp {
    height: auto;
    right: 0;
    top: 140px;
    width: 100%;
  }
  .hero-social a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 40px;
    height: 40px;
    font-size: 14px;
    margin: 0 3px;
  }
  .hs-item {
    text-align: center;
  }
  .location-tab-nav {
    padding: 70px 0 0;
  }
  .location-tab-nav .nav-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
  .design-slider a img {
    height: 250px;
    width: auto !important;
  }
  .design-slider a i {
    font-size: 50px;
    left: calc(50% - 25px);
  }
  .design-slider .owl-nav button.owl-next,
  .design-slider .owl-nav button.owl-prev,
  .property-features-slider .owl-nav button.owl-next,
  .property-features-slider .owl-nav button.owl-prev,
  .about-slider .owl-nav button.owl-next,
  .about-slider .owl-nav button.owl-prev,
  .hero-slider .owl-nav button.owl-next,
  .hero-slider .owl-nav button.owl-prev {
    margin-top: -23px;
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .features-icon-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    margin-bottom: 20px;
  }
  .features-icon-item p {
    font-size: 14px;
  }
  .page-top-text {
    text-align: center;
  }
  .milestone-warp .milestone {
    -ms-flex: 0 0 calc(33.333% - 1rem);
    -webkit-box-flex: 0;
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
  .property-text-warp {
    padding-top: 50px;
    padding-left: 15px;
    padding-top: 15px;
  }
  .property-overview-text {
    margin-bottom: 40px;
  }
  .subscribe-form input {
    max-width: 100%;
  }
  .subscribe-form .site-btn {
    margin-left: 0;
    margin-top: 30px;
  }
  .blog-categorise {
    margin-bottom: 40px;
  }
  .blog-thumb {
    height: 300px;
  }
  .blog-content {
    padding: 26px 15px 23px 26px;
  }
  .contact-section {
    padding-bottom: 70px;
    padding-top: 70px;
    background: var(--usb-bg-light);
  }
  .map {
    margin-top: 70px;
    position: inherit;
    width: 100%;
    height: 400px;
    background: #ddd;
    border-radius: var(--radius-lg);
  }
  .hs-item {
    height: auto;
  }
  .hs-item .container {
    padding-bottom: 400px;
  }
}

@media (max-width: 576px) {
  .team-member .member-pic {
    max-width: 100%;
    float: none;
    margin-right: 0;
  }
  .team-member .member-pic img {
    min-width: 100%;
  }
  .member-info {
    padding-left: 20px;
  }
  .milestone-warp .milestone h2 {
    font-size: 60px;
  }
  .milestone-warp .milestone h4 {
    font-size: 16px;
  }
}

/* Small Mobile :320px. */

@media only screen and (max-width: 479px) {
  .features-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .features-icon-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 20px;
  }
  .features-icon-item i {
    height: 60px;
    display: block;
    font-size: 40px;
    line-height: 40px;
  }
  .features-icon-item p {
    font-size: 14px;
  }
  .location-tab-nav {
    padding: 70px 0 0;
  }
  .location-tab-nav .nav-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  .milestone-warp .milestone {
    -ms-flex: 0 0 100%;
    -webkit-box-flex: 0;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .contact-info-box {
    padding: 30px 30px 63px;
  }
  .page-top-text h2 {
    font-size: 40px;
  }
  .hero-nav-slider .hns-item {
    padding: 26px 10px 26px 15px;
  }
  .hero-nav-slider .hns-item h5 {
    font-size: 14px;
  }
  .hero-slider .owl-nav {
    text-align: center;
    width: 100%;
  }
  .location-tab .play-btn {
    width: 70px;
    height: 70px;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    padding-top: 22px;
  }
  .location-tab .play-btn img {
    width: 22px;
  }
}

/* =========================================
   BOTÓN VOLVER ARRIBA
   ========================================= */
#back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--usb-secondary);
  color: var(--usb-white);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 900;
  pointer-events: none;
  text-decoration: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--usb-primary);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================= */
#whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.25s ease;
  animation: pulseSoft 2.5s ease-in-out infinite;
}
#whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  color: #fff;
}
#whatsapp-float .wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--usb-primary);
  color: var(--usb-white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-sm);
}
#whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* =========================================
   PRELOADER
   ========================================= */
#preloder {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  background: var(--usb-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fallback CSS: se oculta a los 5s aunque JS falle */
  animation: preloaderFallback 0.5s ease 5s forwards;
}
@keyframes preloaderFallback {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}
.loader {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--usb-white);
  animation: loader 0.7s linear infinite;
  -webkit-animation: loader 0.7s linear infinite;
}
.preloader-logo {
  position: absolute;
  animation: fadeIn 0.5s ease;
}

/* =========================================
   TESTIMONIOS
   ========================================= */
.testimonials-section {
  background: var(--usb-bg-light);
  padding: 80px 0;
}
.testimonial-card {
  background: var(--usb-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  margin-bottom: 10px;
  border-left: 4px solid var(--usb-secondary);
  transition: all var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.testimonial-card .quote-icon {
  font-size: 48px;
  line-height: 1;
  color: var(--usb-secondary);
  opacity: 0.25;
  position: absolute;
  top: 12px;
  right: 20px;
}
.testimonial-card p {
  font-size: 16px;
  color: var(--usb-text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.testimonial-meta h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--usb-primary);
  margin-bottom: 2px;
}
.testimonial-meta span {
  font-size: 13px;
  color: var(--usb-secondary);
  font-weight: 500;
}
.testimonials-section .owl-dots .owl-dot span {
  background: rgba(23, 70, 116, 0.25);
  border-radius: var(--radius-full);
  transition: all var(--transition);
}
.testimonials-section .owl-dots .owl-dot.active span,
.testimonials-section .owl-dots .owl-dot:hover span {
  background: var(--usb-secondary);
}

/* =========================================
   FRANJA DE LOGOS DE CLIENTES
   ========================================= */
.logos-section {
  padding: 50px 0;
  background: var(--usb-white);
  border-top: 1px solid rgba(23,70,116,0.07);
  border-bottom: 1px solid rgba(23,70,116,0.07);
}
.logos-section .section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--usb-text-muted);
  margin-bottom: 1.5rem;
}
.logos-slider .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 55px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition);
}
.logos-slider .logo-item:hover {
  filter: grayscale(0);
  opacity: 1;
}
.logos-slider .logo-item img {
  max-height: 55px;
  max-width: 150px;
  object-fit: contain;
}
.logos-slider .logo-item img[src=""],
.logos-slider .logo-item img:not([src]) {
  min-width: 80px;
  min-height: 40px;
  background: rgba(23,70,116,0.06);
  border-radius: var(--radius-sm);
}

/* =========================================
   SERVICIOS PAGE
   ========================================= */
.strengths-section {
  padding: 3rem 0 4rem;
  background: var(--usb-bg-light);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.strength-card {
  background: var(--usb-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.strength-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.strength-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.strength-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--usb-primary), var(--usb-secondary));
  color: var(--usb-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
}

.strength-card-new {
  border: 2px solid var(--usb-secondary);
}

.strength-card-body {
  padding: 1.25rem;
}

.strength-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin-bottom: 0.5rem;
}

.strength-card-body p {
  font-size: 0.9rem;
  color: var(--usb-text-muted);
  line-height: 1.6;
  margin: 0;
}

body.dark-mode .strength-card {
  background: #1a2d42;
}

body.dark-mode .strengths-section {
  background: #0f1f30;
}

body.dark-mode .strength-card-body h3 {
  color: var(--usb-white);
}

body.dark-mode .strength-card-body p {
  color: rgba(255,255,255,0.75);
}

@media (max-width: 767px) {
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .strength-card-body {
    padding: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .strengths-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.services-accordion-section {
  padding: 2rem 0 4rem;
}

.service-intro-card {
  background: var(--usb-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.service-intro-card .service-intro-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--usb-primary), var(--usb-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 28px;
  color: var(--usb-white);
}

.service-intro-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin-bottom: 1rem;
}

.service-intro-card p {
  font-size: 1rem;
  color: var(--usb-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-phase-card {
  background: var(--usb-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-phase-card.service-phase-accent .service-phase-header {
  background: linear-gradient(135deg, var(--usb-primary) 0%, var(--usb-secondary) 100%);
  color: var(--usb-white);
}

.service-phase-card.service-phase-accent .service-phase-header p {
  color: rgba(255,255,255,0.85);
}

.service-phase-header {
  padding: 1.75rem;
  background: var(--usb-bg-light);
  border-bottom: 1px solid rgba(23,70,116,0.08);
}

.service-phase-header i {
  font-size: 2rem;
  color: var(--usb-secondary);
  display: block;
  margin-bottom: 0.75rem;
}

.service-phase-accent .service-phase-header i {
  color: var(--usb-white);
}

.service-phase-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--usb-primary);
  margin-bottom: 0.25rem;
}

.service-phase-header p {
  font-size: 0.9rem;
  color: var(--usb-text-muted);
  margin: 0;
}

.service-phase-body {
  padding: 1rem;
  flex: 1;
  max-height: 600px;
  overflow-y: auto;
}

.service-phase-body .faq-item {
  margin-bottom: 8px;
}

.service-phase-body .faq-question {
  padding: 0.9rem 1rem;
  font-size: 15px;
}

.service-phase-body .faq-answer {
  padding: 0.75rem 1rem 1rem;
  font-size: 14px;
}

body.dark-mode .service-intro-card,
body.dark-mode .service-phase-card {
  background: #1a2d42;
}

body.dark-mode .service-phase-header {
  background: #0f1f30;
  border-color: rgba(255,255,255,0.08);
}

@media (max-width: 991px) {
  .service-phase-body {
    max-height: 450px;
  }
}

@media (max-width: 576px) {
  .service-intro-card {
    padding: 1.5rem;
  }
  .service-intro-card h2 {
    font-size: 1.4rem;
  }
  .service-phase-body {
    max-height: 400px;
  }
  .services-accordion-section .row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
  .services-accordion-section .col-lg-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Servicios: CTA y contacto responsive */
@media (max-width: 767px) {
  .contact-section-index .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .strengths-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* =========================================
   FAQ
   ========================================= */
.faq-section {
  padding: 80px 0;
  background: var(--usb-bg-light);
}
.faq-item {
  background: var(--usb-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
}
.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--usb-primary);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  transition: background var(--transition);
}
.faq-question:hover {
  background: rgba(23,70,116,0.03);
}
.faq-item.open .faq-question {
  background: linear-gradient(135deg, var(--usb-primary) 0%, var(--usb-secondary) 100%);
  color: var(--usb-white);
}
.faq-question .faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 1rem 1.5rem 1.25rem;
  font-size: 15px;
  color: var(--usb-text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(23,70,116,0.07);
}

/* =========================================
   PÁGINA DE CONTACTO (formulario)
   ========================================= */
.contact-page-section {
  padding: 80px 0 0;
}
.contact-page-section .contact-info-card {
  background: var(--usb-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--usb-primary), var(--usb-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--usb-white);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-item .info-text h6 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--usb-text-muted);
  margin-bottom: 4px;
}
.contact-info-item .info-text p {
  font-size: 16px;
  color: var(--usb-primary);
  margin: 0;
}
.contact-map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}
.contact-form-card {
  background: var(--usb-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-card .form-control {
  border: 2px solid rgba(23,70,116,0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  color: var(--usb-text-dark);
  transition: border-color var(--transition);
}
.contact-form-card .form-control:focus {
  border-color: var(--usb-secondary);
  box-shadow: 0 0 0 3px rgba(5, 103, 156, 0.1);
}

.contact-form-card select.form-control {
  min-width: 100%;
  color: inherit;
}
.contact-form-card label {
  font-size: 14px;
  font-weight: 600;
  color: var(--usb-primary);
  margin-bottom: 6px;
}
.contact-submit {
  background: linear-gradient(135deg, var(--usb-primary), var(--usb-secondary));
  color: var(--usb-white);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  letter-spacing: 0.5px;
}
.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.contact-result {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  display: block;
  min-height: 24px;
}
.contact-result.success { color: #22a06b; }
.contact-result.error   { color: #de350b; }

/* =========================================
   HERO PEQUEÑO (páginas internas)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--usb-primary) 0%, var(--usb-secondary) 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  color: var(--usb-white);
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.95rem, 2vw + 0.25rem, 18px);
  position: relative;
}
.page-hero .breadcrumb-wrap {
  position: relative;
}
.page-hero .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.9); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* =========================================
   PÁGINA 404
   ========================================= */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--usb-primary) 0%, var(--usb-secondary) 100%);
  padding: 40px 20px;
}
.page-404 .error-number {
  font-size: clamp(100px, 20vw, 180px);
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  display: block;
}
.page-404 h2 { color: var(--usb-white); font-size: 2rem; }
.page-404 p  { color: rgba(255,255,255,0.8); font-size: 18px; }

/* =========================================
   SCROLL SUAVE GLOBAL
   ========================================= */
html {
  scroll-behavior: smooth;
}

/* =========================================
   SKIP LINK (accesibilidad)
   ========================================= */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--usb-primary);
  color: var(--usb-white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: var(--usb-white); }

/* =========================================
   MODO OSCURO
   ========================================= */
body.dark-mode {
  background: #0d1b2a;
  color: #e2e8f0;
}
body.dark-mode .navbar-usb {
  background: rgba(13, 27, 42, 0.95) !important;
}
body.dark-mode .navbar-light .navbar-nav .nav-link {
  color: #e2e8f0;
}
body.dark-mode .usb-card,
body.dark-mode .feature-box,
body.dark-mode .contact-form-card,
body.dark-mode .contact-page-section .contact-info-card,
body.dark-mode .faq-item,
body.dark-mode .testimonial-card {
  background: #1a2d42;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #e2e8f0;
}
body.dark-mode p { color: #94a3b8; }
body.dark-mode .footer-section { background: #07111c; }
body.dark-mode .logos-section {
  background: #0f1f30;
  border-color: rgba(255,255,255,0.05);
}
body.dark-mode .contact-form-card .form-control {
  background: #1a2d42;
  border-color: rgba(255,255,255,0.1);
  color: #e2e8f0;
}
body.dark-mode .features-section,
body.dark-mode .testimonials-section,
body.dark-mode .faq-section {
  background: #0f1f30;
}
body.dark-mode .milestone-section { background: #0f1f30; }
body.dark-mode .milestone-section .milestone-warp .milestone { background: #1a2d42; }
body.dark-mode .slogan-section .slogan-card {
  background: #1a2d42;
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .partners-section {
  background: var(--usb-bg-dark, #0d1929);
}
body.dark-mode .partners-section .partner-card:not(.partner-card-accent) {
  background: #1a2d42;
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .partners-section .partner-card:not(.partner-card-accent) .partner-body h3 {
  color: #e8eef4;
}
body.dark-mode .partners-section .partner-card:not(.partner-card-accent) .partner-body p {
  color: rgba(255,255,255,0.75);
}

/* Toggle modo oscuro */
#dark-toggle {
  background: none;
  border: 2px solid rgba(23,70,116,0.2);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  color: var(--usb-primary);
  transition: all var(--transition);
  margin-left: 8px;
}
#dark-toggle:hover {
  background: var(--usb-secondary);
  color: #fff;
  border-color: var(--usb-secondary);
}
body.dark-mode #dark-toggle {
  border-color: rgba(255,255,255,0.2);
  color: #e2e8f0;
}

/* ==========================================
   RESPONSIVE GLOBAL – mejoras mobile/tablet
   ========================================== */

/* Navbar: sin border-radius en móvil */
@media (max-width: 991px) {
  .navbar-usb {
    border-radius: 0 !important;
  }
}

/* Section title: reducir margin en móvil */
@media (max-width: 767px) {
  .section-title h2 {
    margin-bottom: 36px;
  }
  .section-title h2:before {
    height: 20px;
    top: 7px;
  }
}

/* Hero slider: ajustes mobile */
@media (max-width: 767px) {
  .hs-item {
    padding-top: 8vh;
    min-height: 60vh;
  }
  .hs-item .container {
    padding-bottom: 260px;
  }
  .hs-item h2 {
    font-size: clamp(1.1rem, 4vw + 0.5rem, 1.75rem);
    padding: 0.75rem 1rem;
  }
  .hero-nav-slider-warp {
    bottom: 80px;
  }
  .hero-nav-slider .hns-item {
    padding: 16px 10px 16px 14px;
  }
  .hero-nav-slider .hns-item h5 {
    font-size: 13px;
  }
  .hero-nav-slider .hns-item p {
    font-size: 12px;
    padding: 3px 0;
  }
}

@media (max-width: 479px) {
  .hs-item .container {
    padding-bottom: 220px;
  }
  .hero-nav-slider-warp {
    bottom: 60px;
  }
}

/* Contact info box: reducir padding en móvil */
@media (max-width: 767px) {
  .contact-info-box {
    padding: 2rem 1.5rem 2.5rem;
  }
}
@media (max-width: 479px) {
  .contact-info-box {
    padding: 1.5rem 1.25rem 2rem;
  }
}

/* Contact page form + info card */
@media (max-width: 575px) {
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-page-section .contact-info-card {
    padding: 1.5rem 1.25rem;
  }
  .contact-map-wrap iframe {
    height: 240px;
  }
}

/* Contact index: ajuste padding */
@media (max-width: 575px) {
  .contact-section-index {
    padding: 2.5rem 1rem;
    margin: 1rem 0;
    border-radius: var(--radius-lg);
  }
  .contact-index-info {
    padding: 1.5rem 1.25rem;
  }
}

/* CTA sections */
@media (max-width: 575px) {
  .site-btn.sb-big {
    font-size: 15px;
    padding: 15px 24px;
  }
}

/* Slogan cards: 1 columna en móvil pequeño */
@media (max-width: 479px) {
  .slogan-section .slogan-cards {
    grid-template-columns: 1fr;
  }
}

/* Partners section */
@media (max-width: 575px) {
  .partners-section {
    padding: 2.5rem 1rem;
  }
  .partners-section .partner-card .partner-body {
    padding: 1.25rem;
  }
}

/* Milestone section */
@media (max-width: 575px) {
  .milestone-section {
    padding: 2.5rem 1rem;
    border-radius: var(--radius-lg);
    margin: 1rem 0;
  }
  .milestone-section .milestone-warp .milestone h2 {
    font-size: 2.5rem;
  }
}

/* Testimonials */
@media (max-width: 575px) {
  .testimonials-section {
    padding: 50px 0;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* FAQ */
@media (max-width: 575px) {
  .faq-section {
    padding: 50px 0;
  }
  .faq-question {
    font-size: 15px;
    padding: 1rem 1.25rem;
  }
}

/* Page hero (páginas internas) */
@media (max-width: 767px) {
  .page-hero {
    padding: 100px 0 40px;
  }
}
@media (max-width: 479px) {
  .page-hero {
    padding: 90px 0 32px;
  }
}

/* Footer responsive */
@media (max-width: 767px) {
  .footer-section {
    padding: 48px 0 32px;
  }
  .footer-widget {
    margin-bottom: 28px;
  }
  .footer-widget h5 {
    margin-bottom: 20px;
    padding-top: 8px;
  }
}

/* Service phase cards: max-height en móvil */
@media (max-width: 767px) {
  .service-phase-body {
    max-height: none;
  }
}

/* Strengths grid en tablet */
@media (min-width: 576px) and (max-width: 767px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Team card horizontal en móvil */
@media (max-width: 575px) {
  .team-section {
    padding-top: 48px;
    padding-bottom: 28px;
  }
}

.hs-item.set-bg {
  background-position: center center;
}

/* Hero contained refinements — align to container grid + photographic filter */
@media (max-width: 767px) {
  .hero-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 74px;
  }
  .hs-item {
    height: auto !important;
    min-height: 560px;
    padding: 2.2rem 0 5.2rem !important;
  }
  .hs-item::after {
    inset: 10px;
  }
  .hs-item h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }
  .hero-nav-slider-warp {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    margin: -38px 0 0 !important;
    max-width: none;
  }
  .hs-item .container {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 479px) {
  .hs-item {
    min-height: 520px;
  }
  .hero-nav-slider .hns-item {
    padding: 16px 14px 16px 16px !important;
  }
  .hero-nav-slider .hns-item h5 {
    font-size: 0.78rem !important;
  }
}

/* Back to top: no solapar el whatsapp en móvil pequeño */
@media (max-width: 479px) {
  #back-to-top {
    bottom: 90px;
    right: 16px;
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
  #whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
