/* =====================================================================
   Mevanta Industrial Supply — modern design system
   ===================================================================== */
:root {
  /* Brand palette */
  --indigo-900: #0b1020;
  --indigo-800: #12183a;
  --indigo-700: #1b2250;
  --brand: #4f46e5;        /* indigo */
  --brand-2: #7c3aed;      /* violet */
  --cyan: #22d3ee;
  --accent: #f59e0b;       /* amber */
  --accent-2: #fb923c;

  /* Neutrals */
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e6e9f0;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --surface-3: #eef1f8;

  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 70px rgba(15, 23, 42, .18);
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 55%, #a855f7 100%);
  --grad-cta: linear-gradient(120deg, #4f46e5, #7c3aed 60%, #c026d3);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-head: "Sora", var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Top bar ===== */
.topbar {
  background: var(--indigo-900);
  color: #c7cbe6;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; gap: 8px; }
.topbar strong { color: #fff; }
.topbar .ic { width: 15px; height: 15px; fill: var(--cyan); vertical-align: -3px; margin-right: 6px; }
.topbar-left, .topbar-right { display: inline-flex; align-items: center; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; margin-right: 8px; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }

/* ===== Header / nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.92); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
  box-shadow: 0 8px 20px rgba(79,70,229,.4);
}
/* Image wordmark logo in the header */
.brand-logo { padding: 2px 0; }
.brand-logo img { height: 46px; width: auto; display: block; }

/* Desktop: flatten the mobile-panel structure into one horizontal row */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-head, .main-nav .nav-foot { display: none; }
.main-nav .nav-links { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.main-nav .nav-links a svg { display: none; }
.main-nav .nav-links a { color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 9px 14px; border-radius: 10px; }
.main-nav .nav-links a:hover { background: var(--surface-3); color: var(--brand); }
.main-nav .btn-nav-ghost { border: 1.5px solid var(--line); padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.main-nav .btn-nav-ghost:hover { border-color: var(--brand); background: transparent; color: var(--brand); }
.main-nav .btn-nav-solid { background: var(--grad); background-color: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.35); padding: 9px 18px; border-radius: 10px; font-weight: 700; font-size: 14.5px; }
.main-nav .btn-nav-solid:hover { background: var(--grad); background-color: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(79,70,229,.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 3px; transition: .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Search bar ===== */
.searchbar { background: var(--indigo-800); padding: 12px 0; }
.searchbar form { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 4px 4px 4px 14px; }
.searchbar .search-ic { width: 20px; height: 20px; fill: #9aa3cf; flex: none; }
.searchbar input { flex: 1; border: none; background: transparent; color: #fff; padding: 10px 2px; font-size: 15px; font-family: inherit; }
.searchbar input::placeholder { color: #8f98c7; }
.searchbar input:focus { outline: none; }
.searchbar button { background: var(--grad); color: #fff; border: none; padding: 10px 22px; border-radius: 10px; cursor: pointer; font-weight: 700; font-family: inherit; }
.searchbar button:hover { filter: brightness(1.07); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: none; border-radius: 12px; padding: 12px 22px;
  font-size: 15px; font-weight: 700; font-family: var(--font);
  cursor: pointer; text-decoration: none; transition: transform .18s, box-shadow .25s, filter .2s, background .2s;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .btn-ic { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(79,70,229,.4); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 36px rgba(79,70,229,.5); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1e293b; }
.btn-accent { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #3a2600; box-shadow: 0 10px 24px rgba(245,158,11,.4); }
.btn-accent:hover { color: #3a2600; }
.btn-success { background: linear-gradient(120deg,#10b981,#059669); color: #fff; box-shadow: 0 10px 24px rgba(16,185,129,.35); }
.btn-success:hover { color: #fff; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-glass:hover { color: #fff; background: rgba(255,255,255,.2); }
.btn-outline { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { color: var(--brand); border-color: var(--brand); }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { color: #fff; background: #dc2626; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--indigo-900); color: #e8ebff; padding: 92px 0 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg .blob-1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #6d5cf5, transparent 70%); top: -140px; left: -120px; }
.hero-bg .blob-2 { width: 480px; height: 480px; background: radial-gradient(circle at 70% 70%, #22d3ee, transparent 70%); bottom: -160px; right: -120px; opacity: .4; }
.hero-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 40%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-bottom: 72px; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #b9c0ea; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 7px 14px; border-radius: 999px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.25); }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 22px 0 18px; color: #fff; letter-spacing: -1px; }
.grad-text { background: linear-gradient(100deg, #a5b4fc, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { font-size: 17.5px; color: #c3c9ef; max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 30px; color: #fff; }
.hero-stats span { font-size: 13.5px; color: #9aa2d4; }

.hero-visual { position: relative; }
.glass-card {
  position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px; padding: 20px; backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px rgba(0,0,0,.4); transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform .5s;
}
.glass-card:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.glass-card img { border-radius: 16px; width: 100%; }
.glass-badge { position: absolute; top: -14px; right: 22px; background: linear-gradient(120deg,#10b981,#34d399); color: #04291d; font-weight: 800; font-size: 12.5px; padding: 8px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(16,185,129,.5); }
.glass-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 16px; }
.glass-row > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px; text-align: center; }
.glass-row span { display: block; font-size: 11.5px; color: #9aa2d4; }
.glass-row strong { font-size: 14px; color: #fff; }

/* Hero photo composition */
.hero-photos { position: relative; padding-bottom: 54px; padding-right: 42px; }
.hero-photo {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 34px 70px rgba(0,0,0,.45);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-main {
  aspect-ratio: 16 / 10;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s;
}
.hero-photo-main img { animation: heroZoom 14s ease-in-out infinite alternate; }
.hero-photo-main:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-photo-sub {
  position: absolute; right: 0; bottom: 10px;
  width: 46%; aspect-ratio: 16 / 11;
  border-width: 3px; border-style: solid; border-color: rgba(11,16,32,.9);
  box-shadow: 0 24px 50px rgba(0,0,0,.5);
  transform: translateY(16px);
}
.glass-badge { position: absolute; z-index: 2; top: 14px; left: 14px; right: auto; background: linear-gradient(120deg,#10b981,#34d399); color: #04291d; font-weight: 800; font-size: 12.5px; padding: 8px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(16,185,129,.5); }
.hero-chip {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.35);
}
.hero-chip-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.3); }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }

/* Marquee */
.marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; padding: 16px 0; animation: scrollx 28s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; letter-spacing: 2px; font-size: 15px; color: #7d85b8; }
.marquee-track .dot { color: var(--cyan); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 86px 0; }
.section.band { background: var(--surface-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.kicker { display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 800; color: var(--brand); margin-bottom: 12px; }
.kicker.light { color: var(--brand-2); }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

/* ===== About / rich section ===== */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }

/* Media collage */
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.about-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.about-photo:hover img { transform: scale(1.06); }
.about-photo-a { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.about-photo-b { aspect-ratio: 4 / 3; }
.about-service {
  grid-column: 2; align-self: stretch;
  background: var(--grad); color: #fff; border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow);
}
.about-service h3 { color: #fff; margin: 0 0 10px; font-size: 19px; }
.about-service p { margin: 0 0 16px; font-size: 14px; color: rgba(255,255,255,.9); }
.about-service-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14px; }
.about-service-link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .25s; }
.about-service-link:hover { color: #fff; }
.about-service-link:hover svg { transform: translateX(5px); }

/* Info cards column */
.about-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-sm); }
.info-card h4 { margin: 0 0 14px; font-size: 17px; }
.info-card.dark { background: var(--indigo-900); border-color: transparent; color: #c7cbe6; }
.info-card.dark h4 { color: #fff; }
.info-card.accent { background: var(--grad-cta); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.info-card.accent::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.12); top: -90px; right: -50px; pointer-events: none; z-index: 0; }
.info-card.accent > * { position: relative; z-index: 1; }
.info-card.accent h4 { color: #fff; }
.info-card.accent p { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.9); position: relative; }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }

.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.loc-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.loc-list li { padding: 5px 0; display: flex; align-items: center; gap: 8px; }
.loc-list svg { width: 15px; height: 15px; fill: var(--cyan); flex: none; }
.loc-list.two li { padding: 4px 0; }

.btn-light { background: #fff; color: var(--brand); box-shadow: 0 10px 24px rgba(0,0,0,.18); position: relative; }
.btn-light:hover { color: var(--brand-2); }

/* ===== Metrics strip ===== */
.metrics { background: var(--indigo-900); padding: 44px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { text-align: center; color: #c7cbe6; }
.metric strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; background: linear-gradient(100deg,#a5b4fc,#22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric span { font-size: 13.5px; }

/* ===== Category grid ===== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.cat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s; color: var(--ink);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.cat-thumb { position: relative; height: 190px; background: linear-gradient(135deg,#eef1f8,#e5e9f6); overflow: hidden; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-thumb img { transform: scale(1.07); }
.cat-shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.cat-card:hover .cat-shine { transform: translateX(120%); }
.cat-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 17px; margin: 0 0 8px; }
.cat-body p { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; flex: 1; }
.cat-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--brand); }
.cat-link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .25s; }
.cat-card:hover .cat-link svg { transform: translateX(5px); }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 22px rgba(79,70,229,.35); }
.feature .icon svg { width: 28px; height: 28px; fill: #fff; }
.feature h4 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ===== Testimonials ===== */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote-card .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card p { font-size: 15.5px; color: var(--body); margin: 0 0 22px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.quote-author strong { display: block; color: var(--ink); font-size: 14.5px; }
.quote-author small { color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { padding: 20px 0 90px; }
.cta-inner {
  background: var(--grad-cta); border-radius: var(--radius-lg); color: #fff;
  padding: 48px 52px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.12); top: -120px; right: -60px; pointer-events: none; z-index: 0; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin: 0 0 6px; font-size: clamp(22px,2.6vw,32px); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); position: relative; }
.cta-inner .btn { position: relative; z-index: 1; }
.cta-inner .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.cta-inner .btn-primary:hover { color: var(--brand-2); }

/* ===== Page banner (inner pages) ===== */
.page-banner { position: relative; overflow: hidden; background: var(--indigo-900); color: #fff; padding: 72px 0 64px; }
.page-banner::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(80px); background: radial-gradient(circle,#6d5cf5,transparent 70%); top: -160px; right: -80px; opacity: .5; }
.page-banner h1 { font-size: clamp(28px,3.4vw,42px); margin: 0 0 14px; color: #fff; letter-spacing: -.5px; position: relative; }
.page-banner .note { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); color: #dfe3ff; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; position: relative; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ===== Product cards ===== */
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .thumb { height: 210px; background: linear-gradient(135deg,#eef1f8,#e5e9f6); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .body h3 { font-size: 16px; margin: 0 0 12px; }
.product-card .body h3 a { color: var(--ink); }
.product-card .body h3 a:hover { color: var(--brand); }

.specs { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; }
.specs li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.specs li span { color: var(--muted); }
.specs li strong { color: var(--ink); font-weight: 600; text-align: right; }
.price-tag { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 16px; }
.price-tag .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.price-tag .amount { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--ink); }
.product-card .btn { margin-top: auto; justify-content: center; }

/* ===== Forms ===== */
.form-wrap { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--ink); }
.form-group label .req { color: #ef4444; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== Alerts ===== */
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-size: 14.5px; border: 1px solid; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-info { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }

/* ===== Newsletter ===== */
.newsletter { background: var(--indigo-800); color: #fff; padding: 40px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-copy h3 { color: #fff; margin: 0 0 4px; }
.newsletter-copy p { margin: 0; color: #a9b0dd; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { padding: 13px 16px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; border-radius: 11px; min-width: 260px; font-family: inherit; }
.newsletter-form input::placeholder { color: #9aa2d4; }
.newsletter-form input:focus { outline: none; border-color: var(--cyan); }

/* ===== Footer ===== */
.site-footer { background: var(--indigo-900); color: #a9b0dd; padding: 60px 0 30px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 16px; font-size: 15px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #a9b0dd; }
.site-footer a:hover { color: #fff; }
.footer-brand-name { font-size: 18px; margin: 0 0 12px; }
.footer-brand p { font-size: 14px; max-width: 300px; margin: 0 0 18px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, transform .2s; }
.social a:hover { background: var(--grad); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { background: var(--indigo-900); color: #6b74a8; font-size: 13.5px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* =====================================================================
   Admin
   ===================================================================== */
.admin-body { background: var(--surface-2); min-height: 100vh; font-family: var(--font); }

/* Shell: fixed sidebar + content column */
.admin-shell { display: flex; min-height: 100vh; }

.admin-aside {
  position: fixed; top: 0; bottom: 0; left: 0; width: 256px; z-index: 40;
  background: var(--indigo-900); color: #aeb4e0;
  display: flex; flex-direction: column; padding: 20px 16px;
}
.admin-logo { display: flex; align-items: center; gap: 11px; padding: 6px 8px 20px; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-logo img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.admin-logo span { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 15px; line-height: 1.2; }

.admin-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.admin-nav a {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: 12px;
  color: #aeb4e0; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s;
}
.admin-nav a svg { width: 20px; height: 20px; flex: none; opacity: .85; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(79,70,229,.45); }
.admin-nav a.active svg { opacity: 1; }

.admin-aside-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 4px; }
.aside-link { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: 11px; color: #8f96c8; font-weight: 600; font-size: 14px; }
.aside-link svg { width: 18px; height: 18px; }
.aside-link:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Content column */
.admin-content { flex: 1; min-width: 0; margin-left: 256px; display: flex; flex-direction: column; }

.admin-bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); padding: 14px 28px;
}
.admin-burger { display: none; background: none; border: none; cursor: pointer; color: var(--ink); padding: 6px; }
.admin-burger svg { width: 24px; height: 24px; }
.admin-bar-title { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--ink); }
.admin-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-user-meta { text-align: right; line-height: 1.25; }
.admin-user-meta strong { display: block; font-size: 14px; color: var(--ink); }
.admin-user-meta small { color: var(--muted); font-size: 12px; }
.admin-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); box-shadow: 0 8px 18px rgba(79,70,229,.35); }

.admin-backdrop { display: none; position: fixed; inset: 0; background: rgba(10,16,32,.5); z-index: 35; }
.admin-backdrop.show { display: block; }

.admin-main { padding: 28px; }
.admin-main h1 { margin-top: 0; font-size: 26px; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.stat .num { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat .label { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Card wrapper for admin panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.panel h2, .panel h3 { margin-top: 0; }

/* Tables */
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data thead th { background: var(--surface-2); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 700; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:hover td { background: var(--surface-2); }
table.data td small { color: var(--muted); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-new { background: #eef2ff; color: #3730a3; }
.badge-replied { background: #ecfdf5; color: #065f46; }
.badge-closed { background: #f1f5f9; color: #475569; }

.login-wrap { max-width: 410px; margin: 80px auto; }
.login-logo { text-align: center; margin-bottom: 10px; }
.login-logo img { height: 56px; width: auto; display: inline-block; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 14px; flex-wrap: wrap; }
.switch-row { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 16px; cursor: pointer; }
.switch-row input { width: 18px; height: 18px; }

/* ===== Mobile nav backdrop + scroll lock ===== */
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(10, 16, 32, .55);
  backdrop-filter: blur(2px); opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s; z-index: 55;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }
body.nav-lock { overflow: hidden; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .grid, .features { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

@media (max-width: 900px) {
  /* Disable the glass blur on mobile: backdrop-filter creates a containing
     block that would trap the fixed slide-in menu inside the header. Also
     drop sticky so the menu escapes to the viewport. */
  .site-header {
    position: static;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: #fff;
  }

  .nav-toggle { display: flex; position: relative; z-index: 70; }
  body.nav-lock .nav-toggle { display: none; }

  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(300px, 84vw);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #ffffff;
    padding: 0;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 60;
    overflow-y: auto;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: none; }

  /* Panel header: logo + close */
  .main-nav .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; background: #fff; z-index: 2;
  }
  .main-nav .nav-logo { height: 30px; width: auto; }
  .nav-close {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface-2); display: grid; place-items: center; cursor: pointer;
    flex: none; transition: background .2s;
  }
  .nav-close:hover { background: var(--surface-3); }
  .nav-close svg { width: 18px; height: 18px; fill: var(--ink); }

  /* Links list */
  .main-nav .nav-links { display: flex; flex-direction: column; padding: 10px; gap: 2px; }
  .main-nav .nav-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 12px; border-radius: 10px;
    color: var(--ink); font-weight: 600; font-size: 15px;
  }
  .main-nav .nav-links a svg { display: block; width: 19px; height: 19px; fill: var(--muted); flex: none; }
  .main-nav .nav-links a:active,
  .main-nav .nav-links a:hover { background: var(--surface-2); color: var(--brand); }
  .main-nav .nav-links a:hover svg { fill: var(--brand); }

  /* CTA buttons */
  .main-nav .nav-cta { display: flex; flex-direction: column; gap: 10px; padding: 6px 14px 14px; margin: 0; }
  .main-nav .nav-cta a { text-align: center; justify-content: center; padding: 13px 18px; }

  /* Panel footer: contact */
  .main-nav .nav-foot {
    display: flex; flex-direction: column; gap: 4px; margin-top: auto;
    padding: 16px 18px; border-top: 1px solid var(--line);
    background: var(--surface-2); font-size: 13px;
  }
  .main-nav .nav-foot a { color: var(--brand); font-weight: 700; }
  .main-nav .nav-foot span { color: var(--muted); }

  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 56px; }
  .hero-copy p { max-width: none; }
  .glass-card { transform: none; }
  .glass-card:hover { transform: none; }
  .hero-photo-main { transform: none; }
  .hero-photo-main:hover { transform: none; }

  /* Admin sidebar slides in on mobile */
  .admin-aside { transform: translateX(-105%); transition: transform .3s; box-shadow: var(--shadow-lg); }
  .admin-aside.open { transform: none; }
  .admin-content { margin-left: 0; }
  .admin-burger { display: inline-flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .grid, .grid.cols-3, .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }

  /* About section stacks fully */
  .about-media { grid-template-columns: 1fr; }
  .about-photo-a, .about-photo-b { aspect-ratio: 16 / 9; }
  .about-service { grid-column: 1; }
  .info-cols { grid-template-columns: 1fr; gap: 14px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric strong { font-size: 32px; }

  /* Top bar: stack cleanly, keep it readable */
  .topbar .container { justify-content: center; min-height: 0; padding-top: 7px; padding-bottom: 7px; }
  .topbar-right { display: none; }
  .topbar-left { font-size: 12px; }

  .brand-text { font-size: 15px; }
  .brand .logo { width: 38px; height: 38px; font-size: 18px; }
  .brand-logo img { height: 36px; }

  .hero-copy h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero-copy p { font-size: 16px; }

  /* Hero photos: keep the layered look but tighter on phones */
  .hero-photos { padding-bottom: 44px; padding-right: 26px; }
  .hero-photo-sub { width: 52%; }
  .hero-chip { font-size: 12px; padding: 8px 13px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { gap: 20px; margin-top: 32px; }
  .hero-stats strong { font-size: 24px; }

  .form-wrap { padding: 24px 18px; }

  .cta-inner { padding: 30px 22px; flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; justify-content: center; }

  /* Footer: single column, no overflow */
  .site-footer { padding: 44px 0 24px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: none; }

  .newsletter-inner { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 0; width: 100%; }
  .newsletter-form .btn { justify-content: center; }

  .footer-bottom .container { justify-content: center; text-align: center; }

  /* Admin stats single-column on tiny screens */
  .stats { grid-template-columns: 1fr; }
  .admin-main { padding: 18px 14px; }
  .admin-bar { padding: 12px 16px; }
  .admin-user-meta { display: none; }
  table.data { font-size: 13px; }
  table.data th, table.data td { padding: 10px 10px; }

  /* Search bar compacts */
  .searchbar button { padding: 10px 16px; }
}
