@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3faf8;
  --surface: rgba(255, 255, 255, 0.94);
  --text: #183b42;
  --muted: #5e7980;
  --primary: #2b78e4;
  --primary-deep: #173f90;
  --line: rgba(24, 59, 66, 0.11);
  --shadow: 0 16px 38px rgba(20, 74, 75, 0.09);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shell: min(1040px, calc(100vw - 56px));
  --font-main: "Montserrat", "Segoe UI", "Noto Sans", sans-serif;
  --font-head: "Montserrat", "Segoe UI", "Noto Sans", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 120, 228, 0.11), transparent 26%),
    radial-gradient(circle at bottom right, rgba(75, 178, 231, 0.12), transparent 22%),
    linear-gradient(180deg, #fbfffe 0%, var(--bg) 55%, #f7fbff 100%);
  padding-top: 78px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 255, 254, 0.9);
  border-bottom: 1px solid rgba(24, 59, 66, 0.06);
}

.header-inner,
.footer-inner {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner { min-height: 78px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: white;
  position: relative;
  box-shadow: 0 14px 28px rgba(43, 120, 228, 0.2);
  overflow: hidden;
  flex-shrink: 0;
}

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

.brand-copy strong {
  display: block;
  font-size: 1.08rem;
  font-family: var(--font-head);
  line-height: 1.1;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  display: block;
  max-width: 230px;
}

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
  white-space: nowrap;
  font-size: 0.93rem;
  line-height: 1;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(43, 120, 228, 0.12);
  color: var(--primary-deep);
}

.hero,
.page-main {
  padding: 30px 0 64px;
}

.home-banner {
  padding: 12px 0 8px;
}

.banner-slider {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 0;
  width: min(100%, 940px);
  margin: 0 auto;
  box-shadow: 0 24px 56px rgba(20, 74, 75, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(230, 244, 246, 0.92));
}

.banner-track {
  display: grid;
}

.banner-slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    visibility 0.7s ease;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 1;
}

.banner-slide img {
  width: 100%;
  height: auto;
  max-height: 46vh;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232, 246, 248, 0.95));
}

.banner-link {
  display: block;
}

.banner-link img {
  cursor: pointer;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  width: min(54%, 620px);
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.74) 70%, rgba(255,255,255,0.06) 100%);
}

.banner-overlay h1 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 14px;
}

.banner-overlay h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.banner-controls {
  position: absolute;
  inset: auto 22px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 3;
  pointer-events: none;
}

.banner-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex: 1;
}

.banner-dot,
.banner-arrow {
  border: 0;
  cursor: pointer;
  pointer-events: auto;
}

.banner-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
}

.banner-dot.is-active {
  background: var(--primary);
}

.banner-arrow {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: var(--primary-deep);
  font-size: 1.8rem;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(43, 120, 228, 0.1);
  color: var(--primary-deep);
  font-size: 0.84rem;
  margin-bottom: 14px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-head);
}

h1 {
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.08; }

p {
  color: var(--muted);
  line-height: 1.78;
  font-size: 0.98rem;
}

body,
input,
select,
textarea,
button {
  letter-spacing: 0.01em;
}

.hero-copy p { max-width: 58ch; margin: 18px 0 0; }

.hero-actions,
.admin-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#logout-button {
  border-color: rgba(183, 41, 41, 0.18);
  background: rgba(255, 244, 244, 0.92);
  color: #8d2d2d;
  font-weight: 700;
}

#logout-button:hover {
  background: rgba(255, 235, 235, 0.98);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #56a3ff 100%);
  color: white;
  box-shadow: 0 18px 35px rgba(43, 120, 228, 0.22);
}

.button-secondary {
  border-color: rgba(24, 59, 66, 0.12);
  background: rgba(255, 255, 255, 0.86);
}

.hero-highlights,
.stats-row,
.contact-grid,
.feature-grid,
.terms-grid,
.category-showcase {
  display: grid;
  gap: 14px;
}

