/* =========================================================
   PRIMAVERA RAW MATERIALS TRADING FZE LLC
   Wilshire build — Visual Template T03 "Industrial Block"
   Anchor: alemlaqshipping.com   |   Colours: from client logo
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root {
  /* Brand — derived from the Primavera logo (#ED1C24 / #12100F) */
  --primary-color:   #ED1C24;
  --primary-light:   #F4565C;
  --secondary-color: #12100F;
  --secondary-light: #33302E;
  --accent-color:    #ED1C24;
  --accent-dark:     #C1141B;

  /* Template tokens — T03 Industrial Block */
  --radius:        0px;
  --btn-radius:    50px;
  --shadow:        none;
  --section-pad:   78px;
  --container-max: 1240px;
  --grid-gap:      1rem;
  --h1-size:       clamp(2.15rem, 5.4vw, 4rem);
  --h2-size:       clamp(1.55rem, 3.2vw, 2rem);
  --body-lh:       1.7;
  --card-pad:      1.5rem;

  /* Surfaces */
  --ink:        #12100F;
  --ink-soft:   #5a5754;
  --line:       #dcdedf;
  --line-soft:  #e8eaeb;
  --band:       #f7f8f9;
  --white:      #ffffff;

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body:    'Roboto', Arial, sans-serif;
}

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

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

body {
  font-family: var(--body);
  font-size: 0.9rem;
  line-height: var(--body-lh);
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

p { margin: 0 0 1rem; }

a { text-decoration: none; transition: color .2s ease; }

img { max-width: 100%; height: auto; }

::selection { background: var(--accent-color); color: #fff; }

.section-padding { padding: var(--section-pad) 0; }

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

/* Section heading block — T03 keeps section headers LEFT aligned, D7 (no tag) */
.section-head { max-width: 720px; }

.section-tag { display: none; }          /* D7 — no tag device on this template */

.section-title {
  font-family: var(--display);
  font-size: var(--h2-size);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--ink);
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--accent-color);
}

/* ---------------------------------------------------------
   3. BUTTONS  (pill, held site-wide — G2 family)
   --------------------------------------------------------- */
.btn-brand,
.btn-brand-outline,
.btn-brand-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
  line-height: 1;
}

.btn-brand {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

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

.btn-brand-secondary {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}
.btn-brand-secondary:hover, .btn-brand-secondary:focus {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.btn-lg { padding: 15px 36px; font-size: .85rem; }

/* ---------------------------------------------------------
   4. TOP BAR  —  dark, uppercase micro type
   --------------------------------------------------------- */
.top-bar {
  background: var(--secondary-color);
  color: rgba(255,255,255,.68);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar a { color: rgba(255,255,255,.68); text-transform: lowercase; }
.top-bar a:hover { color: var(--accent-color); }
.top-bar i { color: var(--accent-color); margin-right: .5rem; }

/* ---------------------------------------------------------
   5. NAVBAR
   --------------------------------------------------------- */
.main-navbar {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease, padding .25s ease;
  z-index: 1030;
}
.main-navbar.scrolled {
  padding: .35rem 0;
  box-shadow: 0 2px 14px rgba(18,16,15,.09);
}

.navbar-brand { padding: 0; margin-right: 1.25rem; }
.navbar-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.main-navbar .nav-link {
  font-family: var(--display);
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  padding: .5rem .85rem;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-navbar .nav-link:hover { color: var(--accent-color); }

/* Active nav link — outlined accent pill */
.main-navbar .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Navbar CTA — G2 dark pill */
.main-navbar .btn-brand {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  font-family: var(--body);
  font-size: .74rem;
  letter-spacing: .02em;
  text-transform: none;
  padding: 11px 22px;
}
.main-navbar .btn-brand:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: .35rem .55rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* Products dropdown */
.nav-products-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-cat-toggle {
  background: none;
  border: 0;
  color: var(--ink);
  padding: .25rem .6rem;
  transition: transform .25s ease;
}
.mobile-cat-toggle.open { transform: rotate(180deg); color: var(--accent-color); }

.main-navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-color);
  border-radius: 0;
  padding: .35rem 0;
  margin-top: .35rem;
  box-shadow: 0 12px 30px rgba(18,16,15,.1);
  min-width: 250px;
}
.main-navbar .dropdown-item {
  font-family: var(--display);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .6rem 1.1rem;
  color: var(--ink);
}
.main-navbar .dropdown-item:hover {
  background: var(--band);
  color: var(--accent-color);
}

/* ---------------------------------------------------------
   6. HERO SLIDER — 86vh, C5 two-tone headline, A3 dots, B3 arrows
   --------------------------------------------------------- */
.hero-slider { position: relative; }

.hero-slide {
  position: relative;
  height: 86vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18,16,15,.80) 0%, rgba(18,16,15,.58) 45%, rgba(18,16,15,.34) 100%);
}
.hero-slide .container { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  background: var(--accent-color);
  padding: 7px 16px;
  margin-bottom: 1.4rem;
}

