/* ===========================================================
   PLC – People's Leasing & Finance PLC
   Mobile-first responsive stylesheet
   Design system colors:
     Primary Red:  #E50019
     Brand Blue:   #004094 / #002460 / #001632
     Neutral:      #1E2329 / #4A5568 / #9CA3AF / #E5E7EB / #F9FAFB
     Accent Gold:  #E8C230
   Fonts: "Plus Jakarta Sans", "Inter", "Playfair Display"
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap");

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

:root {
  --c-red: #E50019;
  --c-red-dark: #8F000F;
  --c-blue-50: #EBF1FB;
  --c-blue-100: #C4D5F2;
  --c-blue-200: #91AEDD;
  --c-blue-300: #3370C4;
  --c-blue-400: #004094;
  --c-blue-500: #002460;
  --c-blue-600: #001632;
  --c-gray-50: #F9FAFB;
  --c-gray-100: #F3F4F6;
  --c-gray-200: #E5E7EB;
  --c-gray-300: #D1D5DB;
  --c-gray-400: #9CA3AF;
  --c-gray-500: #4A5568;
  --c-gray-600: #1E2329;
  --c-gold: #E8C230;
  --c-white: #FFFFFF;

  --f-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;

  --container: 1200px;
  --pad-x: 20px;
}

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

body {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--c-gray-600);
  background: var(--c-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.material-symbols-outlined {
  vertical-align: middle;
  font-size: 18px; 
  display: inline-block;
  font-variation-settings:
  'FILL' 0,
  'GRAD' 0,
  'opsz' 24;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-gray-200);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.04);
}

.header-top {
  background: var(--c-blue-600);
  color: var(--c-gray-50);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--f-body);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Container for the dropdown */
.top-dropdown {
  position: relative;
}

/* Toggle Button Style (Matches top-lang-toggle) */
.top-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--c-gray-50);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Menu Style (Matches top-lang-menu) */
.top-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px); /* Adjusted to clear the header-top height */
  left: 0;
  min-width: 200px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}

/* Show menu when 'open' class is added via JS */
.top-dropdown.open .top-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Individual Links inside Menu */
.top-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  text-decoration: none;
  color: #000000 !important; /* Force black text on white bg */
  font-size: 13px;
  border-bottom: 1px solid var(--c-gray-100);
}

.top-dropdown-menu a:last-child {
  border-bottom: none;
}

.top-dropdown-menu a:hover {
  background: var(--c-gray-50);
  color: var(--c-blue-500) !important;
}

.top-links a {
  color: var(--c-white);
  position: relative;
}

.top-links a+a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 19px;
  background: #002460;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-lang-dropdown {
  position: relative;
}

.top-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: var(--c-gray-50);
  background: none;
  border: none;
  cursor: pointer;
}

.top-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: 12px;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
}

.top-lang-dropdown.open .top-lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-lang-menu button {
  display: block;
  width: 100%;
  padding: 11px 14px;
  text-align: left;
  border: none;
  background: none;
  color: #000000;
  font-size: 13px;
  cursor: pointer;
}

.top-lang-menu button:hover {
  background: var(--c-gray-50);
}

.top-lang-menu button+button {
  border-top: 1px solid var(--c-gray-100);
}

.top-phone,
.top-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.top-phone+.top-lang::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 19px;
  background: var(--c-blue-400);
}

.top-phone img,
.top-lang img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.top-lang .chev {
  width: 8px;
  height: 4px;
  margin-left: 4px;
}

.header-bottom {
  background: var(--c-white);
}

.header-bottom-inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 94px;
  gap: 16px;
}

.mobile-logo{
  display: none;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 190px;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.dropdown-toggle {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  margin-bottom: 4px;
}

.nav-link {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 12px;
  color: var(--c-gray-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.18s;
}

.nav-link:hover,
.dropdown-toggle:hover {
  color: var(--c-red);
}

.nav-link .chev {
  width: 8px;
  height: 4px;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  min-width: 220px;
  width: auto;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

/* 1. Force visibility on hover for both mega and standard menus */
.nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: grid; /* For Mega Menu */
}

/* 2. Fix for Standard Dropdown (Non-Mega) */
/* Styling for menus that are NOT mega menus */
.standard-dropdown {
    min-width: 250px;
    padding: 10px 0;
    display: none; /* Hidden by default */
    flex-direction: column;
}

/* Show the standard dropdown on hover */
.nav-item.dropdown:hover > .standard-dropdown {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Make standard items look like links */
.standard-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--c-gray-700);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--c-gray-100);
}

.standard-dropdown-item:hover {
    background: var(--c-gray-50);
    color: var(--c-blue-500);
}

/* 3. Ensure the dropdown isn't hidden by the Hero section */
.header {
    z-index: 1000 !important;
}

.dropdown-menu {
    z-index: 1001 !important;
    /* Add this to ensure it's hidden properly initially */
    visibility: hidden; 
}

.nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
}

