/* ============================================================
   SM Car Detail — Premium Redesign
   Dark Luxe Automotive · Cormorant Garamond + DM Sans
   ============================================================ */

:root {
  --bg:           #080808;
  --surface:      #101010;
  --surface-2:    #161616;
  --surface-3:    #1e1e1e;
  --border:       rgba(255,255,255,.07);
  --border-gold:  rgba(201,168,124,.22);
  --text:         #f0ece4;
  --muted:        #66635e;
  --muted-2:      #9e9a93;
  --accent:       #c9a87c;
  --accent-warm:  #a8813d;
  --accent-light: #e4cfaa;
  --accent-dim:   rgba(201,168,124,.10);
  --radius:       2px;
  --radius-md:    10px;
  --radius-lg:    18px;
  --container:    min(1320px, calc(100% - 48px));
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .026;
  pointer-events: none;
  z-index: 999;
}

a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
}

.container { width: var(--container); margin: auto; }

/* ---- Navigation ------------------------------------------ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,8,.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.topbar.is-scrolled {
  background: rgba(6,6,6,.97);
  box-shadow: 0 2px 0 rgba(201,168,124,.06), 0 20px 50px rgba(0,0,0,.34);
  border-bottom-color: rgba(201,168,124,.1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}
.brand img {
  height: 50px;
  width: auto;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .32s ease;
  transform-origin: left;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 22px !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: 1px !important;
  background: transparent !important;
  color: var(--accent) !important;
  letter-spacing: .14em !important;
  transition: background .2s, color .2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #000 !important;
}
.nav-cta::after { display: none !important; }
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 19px;
  cursor: pointer;
  place-items: center;
}

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 1px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .24s;
  white-space: nowrap;
}
.btn.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn.primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(201,168,124,.28);
}
.btn.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ---- Kicker ---------------------------------------------- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- Pill ------------------------------------------------- */
.pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--border-gold);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border-radius: 1px;
}

/* ---- Link ------------------------------------------------- */
.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: opacity .2s;
}
.link:hover { opacity: .72; }

/* ---- Note ------------------------------------------------- */
.note { font-size: 13px; color: var(--muted-2); display: block; margin-top: 4px; line-height: 1.65; }

/* ---- Section --------------------------------------------- */
.section { padding: 104px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
}
.section-head h1,
.section-head h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  color: var(--text);
  margin-top: 4px;
  letter-spacing: -.02em;
}
.section-head p {
  max-width: 520px;
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.78;
  flex-shrink: 0;
}

/* ---- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: #060606; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 7s ease;
  will-change: opacity, transform;
}
.hero-slide.active,
.hero-slide.is-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-bg.ready .hero-slide:first-child:not(.active) {
  opacity: 0;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(108deg, rgba(8,8,8,.68) 0%, rgba(8,8,8,.38) 52%, rgba(8,8,8,.58) 100%),
    linear-gradient(180deg, rgba(8,8,8,.08) 0%, rgba(8,8,8,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 130px 0 90px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: center;
}
.hero-brand { margin-bottom: 22px; }
.logo-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
}
.logo-ring img { max-height: 70px; width: auto; }

.hero h1 {
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.04em;
  color: #fff;
  margin: 0 0 26px;
  text-shadow: 0 4px 40px rgba(0,0,0,.28);
}
.hero p {
  font-size: 16px;
  color: rgba(240,236,228,.78);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero panel */
.hero-panel {
  background: rgba(12,12,12,.72);
  border: 1px solid rgba(255,255,255,.07);
  border-top: 1px solid rgba(201,168,124,.22);
  backdrop-filter: blur(18px);
  padding: 30px;
}
.hero-panel-clean {
  max-width: 440px;
  margin-left: auto;
}

.hero-quick-list { display: grid; gap: 0; margin-top: 18px; }
.hero-quick-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.hero-quick-item:last-child { border-bottom: 0; padding-bottom: 4px; }
.hero-quick-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-quick-item span { font-size: 13px; color: var(--muted-2); }

.hero-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.hero-mini-stat {
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
}
.hero-mini-stat strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.hero-mini-stat span { font-size: 12px; color: var(--muted-2); line-height: 1.5; }

/* Clean hero variant */
.hero-clean { min-height: 86vh; }
.hero-content-clean {
  padding: 122px 0 78px;
  grid-template-columns: 1.22fr .78fr;
  gap: 52px;
  align-items: center;
}

