/* =========================================================
   BOMBAVERA POMPA — Wilshire Build
   Visual Template: T10 Architectural Layered
   Palette derived from the BOMBAVERA logo (navy + cyan)
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Brand — from logo */
  --primary-color:   #1a2055;
  --primary-light:   #2b3477;
  --secondary-color: #15a6d5;
  --secondary-light: #4cbee5;
  --accent-color:    #15a6d5;
  --accent-dark:     #1189b4;

  /* Neutrals */
  --ink:        #171c33;
  --body-text:  #55596b;
  --muted:      #8b8fa1;
  --hairline:   #e2e4ec;
  --soft-bg:    #f4f4f4;
  --footer-bg:  #101538;
  --footer-bar: #1a2055;

  /* T10 template tokens */
  --container-max: 1200px;
  --section-pad:   105px;
  --grid-gap:      1.75rem;
  --radius:        4px;
  --btn-radius:    50px;
  --card-pad:      2.4rem 1.9rem;
  --shadow:        0 12px 34px rgba(23, 28, 51, .09);
  --shadow-hover:  0 20px 46px rgba(23, 28, 51, .15);
  --h1-size:       clamp(1.95rem, 4.4vw, 3.2rem);
  --body-lh:       1.8;
  --plate-border:  8px;

  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---------- 2. BASE ---------- */
* { box-sizing: border-box; }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  font-size: .92rem;
  line-height: var(--body-lh);
  color: var(--body-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.005em;
}

a { text-decoration: none; transition: color .25s ease; }
img { max-width: 100%; height: auto; }

.container { max-width: var(--container-max); }

.section-padding { padding: var(--section-pad) 0; }
.bg-light-soft  { background: var(--soft-bg); }

/* Section tag — device D3: + TAG + */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: .85rem;
}
.section-tag::before { content: "+"; margin-right: .6rem; opacity: .75; }
.section-tag::after  { content: "+"; margin-left: .6rem;  opacity: .75; }

/* Section title — with the short centred rule beneath when centred */
.section-title {
  font-size: clamp(1.6rem, 2.9vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-color);
  margin-bottom: 1.15rem;
}
.text-center .section-title { margin-bottom: 1.5rem; }
.text-center .section-title::after {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  margin: 1.1rem auto 0;
  background: var(--accent-color);
}

/* ---------- 3. BUTTONS ---------- */
.btn-brand,
.btn-brand-outline,
.btn-brand-secondary {
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  border: 1.5px solid transparent;
  transition: all .28s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.4;
}
.btn-brand::after,
.btn-brand-outline::after,
.btn-brand-secondary::after { content: "\203A"; font-size: 1.15rem; line-height: 1; margin-top: -2px; }

.btn-brand { background: var(--accent-color); color: #fff; }
.btn-brand:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

.btn-brand-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-brand-outline:hover { background: #fff; color: var(--primary-color); border-color: #fff; }

.btn-brand-secondary { background: var(--primary-color); color: #fff; }
.btn-brand-secondary:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 14px 34px; font-size: .9rem; }
.btn-brand-secondary i { margin-right: 0; }
.btn-brand-secondary i + * { margin-left: 0; }

/* ---------- 4. TOP BAR ---------- */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  font-size: .78rem;
  padding: 9px 0;
  color: var(--muted);
  letter-spacing: .02em;
}
.top-bar a { color: var(--body-text); }
.top-bar a:hover { color: var(--accent-color); }
.top-bar i { color: var(--accent-color); margin-right: .45rem; }

/* ---------- 5. NAVBAR ---------- */
.main-navbar {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease, padding .3s ease;
  z-index: 1030;
}
.main-navbar.scrolled { padding: 9px 0; box-shadow: 0 6px 24px rgba(23,28,51,.09); border-bottom-color: transparent; }

.main-navbar .navbar-brand img { height: 42px; width: auto; display: block; }

.main-navbar .nav-link {
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--primary-color);
  padding: .55rem 1rem !important;
  position: relative;
}
.main-navbar .nav-link:hover { color: var(--accent-color); }
.main-navbar .nav-link.active { color: var(--accent-color); }
.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .18rem;
  height: 2px;
  background: var(--accent-color);
}

/* Navbar CTA — device G2: accent pill */
.main-navbar .btn-brand {
  padding: 10px 22px;
  font-size: .8rem;
  white-space: nowrap;
}
.main-navbar .btn-brand::after { content: none; }

.navbar-toggler { border: 1px solid var(--hairline); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .4rem 0;
  margin-top: .4rem;
}
.dropdown-item { font-size: .85rem; font-weight: 500; padding: .55rem 1.2rem; color: var(--primary-color); }
.dropdown-item:hover { background: var(--soft-bg); color: var(--accent-color); }

