/* Elektromac public website — converted from Next.js public pages */
:root {
  --brand: #0381cd;
  --brand-dark: #0270b8;
  --brand-darker: #015a9e;
  --text: #1e293b;
  --muted: #4b5563;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --header-h: 80px;
  --max: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .header-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .header-inner {
    padding: 0 4rem 0 2rem;
  }
}

.logo {
  margin-left: 8px;
}

.logo img {
  width: 150px;
  height: 46px;
  object-fit: contain;
  transition: opacity 0.2s;
}

.logo:hover img {
  opacity: 0.85;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: 2rem;
}

@media (min-width: 1024px) {
  .logo img {
    width: 180px;
    height: 52px;
  }

  .nav-desktop {
    display: flex;
  }
}

.nav-link,
.nav-drop-btn {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: opacity 0.2s;
}

.nav-link:hover,
.nav-drop-btn:hover {
  opacity: 0.8;
}

.nav-drop {
  position: relative;
}

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0;
  z-index: 60;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  display: block;
}

.nav-cat {
  position: relative;
}

.nav-cat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.nav-cat-label:hover {
  background: #eff6ff;
  color: #2563eb;
}

.nav-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  width: 16rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0;
  z-index: 70;
}

.nav-cat:hover .nav-submenu {
  display: block;
}

.nav-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav-submenu a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #9ca3af;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--brand);
  background: none;
  border: none;
}

[data-mobile-drop] svg,
[data-mobile-sub] svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

[data-mobile-drop].open svg,
[data-mobile-sub].open svg {
  transform: rotate(180deg);
}

.mobile-sub {
  display: none;
  padding-left: 1.5rem;
}

.mobile-sub.open {
  display: block;
}

.mobile-sub a,
.mobile-sub button {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.mobile-leaf {
  display: none;
  padding-left: 1rem;
}

.mobile-leaf.open {
  display: block;
}

.mobile-leaf a {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

.header-spacer {
  height: var(--header-h);
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  border-top: 1px solid #374151;
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.1fr 1fr 0.7fr 1.2fr; }

  .footer-grid > div:nth-child(2) {
    margin-left: 6cqw;
  }
}

.footer-title {
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-cat-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: #e5e7eb;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.25rem 0;
  text-align: left;
}

.footer-cat-btn:hover {
  color: var(--brand);
}

.footer-cat-btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.footer-cat-btn.open svg {
  transform: rotate(180deg);
}

.footer-products {
  display: none;
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0;
  list-style: none;
}

.footer-products.open {
  display: block;
}

.footer-products a {
  display: block;
  font-size: 0.875rem;
  color: #d1d5db;
  padding: 0.15rem 0;
}

.footer-products a:hover,
.quick-links a:hover {
  color: var(--brand);
}

.quick-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links a {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #d1d5db;
  padding: 0.2rem 0;
}

.quick-links a span {
  margin-right: 0.5rem;
}

.social-row {
  display: flex;
  gap: 1rem;
}

.social-row a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  transition: color 0.3s;
}

.social-row a:hover {
  color: var(--brand);
}

.footer-contact p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}

.footer-contact strong {
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
  color: #d1d5db;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom a {
  color: var(--brand);
}

.footer-bottom a:hover {
  color: var(--brand-dark);
}