/* ---- Cards ----------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.card {
  background: var(--surface);
  overflow: hidden;
  transition: background .3s;
}
.card:hover { background: var(--surface-2); }
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #060606;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  filter: brightness(.9);
}
.card:hover .card-media img {
  transform: scale(1.04);
  filter: brightness(1);
}
.card-body { padding: 30px 28px 34px; }
.card h3 {
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 12px;
}
.card p { font-size: 14px; color: var(--muted-2); line-height: 1.72; margin: 0; }

/* ---- Split / Panel --------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

/* ---- Feature list ---------------------------------------- */
.feature-list { display: grid; gap: 0; margin-top: 32px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: 0; }
.feature-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.feature strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---- Product Grid ---------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.product-card {
  background: var(--surface);
  overflow: hidden;
  transition: background .3s;
}
.product-card:hover { background: var(--surface-2); }
.product-media {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ece4;
  padding: 22px;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-body { padding: 24px 26px 30px; }
.product-body h3 {
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 10px;
}
.product-body p { font-size: 13px; color: var(--muted-2); line-height: 1.72; margin: 0; }

/* ---- Gallery -------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  background: #080808;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform .7s ease, filter .4s;
  filter: brightness(.88);
}
.gallery-grid a:hover img {
  transform: scale(1.04);
  filter: brightness(1.02);
}

/* ---- Service nav ---------------------------------------- */
.service-nav {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  align-items: start;
}
.service-menu {
  position: sticky;
  top: 90px;
  height: max-content;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.service-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted-2);
  border-left: 2px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.service-menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,.025);
  border-left-color: var(--accent);
}
.service-block { border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: 0; }
.service-block .panel {
  border-radius: 0;
  border: 0;
  padding: 0;
  background: transparent;
}
.service-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
.service-copy { padding: 42px; }
.service-copy h3 {
  font-size: 38px;
  font-weight: 400;
  color: var(--text);
  margin: 10px 0 16px;
  letter-spacing: -.02em;
}
.service-copy p { font-size: 15px; color: var(--muted-2); line-height: 1.75; }
.service-copy ul {
  padding-left: 0;
  list-style: none;
  color: var(--muted-2);
  font-size: 14px;
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.service-copy ul li { padding-left: 18px; position: relative; }
.service-copy ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 11px;
  top: 2px;
}
.note-chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.note-chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-radius: 1px;
}
.service-image {
  background: #060606;
  min-height: 100%;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-image.contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background: #f0ece4;
}
.service-image.contain img {
  object-fit: contain;
  max-height: 420px;
}


/* ---- Ceramic product images ----------------------------- */
.service-block-ceramic {
  border-bottom: 0;
}
.keramika-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 42px 42px;
}
.keramika-product-card {
  margin: 0;
  background: #050505;
  border: 1px solid rgba(201,168,124,.16);
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.keramika-product-card img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  display: block;
  background: #050505;
}



