/* =========================================================
   Ayzu Trading PLC - main website styles
   Modern, bold: rich blue gradients, glass cards, soft glows,
   big type, rounded corners and scroll-in motion.
   ========================================================= */

/* Palette built around the logo blue (#0052CC). One hue family, dark to light. */
:root {
  --blue-950: #061a3a;
  --blue-900: #0b2447;
  --blue-800: #0c3a80;
  --blue-700: #003fa3;
  --blue-600: #0052cc; /* logo blue: buttons, links, accents */
  --blue-500: #1f6fe0;
  --blue-400: #4d8ef0;
  --blue-300: #8fb8f7;
  --blue-100: #e1ecfb;
  --blue-50: #f2f7fe;
  --cyan: #7cc4ff; /* light sky blue used for the hero highlight */
  --gray-900: #111827;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 16px rgba(11, 42, 74, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 42, 74, 0.18);
  --glow: 0 10px 40px rgba(36, 112, 196, 0.35);
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; color: var(--blue-900); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

.section { padding: 5.5rem 0; }
.section-alt { background: linear-gradient(180deg, var(--blue-50), #eaf2fc); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title p { color: var(--gray-500); max-width: 620px; margin: 0.75rem auto 0; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--blue-100);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(36, 112, 196, 0.35);
}
.btn-primary:hover { box-shadow: var(--glow); }
.btn-outline { background: transparent; color: var(--blue-600); border-color: var(--blue-300); }
.btn-outline:hover { background: var(--blue-100); border-color: var(--blue-500); }
.btn-light { background: var(--white); color: var(--blue-800); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-light:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(11, 42, 74, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 76px;
}
.site-header .brand { margin-right: auto; } /* pushes the nav and quote button right */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
  color: var(--blue-900);
}
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text.visually-hidden { position: absolute; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.68rem; color: var(--gray-500); letter-spacing: 0.16em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.nav a.active { color: var(--blue-600); background: var(--blue-100); }
.nav a.btn { padding: 0.6rem 1.25rem; margin-left: 0.75rem; color: var(--white); }
.nav a.btn:hover { color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 0.75rem 1rem 1.25rem;
  }
  .nav.open { display: flex; animation: fadeDown 0.25s var(--ease); }
  .nav a { padding: 0.85rem 1rem; border-radius: var(--radius-sm); }
  .nav a.btn { margin: 0.5rem 0 0; border-radius: 999px; }
}
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 6.5rem 0 7.5rem;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(31, 111, 224, 0.55), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(124, 196, 255, 0.22), transparent 60%),
    linear-gradient(140deg, var(--blue-950) 0%, var(--blue-900) 45%, var(--blue-700) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span.plain { color: var(--white); }
.hero h1 span:not(.plain) {
  background: linear-gradient(90deg, #b9dcff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 540px; margin-bottom: 2.25rem; }
.hero .eyebrow { color: #bfe0ff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-text > * { animation: rise 0.8s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.1s; }
.hero-text > :nth-child(3) { animation-delay: 0.2s; }
.hero-text > :nth-child(4) { animation-delay: 0.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Hero graphic: floating glass cards on an orbit */
.hero-visual { position: relative; height: 420px; }
.orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.25);
  animation: spin 40s linear infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.orbit-core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4d9ff0, var(--blue-700) 70%);
  box-shadow: 0 0 80px rgba(59, 139, 224, 0.6), inset 0 0 40px rgba(255,255,255,0.15);
  display: grid;
  place-items: center;
  animation: pulse 4s ease-in-out infinite;
}
.orbit-core svg { width: 64px; height: 64px; color: var(--white); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.glass {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.glass small { display: block; font-weight: 400; font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.glass .feature-icon {
  width: 38px; height: 38px; margin: 0; border-radius: 10px;
  background: rgba(255,255,255,0.15); color: var(--white);
}
.glass .feature-icon svg { width: 20px; height: 20px; }
.glass-1 { top: 8%; left: 0; animation-delay: 0s; }
.glass-2 { top: 42%; right: 0; animation-delay: -2s; }
.glass-3 { bottom: 6%; left: 12%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

@media (max-width: 900px) {
  .hero { padding: 5rem 0 6.5rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; max-width: 460px; margin: 0 auto; width: 100%; }
  .orbit { width: 280px; height: 280px; }
  .orbit-core { width: 120px; height: 120px; }
  .glass { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
  .glass-1 { top: 0; left: 0; }
  .glass-2 { top: 50%; right: 0; transform: translateY(-50%); animation: none; }
  .glass-3 { bottom: 0; left: 4%; }
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit, .orbit-core, .glass, .hero-text > * { animation: none !important; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 4.5rem 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(59, 139, 224, 0.5), transparent 60%),
    linear-gradient(140deg, var(--blue-950), var(--blue-800));
}
.page-hero h1 { color: var(--white); margin: 0; }
.page-hero p { color: rgba(255,255,255,0.78); margin: 0.6rem 0 0; font-size: 1.1rem; }
.page-hero .eyebrow { color: #bfe0ff; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: -3.25rem;
  position: relative;
  z-index: 2;
}
.stat {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.25rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--gray-500); font-size: 0.9rem; font-weight: 500; }

/* ---------- Feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.25rem;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.feature::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36,112,196,0.12), transparent 65%);
  transition: transform 0.4s var(--ease);
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--blue-100); }
.feature:hover::after { transform: scale(1.4); }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-100), #cfe2fa);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature p { color: var(--gray-700); margin: 0; }

/* ---------- Two column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split p { color: var(--gray-700); font-size: 1.02rem; }
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(500px 300px at 80% 20%, rgba(59,139,224,0.5), transparent 60%),
    linear-gradient(140deg, var(--blue-900), var(--blue-600));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.split-media svg { position: relative; width: 38%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3)); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  margin-bottom: 0.8rem;
  color: var(--gray-700);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
  background-blend-mode: normal;
}

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.value {
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--blue-500);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value p { margin: 0; color: var(--gray-700); font-size: 0.95rem; }

/* ---------- Products ---------- */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.search { position: relative; flex: 1 1 260px; max-width: 400px; }
.search input {
  width: 100%;
  padding: 0.85rem 1.1rem 0.85rem 2.8rem;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  font: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(36,112,196,0.15); }
.search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-500);
}
.products-count { color: var(--gray-500); font-size: 0.95rem; font-weight: 500; margin-left: auto; }
.btn-catalogue { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
.btn-catalogue svg { width: 17px; height: 17px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
  animation: rise 0.6s var(--ease) both;
}
.product-card:nth-child(2) { animation-delay: 0.06s; }
.product-card:nth-child(3) { animation-delay: 0.12s; }
.product-card:nth-child(4) { animation-delay: 0.18s; }
.product-card:nth-child(5) { animation-delay: 0.24s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.36s; }
.product-card:nth-child(8) { animation-delay: 0.42s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--blue-100); }
.product-card:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Square image box: image fills it and crops to fit */
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--blue-50));
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--gray-300);
}
.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image svg { width: 52px; height: 52px; }
.product-body { padding: 1.2rem 1.35rem 1.35rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.05rem; }
.product-body p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.product-card:hover .product-link { gap: 0.6rem; }

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.35;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--gray-500);
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
}
.empty-state strong { display: block; color: var(--gray-700); font-size: 1.1rem; margin-bottom: 0.25rem; }

