:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #14233d;
  --muted: #586b86;
  --brand: #123b73;
  --brand-deep: #0a2448;
  --soft: #e9effa;
  --line: #d5dfef;
  --accent: #f39c12;
  --shadow: 0 14px 34px rgba(10, 26, 51, 0.12);
}

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

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(460px 300px at 18% -10%, #d7e8ff 0%, rgba(215, 232, 255, 0) 70%),
    radial-gradient(520px 260px at 92% 8%, #ffe6be 0%, rgba(255, 230, 190, 0) 72%),
    linear-gradient(120deg, rgba(18, 59, 115, 0.03), rgba(243, 156, 18, 0.03));
  z-index: -1;
}

h1, h2, h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(30px, 4vw, 44px); }
h2 { font-size: clamp(22px, 2.2vw, 32px); }
h3 { font-size: 18px; }

.muted { color: var(--muted); margin: 0; }
.small { font-size: 12px; }

.topbar, .hero, .featured-slider, .highlights, .layout, .testimonials, .footer {
  width: min(1200px, calc(100% - 28px));
  margin-inline: auto;
}

.topbar {
  margin-top: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

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

.brand-mark {
  border-radius: 10px;
  background: linear-gradient(130deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 10px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #a76400;
  font-size: 11px;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.top-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.hero {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1.4fr 0.9fr;
}

.hero-copy, .hero-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-copy { padding: 24px; animation: rise 420ms ease-out; }
.hero-copy h2 { color: #0f2b56; margin-bottom: 8px; }

.hero-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

.trust-strip {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span {
  background: #edf4ff;
  color: #214676;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #d8e5f8;
  border-radius: 999px;
  padding: 6px 10px;
}

.hero-card { padding: 20px; animation: rise 550ms ease-out; }

.stat-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #254878;
}

.quick-links-title { margin-top: 12px; }

.contact-list {
  background: #f8fbff;
  border: 1px solid #dce6f7;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.contact-list p { margin: 0; font-size: 14px; }

.contact-list a {
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.domain-box {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed #b8c9e4;
  background: #f8faff;
  display: grid;
  gap: 4px;
}

.domain-box a {
  text-decoration: none;
  color: var(--brand-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.panel-lite {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.slider-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 10px;
}

.slides {
  position: relative;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e3f4;
  background: #f4f8ff;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 420ms ease, transform 600ms ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(10, 27, 54, 0.64);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.slide-dots {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #bfd0ec;
  border: none;
  cursor: pointer;
  padding: 0;
}

.slide-dot.active {
  width: 20px;
  background: var(--brand);
}

.highlights {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.highlights article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.layout {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
  animation: rise 500ms ease-out;
}

.panel.sticky { position: sticky; top: 16px; }
.full-width { grid-column: 1 / -1; }
.panel-header { margin-bottom: 12px; }

.form { display: grid; gap: 10px; }

label {
  display: grid;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #21385d;
}

input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #b8cbe6;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  transition: border-color 150ms, box-shadow 150ms;
}

input:focus, select:focus, textarea:focus {
  border-color: #285ea8;
  box-shadow: 0 0 0 3px #dce7f8;
  outline: none;
}

.two-col { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }

.btn {
  border: none;
  text-decoration: none;
  display: inline-block;
  font-weight: 800;
  cursor: pointer;
  padding: 11px 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  transition: transform 120ms ease, opacity 120ms ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.95; }

.btn.secondary {
  background: var(--soft);
  color: #1d3f6d;
  border: 1px solid #cfdcf4;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.product-card {
  border-radius: 14px;
  border: 1px solid #dbe3f3;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  overflow: hidden;
  display: grid;
}

.product-media {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  background: #ebf1fb;
}

.product-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  background: #fff4de;
  color: #925700;
  border: 1px solid #ffe0ab;
  border-radius: 999px;
  padding: 4px 8px;
}

.rating {
  color: #b26a00;
  font-size: 13px;
  font-weight: 700;
}

.price {
  margin: 2px 0;
  font-weight: 800;
  color: #b46f00;
  font-size: 21px;
}

.form-note { margin-top: 8px; font-size: 12px; }

.social-links { display: flex; flex-wrap: wrap; gap: 8px; }

.admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 12px;
}

.card {
  border: 1px solid #dbe4f5;
  border-radius: 13px;
  background: #fbfcff;
  padding: 12px;
}

.manage-wrap { margin-bottom: 12px; }

.admin-product-item {
  display: grid;
  gap: 8px;
  background: #fbfcff;
  border: 1px solid #dbe5f4;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.row { display: flex; gap: 8px; flex-wrap: wrap; }

.testimonials {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.testimonials article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.testimonials p { margin: 0 0 8px; font-weight: 600; }
.testimonials span { color: var(--muted); font-size: 13px; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 48, 0.52);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-content {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid #dbe4f3;
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.hidden { display: none !important; }

.footer {
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: center;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero, .layout, .highlights, .testimonials { grid-template-columns: 1fr; }
  .panel.sticky { position: static; }
  .slides { height: 280px; }
}

@media (max-width: 680px) {
  .topbar { padding: 12px; }
  .brand-block { align-items: flex-start; }
  .top-actions { width: 100%; }

  .top-actions .btn,
  .hero-actions .btn { width: 100%; text-align: center; }

  .hero-copy,
  .hero-card,
  .panel,
  .highlights article,
  .testimonials article { border-radius: 14px; padding: 14px; }

  .two-col { grid-template-columns: 1fr; }
}