.nav-products-row { display: flex; align-items: center; }
.mobile-cat-toggle {
  background: none; border: none; color: var(--primary-color);
  padding: .3rem .5rem; transition: transform .25s ease;
}
.mobile-cat-toggle.open { transform: rotate(180deg); }

/* ---------- 6. HERO SLIDER (82vh, framed panel C3/C8) ---------- */
.hero-slider { position: relative; }

.hero-slide {
  min-height: 82vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,21,56,.42) 0%, rgba(16,21,56,.40) 55%, rgba(16,21,56,.55) 100%);
}
.hero-slide .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

/* the semi-transparent panel with the thin outlined frame */
.hero-slide .container > * { }
.hero-slide .hero-panel {
  max-width: 780px;
  text-align: center;
  padding: 3.2rem 2.8rem;
  background: rgba(23, 28, 51, .40);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,.35);
  outline: 1px solid rgba(255,255,255,.18);
  outline-offset: 10px;
}

.hero-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 1rem;
}
.hero-tag::before { content: "+"; margin-right: .6rem; }
.hero-tag::after  { content: "+"; margin-left: .6rem; }

.hero-slide h1 {
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-slide p {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 1.9rem;
}

/* Indicators — device A5: thin lines, bottom-centre */
.hero-slider .carousel-indicators { bottom: 34px; margin-bottom: 0; gap: 10px; }
.hero-slider .carousel-indicators [data-bs-target] {
  width: 46px; height: 2px;
  background: rgba(255,255,255,.45);
  border: 0; border-radius: 0; opacity: 1;
  transition: background .3s ease, width .3s ease;
}
.hero-slider .carousel-indicators .active { background: var(--accent-color); width: 68px; }

/* Arrows — device B2: bare chevrons at the viewport edges */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 68px; opacity: .75; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { opacity: 1; }
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 34px; height: 34px;
  background-size: 34px 34px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}

/* ---------- 7. PAGE HERO (320px, diagonal overlay, framed) ---------- */
.page-hero {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(16,21,56,.86) 0%, rgba(16,21,56,.62) 48%, rgba(16,21,56,.30) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 1.6rem 0 1.6rem 1.6rem;
  border-left: 3px solid var(--accent-color);
  display: inline-block;
}
.breadcrumb-custom {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
  margin-top: .3rem;
  padding-left: 1.6rem;
}
.breadcrumb-custom a { color: var(--secondary-light); }
.breadcrumb-custom a:hover { color: #fff; }

/* ---------- 8. ABOUT IMAGE PAIR (device F2) ---------- */
.about-img-wrap {
  position: relative;
  padding-bottom: 68px;
  padding-right: 46px;
}
.about-img-wrap > img {
  width: 100%;
  display: block;
  border: var(--plate-border) solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-img-wrap .img-front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  max-width: 272px;
  border: var(--plate-border) solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}
.about-img-wrap .badge-float {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 1.05rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 210px;
}
.about-img-wrap .badge-float .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--secondary-light);
  letter-spacing: 0;
  line-height: 1.1;
}

/* Checklist — outlined circle bullets */
.check-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: .8rem;
  font-size: .92rem;
  color: var(--body-text);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: .15rem;
  width: 22px; height: 22px;
  border: 1.5px solid var(--accent-color);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: .68rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 9. FEATURE CARDS (J1 + E1) ---------- */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  text-align: center;
  height: 100%;
  border-top: 3px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--accent-color);
}
.feature-card .icon-wrap {
  width: 74px; height: 74px;
  margin: 0 auto 1.4rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--hairline);
  border-radius: 50%;
  color: var(--accent-color);
  font-size: 2rem;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
}
.feature-card:hover .icon-wrap { border-color: var(--accent-color); background: var(--accent-color); color: #fff; }
.feature-card h5 {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: .7rem;
}
.feature-card p { font-size: .88rem; margin: 0; }

/* ---------- 10. MISSION / VISION + VALUES ---------- */
.mv-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.2rem;
  height: 100%;
}
.mv-card > i {
  font-size: 2.1rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: 1.1rem;
}
.mv-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: .85rem;
}
.mv-card p { font-size: .92rem; margin: 0; }

.value-pill {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  height: 100%;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.value-pill:hover { border-color: var(--accent-color); box-shadow: var(--shadow); }
.value-pill i { font-size: 1.9rem; color: var(--accent-color); display: block; margin-bottom: .9rem; }
.value-pill h6 { font-size: 1rem; font-weight: 600; color: var(--primary-color); margin-bottom: .5rem; }
.value-pill p { font-size: .85rem; margin: 0; }

/* ---------- 11. PRODUCT / ITEM PLATES (2:3 gallery, white border) ---------- */
.category-card-link { display: block; color: inherit; }

.product-card,
.item-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  border: var(--plate-border) solid #fff;
  transition: border-width .3s ease, transform .3s ease, box-shadow .3s ease;
}
.product-card:hover,
.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.product-img,
.item-img {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--soft-bg);
}
.product-img img,
.item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.product-body,
.item-body {
  padding: 1.2rem 1rem 1.35rem;
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.product-body h5,
.item-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.4;
}

