/* =========================================================
   FERROSO BUILDING MATERIALS TRADING FZE LLC
   Wilshire build — Visual Template T04 "Angular Cut"
   Brand colours derived from the client logo.
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* brand — from logo */
  --primary-color: #4d4d4f;
  --primary-light: #767678;
  --secondary-color: #a7a9ac;
  --secondary-light: #c6c8cb;
  --accent-color: #f0a81e;
  --accent-dark: #d8930c;

  /* derived working values */
  --accent-deep: #97650a;
  --ink: #1e1e20;
  --ink-soft: #2a2a2d;
  --body-color: #5d5d60;
  --surface: #f6f6f8;
  --hairline: #e4e4e8;
  --footer-bg: #131315;

  /* T04 template tokens */
  --container-max: 1200px;
  --section-pad: 95px;
  --grid-gap: 1.5rem;
  --radius: 4px;
  --btn-radius: 0;
  --clip: 14px;
  --clip-deep: 24px;
  --card-pad: 3.6rem 1.9rem 2rem;
  --shadow: 0 8px 26px rgba(30, 30, 32, .09);
  --shadow-hover: 0 16px 42px rgba(30, 30, 32, .16);
  --h1-size: clamp(2.05rem, 5vw, 3.5rem);
  --body-lh: 1.75;
  --text-cap: 620px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: .95rem;
  line-height: var(--body-lh);
  color: var(--body-color);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
}

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; }

@media (max-width: 767.98px) {
  .section-padding { padding: 62px 0; }
}

.bg-light-soft { background: var(--surface); }

/* --- section tag: D6, small icon + accent text --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Outfit', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: .85rem;
}

.section-tag::before {
  content: "\F2EF";
  font-family: "bootstrap-icons";
  font-size: .9rem;
  letter-spacing: 0;
  line-height: 1;
  color: var(--accent-color);
  transform: translateY(1px);
}

.section-title {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}

.section-title + p,
.section-tag + .section-title + p { max-width: var(--text-cap); }

/* ---------- 3. BUTTONS — angular clip on every one ---------- */
.btn-brand,
.btn-brand-outline,
.btn-brand-secondary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: var(--btn-radius);
  border: 0;
  transition: clip-path .3s ease, background .25s ease, color .25s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)));
}

.btn-brand:hover,
.btn-brand-outline:hover,
.btn-brand-secondary:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.btn-brand {
  background: var(--accent-color);
  color: var(--ink);
}

.btn-brand:hover { background: var(--accent-dark); color: var(--ink); }

.btn-brand-outline {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7);
}

.btn-brand-outline:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

.btn-brand-secondary {
  background: var(--primary-color);
  color: #fff;
}

.btn-brand-secondary:hover { background: var(--ink); color: #fff; }

.btn-lg { padding: 16px 34px; font-size: .85rem; }

/* arrow glyph on primary actions */
.btn-brand::after,
.btn-brand-secondary::after {
  content: "\F144";
  font-family: "bootstrap-icons";
  font-size: .85rem;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(1px);
}

.btn-brand-secondary.btn-back::after { content: none; }

/* ---------- 4. TOP BAR — white with hairline ---------- */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--hairline);
  font-size: .78rem;
  padding: 9px 0;
  color: var(--primary-light);
}

.top-bar a { color: var(--primary-color); font-weight: 500; }
.top-bar a:hover { color: var(--accent-deep); }
.top-bar i { color: var(--accent-color); margin-right: .45rem; }

@media (max-width: 991.98px) { .top-bar { display: none; } }

/* ---------- 5. NAVBAR ---------- */
.main-navbar {
  background: #fff;
  padding: .55rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease, padding .3s ease;
}

.main-navbar.scrolled {
  box-shadow: 0 6px 26px rgba(30, 30, 32, .10);
  padding: .35rem 0;
  border-bottom-color: transparent;
}

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

.main-navbar.scrolled .navbar-brand img { height: 40px; }

.main-navbar .nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--primary-color);
  padding: .65rem 1rem;
  position: relative;
}

.main-navbar .nav-link:hover { color: var(--ink); }

.main-navbar .nav-link.active { color: var(--ink); }

.main-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .32rem;
  height: 3px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5px 100%);
}

.main-navbar .navbar-toggler {
  border: 1px solid var(--hairline);
  border-radius: 0;
  padding: .35rem .6rem;
}

.main-navbar .navbar-toggler:focus { box-shadow: none; }

/* navbar CTA — G3 slanted parallelogram with circular icon chip */
.main-navbar .btn-brand {
  position: relative;
  z-index: 1;
  background: none;
  color: var(--ink);
  padding: 11px 20px 11px 46px;
  clip-path: none;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: none;
}