/* Ensure the mobile sub-menus show when the parent LI has the .open class */
.mobile-drawer ul li.open > .drawer-submenu {
    display: block !important;
}

/* Style for the active state of the mega menu left-side buttons */
.mega-item.active {
    background: var(--c-blue-50);
    color: var(--c-blue-500);
}

/* Show the specific panel in the mega menu */
.mega-panel.active {
    display: block;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a,
.mega-panel a {
  display: block;
  padding: 12px 16px;
  color: var(--c-gray-600);
  font-size: 14px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}

.dropdown-menu a:hover,
.mega-panel a:hover {
  background: var(--c-gray-50);
  color: var(--c-blue-500);
}

.mega-item {
  position: relative;
}

.mega-item::after {
  content: '›';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-gray-400);
}

.dropdown-mega {
  display: grid;
  grid-template-columns: 220px;
  gap: 0;
  min-width: 220px;
  width: 220px;
}

.dropdown-mega.right-open {
  grid-template-columns: 220px minmax(220px, 1fr);
  width: 440px;
}

.mega-col {
  padding: 12px 0;
}

.mega-col-right {
  display: none;
}

.dropdown-mega.right-open .mega-col-right {
  display: block;
}

.mega-item {
  width: 100%;
  padding: 12px 18px;
  border: none;
  background: none;
  color: var(--c-gray-700);
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.mega-item:hover,
.mega-item.active {
  background: var(--c-blue-50);
  color: var(--c-blue-500);
}

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-panel {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--c-gray-200);
  border-bottom: 1px solid var(--c-gray-200);
}

.header.search-open .search-panel {
  display: block;
}

.search-panel-inner {
  padding: 16px 0 20px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 740px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.search-form input {
  flex: 1 1 320px;
  min-width: 0;
  border: 1px solid var(--c-gray-300);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--c-gray-700);
  background: var(--c-white);
}

.search-form button {
  border-radius: 999px;
  background: var(--c-blue-400);
  color: var(--c-white);
  padding: 14px 24px;
  font-weight: 700;
  white-space: nowrap;
}

.search-form .search-cancel {
  border-radius: 999px;
  border: 1px solid var(--c-gray-300);
  background: var(--c-white);
  color: var(--c-gray-700);
  padding: 14px 24px;
  font-weight: 700;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.18s;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.icon-btn img {
  width: 18px;
  height: 18px;
}

.plconline {
  width: 127px;
  height: 39px;
  object-fit: contain;
}

.btn-our-reach {
  background: var(--c-blue-400);
  color: var(--c-white);
  border-radius: 10px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.18s;
}

.btn-our-reach:hover {
  background: var(--c-blue-500);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-gray-600);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(85vw, 360px);
  background: var(--c-white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 24px 24px 40px;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 50, 0.5);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
}

.mobile-drawer .drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-gray-200);
}

.mobile-drawer .close-btn {
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  color: var(--c-gray-600);
}

.mobile-drawer ul {
  list-style: none;
}

.mobile-drawer ul li {
  padding: 14px 0;
  border-bottom: 1px solid var(--c-gray-100);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-gray-600);
}

.mobile-drawer ul li .drawer-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.mobile-drawer ul li .drawer-toggle::after {
  content: '▾';
  font-size: 12px;
  transition: transform 0.2s;
}

.mobile-drawer ul li.open .drawer-toggle::after {
  transform: rotate(180deg);
}

.drawer-submenu {
  display: none;
  padding-left: 18px;
  margin-top: 8px;
}

.drawer-dropdown.open>.drawer-submenu {
  display: block;
}

.drawer-submenu li {
  padding: 10px 0;
  border-bottom: none;
  font-weight: 500;
  font-size: 14px;
}

.drawer-submenu li a {
  color: var(--c-gray-600);
}

.mobile-drawer ul li.sub {
  font-weight: 500;
  font-size: 13px;
  color: var(--c-gray-500);
  padding: 10px 0;
}

.mobile-drawer .drawer-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer .drawer-cta .btn-our-reach {
  text-align: center;
  display: block;
}

.drawer-lang {
  margin-top: 24px;
  border-top: 1px solid var(--c-gray-100);
  padding-top: 18px;
}

.drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--c-gray-700);
}

.drawer-contact-item img {
  width: 18px;
  height: 18px;
}

.drawer-lang-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.drawer-lang-options button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--c-gray-200);
  background: var(--c-white);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--c-gray-700);
  font-weight: 600;
  cursor: pointer;
}

.drawer-lang-options button:hover {
  background: var(--c-gray-50);
}

.mobile-drawer .drawer-contact {
  margin-top: 24px;
  font-size: 12px;
  color: var(--c-gray-500);
  display: flex;
  flex-direction: column;
  gap: 8px;
}



/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-blue-600);
  color: var(--c-white);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-white);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col ul li a {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-gray-200);
  transition: color 0.18s;
}

.footer-col ul li a:hover {
  color: var(--c-white);
}

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

.contact-list .row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.contact-list .row img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  margin-top: 2px;
}