/* Floating buttons */
.float-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.float-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: none;
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn.scroll { background: #4b5563; }
.float-btn.call { background: #2563eb; }
.float-btn.wa { background: #22c55e; }
.float-item span {
  font-size: 0.75rem;
  color: var(--gray-700);
  font-weight: 500;
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

/* Hero banners */
.banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-web {
  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: 1800 / 800;
  background: #f8fafc;
}

.banner-mobile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
}

@media (min-width: 768px) {
  .banner-web { display: block; }
  .banner-mobile { display: none; }
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner-mobile .banner-slide img,
.cover-slide img {
  object-fit: cover;
  object-position: center;
}

.banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.banner-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
}

.banner-dots button.active {
  background: #fff;
}

.banner-dots.brand button {
  background: #9ca3af;
}

.banner-dots.brand button.active {
  background: var(--brand);
}

/* Page sections */
.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-label {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label h2,
.brand-heading {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.underline {
  width: 6rem;
  height: 4px;
  background: var(--brand);
  margin: 0 auto 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.about-list li span.dot {
  color: var(--brand);
  font-weight: 700;
  margin-right: 0.5rem;
}

.staff-carousel {
  position: relative;
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f8fafc;
}

.staff-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}

.staff-carousel img.active {
  opacity: 1;
}

/* Products carousel */
.products-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #f9fafb, #fff);
}

.product-track-wrap {
  display: none;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1024px) {
  .product-track-wrap { display: block; }
}

.product-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: autoScrollProducts 300s linear infinite;
}

.product-track:hover {
  animation-play-state: paused;
}

@keyframes autoScrollProducts {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

.product-card {
  flex-shrink: 0;
  width: 450px;
  height: 450px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
}

.product-card .thumb {
  position: relative;
  height: 250px;
  background: #f9fafb;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-card h3 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: auto;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

.icon-btn.wa { background: #22c55e; }
.icon-btn.call { background: #3b82f6; }
.icon-btn.mail { background: var(--brand); }
.icon-btn:hover { filter: brightness(0.92); }

.product-mobile {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

@media (min-width: 1024px) {
  .product-mobile { display: none; }
}

.product-mobile-slide {
  position: absolute;
  inset: 0;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.5s;
}

.product-mobile-slide.active {
  opacity: 1;
}

.product-mobile-card {
  height: 100%;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.product-mobile-card .thumb {
  flex: 1;
  min-height: 60%;
  background: #f9fafb;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-mobile-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}

.product-mobile-card h3 {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

/* Featured / enquiry banners */
.featured-web,
.enquiry-web,
.industries-web {
  display: none;
}

.featured-mobile,
.enquiry-mobile,
.industries-mobile {
  display: block;
}

@media (min-width: 768px) {
  .featured-web,
  .enquiry-web,
  .industries-web { display: block; }
  .featured-mobile,
  .enquiry-mobile,
  .industries-mobile { display: none; }
}

.featured-web,
.industries-web {
  position: relative;
  width: 100%;
  aspect-ratio: 1800 / 800;
}

.featured-mobile,
.industries-mobile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.cover-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.cover-slide.active {
  opacity: 1;
}

.cover-slide img,
.featured-web img,
.featured-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.enquiry-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.enquiry-web,
.enquiry-mobile {
  position: relative;
  max-width: 1800px;
  margin: 0 auto;
}

.enquiry-mobile {
  max-width: 1080px;
  padding-bottom: 1rem;
}

.enquiry-slide {
  display: none;
  width: 100%;
}

.enquiry-slide.active {
  display: block;
}

.enquiry-slide img {
  width: 100%;
  height: auto;
}

/* Home FAQ */
.home-faq {
  padding: 4rem 0 2rem;
}

.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .home-faq-grid {
    grid-template-columns: 40% 60%;
    align-items: start;
  }
}

.faq-illust {
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-illust img {
  width: 350px;
  height: 350px;
  object-fit: contain;
}

.faq-chip {
  display: inline-block;
  background: #dbeafe;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
}

.home-faq h2 {
  color: var(--brand);
  font-size: 1.125rem;
  margin: 0 0 1.25rem;
}

.home-faq > p,
.faq-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}

.faq-item button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
}

.faq-item button.open {
  color: var(--brand);
}

.faq-item .answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.faq-item .answer.open {
  display: block;
}

/* Page heroes */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0381cd, #0270b8 50%, #015a9e);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background:
    radial-gradient(circle at 0 0, #fff 0, transparent 40%),
    radial-gradient(circle at 100% 100%, #fff 0, transparent 40%);
}

.page-hero .inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.page-hero .badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero { padding: 6rem 1rem; }
  .page-hero h1 { font-size: 1.875rem; }
}

.page-hero p {
  margin: 0 auto;
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--gray-900);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-900);
}

.btn-outline-dark:hover {
  background: var(--gray-900);
  color: #fff;
}

.btn-brand {
  background: #2563eb;
  color: #fff;
  border: none;
}

.btn-brand:hover {
  background: #1d4ed8;
}

.btn-brand:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* About page */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
}

.story-grid h2 {
  color: var(--brand);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.story-grid p,
.values-intro,
.why-intro {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #0381cd, #0270b8);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(3, 129, 205, 0.3);
}

.stat-card strong {
  display: block;
  font-size: 1.875rem;
}

.mission-card {
  background: linear-gradient(to bottom right, #fff, #f9fafb);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.mission-card h3 {
  margin: 0 0 0.75rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.value-card,
.why-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
}

.icon-box {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #0381cd, #0270b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
}

.why-card {
  display: flex;
  text-align: left;
  gap: 1rem;
  align-items: flex-start;
}

.why-card .icon-box {
  width: 3rem;
  height: 3rem;
  margin: 0;
  flex-shrink: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0381cd, #0270b8, #015a9e);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.cta-band h2 {
  margin: 0 0 1rem;
}

.cta-band p {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Products page */
.page-title {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.page-title h1 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.page-title p {
  margin: 0 auto;
  max-width: 48rem;
  color: var(--muted);
}

.category-block,
.product-link {
  scroll-margin-top: 6rem;
}

.category-block {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.category-block h2 {
  text-align: center;
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.product-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.product-link:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.product-link img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #f3f4f6;
  border-radius: 0.5rem;
  padding: 0.25rem;
  flex-shrink: 0;
}

.product-link h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.product-link p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.products-cta {
  border-top: 1px solid var(--gray-200);
  text-align: center;
  padding: 3rem 1rem;
}

/* FAQ page accordion */
.faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: linear-gradient(to bottom right, #fff, #f9fafb);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.faq-card button {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.faq-card .chev {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0381cd, #0270b8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-card button.open .chev {
  transform: rotate(180deg);
}

.faq-card .answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid #f3f4f6;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: justify;
}

.faq-card .answer.open {
  display: block;
  padding-top: 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: #67bed9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin: 0 0 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #3b82f6;
}

.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.alert-success {
  background: #dcfce7;
  border: 1px solid #4ade80;
  color: #15803d;
}

.alert-error {
  background: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .maps-grid { grid-template-columns: 1fr 1fr; }
}

.maps-grid h3 {
  text-align: center;
}

.map-frame {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Enquiry modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.modal {
  background: #fff;
  border-radius: 0.5rem;
  max-width: 24rem;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-head h3 {
  margin: 0;
  color: var(--brand);
}

.modal-head button {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #9ca3af;
}

.modal form {
  padding: 1rem;
}

.product-tag {
  background: #f9fafb;
  padding: 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.gray-bg { background: #f9fafb; }
.white-bg { background: #fff; }