/* ---------- Product modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 24, 46, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: rise 0.35s var(--ease);
}
.modal-gallery { display: flex; flex-direction: column; background: var(--gray-100); min-width: 0; }
.modal-box .product-image { aspect-ratio: 1 / 1; min-height: 300px; flex: 1; }
.modal-box .product-image img { object-fit: contain; background: var(--gray-100); padding: 1rem; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow);
  color: var(--blue-900);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.gallery-nav:hover { background: var(--white); }
.gallery-nav.prev { left: 0.6rem; }
.gallery-nav.next { right: 0.6rem; }
.gallery-count {
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(11, 36, 71, 0.75);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.gallery-thumbs[hidden] { display: none; }
.gallery-thumbs button {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumbs button.on { border-color: var(--blue-600); opacity: 1; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.specs-wrap { margin: 0.5rem 0 1rem; }
.specs-wrap[hidden] { display: none; }
.specs-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.6rem;
}
.specs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.specs-table th, .specs-table td { padding: 0.45rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gray-200); }
.specs-table th { color: var(--gray-500); font-weight: 500; width: 42%; padding-right: 1rem; }
.specs-table td { color: var(--gray-900); font-weight: 600; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }

.modal-content { padding: 2.5rem; display: flex; flex-direction: column; }
.modal-content h2 { margin-top: 0; font-size: 1.7rem; }
.modal-content p { color: var(--gray-700); white-space: pre-line; flex: 1; }
.modal-content .btn { align-self: flex-start; }
.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gray-700);
  z-index: 1;
}
@media (max-width: 700px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-box .product-image { min-height: 220px; aspect-ratio: 4 / 3; height: auto; }
  .modal-content { padding: 1.75rem; }
  .gallery-thumbs button { width: 52px; height: 52px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.contact-item .feature-icon { margin: 0; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; }
.contact-item .feature-icon svg { width: 22px; height: 22px; }
.contact-item h3 { margin-bottom: 0.15rem; font-size: 1rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--gray-700); }
.contact-item a.map-link { display: inline-block; margin-top: 0.35rem; color: var(--blue-600); font-weight: 600; font-size: 0.9rem; }

#contact-form { scroll-margin-top: 110px; }

.product-field {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}
.product-field label { color: var(--blue-700); }
.product-field input { background: var(--white); font-weight: 600; color: var(--blue-900); }
.product-field[hidden] { display: none; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(36,112,196,0.15); }
.field textarea { min-height: 140px; resize: vertical; }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.success { display: block; background: #e7f6ec; color: #166534; }
.form-status.error { display: block; background: #fdecec; color: #b91c1c; }

.map-frame {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% 100%, rgba(124,196,255,0.3), transparent 60%),
    radial-gradient(600px 300px at 80% 0%, rgba(143,184,247,0.4), transparent 60%),
    linear-gradient(135deg, var(--blue-700), var(--blue-500));
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 1.75rem; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer h3 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer .brand { color: var(--white); margin-bottom: 1rem; }
.site-footer .brand-sub { color: rgba(255,255,255,0.55); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-card { animation: none; }
}

/* ---------- Amharic ---------- */
html.lang-am body, html.lang-am .btn, html.lang-am input, html.lang-am textarea, html.lang-am button {
  font-family: "Noto Sans Ethiopic", "Inter", system-ui, sans-serif;
}
html.lang-am h1, html.lang-am h2, html.lang-am h3 { letter-spacing: 0; line-height: 1.3; }
html.lang-am .eyebrow { letter-spacing: 0.04em; }

