:root {
  --bg: #edf3fb;
  --bg-soft: #f8fbff;
  --panel: rgba(255, 255, 255, 0.62);
  --panel-strong: rgba(255, 255, 255, 0.82);
  --panel-solid: #ffffff;
  --line: rgba(139, 168, 196, 0.22);
  --line-strong: rgba(122, 150, 178, 0.35);
  --text: #183247;
  --muted: #688198;
  --accent: #8ec5ff;
  --accent-2: #c7d7ff;
  --accent-3: #f4b9ff;
  --accent-4: #b4f1e5;
  --shadow-xl: 0 40px 120px rgba(142, 173, 205, 0.28);
  --shadow-lg: 0 22px 54px rgba(147, 178, 208, 0.18);
  --shadow-md: 0 16px 34px rgba(147, 178, 208, 0.14);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --max-width: 1290px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 12% 14%, rgba(142, 197, 255, 0.34), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(244, 185, 255, 0.28), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(180, 241, 229, 0.3), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eff5fc 46%, #eaf1f8 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 86%);
}

body::after {
  background:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 24%), rgba(255, 255, 255, 0.65), transparent 18%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.85), transparent 24%);
}

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

img {
  display: block;
  max-width: 100%;
}

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

.site-shell,
.admin-layout {
  position: relative;
  z-index: 1;
}

.site-shell {
  width: min(calc(100% - 28px), var(--max-width));
  margin: 14px auto 40px;
}

.section {
  position: relative;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.5)),
    var(--panel);
  backdrop-filter: blur(26px) saturate(1.1);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 215, 255, 0.55), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
}

.section-gradient,
.section-dark,
.lead-section-premium,
.seo-hub-section {
  background:
    radial-gradient(circle at top right, rgba(199, 215, 255, 0.72), transparent 28%),
    radial-gradient(circle at bottom left, rgba(180, 241, 229, 0.46), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(245, 249, 255, 0.68));
}

.topbar,
.admin-auth-card,
.admin-sidebar,
.admin-card {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
    var(--panel-strong);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border-radius: 999px;
}

.topbar.menu-open {
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}

.brand,
.topbar-actions,
.hero-cta,
.product-actions,
.footer-bottom,
.admin-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, #ffffff, #dfefff 45%, #f5d2ff 100%);
  color: #466784;
  font-family: "Unbounded", sans-serif;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(153, 181, 212, 0.28);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.04em;
}

.brand-copy span,
.hero-text,
p,
.product-category,
.product-card p,
.faq-list p,
.contact-card span,
.lead-copy p,
.page-hero-copy p,
.trust-strip span {
  color: var(--muted);
}

.topnav {
  display: flex;
  gap: 18px;
  color: #5f7891;
}

.topnav a {
  position: relative;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9dd6ff, #d9b4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.contact-pill,
.button,
.menu-toggle,
.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.button,
.menu-toggle {
  cursor: pointer;
}

.contact-pill,
.button-secondary,
.menu-toggle,
.admin-link {
  background: rgba(255, 255, 255, 0.78);
  color: #4b6781;
  border-color: rgba(156, 183, 209, 0.32);
  box-shadow: 0 10px 22px rgba(160, 187, 213, 0.12);
}

.button-primary {
  background: linear-gradient(145deg, #ffffff, #dcedff 44%, #f4d3ff 100%);
  color: #405f79;
  border-color: rgba(156, 183, 209, 0.26);
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(161, 187, 214, 0.24);
}

.button:hover,
.contact-pill:hover,
.menu-toggle:hover,
.admin-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(160, 187, 213, 0.18);
}

.hero,
.footer-grid,
.lead-section,
.page-hero,
.product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 28px;
  align-items: stretch;
}

.hero-section {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 28px;
  padding: 34px;
  align-items: stretch;
}

.hero-copy,
.page-hero-copy,
.product-copy,
.lead-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 100%;
}

.hero h1,
.page-hero h1,
.product-page h1 {
  margin: 0;
  max-width: 9.4ch;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.95;
  color: #173146;
  position: relative;
  z-index: 3;
  text-wrap: balance;
}

.hero-headline-wrap {
  position: relative;
  max-width: 760px;
  padding-right: 26px;
  margin-right: 0;
}

.hero-headline-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16%;
  width: 24px;
  height: 68%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(142, 197, 255, 0.3), rgba(244, 185, 255, 0.22));
}

.section-heading h2,
.footer h2 {
  margin: 0;
  font-size: clamp(1.86rem, 3vw, 3rem);
  line-height: 1.04;
  color: #1f3850;
}