.hero-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.hero-highlights div,
.metric-card,
.contact-card,
.feature-card,
.section-card,
.rental-summary article,
.admin-panel,
.admin-item,
.product-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
}

.hero-highlights div,
.metric-card,
.contact-card,
.feature-card,
.section-card,
.admin-panel {
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 20px;
  border: 1px solid rgba(43, 120, 228, 0.08);
}

.hero-highlights strong,
.metric-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.hero-visual { position: relative; }

.hero-image-card {
  border-radius: 28px;
  padding: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(225, 249, 245, 0.86));
  box-shadow: 0 24px 48px rgba(18, 70, 71, 0.1);
  position: relative;
}

.visual-badge,
.visual-stat {
  position: absolute;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.visual-badge {
  top: -18px;
  left: 24px;
  padding: 12px 16px;
  font-weight: 600;
}

.visual-stat {
  right: -18px;
  bottom: 26px;
  padding: 16px 18px;
  max-width: 180px;
}

.visual-stat strong { display: block; font-size: 1.3rem; }

.visual-screen {
  min-height: 420px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, #eff9ff 0%, #def5ef 100%);
}

.screen-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 154, 136, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 154, 136, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
}

.screen-device {
  position: absolute;
  background: linear-gradient(180deg, #8ccae8 0%, #3a8cb5 100%);
}

.device-monitor {
  width: 54%;
  height: 52%;
  border-radius: 28px;
  right: 14%;
  top: 18%;
  box-shadow: inset 0 0 0 14px #154552;
}

.device-monitor::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 180, 110, 0.85), transparent 18%),
    linear-gradient(135deg, rgba(14, 122, 160, 0.8), rgba(165, 227, 219, 0.6));
}

.device-stand {
  width: 17%;
  height: 38%;
  left: 24%;
  bottom: 16%;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d7a8b 0%, #14b8a6 100%);
}

.screen-pulse {
  position: absolute;
  left: 14%;
  right: 8%;
  bottom: 18%;
  height: 2px;
}

.screen-pulse::before {
  content: "";
  display: block;
  height: 100%;
  background:
    linear-gradient(90deg,
    transparent 0%,
    transparent 10%,
    var(--primary) 10%,
    var(--primary) 16%,
    transparent 16%,
    transparent 23%,
    var(--primary) 23%,
    var(--primary) 26%,
    transparent 26%,
    transparent 100%);
  transform: scaleY(24);
}

.section { padding: 0 0 52px; }
.section-heading { text-align: center; margin-bottom: 18px; }
.section-heading.left { text-align: left; }

.admin-panel .section-heading {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(24, 59, 66, 0.08);
}

.about-page {
  padding-top: 24px;
}

.about-cover {
  min-height: 220px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(rgba(15, 63, 79, 0.28), rgba(15, 63, 79, 0.28)),
    linear-gradient(120deg, rgba(234, 242, 240, 0.95), rgba(194, 216, 223, 0.9));
  box-shadow: 0 24px 60px rgba(24, 59, 66, 0.12);
}

.about-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 70%, rgba(0, 0, 0, 0.12) 70%, rgba(0, 0, 0, 0.12) 100%),
    radial-gradient(circle at 20% 120%, rgba(255,255,255,0.8), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
}

