/* ============================================
   PACKISTRY — COMPONENTS
   All reusable: topbar, navbar, footer,
   buttons, forms, cards, quote forms
   ============================================ */

/* ==========================================
   TOP ANNOUNCEMENT BAR
   ========================================== */
.topbar {
  background: #0F2640;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 var(--sp-xl);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}

.topbar-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
  flex-shrink: 0;
}

/* ==========================================
   HEADER (Logo + contact strip)
   ========================================== */
.site-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--color-gray-200);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}

/* Prevent an older .logo-icon rule from showing a navy square behind the inline logo. */
.logo-icon {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-navy);
  text-transform: uppercase;
}

.logo-text .tagline {
  font-size: 8px;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.header-contact a:hover { color: var(--color-gold); }

.header-contact svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.header-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.header-flag-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header-flag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(15, 38, 64, 0.12);
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: var(--transition-fast);
  padding: 1px;
}

.header-flag-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.header-flag-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

.header-flag-label {
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
}

/* ==========================================
   FLOATING WHATSAPP
   ========================================== */
.floating-whatsapp {
  align-items: center;
  animation: whatsapp-pulse 2.6s ease-out infinite;
  background: #25d366;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4);
  color: #fff;
  display: flex;
  height: 54px;
  justify-content: center;
  position: fixed;
  right: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  width: 54px;
  z-index: 1000;
}

.floating-whatsapp:hover {
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  color: #fff;
  transform: translateY(-3px);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.floating-whatsapp img {
  filter: brightness(0) invert(1);
  height: 29px;
  width: 29px;
}

@keyframes whatsapp-pulse {
  0%, 65%, 100% { box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4); }
  35% { box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none; }
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
.site-nav {
  background: #0F2640;
  height: 44px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  height: 100%;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
}

.nav-links .has-dropdown {
  position: relative;
}

.nav-links .has-dropdown .dropdown-arrow {
  font-size: 8px;
  opacity: 0.7;
}

.nav-quote-btn {
  background: var(--color-gold) !important;
  color: var(--color-navy) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  padding: 9px 16px !important;
  border-radius: var(--radius-sm);
  height: auto !important;
  transition: var(--transition) !important;
  border: none !important;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: #0F2640;
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

/* ==========================================
   CARDS
   ========================================== */

/* Feature / Value card */
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--color-gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card .icon-wrap {
  width: 52px;
  height: 52px;
  background: #0F2640;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
}

.feature-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--color-gold);
}

.feature-card h5 {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Product card */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card .card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.product-card .card-img.placeholder {
  background: var(--color-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: var(--fs-sm);
  aspect-ratio: 4/3;
}

.product-card .card-body {
  padding: var(--sp-md);
}

.product-card h5 {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.product-card .shop-link {
  font-size: var(--fs-sm);
  color: var(--color-gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card .shop-link:hover { color: var(--color-gold-dark); }

/* ==========================================
   BEAT MY QUOTE — Small Dark Form Card
   ========================================== */
.beat-quote-card {
  background: #112840;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  border: none;
}

.beat-quote-card .bqc-title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.beat-quote-card .bqc-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-md);
}

/* ==========================================
   FORMS — Shared input styles
   ========================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-label.on-dark { color: var(--text-on-dark-muted); }

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.form-control::placeholder { color: var(--color-gray-400); }

/* Dark form variant */
.form-control.dark {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: var(--color-white);
}

.form-control.dark::placeholder { color: rgba(255,255,255,0.35); }
.form-control.dark:focus {
  border-color: var(--color-gold);
  background: rgba(255,255,255,0.1);
}

/* Fix dropdown options on dark forms */
.form-control.dark option {
  background: #0F2640;
  color: #ffffff;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888884' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.form-control { resize: vertical; min-height: 90px; }

/* Grid helpers for forms */
.form-row {
  display: grid;
  gap: var(--sp-md);
}

.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

/* ==========================================
   GET INSTANT PRICE QUOTE — Full Big Form
   ========================================== */
.quote-form-section {
  background: #F5F5F5;
  padding: var(--sp-3xl) 0;
}

.quote-form-section .section-heading p.subtitle {
  font-size: 13px;
  color: var(--color-gold);
  font-style: italic;
  margin-top: 6px;
}

.quote-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  max-width: 860px;
  margin: 0 auto;
}

.form-upload {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.form-upload input[type="file"] { display: none; }

.upload-btn {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.upload-btn:hover { background: var(--color-navy-light); }

.upload-filename {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  background: var(--bg-dark);
  padding: var(--sp-2xl) 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--text-on-dark-muted);
  margin-bottom: var(--sp-lg);
  font-size: var(--fs-base);
}

.cta-banner .btn-group {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   ICON CATEGORY SCROLL BAR
   ========================================== */
.category-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--color-gray-200);
  padding: 14px 0;
  overflow-x: auto;
}

.category-bar::-webkit-scrollbar { display: none; }

.category-bar .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 0 var(--sp-xl);
  min-width: max-content;
  margin: 0 auto;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.cat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0F2640;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cat-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.category-item:hover .cat-icon-wrap { background: #1A3050; }
.category-item:hover .cat-icon-wrap svg { color: var(--color-gold); }
.category-item:hover span { color: var(--color-navy); }

.category-item.active .cat-icon-wrap { background: #0F2640; }
.category-item.active .cat-icon-wrap svg { color: var(--color-gold); }
.category-item.active span { color: var(--color-gold); font-weight: 600; }

.category-item span {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition-fast);
  font-weight: 400;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
}

.faq-item.open {
  border-color: var(--color-gray-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--bg-white);
  transition: var(--transition-fast);
  user-select: none;
}

.faq-question:hover { background: var(--bg-light); }

.faq-question span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--color-gray-500);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}

.faq-item.open .faq-icon {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--bg-white);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #0F2640;
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: var(--sp-md);
  max-width: 240px;
}

.footer-col h6 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--sp-md);
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--color-gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  width: 13px;
  height: 13px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.payment-badges {
  display: flex;
  gap: 5px;
  align-items: center;
}