.eyebrow {
  margin: 0 0 16px;
  color: #86a3c0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero-text,
.lead-copy p,
.page-hero-copy p,
.product-copy p,
.section-heading p {
  font-size: 0.98rem;
  line-height: 1.68;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-points li {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 24px rgba(178, 199, 220, 0.12);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.hero-metrics article,
.trust-strip article,
.about-card,
.location-grid article,
.contact-card,
.admin-card,
.seo-bullet {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-metrics article::before,
.trust-strip article::before,
.about-card::before,
.location-grid article::before,
.contact-card::before,
.seo-bullet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 38%);
  pointer-events: none;
}

.hero-metrics strong,
.trust-strip strong,
.about-card h3,
.contact-card strong,
.location-grid strong,
.stats-card strong {
  display: block;
  color: #23415b;
  font-size: 1.16rem;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.72fr);
  gap: 14px;
  align-items: stretch;
  z-index: 2;
  min-width: 0;
  width: 100%;
  min-height: 100%;
  padding: 88px 18px 18px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3)),
    rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-card,
.category-preview img,
.page-hero-image,
.product-hero {
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--panel-solid);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: relative;
}

.hero-card img,
.category-preview img,
.page-hero-image,
.product-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  min-height: 100%;
}

.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 36%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
}

.hero-card-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 28px rgba(168, 192, 216, 0.16);
}

.hero-card-caption span {
  display: block;
  margin-bottom: 8px;
  color: #7d99b8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-stack {
  display: grid;
  gap: 16px;
  align-content: stretch;
  min-width: 0;
}

.stats-card {
  align-content: center;
  background:
    radial-gradient(circle at top right, rgba(180, 241, 229, 0.56), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 255, 0.72));
}

.hero-floating-label {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 26px rgba(158, 184, 211, 0.16);
  color: #7d95aa;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: floatSoft 7s ease-in-out infinite;
}

.hero-floating-label-a {
  right: 16px;
  top: 14px;
}

.hero-floating-label-b {
  left: 14px;
  bottom: 14px;
  animation-delay: -2s;
}

.hero-visual-quote {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 218px;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(173, 194, 216, 0.16);
  z-index: 3;
  backdrop-filter: blur(16px);
}

.hero-visual-quote span {
  display: block;
  margin-bottom: 8px;
  color: #86a3c0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-visual-quote strong {
  display: block;
  color: #35506a;
  line-height: 1.5;
}

.hero-slab {
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: calc(100% - 38px);
  border-radius: 38px 160px 44px 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.22)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 42%);
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

.hero-copy,
.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 6px 8px 0;
}

.hero-copy > * ,
.page-hero-copy > * {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 640px;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.4px);
  z-index: 1;
  animation: drift 12s ease-in-out infinite;
}

.hero-orbit-a {
  top: -40px;
  left: 42%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(199, 215, 255, 0.78), rgba(199, 215, 255, 0.18) 60%, transparent 70%);
}

.hero-orbit-b {
  right: 10%;
  bottom: 18%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(180, 241, 229, 0.75), rgba(180, 241, 229, 0.18) 58%, transparent 70%);
  animation-delay: -4s;
}

.hero-orbit-c {
  left: -24px;
  bottom: 12%;
  width: 98px;
  height: 98px;
  background: radial-gradient(circle, rgba(244, 185, 255, 0.7), rgba(244, 185, 255, 0.16) 60%, transparent 72%);
  animation-delay: -6s;
}

.signal-strip {
  padding: 12px 18px;
}

.signal-marquee {
  display: flex;
  gap: 18px;
  min-width: max-content;
  animation: slideLoop 20s linear infinite;
}

.signal-marquee span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.88);
  color: #7892a7;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  box-shadow: 0 12px 24px rgba(173, 194, 216, 0.14);
}

.trust-strip,
.about-grid,
.location-grid,
.contact-stack {
  display: grid;
  gap: 16px;
}

.trust-strip {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.about-grid {
  grid-template-columns: repeat(4, 1fr);
}

.location-section .location-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
}

.seo-hub-section .seo-links-grid {
  grid-template-columns: repeat(4, 1fr);
}

.faq-section-premium .faq-list {
  grid-template-columns: repeat(2, 1fr);
}

.trust-strip-lux article:nth-child(2),
.about-card.accent,
.portfolio-section .product-card:nth-child(odd) {
  transform: translateY(18px);
}

.featured-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.trust-strip article:nth-child(1) {
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.trust-strip article:nth-child(2) {
  border-top-right-radius: 44px;
  border-bottom-left-radius: 30px;
}

.trust-strip article:nth-child(3) {
  border-top-left-radius: 28px;
  border-bottom-right-radius: 48px;
}

.category-preview,
.product-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.6)),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.category-preview:nth-child(odd),
.product-card:nth-child(3n + 1),
.location-grid article:nth-child(3n + 1),
.seo-links-grid article:nth-child(4n + 1) {
  border-top-left-radius: 44px;
  border-bottom-right-radius: 44px;
}