/* ---- Pricing -------------------------------------------- */
.pricing-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
}
.price-group {
  padding: 40px 36px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.price-group:last-child { border-bottom: 0; }
.price-group h3 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-gold);
  letter-spacing: -.01em;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.price-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-row span:first-child {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.5;
  max-width: 70%;
}
.price-row span:last-child {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Pricing page 3-column */
.pricing-page .pricing-table {
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  gap: 1px;
}
.pricing-page .price-group {
  border-bottom: 0;
  background: var(--surface);
  padding: 36px 30px;
}

/* ---- Reviews -------------------------------------------- */
.reviews-section { padding-top: 0; }
.reviews-head { align-items: center; }
.reviews-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reviews-shell {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(201,168,124,.22);
  overflow: hidden;
}
.reviews-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.reviews-meta h3 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin: 12px 0 8px;
  letter-spacing: -.01em;
}
.reviews-meta p { font-size: 13px; color: var(--muted-2); line-height: 1.7; }
.rating-badge {
  min-width: 144px;
  padding: 22px 20px;
  border: 1px solid var(--border-gold);
  text-align: center;
  background: var(--accent-dim);
  flex-shrink: 0;
}
.rating-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}
.rating-badge span {
  display: block;
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reviews-slider {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 16px;
  align-items: center;
}
.reviews-slider.compact { grid-template-columns: 52px 1fr 52px; }
.reviews-viewport { overflow: hidden; }
.reviews-viewport.single-card { overflow: hidden; }
.reviews-track {
  display: flex;
  transition: transform .6s ease;
}
.review-card {
  min-width: 100%;
  padding: 30px 32px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.review-card.compact {
  min-width: 100%;
  padding: 30px 32px;
  display: grid;
  gap: 18px;
}
.review-card p {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
}
.review-meta-name { font-size: 15px; font-weight: 600; color: var(--text); }
.review-meta-date { font-size: 12px; color: var(--muted); margin-top: 2px; }
.review-stars { color: var(--accent); font-size: 18px; letter-spacing: 3px; }
.review-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.review-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.review-source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.reviews-nav {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
  border-radius: 1px;
  display: grid;
  place-items: center;
}
.reviews-nav:hover { border-color: var(--accent); color: var(--accent); }
.reviews-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}
.reviews-dots button {
  width: 28px;
  height: 2px;
  border: 0;
  background: rgba(255,255,255,.12);
  cursor: pointer;
  transition: background .25s;
  padding: 0;
  border-radius: 0;
}
.reviews-dots button.active { background: var(--accent); }

/* ---- Instagram ------------------------------------------ */
.instagram-home { padding-top: 0; }
.instagram-head { align-items: center; }
.instagram-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--border);
}
.instagram-profile {
  background: var(--surface);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.instagram-avatar-wrap {
  padding: 22px;
  background: #f0ece4;
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}
.instagram-avatar {
  max-width: 150px;
  height: auto;
  object-fit: contain;
}
.instagram-profile-copy h3 {
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 10px 0 10px;
  letter-spacing: -.01em;
}
.instagram-profile-copy p {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.72;
  margin: 0;
}
.instagram-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.instagram-grid a {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #080808;
}
.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .3s;
  filter: brightness(.9);
}
.instagram-grid a:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* ---- Contact -------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.contact-card {
  background: var(--surface);
  padding: 42px;
}
.contact-card h3 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gold);
  letter-spacing: -.01em;
}
.contact-line {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted-2);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line strong {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-line a {
  color: var(--text);
  transition: color .2s;
}
.contact-line a:hover { color: var(--accent); }
.map-frame {
  min-height: 440px;
  border: 0;
  width: 100%;
  display: block;
  filter: grayscale(.7) contrast(1.08) brightness(.9);
}

/* ---- Footer --------------------------------------------- */
.footer {
  padding: 42px 0 52px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.8;
}
.footer strong { color: var(--text); }
.footer a { color: var(--muted-2); transition: color .2s; }
.footer a:hover { color: var(--accent); }

/* ---- Mobile/floating UI --------------------------------- */
.mobile-bottom-nav,
.floating-actions,
.mobile-quick-actions { display: none; }

/* ---- PWA / App-shell chrome ----------------------------- */
@supports (padding-top: env(safe-area-inset-top)) {
  .topbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

/* ---- Scroll reveal -------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.22,1,.36,1), filter .6s ease;
  filter: blur(3px);
  will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-soft  { transform: translateY(14px); }
.reveal-strong { transform: translateY(32px); }

.topbar { transition: background .3s, box-shadow .3s, border-color .3s; }

/* ---- Responsive: tablet --------------------------------- */
@media (max-width: 1100px) {
  .hero-content,
  .hero-content-clean { grid-template-columns: 1fr; gap: 30px; padding-bottom: 70px; }
  .hero-panel-clean { max-width: none; margin-left: 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .service-nav { grid-template-columns: 1fr; border: 0; }
  .service-menu {
    position: static;
    border-right: 0;
    border: 1px solid var(--border);
    border-bottom: 0;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .service-menu a {
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 12px 14px;
    text-align: center;
    font-size: 11px;
  }
  .service-menu a:hover {
    border-left: 0;
    border-bottom-color: var(--accent);
    background: rgba(255,255,255,.03);
  }
  .service-block { border: 1px solid var(--border); border-top: 0; margin-bottom: 0; }
  .service-block:last-child { border-bottom: 1px solid var(--border); }
  .service-inner { grid-template-columns: 1fr; }
  .service-image { order: -1; min-height: 280px; }
  .service-image img { aspect-ratio: 16/10; }
  .service-image.contain img { aspect-ratio: 16/10; object-fit: contain; max-height: none; }
  .keramika-product-grid { max-width: 960px; padding: 10px 24px 28px; gap: 18px; }
  .keramika-product-card img { max-height: 500px; }
  .contact-grid { grid-template-columns: 1fr; }
  .instagram-panel { grid-template-columns: 1fr; }
  .instagram-profile { border-bottom: 1px solid var(--border); }
  .pricing-page .pricing-table { grid-template-columns: 1fr 1fr; }
}

/* ---- Responsive: mobile --------------------------------- */
@media (max-width: 760px) {
  :root {
    --container: min(100% - 20px, 760px);
  }
  html, body { overflow-x: hidden; }
  /* Space for bottom nav + safe area */
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 16px)); }

  /* ── Topbar ── */
  .topbar {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .nav { min-height: 62px; gap: 10px; }
  .brand img { height: 38px; }
  .brand > div > div { font-size: 15px; }
  .brand small { display: none; }

  /* ── Mobile menu overlay ── */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    /* position below topbar */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,5,5,.98);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    padding: calc(env(safe-area-inset-top, 0px) + 72px) 20px 32px;
    gap: 4px;
    z-index: 55;
    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .nav-links a {
    width: 100%;
    padding: 18px 20px;
    font-size: 22px;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: .04em;
    border-radius: var(--radius-md);
    text-transform: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .15s, color .15s;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a:active { background: rgba(255,255,255,.05); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav-cta {
    width: 100% !important;
    justify-content: center;
    margin-top: 12px !important;
    padding: 18px 20px !important;
    font-size: 14px !important;
    border-radius: var(--radius-md) !important;
    background: var(--accent) !important;
    color: #000 !important;
    border: none !important;
    letter-spacing: .12em !important;
  }
  .mobile-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    z-index: 56;
    position: relative;
  }

  /* ── Hero ── */
  .hero { min-height: 85svh; align-items: end; }
  .hero-content { padding: 80px 0 28px; }
  .hero-content-clean { padding: 80px 0 32px; }
  .hero h1 { font-size: clamp(40px, 12vw, 66px); line-height: .93; margin-bottom: 14px; }
  .hero p { font-size: 15px; }
  .hero-panel { padding: 18px; }
  .hero-panel-clean { margin-top: 12px; }
  .hero-mini-stats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .hero-quick-item { padding: 13px 0; }
  .hero-quick-item strong { font-size: 15px; }
  .logo-ring img { max-height: 50px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 50px; padding: 14px 22px; font-size: 11px; }

  /* ── Sections ── */
  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .section-head h1, .section-head h2 { font-size: clamp(30px, 8vw, 40px); }
  .section-head p { max-width: 100%; font-size: 14px; }

  /* ── Cards ── */
  .cards { grid-template-columns: 1fr; }
  .card-body { padding: 22px 20px 26px; }
  .card h3 { font-size: 24px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid img { aspect-ratio: 1/1; }

  /* ── Services ── */
  .service-nav { gap: 0; }
  .service-menu { grid-template-columns: repeat(2,1fr); }
  .service-menu a { font-size: 10px; padding: 14px 10px; }
  .service-copy { padding: 22px 20px; }
  .service-copy h3 { font-size: 28px; }
  .service-copy p { font-size: 14px; }
  .service-copy ul { font-size: 13px; }
  .note-chip { font-size: 9px; padding: 5px 10px; }
  .keramika-product-grid { grid-template-columns: 1fr; max-width: 620px; padding: 8px 12px 18px; gap: 14px; }
  .keramika-product-card img { max-height: none; }

  /* ── Pricing ── */
  .pricing-page .pricing-table { grid-template-columns: 1fr; }
  .price-group { padding: 24px 20px; }
  .price-group h3 { font-size: 24px; margin-bottom: 18px; }
  .price-row { padding: 13px 0; gap: 12px; }
  .price-row span:first-child { font-size: 13px; max-width: 65%; }
  .price-row span:last-child { font-size: 15px; }

  /* ── Reviews ── */
  .reviews-shell { padding: 18px 16px; border-radius: var(--radius-md); }
  .reviews-meta { flex-direction: column; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; }
  .reviews-meta h3 { font-size: 22px; margin: 6px 0 4px; }
  .rating-badge { min-width: unset; width: 100%; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
  .rating-badge strong { font-size: 38px; }
  .reviews-slider,
  .reviews-slider.compact {
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
  }
  .reviews-nav { width: 44px; height: 44px; font-size: 20px; }
  .review-card.compact { padding: 18px 16px; }
  .review-card p { font-size: 15px; line-height: 1.6; }
  .review-meta-name { font-size: 14px; }
  .review-stars { font-size: 15px; }
  .reviews-dots { margin-top: 14px; }
  .reviews-dots button { width: 22px; }

  /* ── Contact ── */
  .contact-card { padding: 22px 20px; }
  .contact-card h3 { font-size: 24px; margin-bottom: 20px; }
  .contact-line { padding: 14px 0; font-size: 13px; }
  .contact-card > div[style] { flex-direction: column; }
  .contact-card .btn { width: 100%; justify-content: center; min-height: 50px; }
  .map-frame { min-height: 260px; border-radius: var(--radius-md); }

  /* ── Panel / Split ── */
  .panel { padding: 22px 20px; }
  .split { gap: 20px; }

  /* ── Footer ── */
  .footer { padding: 24px 0 calc(80px + env(safe-area-inset-bottom, 16px)); }
  .footer-inner { flex-direction: column; gap: 10px; }

  /* ── Instagram ── */
  .instagram-grid { grid-template-columns: repeat(2,1fr); }
  .instagram-profile { padding: 20px; }
  .instagram-avatar-wrap { padding: 16px; margin-bottom: 18px; }
  .instagram-avatar { max-width: 100px; }
  .instagram-profile-copy h3 { font-size: 22px; }
  .instagram-profile-copy p { font-size: 13px; }
  .instagram-actions { gap: 8px; }
  .instagram-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 48px; }

  /* ── Feature list ── */
  .feature { padding: 16px 0; gap: 14px; }
  .feature-icon { flex: 0 0 32px; height: 32px; font-size: 11px; }
  .feature strong { font-size: 13px; }

  /* ── Buttons globally on mobile ── */
  .btn { min-height: 48px; padding: 13px 22px; font-size: 11px; }
  .btn:active { opacity: .82; transform: scale(.98); }

  /* ── Mobile bottom nav ── */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: repeat(4,1fr);
    gap: 4px;
    padding: 6px;
    z-index: 70;
    background: rgba(9,9,9,.97);
    border: 1px solid rgba(255,255,255,.09);
    border-top: 1px solid rgba(201,168,124,.16);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 2px 0 rgba(201,168,124,.04);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 18px;
    align-items: stretch;
  }
  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 56px;
    padding: 8px 4px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 9.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .18s, background .18s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bottom-nav a:active { background: rgba(255,255,255,.05); }
  .mobile-bottom-nav a.active {
    background: linear-gradient(135deg, rgba(201,168,124,.14), rgba(201,168,124,.06));
    border: 1px solid rgba(201,168,124,.22);
    color: var(--accent);
  }
  .mobile-bottom-nav .icon {
    font-size: 0; /* hide text icons, replaced by SVG */
    line-height: 1;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-bottom-nav .icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-bottom-nav a.active .icon svg {
    stroke: var(--accent);
  }

  /* ── Floating call button ── */
  .floating-actions {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    z-index: 69;
  }
  .floating-actions a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: #000;
    box-shadow: 0 8px 26px rgba(0,0,0,.38), 0 2px 8px rgba(201,168,124,.22);
    border: 1px solid rgba(255,255,255,.1);
    transition: transform .18s, box-shadow .18s;
    -webkit-tap-highlight-color: transparent;
    font-size: 0;
    overflow: hidden;
  }
  .floating-actions a svg {
    width: 22px;
    height: 22px;
    stroke: #000;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  /* Instagram button — real PNG logo embedded, no bg needed */
  .floating-actions a.ig-btn {
    background: transparent;
    border: none;
    box-shadow: 0 6px 22px rgba(0,0,0,.45);
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
  }
  .floating-actions a.ig-btn img {
    width: 52px;
    height: 52px;
    display: block;
    border-radius: 14px;
    object-fit: cover;
  }
  .floating-actions a:active { transform: scale(.91); }

  /* ── Mobile quick actions ── */
  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 18px;
  }
  .mobile-quick-actions a {
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    transition: border-color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-quick-actions a:active { background: var(--surface-2); border-color: var(--border-gold); }
  .mobile-quick-actions a:first-child {
    border-top: 1px solid rgba(201,168,124,.3);
  }
  .mobile-quick-actions strong { font-size: 13px; font-weight: 600; color: var(--text); }
  .mobile-quick-actions span { font-size: 11px; color: var(--muted-2); }

  body.has-mobile-nav .footer {
    padding-bottom: calc(80px + 10px + env(safe-area-inset-bottom, 16px));
  }

  /* ── Menu backdrop overlay ── */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 54;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .nav-backdrop.open { display: block; }

  /* ── Touch-friendly tap highlight removal ── */
  a, button { -webkit-tap-highlight-color: transparent; }

  /* ── Swipe indicator on reviews ── */
  .reviews-track { cursor: grab; user-select: none; }
  .reviews-track.is-dragging { cursor: grabbing; }

  /* ── Pull-to-refresh prevention ── */
  body { overscroll-behavior-y: contain; }

  /* ── Smooth momentum scrolling ── */
  .nav-links, .reviews-viewport { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .product-grid { grid-template-columns: 1fr; }
  .section-head h1, .section-head h2 { font-size: 28px; }
  .hero-panel { display: none; } /* hide panel on very small screens */
  .hero-copy-clean { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  .topbar { transition: none; }
  .hero-slide { transition: opacity .3s; transform: none !important; }
}
