:root {
  --ink: #07052a;
  --ink-2: #111047;
  --paper: #f7f8fb;
  --white: #ffffff;
  --yellow: #ffd21f;
  --cyan: #19bfd0;
  --teal: #0c8fa7;
  --coral: #ff6f59;
  --tava-purple: #562064;
  --tava-green: #9dcc33;
  --tava-red: #e9414d;
  --muted: #657085;
  --line: rgba(7, 5, 42, 0.12);
  --shadow: 0 22px 60px rgba(7, 5, 42, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section { scroll-margin-top: 86px; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12px 12px, rgba(7, 5, 42, 0.06) 2px, transparent 3px) 0 0 / 34px 34px,
    linear-gradient(180deg, #ffffff 0%, #f2fbfd 45%, #fff 100%);
}

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

img { display: block; width: 100%; height: auto; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 5, 42, 0.88), rgba(7, 5, 42, 0.28), transparent);
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 162px;
  min-height: 48px;
  padding: 0;
  border-radius: 0;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 7px 14px rgba(7, 5, 42, 0.22));
}

.brand .custom-logo {
  max-width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 750;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-nav li {
  margin: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 118px clamp(20px, 5vw, 72px) 72px;
  background:
    radial-gradient(circle at 78% 22%, rgba(25, 191, 208, 0.28), transparent 30%),
    radial-gradient(circle at 90% 72%, rgba(255, 210, 31, 0.24), transparent 22%),
    linear-gradient(135deg, #07052a 0%, #111047 48%, #06182f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/encarnacion-hero.png");
  background-size: cover;
  background-position: center right;
  opacity: 0.24;
  filter: saturate(0.9) contrast(1.04);
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.82;
}

.scene-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px) 0 0 / 64px 64px;
  animation: gridDrift 18s linear infinite;
}

.scene-card,
.scene-rollup,
.scene-sheet,
.scene-dot {
  position: absolute;
  z-index: 0;
}

.scene-card {
  width: clamp(168px, 18vw, 270px);
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.screen-card {
  right: clamp(28px, 8vw, 132px);
  top: 18%;
  min-height: 190px;
  animation: floatA 7s ease-in-out infinite;
}

.screen-card span {
  display: block;
  height: 78px;
  margin-bottom: 16px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(25, 191, 208, 0.9), rgba(255, 210, 31, 0.86)),
    radial-gradient(circle at 30% 35%, #fff 0 12px, transparent 13px);
}

.screen-card strong,
.flyer-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
}

.screen-card em {
  display: block;
  height: 8px;
  width: 100%;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(7, 5, 42, 0.14);
}

.screen-card em:nth-of-type(2) { width: 72%; }
.screen-card em:nth-of-type(3) { width: 48%; }

.print-card {
  right: clamp(210px, 28vw, 430px);
  bottom: 22%;
  width: clamp(150px, 15vw, 220px);
  min-height: 150px;
  color: var(--white);
  background: linear-gradient(145deg, var(--tava-purple), #35113d);
  animation: floatB 8.5s ease-in-out infinite;
}

.print-card strong {
  display: block;
  color: var(--yellow);
  font-size: 42px;
  line-height: 0.9;
}

.print-card span {
  display: block;
  margin-top: 14px;
  font-weight: 850;
}

.flyer-card {
  right: clamp(48px, 12vw, 190px);
  bottom: 13%;
  min-height: 178px;
  border: 8px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(165deg, var(--yellow) 0 42%, var(--white) 42% 100%);
  transform: rotate(-7deg);
  animation: floatC 9s ease-in-out infinite;
}

.flyer-card span {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--white);
  background: var(--coral);
  font-weight: 900;
}