.hero-slide h1 {
  font-family: var(--display);
  font-size: var(--h1-size);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  max-width: 720px;
  margin-bottom: 1.1rem;
}
.hero-slide h1 .hero-line { display: block; }
.hero-slide h1 .accent-line { color: var(--accent-color); }

.hero-slide p {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Button group offset to the RIGHT of the text block (T03 signature) */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-left: 170px;
}

/* Indicators — A3 round dots, bottom-left */
.hero-slider .carousel-indicators {
  justify-content: flex-start;
  left: 0; right: auto;
  bottom: 42px;
  margin: 0;
  padding-left: max(24px, calc((100vw - var(--container-max)) / 2 + 12px));
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  opacity: 1;
  margin: 0 7px 0 0;
  transition: background .25s ease, transform .25s ease;
}
.hero-slider .carousel-indicators .active {
  background: var(--accent-color);
  transform: scale(1.25);
}

/* Arrows — B3 circular translucent, right side */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 52px; height: 52px;
  top: auto; bottom: 42px;
  opacity: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(2px);
  transition: background .22s ease, border-color .22s ease;
}
.hero-slider .carousel-control-prev { left: auto; right: calc(max(24px, (100vw - var(--container-max)) / 2 + 12px) + 64px); }
.hero-slider .carousel-control-next { right: max(24px, calc((100vw - var(--container-max)) / 2 + 12px)); }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon { width: 17px; height: 17px; }

/* ---------------------------------------------------------
   7. PAGE HERO — 300px, 65% overlay, left aligned, uppercase
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,16,15,.65);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .5rem;
}
.breadcrumb-custom {
  font-family: var(--display);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.62);
}
.breadcrumb-custom a { color: #fff; }
.breadcrumb-custom a:hover { color: var(--accent-color); }

/* ---------------------------------------------------------
   8. ABOUT ROWS — F3 outlined frame + circular inset image
   --------------------------------------------------------- */
.about-img-wrap {
  position: relative;
  padding: 14px;
  border: 2px solid var(--line);
  margin-bottom: 46px;
}
.about-img-wrap > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-img-wrap .inset-img {
  position: absolute;
  right: -26px;
  bottom: -46px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 10px 26px rgba(18,16,15,.16);
  aspect-ratio: auto;
}

/* Floating stat badge (home about) */
.badge-float {
  position: absolute;
  left: -14px;
  bottom: -30px;
  background: var(--accent-color);
  color: #fff;
  padding: 16px 22px;
  font-family: var(--display);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.3;
  max-width: 180px;
}
.badge-float .num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: .65rem;
  font-size: .9rem;
  color: var(--ink);
}
.check-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0; top: -1px;
  color: var(--accent-color);
  font-size: .95rem;
}