.about-cover-panel {
  position: relative;
  z-index: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.about-cover-panel .eyebrow {
  background: rgba(255,255,255,0.18);
  color: white;
}

.about-cover-panel h1 {
  max-width: none;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.about-intro {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: center;
}

.about-intro-copy,
.about-value-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
}

.about-intro-copy {
  border-radius: 26px;
  padding: 24px;
}

.about-mini-title {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #7c98a1;
  margin-bottom: 16px;
}

.about-checks {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.about-checks span {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.about-checks span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8fd6ff, var(--primary));
  box-shadow: 0 0 0 4px rgba(21, 154, 136, 0.12);
}

.about-intro-visual {
  display: flex;
  justify-content: center;
}

.about-photo-card {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.about-photo-shape {
  position: absolute;
  border-radius: 28px;
}

.shape-one {
  inset: 28px 18px auto auto;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(40, 196, 255, 0.25), rgba(21, 154, 136, 0.12));
}

.shape-two {
  inset: auto auto 18px 10px;
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(21, 154, 136, 0.24);
  background: transparent;
}

.about-photo-frame {
  position: relative;
  margin-left: auto;
  width: min(100%, 520px);
  min-height: 390px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(24, 59, 66, 0.14);
  background: linear-gradient(180deg, #f7f6f1, #c7eceb);
}

.about-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-illustration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 15%, rgba(255,255,255,0.9), transparent 8%),
    linear-gradient(180deg, #f8fbfb 0%, #d6f1f0 100%);
}

.about-counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, #d7e8ea, #b7d6da);
}

.about-person {
  position: absolute;
  width: 42%;
  height: 66%;
  right: 18%;
  bottom: 12%;
  border-radius: 46% 46% 28% 28%;
  background:
    radial-gradient(circle at 52% 14%, #f0b08b 0 13%, transparent 13.5%),
    radial-gradient(circle at 51% 12%, #1b2430 0 16%, transparent 16.5%),
    linear-gradient(180deg, transparent 0 18%, #ffffff 18% 74%, #d8f8f6 74% 100%);
  box-shadow: inset 0 -18px 0 rgba(21, 154, 136, 0.12);
}

.about-person::before {
  content: "";
  position: absolute;
  inset: 30% 8% auto auto;
  width: 56%;
  height: 32%;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  transform: rotate(-14deg);
  box-shadow: 0 10px 18px rgba(40, 80, 91, 0.12);
}

.about-shelf {
  position: absolute;
  right: 0;
  width: 28%;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(239, 246, 247, 0.92));
  box-shadow: inset 0 0 0 1px rgba(24, 59, 66, 0.08);
}

.shelf-a { top: 22%; height: 15%; }
.shelf-b { top: 41%; height: 15%; }
.shelf-c { top: 60%; height: 15%; }

.about-values {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-value-card {
  border-radius: 24px;
  padding: 22px 20px;
  text-align: center;
}

.about-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(40, 196, 255, 0.16), rgba(21, 154, 136, 0.18));
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-grid,
.category-showcase,
.contact-grid,
.terms-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.tick-list {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.metric-stack { display: grid; gap: 16px; }
.metric-card { min-height: 120px; }
.page-hero.compact { padding: 6px 0 18px; }
.compact-highlights { margin-top: 0; }
.page-title-small {
  font-size: clamp(1.9rem, 2.4vw, 2.6rem);
  max-width: none;
  line-height: 1.08;
}
.compact-highlights + .section-heading,
.compact-highlights + * .section-heading {
  margin-top: 0;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 14px;
  margin: 6px 0 20px;
}

.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 104px;
}

.category-sidebar-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.sidebar-accent {
  width: 5px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #56a3ff, #173f90);
}

.category-sidebar-title strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.category-sidebar-title span {
  color: var(--muted);
  font-size: 0.82rem;
}

.category-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 12px;
  max-height: calc(100vh - 150px);
  overflow: hidden;
}

.category-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 4px 10px;
  border-bottom: 1px solid rgba(24, 59, 66, 0.08);
  font-weight: 700;
}

.category-menu {
  max-height: calc(100vh - 230px);
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 6px;
}

.category-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 8px 6px;
  border-radius: 12px;
}

.category-option span {
  flex: 1;
  line-height: 1.45;
}

.category-option:hover {
  background: rgba(21, 154, 136, 0.08);
}

.category-option input {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}

.field { display: grid; gap: 8px; }
.field span { font-weight: 700; }

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(20, 74, 75, 0.12);
  outline: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.9), rgba(243, 250, 248, 0.95));
  padding: 14px;
}

.product-card-content { padding: 18px; }
.product-card h3 { font-size: 1.18rem; margin-bottom: 10px; }