.scene-rollup {
  right: clamp(350px, 45vw, 630px);
  top: 24%;
  width: clamp(48px, 6vw, 80px);
  height: clamp(230px, 33vw, 380px);
  border-radius: 8px 8px 2px 2px;
  background:
    linear-gradient(180deg, var(--cyan) 0 36%, var(--white) 36% 42%, var(--yellow) 42% 78%, var(--ink) 78% 100%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  animation: floatB 10s ease-in-out infinite reverse;
}

.scene-sheet {
  width: clamp(86px, 10vw, 140px);
  height: clamp(120px, 14vw, 190px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(0deg, rgba(7, 5, 42, 0.13) 0 4px, transparent 4px 14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.sheet-one {
  right: 6%;
  top: 43%;
  transform: rotate(10deg);
  animation: paperFly 12s ease-in-out infinite;
}

.sheet-two {
  right: 39%;
  bottom: 8%;
  transform: rotate(-13deg);
  animation: paperFly 11s ease-in-out infinite reverse;
}

.scene-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  animation: pulseDot 3s ease-in-out infinite;
}

.dot-one {
  right: 34%;
  top: 18%;
  background: var(--yellow);
}

.dot-two {
  right: 14%;
  top: 11%;
  background: var(--cyan);
  animation-delay: 600ms;
}

.dot-three {
  right: 7%;
  bottom: 32%;
  background: var(--coral);
  animation-delay: 1100ms;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(103deg, rgba(7, 5, 42, 0.96) 0%, rgba(7, 5, 42, 0.82) 45%, rgba(7, 5, 42, 0.38) 100%),
    linear-gradient(180deg, transparent 70%, var(--paper) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -10vw;
  bottom: -32px;
  width: 78vw;
  height: 118px;
  background: var(--yellow);
  transform: skewX(-26deg);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow { color: var(--yellow); }

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: lowercase;
}

.hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.34;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.catalog-toolbar,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions { margin-top: 32px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  margin-top: 44px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-stats span {
  display: grid;
  gap: 3px;
  min-width: 128px;
}

.hero-stats strong {
  color: var(--yellow);
  font-size: 30px;
  line-height: 1;
}

.intro-band,
.section,
.split-section,
.tava-section,
.tava-shop-section,
.catalog-section,
.contact-section {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.intro-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: 76px 0 44px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro-band > p,
.split-copy > p,
.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.section,
.catalog-section {
  padding: 74px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-item,
.product-card,
.quote-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(7, 5, 42, 0.07);
}

.service-item {
  min-height: 252px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--accent, var(--yellow));
}

.accent-yellow { --accent: var(--yellow); }
.accent-cyan { --accent: var(--cyan); }
.accent-coral { --accent: var(--coral); }
.accent-ink { --accent: var(--ink); }

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 38px;
  font-weight: 950;
}

.service-item h3,
.product-card h3,
.quote-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.05;
}

.service-item p,
.product-card p {
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 76px 0;
}

.split-section.reverse { grid-template-columns: 1fr 0.95fr; }

.visual-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.reverse .visual-panel { transform: rotate(1deg); }

.visual-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: start;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--cyan);
}

.tava-section {
  padding: 82px 0;
}

.tava-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background:
    radial-gradient(circle at 92% 12%, var(--tava-green) 0 13px, transparent 14px),
    radial-gradient(circle at 86% 18%, var(--yellow) 0 18px, transparent 19px),
    radial-gradient(circle at 79% 25%, var(--tava-red) 0 10px, transparent 11px),
    linear-gradient(135deg, var(--tava-purple), #33103d);
  box-shadow: var(--shadow);
}

.tava-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: radial-gradient(circle at 10px 10px, #fff 2px, transparent 3px) 0 0 / 30px 30px;
}

.tava-copy,
.tava-cover {
  position: relative;
  z-index: 1;
}

.tava-logo {
  width: min(320px, 78vw);
  height: auto;
  margin: 0 0 18px;
  padding: 0;
  border-radius: 0;
  filter:
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.95))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.18));
}

.tava-copy .eyebrow { color: var(--yellow); }

.tava-copy h2 {
  color: var(--yellow);
  font-size: clamp(48px, 7vw, 92px);
  text-transform: uppercase;
}

.tava-copy p:not(.eyebrow) {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.6;
}

.tava-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tava-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.tava-cover {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 8px solid rgba(255, 255, 255, 0.12);
  transform: rotate(2deg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.tava-cover img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tava-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.tava-strip article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(7, 5, 42, 0.07);
}

.tava-strip strong {
  color: var(--tava-purple);
  font-size: 42px;
  line-height: 1;
}

.tava-strip span {
  color: var(--muted);
  line-height: 1.45;
  font-weight: 720;
}

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

.tava-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(7, 5, 42, 0.07);
}

.tava-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  align-items: center;
}

.tava-card img {
  height: 290px;
  object-fit: cover;
}

