/* ============================================
   IOU MACHINERY - VANILLA CSS
   Corporate Industrial Theme - Red & Black
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* CSS Variables */
:root {
  --brand-red: #D12E2E;
  --brand-red-dark: #A82424;
  --brand-red-light: #E85A5A;
  --brand-maroon: #6B1A1A;
  --brand-black: #1A1A1A;
  --brand-charcoal: #2D2D2D;
  --brand-gray: #6D6D6D;
  --brand-gray-light: #F4F4F2;
  --brand-white: #FFFFFF;
  --brand-silver: #C0C0C0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-card: 0 18px 40px rgba(0,0,0,0.10);
  --shadow-card-dark: 0 14px 30px rgba(0,0,0,0.18);
  --radius-xl: 22px;
  --radius-lg: 12px;
  --radius-full: 999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--brand-gray-light);
  color: var(--brand-black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Typography */
.heading-xl {
  font-size: clamp(2.75rem, 5vw, 4.75rem);
  line-height: 0.95;
}

.heading-lg {
  font-size: clamp(2.125rem, 3.6vw, 3.5rem);
  line-height: 1.0;
}

.heading-md {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1.1;
}

.heading-sm {
  font-size: clamp(1.125rem, 1.8vw, 1.75rem);
  line-height: 1.2;
}

.text-micro {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-body {
  font-size: 16px;
  line-height: 1.6;
}

.text-small {
  font-size: 14px;
  line-height: 1.5;
}

/* Colors */
.text-red { color: var(--brand-red); }
.text-black { color: var(--brand-black); }
.text-gray { color: var(--brand-gray); }
.text-white { color: var(--brand-white); }

.bg-red { background-color: var(--brand-red); }
.bg-red-dark { background-color: var(--brand-red-dark); }
.bg-maroon { background-color: var(--brand-maroon); }
.bg-black { background-color: var(--brand-black); }
.bg-gray-light { background-color: var(--brand-gray-light); }
.bg-white { background-color: var(--brand-white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--brand-red);
  color: var(--brand-white);
}

.btn-primary:hover {
  background-color: var(--brand-red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--brand-red);
  color: var(--brand-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid var(--brand-white);
  color: var(--brand-white);
  background: transparent;
}

.btn-outline-white:hover {
  background-color: var(--brand-white);
  color: var(--brand-red);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--brand-gray-light);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.card-red {
  background: var(--brand-red);
  color: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 32px;
}

/* About: Mission & Vision */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.mission-vision-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 22px;
  background: var(--brand-white);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.mission-vision-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  flex: 0 0 56px;
  color: var(--brand-red);
  background: rgba(209, 46, 46, 0.1);
  border-radius: 14px;
}

.mission-vision-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.mission-vision-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.mission-vision-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 639px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .mission-vision-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .mission-vision-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0;
    flex-basis: 52px;
    border-radius: 13px;
  }

  .mission-vision-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* About story: motto, principles and measurable objective */
.about-core-values.section {
  padding-bottom: clamp(64px, 6vw, 88px);
}

.about-story-section.section {
  padding-block: clamp(64px, 7vw, 96px);
}

.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(44px, 6vw, 88px);
}

.about-story-content {
  min-width: 0;
}

.about-story-content > h2 {
  max-width: 18ch;
  margin-bottom: 18px;
}

.about-story-intro {
  max-width: 62ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
}

.story-motto {
  margin-top: 32px;
  padding: 4px 0 6px 22px;
  border-left: 3px solid var(--brand-red);
}

.story-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-gray);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.story-motto-line {
  margin: 0;
  color: var(--brand-black);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.story-motto-line--accent {
  margin-top: 5px;
  color: var(--brand-red);
  font-size: clamp(25px, 2.65vw, 37px);
  letter-spacing: -0.035em;
}

.story-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.story-principle {
  min-width: 0;
  padding: 22px 22px 24px 0;
}

.story-principle + .story-principle {
  padding-right: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
}

.story-principle-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.story-principle-heading svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  color: var(--brand-red);
}