.contact-list .row .label {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  color: var(--c-gray-200);
  display: block;
  margin-bottom: 4px;
}

.contact-list .row .value {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--c-gray-200);
  line-height: 1.4;
  white-space: pre-line;
}

.cert-row {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 48px 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px 24px;
  align-items: center;
  margin-bottom: 48px;
}

.cert-row img {
  width: 100%;
  height: 64px;
  object-fit: contain;
  margin: 0 auto;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  transition: background 0.18s, color 0.18s;
}

.social-btn:hover {
  background: var(--c-white);
  color: var(--c-blue-600);
}

.social-btn img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.social-btn:hover img {
  filter: none;
}

.social-btn svg {
  width: 12px;
  height: 24px;
  fill: currentColor;
}

.legal {
  font-family: var(--f-body);
  font-size: 13px;
  text-align: center;
  color: var(--c-gray-400);
  line-height: 22px;
  margin-bottom: 16px;
}

.bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
}

.bottom-bar .copy {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: #E1E1E1;
}

.bottom-bar .links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bottom-bar .links a {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 12px;
  color: #E1E1E1;
  transition: color 0.18s;
}

.bottom-bar .links a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-btn {
  color: #ffffff; /* This turns the icons white */
  text-decoration: none;
}

.social-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Optional: Add a hover effect so users know they are clickable */
.social-btn:hover {
  opacity: 0.8;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet & smaller — collapse desktop nav, show hamburger */
@media (max-width: 991px) {
  .header-nav-group {
    display: none;
  }

  .mobile-logo{
  display: block;
}

  .hamburger {
    display: flex;
  }

  .header-bottom-inner {
    justify-content: space-between;
    height: 70px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .products-slider {
    min-height: 580px;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: 580px;
  }

  .product-card .p-img {
    min-height: 260px;
  }

  .product-card .p-body {
    padding: 32px;
  }

  .tender::before {
    display: none;
  }

  .tender-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }

  .award-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .news-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  .cert-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
  :root {
    --pad-x: 16px;
  }

  .header-top{
    display: none;
  }

  .header-top-inner {
    font-size: 11px;
    height: 36px;
  }

  .top-links a:not(:first-child) {
    display: none;
  }

  .section {
    padding: 60px 0;
  }

  .why-block {
    height: auto;
    padding: 48px 24px;
  }

  .why-block .why-text h2 {
    font-size: 26px;
  }

  .tender::before {
    display: none;
  }

  .tender-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .tender-card--featured {
    margin: 0;
    padding: 24px;
  }

  .award-card {
    flex: 0 0 100%;
  }

  .news-card {
    flex: 0 0 100%;
  }

  .footer {
    padding: 60px 0 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 40px;
  }

  .cert-row {
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 0;
    gap: 16px;
    margin-bottom: 32px;
  }

  .footer-col ul {
    gap: 12px;
  }

  .contact-list .row .label {
    font-size: 14px;
  }
}

/* Small phones - hero buttons full width */
@media (max-width: 500px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .pill {
    width: 100%;
    justify-content: space-between;
  }
}

/* Phones */
@media (max-width: 480px) {
  :root {
    --pad-x: 16px;
  }

  .top-links a:not(:first-child) {
    display: none;
  }

  .top-phone span {
    display: none;
  }

  .top-lang .chev {
    display: none;
  }

  .header-top-inner {
    gap: 8px;
  }

  .brand img {
    width: 150px;
    height: 34px;
  }

  .header-bottom-inner {
    height: 60px;
  }

  .hero {
    min-height: 520px;
    height: 80vh;
  }

  .hero-content {
    padding: 0 4px;
  }

  .hero-actions .pill {
    font-size: 14px;
    padding: 8px 8px 8px 18px;
  }

  .hero-actions .pill .arrow {
    width: 28px;
    height: 28px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .stat-num {
    font-size: 34px;
  }

  .stat-label {
    font-size: 14px;
  }

  .products-slider {
    min-height: 520px;
  }

  .product-card {
    min-height: 520px;
  }

  .product-card .p-img {
    min-height: 200px;
  }

  .product-card .p-body {
    padding: 20px;
  }

  .product-card .p-button-group {
    flex-wrap: wrap;
    gap: 12px;
  }

  .product-card .p-actions .action-pair {
    display: none;
  }

  .award-card {
    padding: 40px 24px;
  }

  .award-card h4 {
    font-size: 18px;
  }

  .news-card .news-img {
    aspect-ratio: 16 / 10;
  }

  .legal {
    font-size: 12px;
  }

  .bottom-bar {
    flex-direction: column;
    gap: 12px;
  }

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

  .cert-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 0;
  }

  .cert-row img {
    height: 52px;
  }

  .contact-list .row .label {
    font-size: 13px;
  }

  .bottom-bar .links {
    justify-content: center;
    gap: 12px 16px;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  .hero-slides,
  .hamburger span,
  .mobile-drawer,
  .mobile-overlay,
  .pill,
  .quick-card,
  .tender-card {
    transition: none !important;
  }
}