.main-navbar .btn-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-color);
  transform: skewX(-12deg);
  transition: background .25s ease;
  z-index: -1;
}

.main-navbar .btn-brand::after { content: none; }

.main-navbar .btn-brand:hover::before { background: var(--accent-dark); }

.main-navbar .btn-brand i {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  margin: 0 !important;
}

/* products dropdown (only rendered when the client has categories) */
.nav-products-row { display: flex; align-items: center; }

.main-navbar .dropdown-menu {
  border: 0;
  border-radius: 0;
  border-top: 3px solid var(--accent-color);
  box-shadow: var(--shadow);
  padding: .4rem 0;
  margin-top: .1rem;
}

.main-navbar .dropdown-item {
  font-family: 'Outfit', sans-serif;
  font-size: .84rem;
  font-weight: 500;
  color: var(--primary-color);
  padding: .55rem 1.25rem;
}

.main-navbar .dropdown-item:hover {
  background: var(--surface);
  color: var(--accent-deep);
}

.mobile-cat-toggle {
  background: none;
  border: 0;
  color: var(--primary-color);
  padding: .3rem .6rem;
}

.mobile-cat-toggle.open { transform: rotate(180deg); }

/* ---------- 6. HERO — 70vh, C1 left block ---------- */
.hero-slider { position: relative; }

.hero-slide {
  height: 70vh;
  min-height: 470px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 20, 22, .82) 0%, rgba(20, 20, 22, .62) 42%, rgba(20, 20, 22, .38) 100%);
}

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

.hero-slide .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Outfit', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.1rem;
}

.hero-slide .hero-tag::before {
  content: "\F2EF";
  font-family: "bootstrap-icons";
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1;
}

.hero-slide h1 {
  font-size: var(--h1-size);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.015em;
  max-width: 19ch;
  margin-bottom: 1.1rem;
}

.hero-slide p {
  color: rgba(255, 255, 255, .84);
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 1.9rem;
}

/* indicators — A1 vertical dot stack, right edge, active ringed */
.hero-slider .carousel-indicators {
  flex-direction: column;
  right: 34px;
  left: auto;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  gap: 14px;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  border: 0;
  opacity: 1;
  margin: 0;
  text-indent: 0;
  position: relative;
  transition: background .3s ease;
}

.hero-slider .carousel-indicators .active { background: var(--accent-color); }

.hero-slider .carousel-indicators .active::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--accent-color);
  border-radius: 50%;
}

/* arrows — B4 solid accent squares stacked at the right edge */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 46px;
  height: 46px;
  background: var(--accent-color);
  opacity: 1;
  left: auto;
  right: 26px;
  top: auto;
  transition: background .25s ease;
}

.hero-slider .carousel-control-prev { bottom: 96px; }
.hero-slider .carousel-control-next { bottom: 44px; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { background: var(--accent-dark); }

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
  width: 16px;
  height: 16px;
  filter: none;
}

.hero-slider .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e1e20'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.hero-slider .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e1e20'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

@media (max-width: 767.98px) {
  .hero-slide { height: auto; min-height: 0; padding: 92px 0 108px; }
  .hero-slide h1 { max-width: 100%; }
  .hero-slider .carousel-indicators { flex-direction: row; top: auto; bottom: 16px; right: 0; left: 0; transform: none; }
  .hero-slider .carousel-control-prev { bottom: 52px; right: 74px; }
  .hero-slider .carousel-control-next { bottom: 52px; right: 20px; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { width: 40px; height: 40px; }
}

/* ---------- 7. PAGE HERO — 300px, clipped accent wedge ---------- */
.page-hero {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 20, 22, .78) 0%, rgba(20, 20, 22, .48) 100%);
}

.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 190px;
  background: var(--accent-color);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: .9;
}

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

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .5rem;
}

.page-hero .breadcrumb-custom {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
}

.page-hero .breadcrumb-custom a { color: var(--accent-color); }
.page-hero .breadcrumb-custom a:hover { color: #fff; }

@media (max-width: 767.98px) {
  .page-hero { height: 220px; }
  .page-hero::after { width: 120px; height: 120px; }
}

/* ---------- 8. ABOUT ROW — F5, 6:5 image with a clipped corner ---------- */
.about-img-wrap {
  position: relative;
  background: var(--surface);
}

.about-img-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 54px), calc(100% - 54px) 100%, 0 100%);
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 96px;
  height: 96px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: -1;
}

.about-img-wrap { z-index: 1; }

.badge-float {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--ink);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.35;
  padding: 1rem 1.4rem;
  max-width: 200px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.badge-float .num {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--accent-color);
  text-transform: none;
}

@media (max-width: 991.98px) {
  .about-img-wrap { margin-left: 16px; }
  .badge-float { font-size: .68rem; padding: .8rem 1.1rem; max-width: 165px; }
  .badge-float .num { font-size: 1.35rem; }
}