.tava-card.wide img {
  height: 360px;
}

.tava-card div {
  padding: 24px;
}

.tava-card h3 {
  margin: 0 0 10px;
  color: var(--tava-purple);
  font-size: 28px;
  line-height: 1.05;
}

.tava-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.tava-shop-section {
  padding: 82px 0;
}

.tava-shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
  margin-bottom: 24px;
}

.tava-shop-heading .eyebrow {
  color: var(--tava-purple);
}

.tava-shop-heading > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.tava-shop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.shop-tab,
.admin-secondary,
.qty-btn {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.shop-tab {
  padding: 0 16px;
}

.shop-tab.active {
  color: var(--white);
  background: var(--tava-purple);
  border-color: var(--tava-purple);
}

.admin-tab {
  display: none;
}

body.admin-entry .admin-tab {
  display: inline-flex;
}

.tava-shop-panel {
  display: none;
}

.tava-shop-panel.active {
  display: block;
}

.tava-shop-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.35fr);
  gap: 14px;
  margin-bottom: 16px;
}

.shop-search,
.buyer-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.tava-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

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

.tava-shop-main {
  display: grid;
  gap: 16px;
}

.tava-store-card,
.tava-cart,
.buyer-form,
.buyer-summary,
.admin-form,
.admin-products {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(7, 5, 42, 0.07);
}

.tava-store-card {
  overflow: hidden;
}

.tava-store-media {
  display: grid;
  place-items: center;
  min-height: 170px;
  background:
    radial-gradient(circle at 22% 22%, rgba(255,255,255,0.36), transparent 26%),
    linear-gradient(135deg, var(--tava-purple), var(--yellow));
  color: var(--white);
  font-size: 44px;
  font-weight: 950;
}

.tava-store-media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.tava-store-body {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.tava-store-body h3,
.tava-cart h3,
.buyer-summary h3,
.admin-products h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.tava-store-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.store-price {
  color: var(--tava-purple);
  font-size: 20px;
  font-weight: 950;
}

.store-meta {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.store-actions {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 8px;
  align-items: center;
}

.store-actions input {
  min-height: 42px;
  text-align: center;
}

.store-add {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}

.tava-cart {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.tava-cart-items,
.buyer-summary-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.tava-cart-line,
.buyer-summary-line,
.admin-product-line {
  display: grid;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-line-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  font-weight: 850;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  min-height: 34px;
}

.buyer-layout,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.buyer-form,
.admin-form,
.buyer-summary,
.admin-products,
.admin-gate {
  padding: 22px;
}

.buyer-form,
.admin-form,
.admin-login {
  display: grid;
  gap: 14px;
}

.admin-gate {
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(7, 5, 42, 0.07);
}

.admin-gate h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.admin-gate p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-login label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.buyer-summary {
  position: sticky;
  top: 92px;
}

.admin-actions,
.admin-products-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.admin-products-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-secondary {
  padding: 0 16px;
}

.admin-product-thumb {
  width: 70px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--tava-purple), var(--yellow));
}

.admin-product-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
}

.admin-product-row strong {
  display: block;
  margin-bottom: 3px;
}

.admin-product-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

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

.mini-btn {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.mini-btn.danger {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.store-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.store-pagination .page-numbers,
.page-btn {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.store-pagination .page-numbers.current,
.page-btn.active {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.location-section {
  width: 100%;
  padding: 86px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(0, 66, 151, 0.06), rgba(255, 190, 11, 0.12)),
    var(--white);
}

.location-heading {
  width: min(820px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.location-grid {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: stretch;
}

.location-photo {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(0, 66, 151, 0.14);
  box-shadow: var(--shadow);
  background: var(--ink);
}

.location-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 66, 151, 0.02), rgba(0, 66, 151, 0.2));
  pointer-events: none;
}

.location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02);
}

.location-details {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
}

.location-copy {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.location-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.location-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 22px;
}