/* ---------------------------------------------------------
   9. FEATURE CARDS — J2 hairline + E2 inline icon, 4-up
   --------------------------------------------------------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--card-pad);
  height: 100%;
  transition: border-color .25s ease;
}
.feature-card:hover { border-color: var(--accent-color); }

.feature-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.feature-card .icon-wrap i {
  font-size: 1.35rem;
  color: var(--accent-color);
  line-height: 1;
}
.feature-card h5 {
  display: inline;
  font-family: var(--display);
  font-size: .98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 0 .6rem;
  vertical-align: middle;
}
.feature-card p {
  font-size: .85rem;
  line-height: 1.7;
  margin: 1rem 0 0;
}

/* --------------------------------------------------------
   10. PRODUCT / CATEGORY / ITEM CARDS — 3:2, radius 0,
       hover = image darkens behind an uppercase label
   -------------------------------------------------------- */
.category-card-link { display: block; color: inherit; }

.product-card,
.item-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: border-color .25s ease;
}
.product-card:hover,
.item-card:hover { border-color: var(--accent-color); }

.product-img,
.item-img {
  position: relative;
  overflow: hidden;
}
.product-img img,
.item-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.product-img::after,
.item-img::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,16,15,.62);
  color: #fff;
  font-family: var(--display);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  opacity: 0;
  transition: opacity .28s ease;
}
.product-card:hover .product-img::after,
.item-card:hover .item-img::after { opacity: 1; }

.product-body,
.item-body {
  padding: 1.05rem 1.25rem;
  border-top: 1px solid var(--line-soft);
  min-height: 76px;
  display: flex;
  align-items: center;
}
.product-body h5,
.item-body h5 {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  margin: 0;
}

/* Declared for completeness — not used on this build (no counts, no links) */
.category-count,
.browse-link,
.item-list,
.map-frame,
.footer-social,
.preloader-fade { display: none !important; }

/* ---------------------------------------------------------
   11. MISSION / VISION + VALUES
   --------------------------------------------------------- */
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-color);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  height: 100%;
}
.mv-card > i {
  font-size: 1.8rem;
  color: var(--accent-color);
  display: block;
  margin-bottom: .9rem;
}
.mv-card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .7rem;
}
.mv-card p { font-size: .88rem; margin: 0; }

.value-pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
}
.value-pill > i { font-size: 1.35rem; color: var(--accent-color); }
.value-pill h6 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: .92rem;
  margin: .7rem 0 .45rem;
}
.value-pill p { font-size: .84rem; margin: 0; }

/* ---------------------------------------------------------
   12. CTA SECTION — H2: heading left, dark pill button right
   --------------------------------------------------------- */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,16,15,.78);
}
.cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-section .cta-text { flex: 1 1 520px; }
.cta-section h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .6rem;
  line-height: 1.2;
}
.cta-section p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  margin: 0;
  max-width: 620px;
}
.cta-section .btn-brand-secondary {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  flex: 0 0 auto;
}
.cta-section .btn-brand-secondary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

/* ---------------------------------------------------------
   13. CONTACT
   --------------------------------------------------------- */
.contact-info-card {
  background: var(--secondary-color);
  color: rgba(255,255,255,.72);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  height: 100%;
}
.contact-info-card h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #fff;
  padding-bottom: 14px;
  margin-bottom: 1.5rem;
  position: relative;
}
.contact-info-card h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 3px;
  background: var(--accent-color);
}
.contact-info-item {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.contact-info-item:last-child { border-bottom: 0; }
.ci-icon {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: #fff;
  font-size: .95rem;
}
.ci-text { display: flex; flex-direction: column; }
.ci-text small {
  font-family: var(--display);
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.45);
  margin-bottom: .15rem;
}
.ci-text span, .ci-text a { color: #fff; font-size: .88rem; word-break: break-word; }
.ci-text a:hover { color: var(--accent-color); }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  height: 100%;
}
.contact-form-wrap h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.contact-form-wrap .form-label {
  font-family: var(--display);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
  margin-bottom: .35rem;
}
.contact-form-wrap .form-control {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .9rem;
  font-size: .88rem;
  background: #fdfdfd;
}
.contact-form-wrap .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 .15rem rgba(237,28,36,.12);
  background: #fff;
}
.contact-form-wrap .alert { border-radius: var(--radius); font-size: .88rem; }