.payment-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
}

/* Footer logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-md);
}

.footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  padding: 3px !important;
  background: var(--bg-white) !important;
  border-radius: 4px !important;
  font-size: 15px;
}

.footer-logo .name {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.footer-logo .tagline {
  font-size: 7.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

/* Real product image sizing */
.product-card img.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f9f9f9;
  display: block;
}

/* ==========================================
   HERO BANNER SLIDER
   ========================================== */
.hero-banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0F2640;
  line-height: 0;
}

.banner-slide {
  display: none;
  width: 100%;
}

.banner-slide.active {
  display: block;
  animation: bannerFade 0.6s ease;
}

@keyframes bannerFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255,255,255,0.6);
}

.banner-dot.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.2);
}

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.banner-arrow:hover { background: rgba(201,168,76,0.8); }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }

/* ==========================================
   NAVBAR DROPDOWNS
   ========================================== */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 12px;
  height: 44px;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-item > a:hover,
.nav-item:hover > a {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

.nav-item > a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  position: relative;
}

.nav-item > a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  min-width: 220px;
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 200;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 18px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  transition: background 0.15s, color 0.15s !important;
  height: auto !important;
  min-height: 0 !important;
}

.nav-dropdown a:last-child {
  border-bottom: none !important;
  color: var(--color-gold) !important;
  font-weight: 600 !important;
}

.nav-dropdown a:hover {
  background: rgba(201,168,76,0.1) !important;
  color: var(--color-gold) !important;
  padding-left: 22px !important;
}

/* NO arrows on simple dropdown items */
.nav-dropdown a::after { content: none !important; display: none !important; }
.nav-dropdown a:last-child::after { content: none !important; display: none !important; }

/* ==========================================
   MEGA DROPDOWN
   ========================================== */
.mega-dropdown { position: relative; height: 100%; }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid !important;
  grid-template-columns: 220px 0px;
  background: #1a1a1a;
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 200;
  padding: 0 !important;
  overflow: hidden;
}

.mega-menu.right-open {
  grid-template-columns: 220px 280px;
}