.story-principle-heading h3,
.story-objective-copy h3 {
  margin: 0;
  color: var(--brand-black);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

.story-principle > p,
.story-objective-copy > p {
  margin: 0;
  color: var(--brand-gray);
  font-size: 14px;
  line-height: 1.7;
}

.story-objective {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}

.story-objective-number {
  color: var(--brand-red);
  font-size: clamp(48px, 5.3vw, 70px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.95;
  white-space: nowrap;
}

.story-objective-copy h3 {
  margin-bottom: 7px;
}

.about-story-visual {
  min-width: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.about-story-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 864 / 1184;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-story-caption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--brand-red);
}

.about-story-caption span:first-child {
  color: var(--brand-black);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.about-story-caption span:last-child {
  color: var(--brand-gray);
  font-size: 13px;
}

@media (max-width: 1099px) {
  .about-story-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .about-story-content > h2 {
    max-width: 24ch;
  }

  .about-story-visual {
    justify-self: start;
    max-width: 460px;
  }
}

@media (max-width: 767px) {
  .story-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-principle,
  .story-principle + .story-principle {
    padding: 20px 0;
  }

  .story-principle + .story-principle {
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    border-left: 0;
  }
}

@media (max-width: 479px) {
  .story-motto {
    padding-left: 16px;
  }

  .story-objective {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .about-story-caption {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 48px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 80px;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--brand-white);
  line-height: 1;
}

.logo-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.header-registration {
  color: currentColor;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  opacity: 0.78;
  white-space: nowrap;
}

.logo img {
  display: block;
  width: 118px;
  height: 90px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-black);
  position: relative;
  transition: color 0.3s ease;
}

.header:not(.scrolled) .nav-link {
  color: var(--brand-white);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}


/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  padding: 8px;
  color: var(--brand-black);
}

.header:not(.scrolled) .mobile-menu-btn {
  color: var(--brand-white);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  width: min(100vw, 420px);
  background: var(--brand-white);
  z-index: 999;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.12);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  color: var(--brand-black);
}

.mobile-nav-link.active {
  color: var(--brand-red);
}

/* Paired BM/EN pilot pages */
.language-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 3px;
  border: 1px solid rgba(26, 26, 26, 0.13);
  border-radius: 999px;
  background: #f4f4f4;
  white-space: nowrap;
}

.language-switch a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 34px;
  min-height: 30px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--brand-black);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.language-switch a.is-active {
  background: var(--brand-red);
  color: var(--brand-white);
}

.language-switch a:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
}

.bilingual-header:not(.scrolled) .language-switch {
  background: rgba(255, 255, 255, 0.9);
}

.language-switch-mobile {
  display: flex;
  width: max-content;
  margin-top: 24px;
}

@media (max-width: 639px) {
  .pilot-home .why-choose-grid { grid-template-columns: minmax(0, 1fr); }
  .pilot-home .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pilot-home .stat-card { min-width: 0; padding: 16px 8px; }
}

.pilot-contact .contact-info-row > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.pilot-contact .contact-location-map svg {
  width: 48px;
  height: 48px;
}