/* ---------- 9. CHECK LIST ---------- */
.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-weight: 500;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  background: var(--accent-color);
  color: var(--ink);
  font-size: .68rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

/* ---------- 10. FEATURE CARDS — J1 + E5 shield badge on the corner ---------- */
/* The white surface lives on a clipped ::before so the shield badge can
   overhang the corner and the drop shadow can follow the clipped silhouette.
   clip-path on the card itself would cut both away. */
.feature-card {
  position: relative;
  z-index: 1;
  padding: var(--card-pad);
  height: 100%;
  margin-top: 16px;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 20px rgba(30, 30, 32, .10));
  transition: clip-path .3s ease, filter .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.feature-card:hover::before {
  filter: drop-shadow(0 16px 32px rgba(30, 30, 32, .17));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 42px 100%, 0 calc(100% - 42px));
}

.feature-card .icon-wrap {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 58px;
  height: 66px;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
  transition: background .25s ease;
}

.feature-card:hover .icon-wrap { background: var(--accent-dark); }

.feature-card .icon-wrap i {
  font-size: 1.4rem;
  color: var(--ink);
  transform: translateY(-5px);
}

.feature-card h5 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: .6rem;
}

.feature-card p {
  font-size: .89rem;
  margin: 0;
  text-align: left;
}

/* ---------- 11. CTA — H7 greyscale image, full-colour accent button ---------- */
.cta-section {
  position: relative;
  background-color: var(--ink);
  background-size: 0 0;
  background-repeat: no-repeat;
  overflow: hidden;
  clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.06);
  opacity: .38;
}

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

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .9rem;
}

.cta-section p {
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 12. PRODUCT / ITEM CARDS — 6:5 clipped corner ---------- */
/* These clip an image, so the clip stays on the card and the shadow is cast
   from the column above it — a shadow on the card itself would be clipped off. */
.row > [class*="col-"]:has(> .product-card),
.row > [class*="col-"]:has(> .item-card),
.row > [class*="col-"]:has(> .category-card-link) {
  filter: drop-shadow(0 8px 20px rgba(30, 30, 32, .10));
  transition: filter .3s ease;
}

.row > [class*="col-"]:has(> .product-card):hover,
.row > [class*="col-"]:has(> .item-card):hover,
.row > [class*="col-"]:has(> .category-card-link):hover {
  filter: drop-shadow(0 16px 34px rgba(30, 30, 32, .18));
}

.product-card,
.item-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: clip-path .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.product-card:hover,
.item-card:hover {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 42px 100%, 0 calc(100% - 42px));
}

.product-img,
.item-img {
  position: relative;
  overflow: hidden;
}

.product-img img,
.item-img img {
  width: 100%;
  display: block;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}

.product-img::after,
.item-img::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 46px solid transparent;
  border-bottom: 46px solid #fff;
  transition: border-width .3s ease;
}

.product-card:hover .product-img::after,
.item-card:hover .item-img::after {
  border-left-width: 66px;
  border-bottom-width: 66px;
}

.product-body,
.item-body {
  padding: 1.15rem 1.5rem 1.6rem;
}

.product-body h5,
.item-body h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  transition: color .25s ease;
}

.product-card:hover .product-body h5,
.item-card:hover .item-body h5 { color: var(--accent-deep); }

.category-card-link { display: block; height: 100%; }
.category-card-link:hover .product-body h5 { color: var(--accent-deep); }

/* ---------- 13. MISSION / VISION ---------- */
.mv-card {
  position: relative;
  z-index: 1;
  padding: 2.6rem 2rem 2.2rem;
  height: 100%;
}

.mv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--accent-color);
  filter: drop-shadow(0 8px 20px rgba(30, 30, 32, .10));
  transition: filter .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.mv-card:hover::before { filter: drop-shadow(0 16px 32px rgba(30, 30, 32, .17)); }

.mv-card > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 62px;
  background: var(--surface);
  color: var(--accent-deep);
  font-size: 1.35rem;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
  margin-bottom: 1.2rem;
}

.mv-card > i::before { transform: translateY(-5px); display: block; }

.mv-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: .7rem;
}

.mv-card p { font-size: .92rem; margin: 0; }

/* ---------- 14. CORE VALUES ---------- */
.value-pill {
  position: relative;
  z-index: 1;
  padding: 2.9rem 1.5rem 1.9rem;
  height: 100%;
  margin-top: 14px;
}

.value-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 20px rgba(30, 30, 32, .10));
  transition: clip-path .3s ease, filter .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip) 100%, 0 calc(100% - var(--clip)));
}

.value-pill:hover::before {
  filter: drop-shadow(0 16px 32px rgba(30, 30, 32, .17));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}