.category-preview:nth-child(even),
.product-card:nth-child(3n + 2),
.location-grid article:nth-child(3n + 2),
.seo-links-grid article:nth-child(4n + 2) {
  border-top-right-radius: 46px;
  border-bottom-left-radius: 34px;
}

.product-card:nth-child(3n),
.location-grid article:nth-child(3n),
.seo-links-grid article:nth-child(4n + 3) {
  border-top-left-radius: 30px;
  border-bottom-right-radius: 52px;
}

.category-preview::after,
.product-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -26% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 215, 255, 0.66), transparent 68%);
  filter: blur(10px);
}

.category-preview {
  grid-template-columns: 0.92fr 1.08fr;
}

.catalog-mosaic {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.15fr 0.85fr 0.95fr;
  grid-template-areas:
    "a a b"
    "c d d";
}

.mosaic-tile {
  position: relative;
  min-height: 250px;
  padding: 18px;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(7, 20, 32, 0.12) 34%, rgba(10, 26, 38, 0.74) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
}

.mosaic-tile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 10px;
}

.mosaic-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mosaic-tile h3,
.mosaic-tile p {
  color: #ffffff;
  margin: 0;
}

.mosaic-tile-1 { grid-area: a; min-height: 320px; }
.mosaic-tile-2 { grid-area: b; min-height: 320px; }
.mosaic-tile-3 { grid-area: c; min-height: 260px; }
.mosaic-tile-4 { grid-area: d; min-height: 260px; }

.editorial-section .section-heading {
  max-width: 880px;
}

.editorial-products {
  display: grid;
  gap: 20px;
}

.editorial-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 20px;
  padding: 20px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-lg);
}

.editorial-card:nth-child(even) {
  grid-template-columns: 1.06fr 0.94fr;
}

.editorial-card-2 {
  border-top-right-radius: 52px;
  border-bottom-left-radius: 42px;
}

.editorial-card-3 {
  border-top-left-radius: 48px;
  border-bottom-right-radius: 54px;
}

.editorial-media {
  min-height: 260px;
}

.editorial-media .product-hero {
  height: 100%;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.editorial-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.editorial-copy h3,
.editorial-copy p {
  margin: 0;
}

.product-gallery.compact {
  grid-template-columns: repeat(3, minmax(0, 110px));
}

.split-story .location-grid {
  align-items: stretch;
}

.seo-link-card {
  min-height: 220px;
}

.category-preview img,
.product-hero {
  aspect-ratio: 1 / 1;
}

.category-preview-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-category {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #86a3c0;
}

.product-price {
  min-width: 146px;
  padding: 12px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
  text-align: right;
  box-shadow: 0 10px 22px rgba(173, 194, 216, 0.12);
}

.product-price span {
  display: block;
  color: #84a0bb;
  font-size: 0.82rem;
}

.product-price strong {
  display: block;
  margin-top: 4px;
  color: #2c4862;
}

.product-gallery,
.product-page-gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.product-gallery img,
.product-page-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 24px rgba(176, 198, 219, 0.12);
}

.page-hero-image {
  min-height: 380px;
}

.product-page-price {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #dfefff 44%, #f5d2ff 100%);
  color: #476783;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(173, 194, 216, 0.14);
  font-weight: 800;
}

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

.seo-bullet {
  color: #43627b;
  font-family: "Space Grotesk", sans-serif;
}

.lead-form,
.admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.lead-form .full,
.admin-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: #7290ab;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  transform: translateY(-1px);
  border-color: rgba(142, 197, 255, 0.55);
  box-shadow: 0 0 0 5px rgba(142, 197, 255, 0.14);
}

option {
  color: #28425a;
}

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

.faq-list details {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64)),
    rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faq-list summary {
  padding: 22px;
  cursor: pointer;
  list-style: none;
  color: #2c4862;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.footer-bottom {
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(147, 176, 205, 0.22);
}

.admin-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-auth-card {
  width: min(480px, 100%);
  padding: 34px;
  border-radius: 32px;
}

.admin-layout {
  width: min(calc(100% - 32px), 1440px);
  margin: 24px auto;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 18px;
}

.admin-layout-pro {
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 24px;
  height: fit-content;
  padding: 24px;
  border-radius: 32px;
}

.admin-nav {
  display: grid;
  gap: 8px;
  margin: 20px 0 22px;
}

