:root {
  --main: #005e85;
  --alt: #009fe3;
  --teal: #009f9f;
  --sky: #2e6cdf;
  --dark: #0d1622;
  --yellow: #F9BD00;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background: #f5f7fb;
  color: #101828;
}

.section-title {
    background: linear-gradient(90deg, #009fe3, #0a55a0) ;
    background: linear-gradient(to right,  #008888, #004283) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

.topbar {
  /* background: linear-gradient(to right, #008888, #004283, #052047);
  background: linear-gradient(to right, #AAFFF0, #89ccca, #008888 ); */
  background: linear-gradient(to right, #89ccca, #008888, #004283);
  background: linear-gradient(to right, #DDFCF7, #89ccca, #008888);
  /* background: linear-gradient(to right, #FEB422, #D78540, #E2371B); */

  /* border-radius: 0 0 20px 20px; */
}

.topbar .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #00667a;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--yellow);
  display: inline-block;
  border-radius: 50%;
  margin-right: .5rem;
}

.navbar {
    border-radius: 0 0 20px 20px;
}


#vialesText {
    background: linear-gradient(90deg, #009fe3, #0a55a0);
    background: linear-gradient(90deg, #FEB422, #D78540);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .65));
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: -10%;
  background: url('../assets/img/boya_multivista.png') center / cover no-repeat;
  background: url('../assets/img/bg-home.png') center / cover no-repeat;
  background: url('../assets/img/bg-homev4.png') center / cover no-repeat;
  /* background: url('../assets/img/bg-homev3.png') center / cover no-repeat; */
  animation: ken 30s ease-in-out infinite;
  filter: grayscale(.2) contrast(1.05);
}

@keyframes ken {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(2%, -2%);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.btn-light {
  background-color: #fff;
  border: 1px solid #fff;
}

.btn-light:hover {
  background: #eef1f6;
}

.btn-gradient {
  background: linear-gradient(90deg, #008f8f, #063166);
  background: linear-gradient(90deg,  #F9BD00, #D78540);
  border: none;
  color: #fff;
  padding: 8px 20px;
}

.btn-gradient:hover {
  opacity: .95;
  color: #fff;
}

.btn-outline-sky {
  border: 1px solid rgba(46, 108, 223, .35);
  color: #0f3d92;
  background: rgba(46, 108, 223, .06);
  padding: 8px 15px;
}

.btn-outline-sky:hover {
  background: rgba(46, 108, 223, .12);
}

.btn-teal {
  background: #339999;
  color: #fff;
  border: 1px solid #339999;
}

.btn-teal:hover {
  background: #2e8c8c;
  color: #fff;
}

.section-title {
  font-weight: 700;
  color: #0c3b52;
}

.badge.bg-soft-teal {
  background: rgba(0, 159, 159, .15);
}

.text-teal {
  color: #00a3a3;
}

.badge.bg-soft-amber {
  background: rgba(255, 170, 0, .15);
}

.text-amber {
  color: #cf8a00;
}

.bg-soft-gray {
  background: #eef1f6;
}

.card.product {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(10, 22, 50, .1);
}

.product-img {
  max-height: 180px;
  object-fit: contain;
}

.btn-view {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: linear-gradient(90deg, #008f8f, #063166);
   background: linear-gradient(90deg, #B2B2B2, #999999);
  color: #fff;
  padding: .4rem .9rem;
  border: 0;
}

.chip {
  border-radius: 999px;
  border: 1px solid #ccd6e6;
  background: #fff;
  color: #49566a;
  padding: .4rem 1.6rem;
  transition: all ease-in 0.1s;
}

.chip.active,
.chip:focus {
  background: #0b5375;
  background: linear-gradient(90deg, #008f8f, #063166);
  color: #fff;
  border-color: #0b5375;
}

.price {
  font-weight: 700;
  color: #063166;
}

/* ===== Beneficios / Quiénes somos / Clientes ===== */
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 159, 159, .12);
  color: #009f9f;
  font-size: 1.25rem;
  flex: 0 0 auto;
}

#quienes-somos .ratio {
  border-radius: 1rem;
}

.logos .logo-card {
  margin: 0;
  text-align: center;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  padding: 14px 10px;
  height: 100%;
}

.logos .logo-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  transition: filter .2s ease;
}

.logos .logo-card img:hover {
  filter: none;
}

.logos .logo-card figcaption {
  margin-top: .35rem;
  font-size: .85rem;
  color: #6b7a90;
}


.contact-section {
  background: #0b1320;
}

.bg-dark-2 {
  background: #0f1b2b;
}

.form-control {
  height: 45px;
  font-size: 1.1rem;
  padding: 9px 10px 9px 20px;
  border-radius: 20px;
}
 .form-control::placeholder {
  color: #B8B8B8;
}

.form-control:focus {
  border-color: #008888;
  box-shadow: 0 0 0 .2rem rgba(1, 248, 207, 0.664);
}

#message {
  height: 80px;
}

.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  z-index: 1000;
}

.wa-fab:hover {
  color: #fff;
  opacity: .95;
}

.bi-whatsapp {
  font-size: 1.8rem;
}

footer {
  background: #0b1320;
  color: #93a3b8;
}

/* ——— Bloque de contacto en menú móvil ——— */
.mobile-contact{
  background:#f6f8fb;
  border-radius:12px;
  padding:12px 14px;
}
.mobile-contact .label{ 
  font-size:.9rem; color:#6b7a90; margin-bottom:6px;
}
.mobile-contact a{
  display:flex; align-items:center; gap:.6rem;
  padding:8px 6px; text-decoration:none; color:#101828;
  border-radius:10px;
}
.mobile-contact a:hover{ background:#eef1f6; }
/* .mobile-contact .icon-circle{
  background: rgba(0,159,159,.12);
  width: 16px;
  border-radius: 10px !important;
  color:#009f9f;
} */

.mobile-contact .bi-telephone-fill {
  color: #008888;
}

 .mobile-contact .bi-envelope-fill {
  color: #008888;
 }

/* Oculta cualquier topbar en móviles por si acaso (refuerzo) */
@media (max-width: 576px){
  .topbar{ display:none; }
}

/* ===== WebKit (Chrome, Edge, Safari) ===== */
::-webkit-scrollbar{
  width: 12px;              /* grosor vertical */
  height: 12px;             /* grosor horizontal */
}

::-webkit-scrollbar-track{
  background: #F1F3F7;      /* color del riel */
  border-radius: 12px;
}

::-webkit-scrollbar-thumb{
  background: linear-gradient(90deg,  #F9BD00, #D78540); /* tu gradiente */
  border-radius: 12px;
  border: 2px solid transparent;        /* “espacio” para que se vea el track */
  background-clip: padding-box;         /* mantiene el borde transparente */
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}

::-webkit-scrollbar-thumb:hover{
  filter: brightness(0.95);
}
::-webkit-scrollbar-thumb:active{
  filter: brightness(0.9);
}
::-webkit-scrollbar-corner{
  background: transparent;
}

/* ===== Firefox (no soporta gradiente en el thumb) ===== */
*{
  scrollbar-width: thin;                 /* thin | auto */
  /* thumb | track */
  scrollbar-color: #D78540 #F1F3F7;      /* fallback sólido similar al gradiente */
}
