/* ===========================================
   MASTERMIND BRANDING LIMITED — Stylesheet
   Brand: Red #B91C3B | Black #111111
   =========================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #B91C3B;
  --red-dark:   #95172f;
  --red-light:  #d41e47;
  --black:      #111111;
  --dark2:      #1a1a1a;
  --dark3:      #222222;
  --text:       #444444;
  --text-light: #777777;
  --light-bg:   #f5f5f5;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --shadow:     0 4px 24px rgba(0,0,0,0.1);
  --radius:     6px;
  --transition: 0.3s ease;
  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Open Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-pad { padding: 88px 0; }
.bg-light     { background: var(--light-bg); }
.bg-dark      { background: var(--dark2); }

/* ---- Section Header ---- */
.section-header { text-align: center; margin-bottom: 54px; }
.section-header--inner { margin-top: 60px; }
.section-header--light .section-title { color: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(185,28,59,0.08);
  border: 1px solid rgba(185,28,59,0.2);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185,28,59,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--sm  { padding: 9px 18px; font-size: 0.78rem; }
.btn--full { width: 100%; justify-content: center; }


/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  font-size: 0.79rem;
  padding: 7px 0;
  z-index: 200;
  position: relative;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-bar__left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar__left a {
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 6px;
  transition: color var(--transition);
}

.top-bar__left a:hover { color: var(--red); }
.top-bar__left a i { color: var(--red); }

.top-bar__right {
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
}

.top-bar__right i { color: var(--red); }


/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.navbar__logo img { height: 50px; width: auto; }

.navbar__menu ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar__menu ul li { position: relative; }

.navbar__menu ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
  border-radius: 4px;
  transition: var(--transition);
}

.navbar__menu ul li a:hover,
.navbar__menu ul li a.active {
  color: var(--red);
  background: rgba(185,28,59,0.06);
}

.navbar__menu ul li a .fa-chevron-down { font-size: 0.6rem; transition: transform var(--transition); }
.has-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  min-width: 230px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  border-top: 3px solid var(--red);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown li a {
  padding: 11px 18px;
  font-size: 0.82rem;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

.dropdown li a i { color: var(--red); width: 16px; }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: rgba(185,28,59,0.05); color: var(--red); padding-left: 22px; }

/* CTA in Navbar */
.navbar__cta { display: flex; }

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.navbar__toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: clamp(360px, 42vw, 650px);
  min-height: 360px;
  overflow: hidden;
  background: var(--white);
}

.hero__slider { position: relative; width: 100%; height: 100%; }

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--white);
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero__slide.active { opacity: 1; pointer-events: all; }

/* Hero background images via CSS */
.hero__slide--1 {
  background-image: url('../images/hero_mastermind_pdf_1.jpg');
  background-position: center;
}

.hero__slide--2 {
  background-image: url('../images/hero_mastermind_pdf_2.jpg');
  background-position: center;
}

.hero__slide--3 {
  background-image: url('../images/hero_mastermind_pdf_3.jpg');
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: none;
}

.hero__content {
  display: none;
  position: relative;
  z-index: 2;
  animation: heroIn 0.8s ease 0.2s both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: var(--red);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero__title span { color: var(--red); }

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 2px;
  background: rgba(185,28,59,0.7);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero__arrow:hover { background: var(--red); }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }

.hero__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  transition: var(--transition);
}

.hero__dot.active {
  background: var(--red);
  width: 52px;
}


/* ============================================
   INTRO STRIP
   ============================================ */
.intro-strip {
  background: var(--black);
  padding: 0;
}

.intro-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.intro-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.intro-strip__item:last-child { border-right: none; }
.intro-strip__item:hover { background: rgba(185,28,59,0.15); }

.intro-strip__item > i {
  font-size: 1.8rem;
  color: var(--red);
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.intro-strip__item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.intro-strip__item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}