.pilot-contact .contact-whatsapp-card > div:first-child {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.pilot-contact .contact-whatsapp-card > div:first-child svg {
  width: 24px;
  height: 24px;
}

.bilingual-header + .mobile-menu.active {
  z-index: 1001;
}

/* Four balanced groups: brand, navigation, utilities, and CTA. */
@media (min-width: 1400px) {
  .bilingual-header > .container {
    max-width: 1760px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .bilingual-header .header-inner {
    gap: clamp(12px, 1.2vw, 20px);
  }

  .bilingual-header .logo {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .bilingual-header .nav-desktop {
    flex: 0 0 auto;
    gap: clamp(18px, 1.35vw, 26px);
  }

  html[lang="en"] .bilingual-header .nav-desktop {
    flex: 1 1 0;
    justify-content: flex-end;
    max-width: 760px;
    min-width: 0;
    gap: clamp(24px, 2vw, 36px);
    padding-inline: clamp(53px, 4vw, 76px);
  }

  html[lang="ms-MY"] .bilingual-header .nav-desktop {
    flex: 1 1 0;
    justify-content: flex-end;
    max-width: 850px;
    min-width: 0;
    gap: clamp(18px, 1.25vw, 22px);
    padding-inline: clamp(16px, 1.4vw, 26px);
  }

  .bilingual-header .nav-link,
  .bilingual-header .language-switch,
  .bilingual-header .header-actions > .btn {
    white-space: nowrap;
  }

  .bilingual-header .header-actions {
    display: contents;
  }

  .bilingual-header .header-utilities {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(14px, 1.1vw, 20px);
  }

  .bilingual-header .header-utilities .language-switch {
    transform: translateX(-8px);
  }

  .bilingual-header .header-actions > .btn {
    flex: 0 0 auto;
    padding: 14px 20px;
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .bilingual-header > .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .bilingual-header .nav-desktop {
    gap: clamp(18px, 1.35vw, 22px);
  }
}

@media (min-width: 1600px) {
  .bilingual-header > .container {
    padding-right: 48px;
    padding-left: 48px;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .bilingual-header .nav-desktop,
  .bilingual-header .header-actions { display: none; }
  .bilingual-header .mobile-menu-btn { display: flex; }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-red-block {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(209, 46, 46, 0.92);
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-red-block {
    width: 52%;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 120px 0 80px;
}

.hero-inner {
  max-width: 600px;
}

@media (min-width: 1024px) {
  .hero-inner {
    margin-left: clamp(32px, 5vw, 120px);
  }
}

.hero-title {
  color: var(--brand-white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title span {
  display: block;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-label {
  display: none;
  position: absolute;
  right: 6vw;
  top: 18vh;
  color: rgba(255,255,255,0.8);
  z-index: 3;
}

@media (min-width: 1024px) {
  .hero-label {
    display: block;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Section Styles */
.section {
  padding: 80px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  color: var(--brand-red);
  margin-bottom: 16px;
  display: block;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlight-card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background: rgba(209, 46, 46, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
  background: var(--brand-red);
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-red);
  transition: color 0.3s ease;
}

.highlight-card:hover .highlight-icon svg {
  color: var(--brand-white);
}

.highlight-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-black);
}

.highlight-desc {
  font-size: 14px;
  color: var(--brand-gray);
  line-height: 1.6;
}

/* About: vertically balance content inside Core Values cards only */
.core-values-grid .highlight-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.core-values-grid .highlight-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Contact: balanced main content layout on desktop only */
@media (min-width: 1024px) {
  .contact-content-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: start;
  }

  .contact-form-card,
  .contact-sidebar {
    align-self: start;
  }

  .contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .contact-info-card {
    padding: 28px 30px;
  }

  .contact-info-card > h3 {
    margin-bottom: 22px;
  }

  .contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .contact-info-row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
  }

  .contact-info-row > svg {
    display: block;
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .contact-info-row p,
  .contact-info-row a {
    line-height: 1.5;
  }

  .contact-location-card {
    order: 2;
    padding: 24px;
  }

  .contact-location-map {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    border-radius: 12px;
  }

  .contact-location-map svg {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
  }

  .contact-whatsapp-card {
    order: 3;
  }

  .contact-whatsapp-card > div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .contact-whatsapp-card svg {
    width: 24px;
    height: 24px;
  }
}

/* Products Grid */
.products-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 1024px) {
  .products-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.products-header-left {
  max-width: 500px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brand-red);
  color: var(--brand-white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.product-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--brand-red);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-content {
  padding: 24px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brand-black);
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--brand-red);
}

.product-desc {
  font-size: 14px;
  color: var(--brand-gray);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  margin-bottom: 20px;
}

.product-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--brand-gray);
  margin-bottom: 4px;
}

.product-spec::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.product-link:hover {
  gap: 12px;
}

/* Machinery catalogue structure */
.directory-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.category-directory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.category-directory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--brand-white);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-directory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.12);
}

.category-directory-media {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #e8e8e6;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.category-directory-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.category-directory-card:hover .category-directory-media img {
  transform: scale(1.06);
}

.category-directory-count {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  color: var(--brand-gray);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.category-directory-content {
  display: flex;
  min-height: 184px;
  flex: 1;
  flex-direction: column;
  padding: 23px 24px 24px;
}

.category-directory-title {
  margin-bottom: 9px;
  color: var(--brand-black);
  font-size: 24px;
  font-weight: 700;
}

.category-directory-title a {
  color: inherit;
}

.category-directory-title a:hover {
  color: var(--brand-red);
}

.category-directory-content p {
  margin-bottom: 18px;
  color: var(--brand-gray);
  font-size: 14px;
  line-height: 1.55;
}

.category-directory-content .product-link {
  margin-top: auto;
}

.category-page-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.category-page-heading .machinery-search {
  margin: 0;
}

@media (min-width: 640px) {
  .category-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-directory-media {
    height: 235px;
  }
}

@media (min-width: 1024px) {
  .category-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-directory-media {
    height: 250px;
  }
}

.machinery-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.machinery-search {
  width: 100%;
  max-width: 520px;
  margin-left: 0;
}

.machinery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.machinery-grid .product-content {
  display: flex;
  flex-direction: column;
  min-height: 245px;
}

.machinery-grid .product-link {
  margin-top: auto;
}

.machinery-results-count {
  margin: -12px 0 24px;
}

.catalogue-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalogue-product-card[hidden] {
  display: none;
}

.catalogue-product-image {
  display: block;
  background: var(--brand-white);
}

.catalogue-product-image img {
  object-fit: contain;
}

.catalogue-product-card .product-content {
  flex: 1;
}

.catalogue-product-card .product-title a {
  color: inherit;
}

.product-image-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--brand-gray);
  background: var(--brand-gray-light);
  text-align: center;
  font-size: 13px;
}

.product-image-placeholder svg {
  width: 44px;
  height: 44px;
  color: var(--brand-red);
}

.catalogue-empty {
  max-width: 680px;
  margin: 0 auto;
}

/* Catalogue product detail */
.product-detail-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header.product-detail-header .logo span,
.header.product-detail-header .nav-link,
.header.product-detail-header .mobile-menu-btn {
  color: var(--brand-black);
}

.header.product-detail-header .nav-link.active,
.header.product-detail-header .nav-link:hover {
  color: var(--brand-red);
}

.breadcrumb.product-detail-breadcrumb {
  padding-top: 138px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.product-detail-main-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  overflow: hidden;
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.product-detail-main-image {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain;
}

.product-detail-main-media > .product-image-placeholder {
  min-height: 360px;
}

.product-detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-detail-thumb {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  padding: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--brand-white);
  cursor: pointer;
}

.product-detail-thumb.active,
.product-detail-thumb:hover,
.product-detail-thumb:focus-visible {
  border-color: var(--brand-red);
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-summary {
  align-self: center;
}

.product-detail-category {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-model {
  margin-bottom: 20px;
  color: var(--brand-red);
  font-weight: 700;
}

.product-detail-description {
  margin-bottom: 24px;
  color: var(--brand-gray);
  line-height: 1.75;
}

.product-detail-application {
  margin-bottom: 28px;
  padding: 20px;
  border-left: 4px solid var(--brand-red);
  background: var(--brand-white);
  border-radius: 0 12px 12px 0;
}

.product-detail-application h2 {
  margin-bottom: 6px;
  font-size: 15px;
}

.product-detail-application p {
  color: var(--brand-gray);
  font-size: 14px;
  line-height: 1.6;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-detail-data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.product-detail-spec-list {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.product-detail-spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 0.6fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.product-detail-spec-row dt {
  color: var(--brand-black);
  font-size: 14px;
  font-weight: 600;
}

.product-detail-spec-row dd {
  min-width: 0;
  color: var(--brand-gray);
  font-size: 14px;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .product-detail-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: start;
    gap: 64px;
  }

  .product-detail-main-media {
    min-height: 500px;
  }

  .product-detail-main-media > .product-image-placeholder {
    min-height: 500px;
  }
}

@media (max-width: 639px) {
  .breadcrumb.product-detail-breadcrumb {
    padding-top: 124px;
  }

  .product-detail-main-media,
  .product-detail-main-media > .product-image-placeholder {
    min-height: 280px;
  }

  .product-detail-spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-detail-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .machinery-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .machinery-search {
    order: 2;
  }
}

/* Homepage machinery directory and catalogue highlights */
.home-machinery-section.section,
.home-popular-section.section {
  padding-block: clamp(68px, 7vw, 104px);
}

.home-section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.home-section-heading h2 {
  margin-top: 12px;
}

.home-section-heading p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--brand-gray);
  line-height: 1.7;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-category-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.09);
  border-radius: var(--radius-xl);
  background: var(--brand-white);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-category-card:hover,
.home-category-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(209, 46, 46, 0.32);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-category-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 205px;
  padding: 18px;
  overflow: hidden;
  background: var(--brand-gray-light);
}

.home-category-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 250ms ease;
}