/* ---------- Language switch ---------- */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 2px;
  margin-left: 0.5rem;
  background: var(--white);
}
.lang-switch button {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button.on { background: var(--blue-600); color: var(--white); }
@media (max-width: 800px) { .lang-switch { margin: 0.5rem 1rem 0; align-self: flex-start; } }

/* ---------- Hero photo ---------- */
.hero.has-photo {
  background:
    linear-gradient(100deg, rgba(6, 26, 58, 0.92) 0%, rgba(11, 36, 71, 0.8) 45%, rgba(0, 63, 163, 0.55) 100%),
    var(--hero-photo) center / cover no-repeat;
}
.hero.has-photo::before { opacity: 0.5; }

/* ---------- Category tabs ---------- */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.category-tabs[hidden] { display: none; }
.tab {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tab:hover { border-color: var(--blue-300); color: var(--blue-600); }
.tab.on { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

.product-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.92);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.modal-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.5rem;
}
.modal-cat[hidden] { display: none; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.modal-actions .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
.btn-wa { background: #25d366; color: var(--white); }
.btn-wa:hover { background: #1ebe5b; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-wa svg, .btn-share svg { width: 18px; height: 18px; }
.btn-wa[hidden] { display: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .wa-float { padding: 0.8rem; left: 1rem; bottom: 1rem; }
  .wa-float span { display: none; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- Partners strip ---------- */
.partners { padding: 3.5rem 0; border-top: 1px solid var(--gray-200); }
.partners[hidden] { display: none; }
.partners .section-title { margin-bottom: 2rem; }
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2.5rem;
}
.partner {
  display: grid;
  place-items: center;
  height: 64px;
  padding: 0.5rem 1rem;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.25s, opacity 0.25s, transform 0.25s var(--ease);
  text-decoration: none !important;
}
.partner:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.partner img { max-height: 48px; max-width: 160px; width: auto; height: auto; object-fit: contain; }
.partner-name { font-weight: 700; font-size: 1.1rem; color: var(--gray-700); }

/* ---------- News ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.post-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.post-card a { text-decoration: none !important; color: inherit; display: block; }
.post-image { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--gray-100), var(--blue-50)); overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.25rem 1.4rem 1.5rem; }
.post-body time { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; }
.post-body h2 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.post-body p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Server-rendered article page */
.article { padding: 3.5rem 0 4rem; }
.article-inner { max-width: 760px; }
.article-back { display: inline-block; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
.article-date { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 1.75rem; }
.article-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.article-body { font-size: 1.05rem; line-height: 1.75; color: var(--gray-700); }
.article-body p { margin-bottom: 1.25rem; }

/* ---------- Certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.cert { margin: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.cert:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cert-image { aspect-ratio: 3 / 4; background: var(--gray-100); overflow: hidden; }
.cert-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.cert figcaption { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.15rem; }
.cert figcaption strong { font-size: 0.95rem; color: var(--blue-900); }
.cert figcaption span { font-size: 0.82rem; color: var(--gray-500); }
.cert-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(6, 26, 58, 0.9);
  display: grid;
  place-items: center;
  padding: 2rem;
  cursor: zoom-out;
}
.cert-viewer img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: var(--shadow-lg); }
.cert-viewer button {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Quote list ---------- */
.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.quote-btn:hover { border-color: var(--blue-300); color: var(--blue-600); }
.quote-btn.has-items { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }
.quote-btn svg { width: 18px; height: 18px; }
.quote-count {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quote-count[hidden] { display: none; }
@media (max-width: 1000px) { .quote-btn-label { display: none; } .quote-btn { padding: 0.5rem 0.7rem; } }
/* On desktop the quote button sits after the menu; on mobile it stays beside the burger */
@media (min-width: 801px) { .nav { order: 2; } .quote-btn { order: 3; } }

.quote-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 58, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 110;
}
.quote-backdrop.open { opacity: 1; pointer-events: auto; }

.quote-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  pointer-events: none;
}
.quote-panel.open { transform: none; pointer-events: auto; }
.quote-box {
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(6, 26, 58, 0.25);
}
.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.quote-head h2 { margin: 0; font-size: 1.25rem; }
.quote-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gray-700);
  cursor: pointer;
}
.quote-close:hover { background: var(--gray-200); }
.quote-body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem 2rem; }

.quote-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.quote-empty strong { display: block; color: var(--gray-900); font-size: 1.1rem; margin-bottom: 0.35rem; }
.quote-empty p { margin-bottom: 1.25rem; }

.quote-items { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.quote-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}
.quote-thumb {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-100);
}
.quote-thumb img { width: 100%; height: 100%; object-fit: cover; }
.quote-item-main { flex: 1; min-width: 0; }
.quote-item-title { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.35rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-300); border-radius: 8px; overflow: hidden; }
.qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.qty button:hover { background: var(--gray-200); }
.qty input {
  width: 52px;
  height: 28px;
  border: none;
  text-align: center;
  font: inherit;
  font-size: 0.88rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote-remove {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--gray-500);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.quote-remove:hover { background: #fef2f2; color: #dc2626; }

.quote-form .field { margin-bottom: 0.9rem; }
.quote-form label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.quote-form input, .quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.92rem;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(0,82,204,0.15); }
.quote-status { margin: 0.5rem 0; }
.quote-actions { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.quote-actions .btn { flex: 1; padding: 0.8rem 1rem; }

.quote-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--blue-900);
  color: var(--white);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 130;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s var(--ease);
  pointer-events: none;
}
.quote-toast.in { opacity: 1; transform: translate(-50%, 0); }

.btn-add-quote svg { width: 18px; height: 18px; }
.btn-add-quote:disabled { opacity: 1; background: #16a34a; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