/* ============================================
   ABOUT
   ============================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  background: #fff7f8;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.about__img-wrap img {
  width: 100%;
  height: 560px;
  object-fit: contain;
  background: #fff7f8;
  border-radius: 8px;
  display: block;
}

.about__since {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--red);
  color: var(--white);
  padding: 18px 22px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(185,28,59,0.4);
}

.about__since-year {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about__since-text {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}

.about__content .section-title { text-align: left; }
.about__content > p { color: var(--text-light); margin-bottom: 14px; }

/* Vision/Mission grid */
.vmv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.vmv-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 20px;
  border-left: 4px solid var(--red);
}

.vmv-card__icon {
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 10px;
}

.vmv-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.vmv-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* Values */
.values-list { margin-bottom: 30px; }

.values-list h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 12px;
}

.values-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.values-list ul li {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--light-bg);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--black);
}

.values-list ul li i { color: var(--red); font-size: 0.75rem; }


/* ============================================
   SERVICES
   ============================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

.service-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img img { transform: scale(1.06); }

.service-card__num {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 900;
  width: 38px; height: 38px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}

.service-card__body { padding: 24px; }

.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(185,28,59,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.service-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card__body > p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-list li {
  font-size: 0.82rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}


/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--red);
  padding: 56px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item { padding: 16px; }

.stat-item > i {
  font-size: 2rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  display: block;
}

.stat-item__num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.stat-item__plus {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,0.8);
}

.stat-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  margin-top: 6px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ---- Navbar logo — real photo needs white bg trimmed ---- */
.navbar__logo img { background: #fff; padding: 2px 4px; border-radius: 3px; }
.footer__logo    { filter: none !important; background: #fff; padding: 4px 8px; border-radius: 4px; }

/* ============================================
   CLIENTS SHOWCASE
   ============================================ */
.clients__showcase {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}

.clients__showcase img {
  width: 100%;
  display: block;
}

/* ============================================
   PRODUCTS GALLERY
   ============================================ */
.products__category {
  margin-bottom: 52px;
}

.products__cat-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}

.products__cat-title i { color: var(--red); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.products__grid--half {
  grid-template-columns: repeat(2, 1fr);
}

.products__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--light-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.products__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.products__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.products__item:hover img { transform: scale(1.05); }

.products__item--wide {
  grid-column: span 2;
}

.products__item--full {
  /* full width in half-grid = normal */
}

.products__item span {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--white);
  border-top: 2px solid var(--red);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.client-logo {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 18px 12px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.client-logo:hover {
  border-color: var(--red);
  background: rgba(185,28,59,0.04);
  transform: translateY(-2px);
}

.client-logo span {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Portfolio grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio__item:hover img { transform: scale(1.07); }

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(185,28,59,0.9) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio__item:hover .portfolio__overlay { opacity: 1; }

.portfolio__overlay span {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--black) 0%, #2d0a13 100%);
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(185,28,59,0.12);
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cta-banner__inner p { color: rgba(255,255,255,0.6); }

.cta-banner__btns { display: flex; gap: 14px; flex-wrap: wrap; }


/* ============================================
   CONTACT
   ============================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact__info .section-title { text-align: left; }
.contact__info > p { color: var(--text-light); margin-bottom: 28px; }

.contact__details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__detail > i {
  width: 40px; height: 40px;
  border-radius: 6px;
  background: rgba(185,28,59,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__detail strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact__detail span { font-size: 0.87rem; color: var(--text-light); }

.contact__map { border-radius: 8px; overflow: hidden; margin-top: 8px; }

/* Form */
.contact__form {
  background: var(--white);
  padding: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
}

.contact__form h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 0; }

.contact__form { display: flex; flex-direction: column; gap: 16px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(185,28,59,0.1);
}

.form-group select { appearance: none; cursor: pointer; }

.form-feedback { font-size: 0.87rem; padding: 10px 14px; border-radius: 5px; display: none; }
.form-feedback.success { display: block; background: rgba(25,135,84,0.08); color: #187a41; border: 1px solid rgba(25,135,84,0.25); }
.form-feedback.error   { display: block; background: rgba(185,28,59,0.08); color: var(--red-dark); border: 1px solid rgba(185,28,59,0.25); }


/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--black); color: rgba(255,255,255,0.65); }

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 46px;
  padding-top: 66px;
  padding-bottom: 46px;
}

.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer__col--about p { font-size: 0.86rem; line-height: 1.8; margin-bottom: 20px; }

.footer__social { display: flex; gap: 10px; }

.footer__social a {
  width: 36px; height: 36px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.83rem;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer__col ul li { margin-bottom: 9px; }

.footer__col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}

.footer__col ul li a::before { content: '›'; color: var(--red); font-size: 1.1rem; }
.footer__col ul li a:hover { color: var(--red); padding-left: 4px; }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.55);
}

