:root {
  --bg: #f7f9fc;
  --bg-strong: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --soft: #eef2f7;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.16);
  --blue: #2f6fff;
  --blue-soft: #dbe9ff;
  --mint: #36bfa6;
  --violet: #8d73ff;
  --amber: #ffb74a;
  --rose: #fa7f9f;
  --shadow: 0 24px 80px rgba(32, 45, 72, 0.12);
  --shadow-soft: 0 14px 40px rgba(32, 45, 72, 0.08);
  --radius: 8px;
  --radius-lg: 18px;
  --container: 1180px;
  --header: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 183, 255, 0.32), transparent 34rem),
    radial-gradient(circle at 86% 12%, rgba(54, 191, 166, 0.18), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #ffffff 100%);
  overflow-x: hidden;
}

body.menu-open,
body.loading,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.soft-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.particle-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 111, 255, 0.18);
  animation: floatParticle var(--duration, 14s) ease-in-out infinite;
  transform: translate3d(0, 0, 0);
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
  50% { transform: translateY(-38px) scale(1.25); opacity: 0.75; }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow-soft);
  animation: breathe 1.4s ease-in-out infinite;
}

.loader-mark span {
  font-size: 30px;
  font-weight: 850;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.cursor-dot,
.cursor-ring {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.24s ease, border 0.24s ease, box-shadow 0.24s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 50px rgba(32, 45, 72, 0.06);
}

.nav-wrap {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-links a,
.mobile-panel a {
  padding: 10px 12px;
  color: rgba(17, 24, 39, 0.72);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active,
.mobile-panel a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, 0.05);
}

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 7px 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.language-switcher button.active {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-panel {
  position: fixed;
  inset: var(--header) 14px auto 14px;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.mobile-panel.open {
  display: grid;
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: 86px 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  padding: 58px 0 70px;
}

.hero.compact {
  min-height: auto;
  padding: 86px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(17, 24, 39, 0.68);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 10px 28px rgba(32, 45, 72, 0.06);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(54, 191, 166, 0.13);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  margin: 20px 0 22px;
  max-width: 880px;
  font-size: clamp(46px, 7vw, 90px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 880;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.hero-copy,
.section-copy,
.page-copy {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head.center {
  display: block;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
}

.section-copy {
  max-width: 560px;
  margin-bottom: 0;
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(32, 45, 72, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(32, 45, 72, 0.11);
}

.btn.primary {
  border-color: rgba(17, 24, 39, 0.9);
  background: var(--ink);
  color: #fff;
}

.btn.blue {
  border-color: rgba(47, 111, 255, 0.22);
  background: var(--blue);
  color: #fff;
}

.btn.ghost {
  box-shadow: none;
}

.btn.danger {
  border-color: rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  box-shadow: none;
}

.visual-panel,
.glass-card,
.service-card,
.pricing-card,
.quote-card,
.portfolio-card,
.blog-card,
.faq-item,
.contact-card,
.metric-card,
.table-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.visual-panel {
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(145deg, rgba(47, 111, 255, 0.14), transparent 42%, rgba(54, 191, 166, 0.12));
  pointer-events: none;
}

.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 14px;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9dee8;
}

.browser-bar span:nth-child(1) { background: #ff8d8d; }
.browser-bar span:nth-child(2) { background: #ffc861; }
.browser-bar span:nth-child(3) { background: #55d29f; }

.dashboard-preview {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
  min-height: 470px;
}

.preview-sidebar,
.preview-main,
.mini-panel {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.preview-sidebar {
  padding: 18px;
}

.preview-nav-line {
  height: 11px;
  border-radius: 999px;
  background: var(--soft);
  margin-bottom: 13px;
}

.preview-nav-line.active {
  background: linear-gradient(90deg, var(--blue), #91b8ff);
}

.preview-main {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.mini-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-panel {
  padding: 16px;
}

.mini-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.mini-value {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 850;
}

.chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 9px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f5f8fc);
}

.bar {
  flex: 1;
  min-width: 10px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #8bb7ff, #2f6fff);
  animation: rise 1.4s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes rise {
  from { height: 14%; opacity: 0.35; }
}

.ai-chat {
  display: grid;
  gap: 10px;
}

.chat-bubble {
  width: fit-content;
  max-width: 92%;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.chat-bubble.user {
  justify-self: end;
  background: #111827;
  color: #fff;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 24, 39, 0.46);
  font-weight: 850;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.service-card,
.pricing-card,
.quote-card,
.portfolio-card,
.blog-card,
.contact-card,
.metric-card {
  padding: 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.pricing-card:hover,
.portfolio-card:hover,
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 111, 255, 0.22);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #eaf2ff);
  border: 1px solid var(--line);
  color: var(--blue);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card h3,
.pricing-card h3,
.portfolio-card h3,
.blog-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.055);
  color: rgba(17, 24, 39, 0.68);
  font-size: 12px;
  font-weight: 760;
}

.price {
  margin: 18px 0 8px;
  font-size: 40px;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 5px #fff;
}

.band {
  position: relative;
  padding: 76px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(238, 244, 252, 0.76));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process {
  counter-reset: process;
}

.process-card {
  position: relative;
  padding: 24px;
  border-left: 1px solid var(--line-strong);
}

.process-card::before {
  counter-increment: process;
  content: "0" counter(process);
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.quote-card blockquote {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(145deg, #dde9ff, #fff);
  border: 1px solid var(--line);
}

.portfolio-shot {
  min-height: 170px;
  border-radius: 14px;
  margin-bottom: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.88), rgba(255,255,255,0.22)),
    repeating-linear-gradient(135deg, rgba(47,111,255,0.16) 0 10px, rgba(54,191,166,0.12) 10px 20px),
    #eef4fb;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.portfolio-image {
  padding: 0;
  background: #f3f7fc;
  overflow: hidden;
}

.portfolio-shot img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 20px;
  padding: 20px 22px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 820;
}

.faq-question span:last-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  font-weight: 780;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: rgba(47, 111, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 111, 255, 0.1);
}

.app-layout {
  min-height: calc(100vh - var(--header));
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
}

.app-sidebar,
.app-main {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-soft);
}

.app-sidebar {
  padding: 18px;
}

.sidebar-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 880;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 760;
  margin-bottom: 4px;
}

.side-link.active,
.side-link:hover {
  background: rgba(47, 111, 255, 0.08);
  color: var(--ink);
}

.app-main {
  padding: 24px;
  overflow: hidden;
}

.app-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  padding: 18px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.metric-value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 900;
}

.metric-delta {
  margin-top: 8px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 14px;
  margin-top: 14px;
}

.table-shell {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

td {
  color: rgba(17, 24, 39, 0.78);
  font-weight: 650;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(54, 191, 166, 0.12);
  color: #158c77;
  font-size: 12px;
  font-weight: 850;
}

.store-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  backdrop-filter: blur(22px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.storefront-hero {
  padding: 48px 0 70px;
  min-height: auto;
  display: grid;
  align-items: start;
}

.storefront-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

.storefront-copy {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding-top: 22px;
}

.storefront-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 4.7vw, 66px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 880;
}

.storefront-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
}

.storefront-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
}

.storefront-products {
  align-items: start;
}

.store-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 111, 255, 0.22);
  box-shadow: var(--shadow);
}

.store-image {
  display: block;
  min-height: 190px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f3f7fc;
}

.store-image img,
.store-detail-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.store-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
}

.store-price {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 900;
}

.store-price.large {
  font-size: 46px;
}

.qty-input {
  max-width: 92px;
  padding: 8px 10px;
}

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
}

.checkout-product {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(247, 249, 252, 0.78);
}

.checkout-product-image {
  min-height: 104px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef4fb;
}

.checkout-product-image img,
.checkout-product-image .portfolio-shot {
  width: 100%;
  height: 104px;
  min-height: 104px;
  object-fit: cover;
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17, 24, 39, 0.42);
  backdrop-filter: blur(18px);
}