.home-category-card:hover .home-category-media img {
  transform: scale(1.035);
}

.home-category-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 17px 22px;
}

.home-category-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.home-category-bottom svg,
.home-product-link svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--brand-red);
}

.home-section-footer {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.home-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--radius-xl);
  background: var(--brand-white);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.home-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 18px;
  background: var(--brand-gray-light);
}

.home-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.home-product-category {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-product-body h3 {
  margin-top: 9px;
  font-size: 18px;
  line-height: 1.25;
}

.home-product-body p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 11px;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .home-category-grid,
  .home-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .home-category-grid,
  .home-popular-grid {
    gap: 12px;
  }

  .home-category-media,
  .home-product-media {
    height: 150px;
    padding: 12px;
  }

  .home-category-bottom {
    min-height: 60px;
    padding: 12px;
  }

  .home-category-name {
    font-size: 15px;
  }

  .home-category-bottom svg {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .home-product-body {
    padding: 15px;
  }

  .home-product-body h3 {
    font-size: 14px;
  }

  .home-product-body p {
    font-size: 12px;
  }

  .home-product-link {
    padding-top: 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-category-card,
  .home-category-media img,
  .home-product-card {
    transition: none;
  }
}

/* Homepage Capabilities — asymmetric industrial editorial composition */
.capabilities-section {
  overflow: hidden;
}

.capabilities-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 48px;
}

.capabilities-header .heading-md {
  max-width: 680px;
}

.capabilities-intro {
  max-width: 560px;
  color: var(--brand-gray);
  font-size: 16px;
  line-height: 1.75;
  padding-bottom: 4px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.78fr 0.78fr;
  grid-template-rows: 340px 300px;
  grid-template-areas:
    "primary modification modification"
    "primary execution support";
  gap: 20px;
}

.capability-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius-xl);
  background: var(--brand-black);
  color: var(--brand-white);
}