.admin-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  color: #5e7990;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.86);
}

.admin-nav a.is-active {
  background: linear-gradient(145deg, #ffffff, #e6f1ff 46%, #f2d8ff 100%);
  color: #28455f;
  box-shadow: 0 12px 24px rgba(160, 187, 213, 0.16);
}

.admin-content {
  display: grid;
  gap: 18px;
}

.admin-section-meta {
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-section-meta h2,
.admin-section-meta p {
  margin: 0;
}

.admin-card {
  border-radius: 32px;
  padding: 22px;
}

.admin-card.compact {
  padding: 18px 22px;
}

.admin-create-grid {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(147, 176, 205, 0.18);
}

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

.admin-card-head {
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-stack {
  display: grid;
  gap: 14px;
}

.admin-accordion {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  overflow: hidden;
}

.admin-accordion summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: #23415b;
  font-weight: 700;
}

.admin-accordion summary::-webkit-details-marker {
  display: none;
}

.admin-accordion[open] summary {
  border-bottom: 1px solid rgba(147, 176, 205, 0.18);
}

.admin-accordion form,
.admin-accordion .admin-stack {
  padding: 18px 20px 20px;
}

.admin-accordion-nested {
  background: rgba(255, 255, 255, 0.74);
}

.admin-upload-grid {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(147, 176, 205, 0.16);
}

.admin-image-inline {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.admin-image-inline img,
.admin-image-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(160, 187, 213, 0.18);
}

.admin-image-inline p {
  margin: 6px 0 0;
  color: var(--muted);
  word-break: break-all;
}

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

.admin-image-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.62);
}

.admin-seo-only {
  background: rgba(199, 215, 255, 0.16);
  padding: 12px;
  border-radius: 16px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
}

.faq-form {
  padding-top: 18px;
  border-top: 1px solid rgba(147, 176, 205, 0.2);
  margin-top: 18px;
}

.flash {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 0;
}

.flash.success {
  background: rgba(180, 241, 229, 0.48);
  color: #3c6e69;
}

.flash.error {
  background: rgba(244, 185, 255, 0.42);
  color: #7f628a;
}

.leads-table {
  display: grid;
  gap: 12px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr 0.8fr 0.6fr auto;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.68);
}

.lead-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slideLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-22%);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .footer-grid,
  .lead-section,
  .page-hero,
  .product-page,
  .admin-layout,
  .about-grid,
  .trust-strip,
  .location-grid,
  .contact-stack,
  .seo-bullets {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .category-preview,
  .product-page-gallery,
  .hero-metrics,
  .editorial-card {
    grid-template-columns: 1fr;
  }

  .faq-section-premium .faq-list,
  .seo-hub-section .seo-links-grid,
  .location-section .location-grid,
  .catalog-mosaic {
    grid-template-columns: 1fr;
  }

  .catalog-mosaic {
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }

  .editorial-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 30px;
  }

  .topnav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 10px 0 2px;
  }

  .topnav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero-section {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero h1,
  .page-hero h1,
  .product-page h1 {
    max-width: none;
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding-left: 0;
  }

  .hero-copy,
  .page-hero-copy,
  .product-copy {
    max-width: 100%;
  }

  .hero-headline-wrap {
    margin-right: 0;
    padding-right: 0;
  }

  .hero-headline-wrap::after,
  .hero-visual-quote {
    display: none;
  }

  .hero-slab {
    width: 100%;
    border-radius: 34px;
  }

  .trust-strip-lux article:nth-child(2),
  .about-card.accent,
  .portfolio-section .product-card:nth-child(odd) {
    transform: none;
  }
}

@media (max-width: 1240px) {
  .hero,
  .page-hero,
  .product-page {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .product-page h1 {
    max-width: none;
  }

  .hero-card-main {
    min-height: 440px;
    transform: none;
  }

  .hero-floating-label {
    display: none;
  }

  .hero-visual-quote {
    left: 12px;
    top: 12px;
  }
}

@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--max-width));
  }

  .section {
    padding: 22px;
  }

  .product-gallery,
  .lead-form,
  .admin-grid,
  .admin-grid-3 {
    grid-template-columns: 1fr;
  }

  .admin-image-grid,
  .admin-image-inline {
    grid-template-columns: 1fr;
  }

  .hero-points {
    flex-direction: column;
  }

  .hero h1,
  .page-hero h1,
  .product-page h1 {
    max-width: none;
    font-size: clamp(2.3rem, 9vw, 3.9rem);
  }

  .hero-floating-label {
    display: none;
  }

  .hero-card-main {
    min-height: 320px;
  }

  .hero-card-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 16px;
  }
}