@media (max-width: 767px) {
  .topbar { display: grid; grid-template-columns: 1fr 1fr; height: auto; min-height: 38px; gap: 0; padding: 6px 12px; }
  .topbar-item { justify-content: center; min-width: 0; font-size: 9px; line-height: 1.2; text-align: center; white-space: nowrap; }
  .topbar-item svg { width: 11px; height: 11px; }
  .topbar-item:nth-child(2) { display: flex; }
  .topbar-item:nth-child(3) { display: none; }
  .site-header { height: auto; min-height: 64px; padding: 12px 0; }
  .site-header .container { gap: 12px; }
  .logo-text .name { font-size: 14px; }
  .logo-text .tagline { font-size: 7px; }
  .header-contact { display: none; }
  .header-right { gap: 0; }
  .header-right > .btn { padding: 8px 10px; font-size: 10px; }
  .floating-whatsapp { bottom: 18px; height: 50px; right: 18px; width: 50px; }
  .site-nav { height: auto; }
  .site-nav .container { display: block; height: auto; overflow: visible; padding-right: 16px; }
  .nav-links { width: 100%; height: auto; min-width: 0; flex-wrap: wrap; }
  .nav-links > a, .nav-item > a { height: 36px; padding: 0 8px; font-size: 11px; }
  .nav-item { height: 36px; }
  .site-nav > .container > .nav-quote-btn { display: flex; width: 100%; margin: 6px 0 8px; }
  .nav-dropdown { display: none !important; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .section-sm { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 24px; }
  .page-hero { padding: 28px 0 32px; }
  .page-hero h1 { font-size: 30px; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .quote-form-wrap { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .category-bar .inner { justify-content: flex-start; gap: 24px; padding-left: 16px; }
  .faq-question { padding: 14px 16px; gap: 12px; }
  .banner-arrow { width: 34px; height: 34px; font-size: 21px; }
  .banner-prev { left: 10px; }
  .banner-next { right: 10px; }
  .site-nav .nav-item.mobile-open > .nav-dropdown,
  .site-nav .nav-item.mobile-open > .mega-menu {
    display: block !important;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    min-width: 0;
    max-height: 280px;
    overflow-y: auto;
    border-top: 1px solid var(--color-gold);
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav .nav-item.mobile-open > .nav-dropdown {
    display: flex !important;
    flex-direction: column;
    background: #1a1a1a;
  }

  .site-nav .nav-item.mobile-open > .nav-dropdown a {
    display: flex !important;
    width: 100%;
    color: rgba(255,255,255,0.85) !important;
  }

  .site-nav .nav-item.mobile-open {
    flex-basis: 100%;
    height: auto;
    flex-wrap: wrap;
  }

  .site-nav .nav-item.mobile-open > a {
    flex: 0 0 auto;
  }
  .site-nav .nav-item.mobile-open > .mega-menu { padding: 0 !important; }
  .site-nav .nav-item.mobile-open > .mega-menu .mega-right { display: none; }
  .site-nav .nav-item.mobile-open > .mega-menu .mega-left { border-right: 0; }
  .site-nav .nav-item.mobile-open > .nav-dropdown a,
  .site-nav .nav-item.mobile-open > .mega-menu .mega-cat { min-height: 38px; padding: 9px 14px !important; }
}

.mega-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Left column - all categories */
.mega-left {
  border-right: 1px solid rgba(255,255,255,0.07);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mega-cat {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 16px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  transition: background 0.15s, color 0.15s !important;
  white-space: nowrap;
  cursor: pointer;
  background: transparent !important;
  width: 100%;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  flex-shrink: 0;
}

.mega-cat span {
  font-size: 12px;
  opacity: 0.45;
  flex-shrink: 0;
}

.mega-cat:hover {
  color: var(--color-gold) !important;
  background: rgba(201,168,76,0.08) !important;
}

.mega-cat.active {
  color: var(--color-gold) !important;
  background: rgba(201,168,76,0.08) !important;
  border-left: 3px solid var(--color-gold) !important;
}

.mega-cat.active span { color: var(--color-gold); opacity: 1; }
.mega-cat::after { display: none !important; content: none !important; }

/* Right column */
.mega-right {
  padding: 8px 0;
  overflow-y: auto;
  max-height: 400px;
}

.mega-sub { display: none; flex-direction: column; }
.mega-sub.active { display: flex; }

.mega-sub a {
  display: block !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.72) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  transition: all 0.15s ease !important;
}

.mega-sub a:hover {
  color: var(--color-gold) !important;
  background: rgba(201,168,76,0.06) !important;
  padding-left: 24px !important;
}

.mega-sub a.view-more-link {
  color: var(--color-gold) !important;
  font-weight: 600 !important;
  border-bottom: none !important;
}

.mega-sub a::after { display: none !important; content: none !important; }

/* Form submission feedback */
.form-submit-status {
  display: none;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.form-submit-status.is-success { display: block; background: #e9f8ef; border: 1px solid #8bcaa2; color: #176b37; }
.form-submit-status.is-error { display: block; background: #fff0f0; border: 1px solid #e5a1a1; color: #9d2020; }

/* Native form success dialog (shown after PHP redirects back to #form-success) */
.form-success-dialog { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 20, 38, 0.6); }
.form-success-dialog:target { display: flex; }
.form-success-dialog__card { width: min(100%, 440px); padding: 30px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24); text-align: center; }
.form-success-dialog__card h2 { color: var(--color-navy); margin-bottom: 10px; }
.form-success-dialog__card p { margin-bottom: 22px; }
.form-success-dialog__tick { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #e9f8ef; color: #178341; }
.form-success-dialog__tick svg { width: 34px; height: 34px; }