.product-meta,
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(21, 154, 136, 0.12);
  color: var(--primary-deep);
  font-size: 0.88rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.rental-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.rental-table-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 16px;
  margin-bottom: 22px;
}

.table-wrap {
  overflow-x: auto;
}

.rental-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.rental-table th,
.rental-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(24, 59, 66, 0.08);
}

.rental-table thead th {
  background: rgba(21, 154, 136, 0.1);
  color: var(--primary-deep);
  font-weight: 700;
}

.rental-table tbody tr:hover {
  background: rgba(21, 154, 136, 0.04);
}

.rental-summary article {
  border-radius: 24px;
  padding: 24px;
}

.rental-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

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

.contact-card h2 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.contact-overview-card {
  margin-top: 24px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-mini-item {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(246, 251, 250, 0.95);
  border: 1px solid rgba(21, 154, 136, 0.12);
  display: grid;
  gap: 8px;
}

.contact-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-mini-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), #7bd9c9);
}

.contact-mini-item strong,
.contact-mini-item a {
  font-size: 0.98rem;
}

.map-card {
  margin-top: 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.branch-toolbar {
  margin: 10px 0 20px;
}

.branch-filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.branch-filter {
  border: 0;
  border-radius: 14px;
  padding: 10px 18px;
  background: rgba(226, 234, 236, 0.9);
  color: var(--primary-deep);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.branch-filter:hover {
  transform: translateY(-1px);
}

.branch-filter.is-active {
  background: linear-gradient(135deg, var(--primary), #5ca9ff);
  color: white;
}

.branch-location-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 16px;
  align-items: start;
}

.branch-list {
  display: grid;
  gap: 16px;
  max-height: 760px;
  overflow: auto;
  padding-right: 4px;
}

.branch-list-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(248, 252, 251, 0.96);
  border: 1px solid rgba(21, 154, 136, 0.1);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.branch-list-card:hover,
.branch-list-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(21, 154, 136, 0.25);
  box-shadow: 0 18px 36px rgba(10, 71, 75, 0.08);
  outline: none;
}

.branch-list-card.is-active {
  border-color: rgba(21, 154, 136, 0.4);
  box-shadow: 0 18px 40px rgba(21, 154, 136, 0.12);
}

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

.branch-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(21, 154, 136, 0.12);
  color: var(--primary-deep);
  font-size: 0.88rem;
  font-weight: 700;
}

.branch-list-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.branch-list-card p {
  margin: 0;
  color: var(--muted);
}

.branch-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.96rem;
  font-weight: 600;
}

.branch-map-panel {
  min-height: 100%;
}

.branch-map-shell {
  position: sticky;
  top: 110px;
}

.branch-map-marker {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 12px 12px 12px 4px;
  overflow: hidden;
  border: 2px solid white;
  box-shadow: 0 10px 22px rgba(12, 44, 48, 0.2);
  background: white;
  z-index: 2;
}

