
/* =========================================================
   BMV Maticorena — Sitio corporativo (Bootstrap + Fancybox)
   Autor: generado automáticamente
   ========================================================= */

:root{
  --brand: #E64430;
  --brand-2: #ff6a3d;
  --ink: #0b1220;
  --ink-2: #111827;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --radius: 1rem;

  /* Bootstrap (override) */
  --bs-primary: var(--brand);
  --bs-primary-rgb: 230, 68, 48;
  --bs-link-color: var(--brand);
  --bs-link-hover-color: #c73928;
}

html{ scroll-behavior:smooth; }

body{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink-2);
  background: var(--surface-2);
}

::selection{
  background: rgba(230, 68, 48, .22);
}

/* Helpers */
.text-muted-2{ color: var(--muted) !important; }
.bg-surface{ background: var(--surface) !important; }
.bg-ink{ background: var(--ink) !important; color: #fff; }
.shadow-soft{ box-shadow: 0 18px 50px rgba(15, 23, 42, .10); }
.rounded-2xl{ border-radius: calc(var(--radius) + .5rem); }
.rounded-xl{ border-radius: var(--radius); }

/* Navbar */
.navbar-glass{
  background: rgba(11, 18, 32, .68);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar .nav-link{
  font-weight: 500;
  opacity: .92;
}
.navbar .nav-link:hover{ opacity: 1; }

.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand-mark img{ width: 38px; height: auto; }

.navbar .btn-cta{
  border-radius: 999px;
  padding: .55rem .95rem;
  font-weight: 600;
}

/* Hero */
.hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(230,68,48,.30), transparent 60%),
    linear-gradient(120deg, rgba(11,18,32,.85), rgba(11,18,32,.65)),
    url("../img/bg-hero-dalle-1920.jpg") center/cover no-repeat; 
}
@supports (background-image: url("../img/bg-hero-dalle-1920.webp")){
  .hero{
    background:
      radial-gradient(900px 500px at 10% 10%, rgba(230,68,48,.30), transparent 60%),
      linear-gradient(120deg, rgba(11,18,32,.85), rgba(11,18,32,.65)),
      url("../img/bg-hero-dalle-1920.webp") center/cover no-repeat;
  }
}

.hero::after{
  content:"";
  position:absolute; inset:0;
  // background: url("../img/pattern.svg") center/cover no-repeat;
  opacity: .9;
  pointer-events:none;
}

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

.hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-weight: 600;
  font-size: .92rem;
}

.hero h1{
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero .lead{
  color: rgba(255,255,255,.82);
}

.hero-badges{
  display:flex; flex-wrap:wrap;
  gap: .55rem;
}
.hero-badge{
  display:flex; align-items:center; gap: .5rem;
  padding: .55rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 500;
}

/* Section */
.section{
  padding: 4.5rem 0;
}
.section-title{
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-subtitle{
  color: var(--muted);
  max-width: 58ch;
}


.section-hero{
  position: relative;
  color:#fff;
  padding: 6.5rem 0 3.5rem;

  /* Puedes cambiar el fondo por página usando:
     style="--hero-bg: url('...')" */
  --hero-bg: url("../img/bg-company-1920.jpg");

  background:
    linear-gradient(120deg, rgba(11,18,32,.88), rgba(11,18,32,.55)),
    var(--hero-bg) center/cover no-repeat;
}
@supports (background-image: url("../img/bg-company-1920.webp")){
  .section-hero{
    --hero-bg: url("../img/bg-company-1920.webp");
  }
}

.section-hero::after{
  content:"";
  position:absolute; inset:0;
 // background: url("../img/pattern.svg") center/cover no-repeat;
  opacity: .75;
  pointer-events:none;
}
.section-hero .container{ position: relative; z-index: 1; }

/* Cards */
.card{
  border: 1px solid rgba(15,23,42,.08);
  border-radius: var(--radius);
}
.card-service{
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-service:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

/* Service thumb image */
.service-thumb{
  position: relative;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
}
.service-thumb picture,
.service-thumb img{
  width: 100%;
  height: 100%;
  display: block;
}
.service-thumb img{
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.card-service:hover .service-thumb img{
  transform: scale(1.08);
}
.service-thumb-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.10), rgba(11,18,32,.55));
  pointer-events: none;
}


.icon-pill{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--brand);
  background: rgba(230,68,48,.10);
  border: 1px solid rgba(230,68,48,.18);
  flex: 0 0 auto;
}

/* Service grid */
.service-meta{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}
.badge-soft{
  background: rgba(17,24,39,.06);
  color: #111827;
  border: 1px solid rgba(17,24,39,.10);
}

/* Background band sections */
.band{
  position: relative;
  overflow:hidden;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.20), transparent 55%),
    linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.72)),
    url("../img/bg-services-dalle-1920.jpg") center/cover no-repeat;
}
@supports (background-image: url("../img/bg-services-dalle-1920.webp")){
  .band{
    background:
      radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.20), transparent 55%),
      linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.72)),
      url("../img/bg-services-dalle-1920.webp") center/cover no-repeat;
  }
}
.band::after{
  content:"";
  position:absolute; inset:0;
//  background: url("../img/pattern.svg") center/cover no-repeat;
  opacity: .65;
  pointer-events:none;
}
.band .container{ position: relative; z-index: 1; }