/* ---------- 12. CTA (device H1) ---------- */
.cta-section {
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,21,56,.88) 0%, rgba(26,32,85,.80) 100%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section .cta-eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: 1rem;
}
.cta-section .cta-eyebrow::before { content: "+"; margin-right: .6rem; }
.cta-section .cta-eyebrow::after  { content: "+"; margin-left: .6rem; }
.cta-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section p {
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 13. CONTACT ---------- */
.contact-info-card {
  background: var(--primary-color);
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  height: 100%;
  box-shadow: var(--shadow);
}
.contact-info-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item .ci-icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary-light);
  font-size: 1rem;
}
.contact-info-item .ci-text { display: flex; flex-direction: column; }
.contact-info-item .ci-text small {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--secondary-light);
  margin-bottom: .18rem;
}
.contact-info-item .ci-text span,
.contact-info-item .ci-text a { color: #fff; font-size: .92rem; word-break: break-word; }
.contact-info-item .ci-text a:hover { color: var(--secondary-light); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-form-wrap h4 { font-size: 1.3rem; font-weight: 600; color: var(--primary-color); }
.contact-form-wrap .form-label { font-size: .82rem; color: var(--primary-color); letter-spacing: .03em; }
.contact-form-wrap .form-control {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: .7rem .95rem;
  font-size: .9rem;
  background: #fbfbfd;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 .18rem rgba(21,166,213,.14);
  background: #fff;
}

/* ---------- 14. FOOTER (4-column, serif headings, bar I4) ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.66); }
.site-footer .footer-top { padding: 78px 0 58px; }

.footer-brand-text { margin-bottom: 1.3rem; }
.footer-brand-text img { height: 46px; width: auto; display: block; }

.site-footer p { font-size: .89rem; margin: 0; max-width: 420px; }

.site-footer h5 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.4rem;
  padding-bottom: .7rem;
  position: relative;
}
.site-footer h5::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 38px; height: 2px;
  background: var(--accent-color);
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { font-size: .89rem; margin-bottom: .78rem; display: flex; align-items: flex-start; }
.site-footer ul li i { color: var(--accent-color); margin-top: .3rem; flex: 0 0 auto; }
.site-footer ul li a { color: rgba(255,255,255,.66); }
.site-footer ul li a:hover { color: var(--secondary-light); }

.footer-bottom {
  background: var(--footer-bar);
  padding: 17px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- 15. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  background: var(--accent-color);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 1040;
  box-shadow: var(--shadow-hover);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); color: #fff; }

/* ---------- 16. RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  .main-navbar .nav-link { padding: .55rem .75rem !important; }
  .main-navbar .navbar-brand img { height: 38px; }
}

@media (max-width: 991.98px) {
  :root { --section-pad: 68px; }

  .top-bar { display: none; }

  .main-navbar .navbar-collapse { flex-basis: 100%; }
  .main-navbar .navbar-nav { padding: .8rem 0 .4rem; }
  .main-navbar .nav-link { padding: .6rem .2rem !important; }
  .main-navbar .nav-link.active::after { left: .2rem; right: auto; width: 26px; }
  .main-navbar .btn-brand { width: 100%; justify-content: center; }
  .main-navbar .navbar-brand img { height: 38px; }
  .dropdown-menu { border: none; box-shadow: none; padding-left: .6rem; }

  .hero-slide { min-height: 74vh; }
  .hero-slide .hero-panel { padding: 2.2rem 1.4rem; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { width: 44px; }

  .page-hero { min-height: 240px; }

  /* F2 overlap collapses to a single plate on mobile */
  .about-img-wrap { padding-bottom: 0; padding-right: 0; }
  .about-img-wrap .img-front { display: none; }
  .about-img-wrap .badge-float { position: static; margin-top: 1rem; max-width: none; display: inline-block; }
}

@media (max-width: 575.98px) {
  :root { --card-pad: 2rem 1.4rem; --plate-border: 6px; }
  .hero-slide .hero-panel { outline-offset: 6px; }
  .contact-form-wrap,
  .contact-info-card { padding: 1.9rem 1.4rem; }
  .mv-card { padding: 2rem 1.5rem; }
  .btn-lg { padding: 12px 26px; font-size: .85rem; }
}