.footer__contact li i { color: var(--red); margin-top: 3px; flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.38); }
.footer__bottom strong { color: var(--red); }


/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 42px; height: 42px;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(185,28,59,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); transform: translateY(-3px); }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .products__grid  { grid-template-columns: repeat(2, 1fr); }
  .products__item--wide { grid-column: span 2; }
  .footer__top     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about__inner    { grid-template-columns: 1fr; gap: 40px; }
  .about__img-wrap img { height: 380px; object-fit: contain; }
  .about__since    { right: 10px; }
  .contact__inner  { grid-template-columns: 1fr; gap: 44px; }
  .clients__grid   { grid-template-columns: repeat(4, 1fr); }
  .intro-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar__right  { display: none; }
  .section-pad     { padding: 60px 0; }
  .navbar__cta     { display: none; }
  .navbar__toggle  { display: flex; }

  .navbar__menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: var(--black);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .navbar__menu.open { opacity: 1; pointer-events: all; transform: translateX(0); }

  .navbar__menu ul { flex-direction: column; gap: 4px; text-align: center; }

  .navbar__menu ul li a {
    font-size: 1.3rem;
    padding: 14px 24px;
    color: var(--white);
    justify-content: center;
  }

  .navbar__menu ul li a:hover,
  .navbar__menu ul li a.active { color: var(--red); background: rgba(185,28,59,0.1); }

  .dropdown {
    position: static;
    opacity: 1; pointer-events: all;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--red);
    margin: 0 20px;
    display: none;
    background: transparent;
  }

  .dropdown li a { color: rgba(255,255,255,0.7); border-bottom-color: rgba(255,255,255,0.08); }
  .has-dropdown.open .dropdown { display: block; }

  .hero { min-height: 190px; height: clamp(190px, 58vw, 360px); }
  .hero__arrow--prev { left: 10px; }
  .hero__arrow--next { right: 10px; }

  .services__grid   { grid-template-columns: 1fr; }
  .products__grid   { grid-template-columns: 1fr; }
  .products__item--wide { grid-column: span 1; }
  .portfolio__grid  { grid-template-columns: repeat(2, 1fr); }
  .clients__grid    { grid-template-columns: repeat(3, 1fr); }
  .vmv-grid         { grid-template-columns: 1fr; }

  .contact__form { padding: 24px; }
  .footer__top   { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__btns { justify-content: center; }
}

@media (max-width: 480px) {
  .contact__form { padding: 22px 18px; }
  .footer__top {
    padding-top: 46px;
    padding-bottom: 34px;
  }
  .footer__col,
  .footer__bottom-inner {
    text-align: left;
  }
  .portfolio__grid { grid-template-columns: 1fr; }
  .clients__grid   { grid-template-columns: repeat(2, 1fr); }
  .stats__grid     { grid-template-columns: 1fr; }
  .intro-strip__grid { grid-template-columns: 1fr; }
  .top-bar         { display: none; }
}