.cta-band{
  position: relative;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(120deg, rgba(230,68,48,.25), rgba(11,18,32,.85)),
    url("../img/bg-clients-dalle-1920.jpg") center/cover no-repeat;
}
@supports (background-image: url("../img/bg-clients-dalle-1920.webp")){
  .cta-band{
    background:
      linear-gradient(120deg, rgba(230,68,48,.25), rgba(11,18,32,.85)),
      url("../img/bg-clients-dalle-1920.webp") center/cover no-repeat;
  }
}
.cta-band::after{
  content:"";
  position:absolute; inset:0;
 // background: url("../img/pattern.svg") center/cover no-repeat;
  opacity:.45;
  pointer-events:none;
}
.cta-band .container{ position: relative; z-index: 1; }

/* Gallery */
.gallery-card{
  position: relative;
  border-radius: var(--radius);
  overflow:hidden;
  background: #0b1220;
}
.gallery-card img{
  width:100%;
  height: 260px;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
  opacity: .96;
}
.gallery-card:hover img{
  transform: scale(1.06);
  opacity: 1;
}
.gallery-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78));
  display:flex;
  align-items: flex-end;
  padding: 1rem;
}
.gallery-overlay h6{
  margin:0;
  color:#fff;
  font-weight: 600;
}

/* Footer */
footer{
  background: #0b1220;
  color: rgba(255,255,255,.86);
}
footer a{ color: rgba(255,255,255,.82); text-decoration:none; }
footer a:hover{ color: #fff; }

/* Floating buttons */
.fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  display:flex;
  flex-direction: column;
  gap: .65rem;
}
.fab a{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .22);
  border: 1px solid rgba(255,255,255,.20);
}
.fab .fab-whatsapp{
  background: #25D366;
  color:#fff;
}
.fab .fab-top{
  background: rgba(11,18,32,.86);
  color:#fff;
}
.fab a:hover{ transform: translateY(-2px); }

small, .small{
  color: inherit;
}

/* Offcanvas / modal */
.modal-content{
  border-radius: calc(var(--radius) + .5rem);
}
.modal-header{
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Forms */
.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  padding: .85rem 1rem;
}
.form-control:focus, .form-select:focus{
  border-color: rgba(230,68,48,.45);
  box-shadow: 0 0 0 .25rem rgba(230,68,48,.14);
}

/* Responsive tweaks */
@media (max-width: 991.98px){
  .hero{ min-height: 92vh; }
  .gallery-card img{ height: 220px; }
}


/* ---------------------------------------------------------
   Estilo tipo "cards promocionales" (similar a diseño DALL·E)
   --------------------------------------------------------- */
.section-heading{
  display:flex;
  align-items:center;
  gap: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.section-heading.dark{
  color: rgba(11,18,32,.80);
}
.section-heading::before,
.section-heading::after{
  content:"";
  height: 2px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, rgba(230,68,48,0), rgba(230,68,48,.95));
  border-radius: 999px;
  opacity: .85;
}
.section-heading::after{
  background: linear-gradient(90deg, rgba(230,68,48,.95), rgba(230,68,48,0));
}

/* Promo tiles */
.promo-grid{
  position: relative;
  padding: 3.5rem 0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(230,68,48,.12), transparent 60%),
    radial-gradient(900px 420px at 80% 80%, rgba(230,68,48,.10), transparent 60%),
    var(--surface-2);
}

.promo-tile{
  position: relative;
  display:block;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 22px 65px rgba(15,23,42,.20);
  transform: translateZ(0);
  border: 1px solid rgba(15,23,42,.10);
}
.promo-tile img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
  transition: transform .65s ease, filter .65s ease;
}
.promo-tile:hover img{
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.03);
}
.promo-tile::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(900px 380px at 30% 20%, rgba(230,68,48,.12), transparent 55%);
  pointer-events:none;
}

/* Ribbon corner (opc.) */
.promo-badge{
  position:absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(11,18,32,.68);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: .85rem;
}

/* Hero enhancements */
.hero{
  min-height: 92vh;
}
.hero-ribbon{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 70px;
  background: linear-gradient(90deg, rgba(230,68,48,.0), rgba(230,68,48,.85), rgba(230,68,48,.0));
  filter: blur(18px);
  opacity: .55;
  pointer-events:none;
}

/* Dark service cards */
.card-service .card-body{
  padding: 1rem 1rem 1.1rem;
}
.card-service .service-category{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(11,18,32,.70);
}
.card-service .service-category i{
  color: var(--brand);
}

/* "Mega" button */
.btn-primary{
  box-shadow: 0 18px 45px rgba(230,68,48,.25);
}
.btn-primary:hover{
  box-shadow: 0 22px 65px rgba(230,68,48,.32);
}

/* Background variants */
.band--solutions{
  background:
    radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.22), transparent 55%),
    linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.68)),
    url("../img/bg-solutions-dalle-1920.jpg") center/cover no-repeat;
}
@supports (background-image: url("../img/bg-solutions-dalle-1920.webp")){
  .band--solutions{
    background:
      radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.22), transparent 55%),
      linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.68)),
      url("../img/bg-solutions-dalle-1920.webp") center/cover no-repeat;
  }
}

.band--equipment{
  background:
    radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.18), transparent 55%),
    linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.70)),
    url("../img/bg-equipment-dalle-1920.jpg") center/cover no-repeat;
}
@supports (background-image: url("../img/bg-equipment-dalle-1920.webp")){
  .band--equipment{
    background:
      radial-gradient(1000px 500px at 10% 20%, rgba(230,68,48,.18), transparent 55%),
      linear-gradient(120deg, rgba(11,18,32,.92), rgba(11,18,32,.70)),
      url("../img/bg-equipment-dalle-1920.webp") center/cover no-repeat;
  }
}

/* Subtle divider */
.hr-glow{
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(230,68,48,.45), transparent);
  opacity: .9;
}