.value-pill > i {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 48px;
  height: 55px;
  background: var(--accent-color);
  color: var(--ink);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
}

.value-pill > i::before { transform: translateY(-4px); display: block; }

.value-pill h6 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: .5rem;
}

.value-pill p { font-size: .86rem; margin: 0; }

/* ---------- 15. CONTACT ---------- */
.contact-info-card {
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  padding: 2.4rem 1.9rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.contact-info-card h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  position: relative;
}

.contact-info-card h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5px 100%);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item .ci-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 48px;
  background: var(--accent-color);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 50% 100%, 0 66%);
}

.contact-info-item .ci-icon i { transform: translateY(-4px); }

.contact-info-item .ci-text { display: flex; flex-direction: column; }

.contact-info-item .ci-text small {
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: .15rem;
}

.contact-info-item .ci-text span,
.contact-info-item .ci-text a {
  font-size: .92rem;
  color: rgba(255, 255, 255, .86);
  line-height: 1.55;
  word-break: break-word;
}

.contact-info-item .ci-text a:hover { color: var(--accent-color); }

.contact-form-wrap {
  position: relative;
  z-index: 1;
  padding: 2.4rem 2.1rem;
  height: 100%;
}

.contact-form-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  filter: drop-shadow(0 8px 20px rgba(30, 30, 32, .10));
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--clip-deep) 100%, 0 calc(100% - var(--clip-deep)));
}

.contact-form-wrap h4 { font-size: 1.25rem; font-weight: 700; }

.contact-form-wrap .form-label {
  font-family: 'Outfit', sans-serif;
  font-size: .76rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: .4rem;
}

.contact-form-wrap .form-control {
  border: 1px solid var(--hairline);
  border-radius: 0;
  background: var(--surface);
  padding: .78rem 1rem;
  font-size: .92rem;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}

.contact-form-wrap .form-control:focus {
  border-color: var(--accent-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240, 168, 30, .15);
}

.contact-form-wrap .alert-success {
  border: 0;
  border-radius: 0;
  border-left: 4px solid var(--accent-color);
  background: #fdf6e7;
  color: var(--ink);
  font-size: .9rem;
}

/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, .62); }

.site-footer .footer-top { padding: 74px 0 56px; }

.site-footer .footer-brand-text {
  display: block;
  margin-bottom: 1.2rem;
}

.site-footer .footer-brand-text img {
  height: 52px;
  width: auto;
  display: block;
}

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

.site-footer h5 {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  padding-bottom: .8rem;
  position: relative;
}

.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--accent-color);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5px 100%);
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }

.site-footer ul li {
  font-size: .89rem;
  margin-bottom: .85rem;
  display: flex;
  align-items: flex-start;
  gap: .1rem;
  line-height: 1.65;
}

.site-footer ul li:last-child { margin-bottom: 0; }

.site-footer ul li i { color: var(--accent-color); font-size: .82rem; margin-top: .3rem; }

.site-footer ul a { color: rgba(255, 255, 255, .62); word-break: break-word; }
.site-footer ul a:hover { color: var(--accent-color); }

/* chevron bullets on the quick links only */
.site-footer .footer-links li::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  color: var(--accent-color);
  font-size: .72rem;
  margin-right: .55rem;
  margin-top: .18rem;
}

.footer-bottom {
  background: var(--accent-color);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: .03em;
  padding: 15px 0;
}

/* ---------- 17. BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  background: var(--accent-color);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); color: var(--ink); }

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    flex-basis: 100%;
    background: #fff;
    margin-top: .6rem;
    padding: .5rem 0 1rem;
    border-top: 1px solid var(--hairline);
  }

  .main-navbar .nav-link { padding: .7rem .25rem; }
  .main-navbar .nav-link.active::after { left: .25rem; right: auto; width: 26px; }

  .main-navbar .btn-brand {
    display: inline-flex;
    margin-top: .5rem;
    margin-left: .25rem;
  }

  .nav-products-row { justify-content: space-between; }
  .main-navbar .dropdown-menu { box-shadow: none; border-top: 0; padding-left: .8rem; }

  .cta-section { clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); }
}

@media (max-width: 767.98px) {
  /* keep the angular notch, just scaled down for narrow cards */
  :root { --clip: 10px; --clip-deep: 16px; }

  .feature-card:hover::before,
  .value-pill:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }

  .product-card:hover,
  .item-card:hover { clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px)); }

  .about-img-wrap img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%); }
  .about-img-wrap::before { width: 64px; height: 64px; top: -10px; left: -10px; }
  .about-img-wrap { margin-left: 10px; }
  .site-footer .footer-top { padding: 54px 0 40px; }
  .site-footer p { max-width: 100%; }
}