.capability-panel--primary { grid-area: primary; }
.capability-panel--modification { grid-area: modification; }
.capability-panel--execution { grid-area: execution; }
.capability-panel--support { grid-area: support; }

.capability-media,
.capability-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.capability-media {
  z-index: -2;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.capability-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.08) 12%, rgba(18, 18, 18, 0.3) 42%, rgba(18, 18, 18, 0.94) 100%);
}

.capability-panel--primary .capability-shade {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.02) 16%, rgba(18, 18, 18, 0.38) 54%, rgba(18, 18, 18, 0.96) 100%);
}

.capability-panel:hover .capability-media {
  transform: scale(1.035);
}

.capability-number {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
}

.capability-panel--primary .capability-number {
  color: var(--brand-white);
  font-size: 64px;
}

.capability-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.capability-panel--primary .capability-content {
  padding: 40px;
}

.capability-kicker {
  margin-bottom: 12px;
  color: var(--brand-red-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capability-content h3 {
  max-width: 600px;
  margin-bottom: 10px;
  color: var(--brand-white);
  font-family: var(--font-heading);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.capability-panel--primary .capability-content h3 {
  font-size: clamp(34px, 4vw, 56px);
}

.capability-content > p:not(.capability-kicker) {
  max-width: 590px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.capability-panel--primary .capability-content > p:not(.capability-kicker) {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.65;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-full);
  background: rgba(12, 12, 12, 0.24);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

@media (max-width: 1023px) {
  .capabilities-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 430px 320px 320px;
    grid-template-areas:
      "primary primary"
      "modification execution"
      "support support";
  }

  .capability-panel--support .capability-content > p:not(.capability-kicker) {
    max-width: 620px;
  }
}

@media (max-width: 639px) {
  .capabilities-header {
    margin-bottom: 32px;
  }

  .capabilities-intro {
    font-size: 15px;
  }

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

  .capability-panel,
  .capability-panel--primary {
    min-height: 440px;
  }

  .capability-panel--modification,
  .capability-panel--execution,
  .capability-panel--support {
    min-height: 390px;
  }

  .capability-content,
  .capability-panel--primary .capability-content {
    padding: 24px;
  }

  .capability-number,
  .capability-panel--primary .capability-number {
    top: 20px;
    right: 22px;
    font-size: 42px;
  }

  .capability-panel--primary .capability-content h3 {
    font-size: 34px;
  }

  .capability-content h3 {
    font-size: 25px;
  }

  .capability-content > p:not(.capability-kicker),
  .capability-panel--primary .capability-content > p:not(.capability-kicker) {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-media {
    transition: none;
  }
}

/* Why Choose Section */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.why-choose-content p {
  color: var(--brand-gray);
  margin-bottom: 24px;
  line-height: 1.7;
}

.features-list {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(209, 46, 46, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--brand-red);
}

.feature-text {
  font-size: 14px;
  color: var(--brand-black);
}

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

.stat-card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .stat-number {
    font-size: 48px;
  }
}

.stat-label {
  font-size: 13px;
  color: var(--brand-gray);
}

/* Testimonials */
.testimonial-card {
  background: var(--brand-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-quote-icon {
  position: absolute;
  top: -24px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .testimonial-grid {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }
}

.testimonial-image {
  position: relative;
}

.testimonial-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.testimonial-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid rgba(209, 46, 46, 0.2);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  fill: var(--brand-red);
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--brand-black);
  margin-bottom: 24px;
}

.testimonial-author {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 14px;
  color: var(--brand-gray);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: background 0.3s ease;
}

.testimonial-dot.active {
  background: var(--brand-red);
}

.testimonial-arrows {
  display: flex;
  gap: 12px;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-arrow:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.testimonial-arrow:hover svg {
  color: var(--brand-white);
}

.testimonial-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--brand-gray);
}

/* CTA Banner */
.cta-banner {
  background: var(--brand-red);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-banner::before {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
}

.cta-banner::after {
  width: 300px;
  height: 300px;
  bottom: -150px;
  right: -150px;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  color: var(--brand-white);
  margin-bottom: 24px;
}

.cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.cta-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--brand-white);
  border-radius: 50%;
}

/* Footer */
.footer {
  background: var(--brand-maroon);
  color: var(--brand-white);
}

.footer-main {
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
}

.footer-logo span {
  color: var(--brand-red-light);
}

.footer-registration {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: -18px 0 10px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social:hover {
  background: var(--brand-red);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--brand-red-light);
}

.footer-link svg {
  width: 16px;
  height: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--brand-white);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(209, 46, 46, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(209, 46, 46, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  color: var(--brand-white);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--brand-white);
  color: var(--brand-black);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Page Header */
.page-header {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: var(--brand-black);
  padding-top: 80px;
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--brand-black), rgba(26,26,26,0.8), transparent);
}