.modal-backdrop.open {
  display: grid;
}

.consultation-modal {
  position: relative;
  width: min(820px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
}

.consultation-modal h2 {
  margin: 16px 0 10px;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.admin-nav {
  position: sticky;
  top: calc(var(--header) + 10px);
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.admin-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.admin-nav a:hover {
  background: rgba(17, 24, 39, 0.06);
  color: var(--ink);
}

.admin-section {
  margin-top: 18px;
}

.admin-stats {
  margin: 18px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.admin-login-card {
  width: min(940px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.7fr);
  gap: 22px;
  align-items: center;
}

.admin-login-card h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.admin-product-form {
  align-self: start;
}

.admin-list-card .section-title {
  font-size: clamp(28px, 3vw, 38px);
}

.quality-admin-grid {
  display: grid;
  gap: 10px;
}

.quality-admin-row {
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 249, 252, 0.78);
}

.quality-select-field {
  margin-top: 14px;
}

.quality-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quality-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.switch-field {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.admin-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
}

.admin-message[data-type="success"] {
  color: #158c77;
}

.admin-message[data-type="error"] {
  color: #b91c1c;
}

.button-row.compact {
  margin-top: 0;
  gap: 8px;
}

.admin-inline-input {
  min-width: 170px;
  padding: 9px 10px;
}

.admin-notes {
  min-width: 220px;
  min-height: 86px;
  padding: 9px 10px;
}

.testimonial-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.testimonial-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.testimonial-item {
  width: min(360px, 82vw);
  flex: 0 0 auto;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 350;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(12px);
}

.footer {
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer h3,
.footer h4 {
  margin: 0 0 14px;
}

.footer p,
.footer a {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.64s ease, transform 0.64s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.language-fade {
  animation: languageFade 0.28s ease;
}

@keyframes languageFade {
  from { opacity: 0.42; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .storefront-layout,
  .grid.two,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .storefront-copy {
    position: static;
  }

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

  .app-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
  }

  .brand img {
    width: 132px;
  }

  .nav-wrap,
  .container {
    width: min(100% - 28px, var(--container));
  }

  .language-switcher button {
    padding: 7px 8px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 44px 0 58px;
  }

  .storefront-hero {
    padding: 34px 0 56px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
    line-height: 1;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
  }

  .section-copy {
    margin-top: 14px;
  }

  .grid.three,
  .logo-strip,
  .metric-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mini-panels {
    grid-template-columns: 1fr;
  }

  .mobile-panel {
    grid-template-columns: 1fr;
  }

  .app-layout {
    padding: 14px;
  }

  .app-topbar,
  .footer-bottom,
  .checkout-summary,
  .admin-toolbar,
  .cookie-banner {
    display: block;
  }

  .cookie-banner .btn {
    margin-top: 12px;
    width: 100%;
  }

  .admin-grid,
  .admin-login-card {
    grid-template-columns: 1fr;
  }

  .quality-admin-row {
    grid-template-columns: 1fr;
  }

  .checkout-product {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