.branch-map-marker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-wrap {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.branch-map-embed iframe {
  min-height: 380px;
}

.footer {
  margin-top: 28px;
  padding: 0;
  background: linear-gradient(180deg, #1f5fc4, #173f90);
  color: #f4fffd;
}

.footer-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 30px 0 22px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.82fr 0.82fr;
  gap: 28px;
  align-items: start;
}

.footer-brand-block,
.footer-column {
  display: grid;
  gap: 14px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-name {
  display: block;
  font-size: 1.9rem;
  line-height: 1.05;
}

.footer-brand-sub,
.footer-note,
.footer-column p {
  margin: 0;
  color: rgba(244, 255, 253, 0.82);
  line-height: 1.7;
}

.footer-column h3 {
  margin: 0 0 2px;
  font-size: 1.36rem;
  color: #ffffff;
}

.footer-column a,
.footer-socials a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-column a:hover,
.footer-socials a:hover {
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom-inner {
  width: var(--shell);
  margin: 0 auto;
  padding: 16px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(244, 255, 253, 0.8);
  font-size: 0.94rem;
}

.footer-note { color: rgba(244, 255, 253, 0.82); }
.admin-main { padding-bottom: 90px; }
.admin-panel.narrow { max-width: 540px; }
.admin-form { display: grid; gap: 16px; }
.admin-list-toolbar {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

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

.grid-two .full { grid-column: 1 / -1; }
.admin-product-list { display: grid; gap: 14px; }

.admin-item {
  border-radius: 22px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.admin-item-copy strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

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

.admin-inline-form .inline-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr auto;
  gap: 10px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid rgba(24, 59, 66, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.admin-product-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.admin-product-table th,
.admin-product-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(24, 59, 66, 0.08);
}

.admin-product-table thead th {
  background: rgba(21, 154, 136, 0.08);
  color: var(--primary-deep);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-product-row.is-active {
  background: rgba(21, 154, 136, 0.04);
}

.admin-edit-row td {
  background: rgba(244, 251, 249, 0.98);
}

.admin-thumb {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(238, 247, 255, 0.95), rgba(243, 250, 248, 0.98));
  padding: 8px;
}

.admin-row-meta {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.admin-edit-grid .full {
  grid-column: 1 / -1;
}

.admin-edit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

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

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.admin-page-indicator {
  font-weight: 700;
  color: var(--muted);
}

.admin-rental-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr auto auto;
  gap: 8px;
  align-items: center;
}

.rental-admin-table td:last-child {
  min-width: 520px;
}

.status-message {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

.site-empty {
  padding: 40px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 44, 48, 0.54);
  backdrop-filter: blur(8px);
}

.product-modal-dialog {
  position: relative;
  width: min(980px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(242, 251, 249, 0.98));
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
  padding: 28px;
}

.product-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(21, 154, 136, 0.12);
  color: var(--primary-deep);
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.product-modal-visual img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background:
    linear-gradient(180deg, rgba(238, 247, 255, 0.95), rgba(243, 250, 248, 0.98));
  padding: 20px;
}

.product-modal-copy h2 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.product-modal-price {
  font-size: 2rem;
  color: var(--primary-deep);
  font-weight: 800;
  margin: 0 0 14px;
}

.product-modal-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 980px) {
  body {
    padding-top: 138px;
  }

  .hero,
  .split-section,
  .about-intro,
  .about-values,
  .feature-grid,
  .category-showcase,
  .contact-grid,
  .contact-mini-grid,
  .terms-grid,
  .product-grid,
  .products-layout,
  .rental-summary,
  .stats-row,
  .toolbar,
  .grid-two,
  .hero-highlights,
  .branch-location-layout {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    padding: 16px 4px;
    min-height: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: 0 0 auto;
  }

  .footer-inner,
  .footer-bottom-inner {
    width: calc(100% - 8px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 26px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 4px 20px;
  }

  .admin-inline-form .inline-row,
  .admin-item {
    grid-template-columns: 1fr;
  }

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

  .admin-list-toolbar {
    grid-template-columns: 1fr;
  }

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

  .admin-pagination {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .visual-stat {
    position: static;
    margin-top: 18px;
    max-width: 100%;
  }

  .hero { min-height: auto; }
  .category-sidebar {
    position: static;
  }
  .product-modal-grid { grid-template-columns: 1fr; }
  .product-modal-dialog { padding: 20px; }
  .about-checks { grid-template-columns: 1fr; }
  .banner-slider,
  .banner-slide,
  .banner-slide img {
    min-height: auto;
    height: auto;
  }

  .banner-slide {
    grid-area: auto;
  }

  .branch-map-shell {
    position: relative;
    top: 0;
  }

  .branch-map-embed iframe {
    min-height: 300px;
  }

  .banner-overlay {
    position: static;
    width: 100%;
    background: rgba(255,255,255,0.94);
    padding: 24px;
  }

  .home-banner {
    padding-top: 8px;
  }

  .banner-slider {
    width: 100%;
  }

  .banner-controls {
    inset: auto 14px 14px 14px;
  }
}