.page-header-content {
  position: relative;
  z-index: 1;
  padding: 48px 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: 24px 0;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--brand-gray);
}

.breadcrumb a:hover {
  color: var(--brand-red);
}

.breadcrumb span {
  color: var(--brand-black);
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--brand-gray);
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  background: var(--brand-white);
  color: var(--brand-black);
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-red);
  color: var(--brand-white);
}

.search-box {
  position: relative;
  margin-left: auto;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--brand-gray);
}

.search-box input {
  padding: 12px 16px 12px 48px;
  border: 1px solid #ddd;
  border-radius: var(--radius-full);
  font-size: 14px;
  width: 100%;
  min-width: 280px;
}

.search-box input:focus {
  outline: none;
  border-color: var(--brand-red);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-black);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-red);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 4px solid var(--brand-red);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.7);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-red);
  margin-bottom: 4px;
}

.gallery-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26,26,26,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px;
  color: var(--brand-white);
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--brand-red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: var(--brand-white);
  z-index: 10;
}

.lightbox-nav:hover {
  color: var(--brand-red);
}

.lightbox-nav.prev {
  left: 16px;
}

.lightbox-nav.next {
  right: 16px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-info {
  margin-top: 16px;
}

.lightbox-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-red);
}

.lightbox-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-white);
  margin-top: 4px;
}

.lightbox-counter {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-6 { padding-top: 24px; padding-bottom: 24px; }

.hidden { display: none; }

@media (min-width: 1024px) {
  .lg-flex { display: flex; }
  .lg-hidden { display: none; }
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red-dark);
}

/* Selection */
::selection {
  background: rgba(209, 46, 46, 0.2);
}

/* Contact page: direct WhatsApp contacts for the IOU sales team */
.sales-contact-panel {
  min-width: 0;
}

.sales-contact-heading {
  margin-bottom: 22px;
}

.sales-contact-heading .text-micro {
  display: block;
  margin-bottom: 10px;
}