.map-frame {
  overflow: hidden;
  border-radius: 8px;
  min-height: 320px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.catalog-section {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.catalog-section .section-heading,
.catalog-toolbar,
.shop-layout {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.catalog-section .eyebrow { color: var(--yellow); }

.catalog-toolbar {
  justify-content: space-between;
  margin-bottom: 24px;
}

.search-field {
  display: grid;
  gap: 8px;
  flex: 1 1 280px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea { padding-top: 12px; resize: vertical; }

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

.filter-btn {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 820;
  cursor: pointer;
}

.filter-btn.active {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

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

.product-card {
  color: var(--ink);
  overflow: hidden;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 142px;
  background:
    linear-gradient(135deg, var(--tone-a), var(--tone-b)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 34%);
  color: rgba(255, 255, 255, 0.94);
  font-size: 54px;
  font-weight: 950;
}

.product-body { padding: 18px; }

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.add-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--yellow);
  font-weight: 900;
  cursor: pointer;
}

.quote-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  color: var(--ink);
}

.quote-items {
  display: grid;
  gap: 10px;
  min-height: 116px;
  margin: 16px 0;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-weight: 760;
}

.remove-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  cursor: pointer;
}

.empty-state { color: var(--muted); margin: 0; line-height: 1.4; }

.quote-button { width: 100%; }

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.timeline div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.timeline strong {
  color: var(--teal);
  font-size: 24px;
}

.timeline span { color: var(--muted); line-height: 1.45; }

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  margin: 30px 0 0;
}

.proof-band div {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 30px clamp(20px, 5vw, 70px);
  background: var(--white);
}

.proof-band strong {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.proof-band span { color: var(--muted); }

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  padding: 86px 0;
}

address {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  font-style: normal;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}

address a { color: var(--ink); }

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.35;
}

.form-status.is-error {
  color: var(--coral);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
  font-weight: 760;
}

@keyframes gridDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(64px, 64px, 0); }
}

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(4deg); }
  50% { transform: translate3d(-14px, 18px, 0) rotate(1deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(12px, -16px, 0) rotate(-1deg); }
}

@keyframes floatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-7deg); }
  50% { transform: translate3d(12px, 14px, 0) rotate(-4deg); }
}

@keyframes paperFly {
  0%, 100% { translate: 0 0; opacity: 0.78; }
  50% { translate: -18px -26px; opacity: 1; }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.7); opacity: 1; }
}

@media (max-width: 980px) {
  .hero-scene {
    opacity: 0.48;
  }

  .screen-card {
    right: -18px;
    top: 20%;
  }

  .print-card {
    right: 22%;
    bottom: 18%;
  }

  .flyer-card {
    right: -24px;
    bottom: 8%;
  }

  .scene-rollup {
    display: none;
  }

  .service-grid,
  .product-grid,
  .proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-band,
  .split-section,
  .split-section.reverse,
  .tava-hero,
  .tava-card.wide,
  .tava-shop-heading,
  .tava-shop-tools,
  .tava-shop-layout,
  .location-grid,
  .buyer-layout,
  .admin-layout,
  .shop-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .quote-panel,
  .tava-cart,
  .buyer-summary { position: static; }

  .tava-strip,
  .tava-content-grid,
  .tava-shop-grid {
    grid-template-columns: 1fr;
  }

  .location-photo,
  .location-photo img {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .site-header { padding: 14px 18px; }

  .brand {
    width: 124px;
    min-height: 42px;
    padding: 7px 8px;
  }

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

  .main-nav {
    position: absolute;
    top: 66px;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: grid; }

  .main-nav.open ul {
    display: grid;
    gap: 0;
  }

  .main-nav a { padding: 13px 10px; }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .hero-scene {
    opacity: 0.32;
  }

  .screen-card {
    right: -58px;
    top: 18%;
  }

  .print-card {
    right: auto;
    left: -38px;
    bottom: 12%;
  }

  .flyer-card,
  .scene-sheet {
    display: none;
  }

  h1 { font-size: clamp(54px, 18vw, 86px); }

  .hero-lead { font-size: 18px; }

  .intro-band,
  .section,
  .split-section,
  .tava-section,
  .tava-shop-section,
  .catalog-section,
  .location-section,
  .contact-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .service-grid,
  .product-grid,
  .tava-strip,
  .tava-content-grid,
  .tava-shop-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .tava-hero {
    padding: 26px 18px;
  }

  .tava-card.wide img,
  .tava-card img {
    height: 240px;
  }

  .admin-product-row {
    grid-template-columns: 58px 1fr;
  }

  .admin-product-actions {
    grid-column: 1 / -1;
  }

  .site-footer {
    flex-direction: column;
  }
}