/* ---------------------------------------------------------
   14. FOOTER — black, uppercase headings, I1 accent copyright bar
   --------------------------------------------------------- */
.site-footer { background: #0a0908; color: rgba(255,255,255,.62); }

.footer-top { padding: 70px 0 54px; }

.footer-brand { margin-bottom: 1.25rem; }
.footer-brand img { height: 46px; width: auto; max-width: 100%; }

.footer-brand-text {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand-text img { height: 30px; width: auto; }

.site-footer p { font-size: .86rem; line-height: 1.8; margin: 0; }

.site-footer h5 {
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  padding-bottom: 12px;
  margin-bottom: 1.15rem;
  position: relative;
}
.site-footer h5::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--accent-color);
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li {
  font-size: .86rem;
  padding: .38rem 0;
  display: flex;
  align-items: flex-start;
  gap: .1rem;
}
.site-footer ul li i { color: var(--accent-color); margin-top: .25rem; }
.site-footer ul li a { color: rgba(255,255,255,.62); }
.site-footer ul li a:hover { color: var(--accent-color); }

.footer-bottom {
  background: var(--accent-color);
  color: #fff;
  padding: 15px 0;
  font-size: .78rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .1em;
}

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

/* ---------------------------------------------------------
   16. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .navbar-brand img { height: 27px; }
  .main-navbar .nav-link { padding: .5rem .6rem; font-size: .78rem; }
  .main-navbar .btn-brand { font-size: .7rem; padding: 10px 16px; }
}

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

  .top-bar { display: none; }

  .navbar-brand img {
    height: auto;
    width: auto;
    max-height: 30px;
    max-width: calc(100vw - 118px);
  }

  .main-navbar .navbar-collapse {
    flex-basis: 100%;
    margin-top: .65rem;
    border-top: 1px solid var(--line-soft);
    padding-top: .5rem;
  }
  .main-navbar .nav-link { padding: .6rem .25rem; border: 0; }
  .main-navbar .nav-link.active { border: 0; }
  .main-navbar .dropdown-menu { border: 0; border-left: 2px solid var(--accent-color); box-shadow: none; margin-left: .25rem; }
  .main-navbar .btn-brand { width: 100%; }

  .hero-slide { height: 78vh; min-height: 480px; }
  .hero-actions { margin-left: 0; }

  .cta-section .container { flex-direction: column; align-items: flex-start; }

  .about-img-wrap { margin-bottom: 40px; }
  .about-img-wrap .inset-img { width: 130px; height: 130px; right: -10px; bottom: -38px; }
  .badge-float { left: 0; }
}

@media (max-width: 767.98px) {
  :root { --section-pad: 52px; }

  .hero-slide { height: auto; min-height: 0; padding: 120px 0 110px; }
  .hero-slide h1 { max-width: none; }
  .hero-slide p { font-size: .9rem; }
  .hero-actions .btn { flex: 1 1 100%; }

  .hero-slider .carousel-indicators { bottom: 26px; padding-left: 18px; }
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next { display: none; }

  .page-hero { height: 220px; }

  .navbar-brand img { max-width: calc(100vw - 104px); }

  .about-img-wrap { padding: 10px; margin-bottom: 34px; }
  .about-img-wrap .inset-img { width: 104px; height: 104px; right: -6px; bottom: -30px; border-width: 4px; }
  .badge-float { position: static; display: inline-block; margin-top: 1rem; max-width: none; }

  .contact-info-card, .contact-form-wrap { padding: 1.5rem 1.25rem; }
  .footer-top { padding: 52px 0 40px; }
  .back-to-top { right: 14px; bottom: 14px; }
}