.sales-contact-heading h2 {
  margin-bottom: 8px;
}

.sales-contact-heading p {
  line-height: 1.6;
}

.sales-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sales-contact-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sales-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(209, 46, 46, 0.24);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.11);
}

.sales-contact-card:focus-visible {
  outline: 3px solid rgba(209, 46, 46, 0.45);
  outline-offset: 3px;
}

.sales-contact-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  object-position: center center;
  background: #d12e2e;
}

.sales-contact-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
}

.sales-contact-copy strong {
  color: #171717;
  font-size: 18px;
  line-height: 1.25;
}

.sales-contact-copy > span:not(.sales-contact-phone) {
  margin-top: 5px;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.sales-contact-copy small {
  min-height: 34px;
  margin-top: 7px;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.sales-contact-phone {
  margin-top: 10px;
  color: #454545;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.sales-contact-copy em {
  margin-top: 12px;
  color: #168345;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 640px) {
  .sales-contact-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sales-contact-card {
    display: grid;
    grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
    min-height: 158px;
  }

  .sales-contact-card > img {
    height: 100%;
    min-height: 158px;
    aspect-ratio: auto;
  }

  .sales-contact-copy {
    justify-content: center;
    padding: 13px;
  }

  .sales-contact-copy strong {
    font-size: 16px;
  }

  .sales-contact-copy small {
    min-height: 0;
  }
}

/* Keep the two portrait crops visually centered within their cards. */
.sales-contact-card img[src*="/adda.jpg"],
.sales-contact-card img[src*="/zie.jpg"] {
  object-position: center center;
}

.sales-contact-card img[src*="/adda.jpg"] {
  object-position: 44% center;
}

/* Center faces in the Bossdin and Adda profile crops. */
.sales-contact-card img[src*="bossdin.jpg"] {
  object-position: 50% 24%;
}

.sales-contact-card img[src*="adda.jpg"] {
  object-position: 50% 24%;
}

.sales-contact-card img[src*="bossdin.jpg"],
.sales-contact-card img[src*="adda.jpg"] {
  object-position: center top;
}

.sales-contact-card img[src*="adda.jpg"] {
  object-position: center 38%;
}

.sales-contact-card img[src*="bossdin.jpg"] {
  object-position: center 38%;
}

/* Homepage hero identity refresh: bring the IOU mark into the main composition. */
.hero {
  min-height: 100svh;
  background: var(--brand-charcoal);
}

.hero-bg img {
  object-position: center;
}

.hero-overlay {
  background: rgba(18, 20, 22, 0.2);
}

.hero-red-block {
  background: linear-gradient(135deg, rgba(209, 46, 46, 0.97), rgba(168, 36, 36, 0.96));
}

.hero-content {
  padding-top: clamp(112px, 14vh, 160px);
  padding-bottom: clamp(88px, 11vh, 128px);
}

.hero-inner {
  max-width: 680px;
}

.hero-title {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-title span + span {
  margin-top: 5px !important;
}

.hero-title .heading-xl {
  font-size: 1em;
  line-height: inherit;
}

.hero-divider {
  width: 66px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: rgba(255,255,255,.78);
}

.hero-subtitle {
  max-width: 500px;
  margin-bottom: 30px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.65;
}

.hero-label {
  top: 21vh;
  right: 5vw;
  max-width: 340px;
  text-align: right;
  font-size: 11px;
  letter-spacing: .17em;
}

@media (min-width: 1024px) {
  .hero-red-block {
    width: 59%;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  }

  .hero-inner {
    margin-left: clamp(32px, 5vw, 120px);
  }
}

@media (max-width: 1023px) {
  .hero-red-block {
    background: linear-gradient(135deg, rgba(209, 46, 46, .96), rgba(168, 36, 36, .92));
  }

  .hero-content {
    padding-top: 118px;
    padding-bottom: 100px;
  }

  .hero-inner {
    max-width: 620px;
  }

  .hero-label {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 126px;
    padding-bottom: 112px;
  }

  .hero-title {
    font-size: clamp(40px, 11.5vw, 56px);
    line-height: 1;
  }

  .hero-subtitle {
    max-width: 430px;
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}

@media (max-width: 1023px) {
  .hero-content {
    padding-right: 24px;
    padding-left: 24px;
  }
}

